Energy Harvesting Communication Networks with System Costs