Simulation of Hybrid Systems with Apricot