Apparatus and method for simulating a plurality of nodes on a single machine