Please think about this.
Energy is going into the loop in the form of kinetic energy from the pump. Do you agree?
The same amount of energy that is inputed must eventually leave the system. Do you agree?
The only way this energy can effectively leave the system is in the form of heat. Do you agree?
Really I don't see how there can be any doubt here. Of course energy is going to be conserved