Chiller with intelligent cooling water circulation system