settings.setNumOfNodes(numOfNodes);
settings.setIplServer(iplServer);
if (numOfNodes == 1) {
Simulation simulation = new Simulation(settings);
simulation.run();
ProfileInfo.printProfileInfo();
}
else if (numOfNodes > 1) {
assert iplServer != null;
Node node = new Node(settings);