Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008354/0.0008355, allocations: 100.5 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008241/0.0008242, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.145/1.145, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001649/0.001649, allocations: 282.7 kB / 291.3 MB, free: 1.902 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7152/0.7152, allocations: 144.6 MB / 487 MB, free: 7.176 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003726/0.0003727, allocations: 12.72 kB / 0.5683 GB, free: 38.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1223, allocations: 83.08 MB / 0.6494 GB, free: 3.586 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.04916/0.1715, allocations: 59.1 MB / 0.7071 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01682/0.1883, allocations: 15.08 MB / 0.7219 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001528/0.1899, allocations: 55.62 kB / 0.7219 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001725/0.1916, allocations: 0.6956 MB / 0.7226 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005241/0.1969, allocations: 2.302 MB / 0.7248 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003644/0.2005, allocations: 1.556 MB / 0.7264 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003243/0.2038, allocations: 2.293 MB / 0.7286 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001542/0.2053, allocations: 1.026 MB / 0.7296 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00239/0.2077, allocations: 1.265 MB / 0.7308 GB, free: 72 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001347/0.2091, allocations: 0.7817 MB / 0.7316 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002161/0.2093, allocations: 56 kB / 0.7317 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00234/0.2117, allocations: 0.9752 MB / 0.7326 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003137/0.212, allocations: 242.9 kB / 0.7328 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000465/0.2125, allocations: 372.8 kB / 0.7332 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002353/0.2148, allocations: 2.28 MB / 0.7354 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.2148, allocations: 0 / 0.7354 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2148, allocations: 4 kB / 0.7354 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.779e-05/0.2149, allocations: 0 / 0.7354 GB, free: 11.36 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.003155/0.2181, allocations: 1.715 MB / 0.7371 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.2181, allocations: 12.03 kB / 0.7371 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002166/0.2203, allocations: 0.4936 MB / 0.7376 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002093/0.2224, allocations: 1.427 MB / 0.739 GB, free: 7.586 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003442/0.2227, allocations: 150 kB / 0.7391 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/0.2229, allocations: 104 kB / 0.7392 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00221/0.2251, allocations: 1.309 MB / 0.7405 GB, free: 5.934 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.2251, allocations: 4 kB / 0.7405 GB, free: 5.93 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.072e-05/0.2252, allocations: 44 kB / 0.7406 GB, free: 5.887 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.324e-05/0.2252, allocations: 28 kB / 0.7406 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002404/0.2276, allocations: 1.148 MB / 0.7417 GB, free: 4.715 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007215/0.2349, allocations: 7.216 MB / 0.7488 GB, free: 13 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002957/0.2378, allocations: 0.9044 MB / 0.7496 GB, free: 12.09 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001023/0.2389, allocations: 1.718 MB / 0.7513 GB, free: 9.984 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.2389, allocations: 39 kB / 0.7514 GB, free: 9.938 MB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 2.294e-06/0.2389, allocations: 0 / 0.7514 GB, free: 9.938 MB / 0.545 GB Notification: Performance of matching and sorting (n=48): time 0.004344/0.2433, allocations: 1.432 MB / 0.7528 GB, free: 8.48 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.2433, allocations: 63.78 kB / 0.7528 GB, free: 8.406 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001939/0.2453, allocations: 1.54 MB / 0.7543 GB, free: 6.855 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.142e-05/0.2453, allocations: 37.7 kB / 0.7544 GB, free: 6.812 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004885/0.2458, allocations: 0.6692 MB / 0.755 GB, free: 6.137 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/0.246, allocations: 173.5 kB / 0.7552 GB, free: 5.965 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.733e-05/0.246, allocations: 15.94 kB / 0.7552 GB, free: 5.949 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.932e-05/0.2461, allocations: 337.9 kB / 0.7555 GB, free: 5.613 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008999/0.247, allocations: 385.8 kB / 0.7559 GB, free: 5.234 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/0.2481, allocations: 0.6549 MB / 0.7565 GB, free: 4.461 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009442/0.249, allocations: 449.9 kB / 0.7569 GB, free: 4.027 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/0.249, allocations: 0 / 0.7569 GB, free: 4.027 MB / 0.545 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002518/0.2516, allocations: 1.212 MB / 0.7581 GB, free: 2.805 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.2516, allocations: 8 kB / 0.7581 GB, free: 2.797 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.2516, allocations: 8 kB / 0.7581 GB, free: 2.789 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007694/0.2524, allocations: 229.1 kB / 0.7584 GB, free: 2.562 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006961/0.2531, allocations: 199.7 kB / 0.7586 GB, free: 2.367 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007547/0.2539, allocations: 0.7318 MB / 0.7593 GB, free: 1.609 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/0.2553, allocations: 264 kB / 0.7595 GB, free: 1.352 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.907e-05/0.2554, allocations: 39.97 kB / 0.7596 GB, free: 1.312 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 8} Notification: Performance of prepare postOptimizeDAE: time 0.0004629/0.2558, allocations: 353.6 kB / 0.7599 GB, free: 0.957 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/0.256, allocations: 146.2 kB / 0.76 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002149/0.2582, allocations: 1.183 MB / 0.7612 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/0.2582, allocations: 7.984 kB / 0.7612 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2582, allocations: 0 / 0.7612 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.2582, allocations: 4 kB / 0.7612 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004557/0.2628, allocations: 2.608 MB / 0.7637 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.2628, allocations: 8.188 kB / 0.7638 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003335/0.2631, allocations: 83.89 kB / 0.7638 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006652/0.2638, allocations: 228.6 kB / 0.7641 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.354e-05/0.2639, allocations: 16 kB / 0.7641 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001146/0.265, allocations: 0.802 MB / 0.7649 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.265, allocations: 4.031 kB / 0.7649 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003011/0.268, allocations: 1.373 MB / 0.7662 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004646/0.2685, allocations: 378.9 kB / 0.7666 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001613/0.2687, allocations: 12 kB / 0.7666 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008916/0.2696, allocations: 111.8 kB / 0.7667 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.702e-05/0.2697, allocations: 48.39 kB / 0.7667 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.987e-05/0.2697, allocations: 23.98 kB / 0.7667 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00149/0.2712, allocations: 1.086 MB / 0.7678 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.71e-07/0.2712, allocations: 4 kB / 0.7678 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001054/0.2723, allocations: 443.4 kB / 0.7682 GB, free: 8.191 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006948/0.273, allocations: 461.5 kB / 0.7687 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001838/0.2748, allocations: 0.868 MB / 0.7695 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.2749, allocations: 0 / 0.7695 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001169/0.276, allocations: 483.5 kB / 0.77 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002581/0.2786, allocations: 0.6938 MB / 0.7707 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003377/0.282, allocations: 2.707 MB / 0.7733 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006246/0.2826, allocations: 1.199 MB / 0.7745 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008045/0.2835, allocations: 265.8 kB / 0.7747 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002171/0.2837, allocations: 111.4 kB / 0.7748 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of SimCode: time 3.3e-07/0.2837, allocations: 3.938 kB / 0.7748 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of Templates: time 0.2478/0.5315, allocations: 29.39 MB / 0.8035 GB, free: 109.1 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) Environment - environmentSimulation: