Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_WaterHeater_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_WaterHeater_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008442/0.0008442, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009017/0.0009019, allocations: 168.7 kB / 15.95 MB, free: 204 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.33/1.33, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.929/0.929, allocations: 135.3 MB / 426.3 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003517/0.000352, allocations: 8 kB / 0.5071 GB, free: 5.035 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1523, allocations: 82.31 MB / 0.5875 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.3595/0.5119, allocations: 49.03 MB / 0.6353 GB, free: 25.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01698/0.5289, allocations: 14.22 MB / 0.6492 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003081/0.532, allocations: 74.34 kB / 0.6493 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002375/0.5344, allocations: 0.7593 MB / 0.65 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005514/0.5399, allocations: 1.896 MB / 0.6519 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005024/0.5449, allocations: 1.722 MB / 0.6536 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006908/0.5519, allocations: 5.13 MB / 0.6586 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002754/0.5547, allocations: 1.227 MB / 0.6598 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003988/0.5587, allocations: 1.544 MB / 0.6613 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002856/0.5616, allocations: 1.257 MB / 0.6625 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006299/0.5622, allocations: 68.72 kB / 0.6626 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004425/0.5667, allocations: 1.399 MB / 0.664 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009923/0.5677, allocations: 417.1 kB / 0.6644 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001248/0.5689, allocations: 402.5 kB / 0.6647 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004611/0.5736, allocations: 2.406 MB / 0.6671 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.5736, allocations: 0 / 0.6671 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.974e-06/0.5736, allocations: 1.062 kB / 0.6671 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001089/0.5737, allocations: 0 / 0.6671 GB, free: 7.801 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.005303/0.579, allocations: 2.198 MB / 0.6692 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.5791, allocations: 8.125 kB / 0.6692 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004136/0.5795, allocations: 173.8 kB / 0.6694 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002315/0.5818, allocations: 486.6 kB / 0.6699 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004284/0.5861, allocations: 1.583 MB / 0.6714 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003838/0.5865, allocations: 155.2 kB / 0.6716 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002786/0.5868, allocations: 121.7 kB / 0.6717 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002817/0.5896, allocations: 1.363 MB / 0.673 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.946e-05/0.5897, allocations: 4.969 kB / 0.673 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.5898, allocations: 48.56 kB / 0.6731 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.155e-05/0.5898, allocations: 39.84 kB / 0.6731 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002717/0.5926, allocations: 1.139 MB / 0.6742 GB, free: 4.117 MB / 0.4981 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.009084/0.6017, allocations: 7.001 MB / 0.6811 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002588/0.6043, allocations: 1.449 MB / 0.6825 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009868/0.6053, allocations: 439.8 kB / 0.6829 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005218/0.6105, allocations: 3.096 MB / 0.6859 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001096/0.6116, allocations: 470.2 kB / 0.6864 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009193/0.6126, allocations: 85.83 kB / 0.6864 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 3.556e-06/0.6126, allocations: 0 / 0.6864 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.003205/0.6158, allocations: 1.294 MB / 0.6877 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.6159, allocations: 66.36 kB / 0.6878 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002297/0.6182, allocations: 1.557 MB / 0.6893 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.816e-05/0.6183, allocations: 38.58 kB / 0.6893 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007439/0.619, allocations: 0.8691 MB / 0.6902 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002171/0.6192, allocations: 216.2 kB / 0.6904 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.535e-05/0.6193, allocations: 20.12 kB / 0.6904 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.6194, allocations: 345.8 kB / 0.6907 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009227/0.6204, allocations: 382.3 kB / 0.6911 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001176/0.6216, allocations: 0.7552 MB / 0.6918 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.6226, allocations: 495.3 kB / 0.6923 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.6226, allocations: 3.062 kB / 0.6923 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002811/0.6254, allocations: 1.301 MB / 0.6936 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003106/0.6257, allocations: 442.5 kB / 0.694 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.828e-05/0.6258, allocations: 11.06 kB / 0.694 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.85e-05/0.6258, allocations: 16.75 kB / 0.694 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.6268, allocations: 276.4 kB / 0.6943 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.868e-05/0.6269, allocations: 23.2 kB / 0.6943 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/0.6284, allocations: 136.9 kB / 0.6944 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/0.6285, allocations: 54.67 kB / 0.6945 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.757e-06/0.6285, allocations: 8.625 kB / 0.6945 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002609/0.6312, allocations: 1.132 MB / 0.6956 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.6312, allocations: 13.84 kB / 0.6956 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.6312, allocations: 16.88 kB / 0.6956 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009762/0.6322, allocations: 268 kB / 0.6959 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.427e-05/0.6322, allocations: 24.11 kB / 0.6959 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/0.6336, allocations: 128.9 kB / 0.696 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.674e-05/0.6337, allocations: 51.36 kB / 0.6961 GB, free: 5.766 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 118 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009968/0.6348, allocations: 484 kB / 0.6965 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002518/0.635, allocations: 170.6 kB / 0.6967 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002647/0.6377, allocations: 1.174 MB / 0.6979 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.631e-05/0.6377, allocations: 8.5 kB / 0.6979 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.6377, allocations: 0.875 kB / 0.6979 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001928/0.6396, allocations: 1.005 MB / 0.6988 GB, free: 4.055 MB / 0.5137 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 postOpt removeSimpleEquations (simulation): time 0.004739/0.6444, allocations: 2.463 MB / 0.7013 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.6444, allocations: 1.031 kB / 0.7013 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008388/0.6453, allocations: 156.3 kB / 0.7014 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001725/0.6454, allocations: 36.8 kB / 0.7014 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-05/0.6455, allocations: 27.69 kB / 0.7015 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001331/0.6469, allocations: 1.362 MB / 0.7028 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.6469, allocations: 1.125 kB / 0.7028 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004603/0.6515, allocations: 1.623 MB / 0.7044 GB, free: 72 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001236/0.6527, allocations: 358.2 kB / 0.7047 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003399/0.6531, allocations: 13.56 kB / 0.7047 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001438/0.6545, allocations: 122.9 kB / 0.7049 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/0.6547, allocations: 49.3 kB / 0.7049 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/0.6548, allocations: 35.22 kB / 0.7049 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00255/0.6574, allocations: 1.093 MB / 0.706 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.9e-07/0.6574, allocations: 0 / 0.706 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004241/0.6617, allocations: 0.8907 MB / 0.7069 GB, free: 14.86 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005661/0.6673, allocations: 2.768 MB / 0.7096 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004943/0.6723, allocations: 1.624 MB / 0.7112 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.665e-06/0.6723, allocations: 4.062 kB / 0.7112 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001769/0.6741, allocations: 0.5752 MB / 0.7117 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005492/0.6796, allocations: 0.7331 MB / 0.7124 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02215/0.7018, allocations: 10.83 MB / 0.723 GB, free: 15.16 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008838/0.7027, allocations: 1.364 MB / 0.7244 GB, free: 13.77 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001806/0.7046, allocations: 414.1 kB / 0.7247 GB, free: 13.36 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000903/0.7055, allocations: 0.7141 MB / 0.7254 GB, free: 12.64 MB / 0.545 GB Notification: Performance of SimCode: time 8.22e-07/0.7055, allocations: 0 / 0.7254 GB, free: 12.64 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07342/0.7789, allocations: 46.08 MB / 0.7704 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001815/0.7791, allocations: 240.9 kB / 0.7707 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.986/3.765, allocations: 0 / 0.7707 GB, free: 14.85 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_WaterHeater_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_WaterHeater_T.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1) Environment - environmentSimulation: