Modeling and Simulation of Internet of Things Systems: A Hybrid Agent-oriented Approach