Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008635/0.0008636, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.000804/0.0008041, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.337/1.337, allocations: 205.4 MB / 222.1 MB, free: 5.363 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.624/1.624, allocations: 292.7 MB / 0.5499 GB, free: 14.58 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005341/0.0005343, allocations: 13.66 kB / 0.6737 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2635, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.004971/0.2686, allocations: 3.581 MB / 0.7908 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6236/0.8922, allocations: 136.4 MB / 0.924 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000707/0.893, allocations: 15.69 kB / 0.924 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005516/0.8936, allocations: 126.5 kB / 0.9242 GB, free: 5.535 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeBindings: time 0.001441/0.895, allocations: 349.9 kB / 0.9245 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002158/0.8972, allocations: 0.6013 MB / 0.9251 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001318/0.8985, allocations: 1.018 MB / 0.9261 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007891/0.8993, allocations: 0.5027 MB / 0.9266 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005462/0.8999, allocations: 300 kB / 0.9268 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004261/0.9003, allocations: 331.1 kB / 0.9272 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.549e-05/0.9004, allocations: 20.78 kB / 0.9272 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008195/0.9012, allocations: 266.7 kB / 0.9274 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002022/0.9014, allocations: 169.1 kB / 0.9276 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004967/0.9019, allocations: 188.3 kB / 0.9278 GB, free: 21.11 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001364/0.9033, allocations: 1.07 MB / 0.9288 GB, free: 21.03 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.9033, allocations: 2.938 kB / 0.9288 GB, free: 21.03 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9033, allocations: 0 / 0.9288 GB, free: 21.03 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.791e-05/0.9033, allocations: 4 kB / 0.9288 GB, free: 21.03 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002041/0.9054, allocations: 1.151 MB / 0.9299 GB, free: 20.31 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.9054, allocations: 8.688 kB / 0.93 GB, free: 20.31 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001357/0.9068, allocations: 274.4 kB / 0.9302 GB, free: 20.24 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.9079, allocations: 0.6978 MB / 0.9309 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.07e-05/0.908, allocations: 72.38 kB / 0.931 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.9081, allocations: 84.88 kB / 0.9311 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/0.9097, allocations: 0.9604 MB / 0.932 GB, free: 19.77 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.9097, allocations: 0 / 0.932 GB, free: 19.77 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.054e-05/0.9098, allocations: 38.44 kB / 0.932 GB, free: 19.77 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/0.9098, allocations: 25 kB / 0.932 GB, free: 19.77 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001904/0.9118, allocations: 1.173 MB / 0.9332 GB, free: 19.75 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004284/0.9161, allocations: 2.598 MB / 0.9357 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002738/0.9188, allocations: 0.8629 MB / 0.9366 GB, free: 18.86 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007093/0.9195, allocations: 321.5 kB / 0.9369 GB, free: 18.84 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.708e-05/0.9197, allocations: 27.66 kB / 0.9369 GB, free: 18.84 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00103/0.9207, allocations: 476 kB / 0.9374 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=74): time 2.745e-06/0.9207, allocations: 0 / 0.9374 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74): time 0.003328/0.924, allocations: 1.204 MB / 0.9385 GB, free: 18.55 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.9242, allocations: 188.9 kB / 0.9387 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.9252, allocations: 0.5836 MB / 0.9393 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.836e-05/0.9253, allocations: 38.14 kB / 0.9393 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004335/0.9258, allocations: 398.9 kB / 0.9397 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002279/0.926, allocations: 246.3 kB / 0.9399 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.271e-05/0.926, allocations: 13.47 kB / 0.94 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.9262, allocations: 376.7 kB / 0.9403 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007331/0.927, allocations: 278.2 kB / 0.9406 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007025/0.9277, allocations: 366.7 kB / 0.9409 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006399/0.9283, allocations: 321.1 kB / 0.9412 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.9283, allocations: 0 / 0.9412 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001915/0.9303, allocations: 0.8635 MB / 0.9421 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.9303, allocations: 5.25 kB / 0.9421 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.9303, allocations: 3.094 kB / 0.9421 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005159/0.9308, allocations: 82.81 kB / 0.9422 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006662/0.9315, allocations: 165.7 kB / 0.9423 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002001/0.9335, allocations: 1.533 MB / 0.9438 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007478/0.9343, allocations: 94.23 kB / 0.9439 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.7e-05/0.9344, allocations: 32.33 kB / 0.9439 GB, free: 15.94 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005361/0.9349, allocations: 259.1 kB / 0.9442 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.935, allocations: 77.8 kB / 0.9443 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002336/0.9374, allocations: 1.093 MB / 0.9453 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.9374, allocations: 9.25 kB / 0.9453 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/0.9374, allocations: 0 / 0.9453 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.14e-05/0.9374, allocations: 7.031 kB / 0.9453 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.9385, allocations: 0.8869 MB / 0.9462 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.9385, allocations: 0 / 0.9462 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006281/0.9391, allocations: 161.5 kB / 0.9464 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004195/0.9396, allocations: 83.45 kB / 0.9464 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.962e-05/0.9396, allocations: 22.78 kB / 0.9465 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001584/0.9412, allocations: 1.543 MB / 0.948 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.9412, allocations: 4.984 kB / 0.948 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001879/0.9431, allocations: 0.9128 MB / 0.9489 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003548/0.9435, allocations: 276 kB / 0.9491 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.9436, allocations: 22.66 kB / 0.9492 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005373/0.9441, allocations: 76.14 kB / 0.9492 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.9443, allocations: 63.41 kB / 0.9493 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.517e-05/0.9443, allocations: 29.91 kB / 0.9493 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005554/0.9449, allocations: 419.9 kB / 0.9497 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9449, allocations: 0 / 0.9497 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009177/0.9458, allocations: 289 kB / 0.95 GB, free: 13.61 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00117/0.947, allocations: 0.5522 MB / 0.9505 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001792/0.9488, allocations: 0.8312 MB / 0.9513 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.9488, allocations: 0.8125 kB / 0.9513 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009738/0.9498, allocations: 0.5203 MB / 0.9518 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.951, allocations: 246.6 kB / 0.9521 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004128/0.9551, allocations: 2.17 MB / 0.9542 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006048/0.9557, allocations: 1.012 MB / 0.9552 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001004/0.9568, allocations: 265.3 kB / 0.9554 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002634/0.957, allocations: 104.5 kB / 0.9555 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of SimCode: time 7.51e-07/0.957, allocations: 0 / 0.9555 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of Templates: time 0.0218/0.9788, allocations: 12.87 MB / 0.9681 GB, free: 6.402 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) Environment - environmentSimulation: