Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.539/1.539, allocations: 297.8 MB / 313.7 MB, free: 156 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000859/0.0008589, allocations: 176.3 kB / 384.6 MB, free: 10.9 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.242/1.242, allocations: 223.2 MB / 0.6626 GB, free: 4.344 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007567/0.0007566, allocations: 91.88 kB / 0.7808 GB, free: 50.6 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003576/0.0003576, allocations: 12 kB / 0.9088 GB, free: 2.902 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5523/0.5526, allocations: 120.3 MB / 1.026 GB, free: 55.88 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1703/0.723, allocations: 151.7 MB / 1.174 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/0.7233, allocations: 99.94 kB / 1.175 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.03414/0.7575, allocations: 14.25 MB / 1.188 GB, free: 12.01 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.853e-06/0.7575, allocations: 0 / 1.188 GB, free: 12.01 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.648e-05/0.7576, allocations: 19.94 kB / 1.188 GB, free: 11.99 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001294/0.7589, allocations: 0.9065 MB / 1.189 GB, free: 11.01 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.7589, allocations: 12.03 kB / 1.189 GB, free: 11 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/0.759, allocations: 72.09 kB / 1.189 GB, free: 10.93 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006499/0.7597, allocations: 490.8 kB / 1.19 GB, free: 10.41 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.751e-05/0.7597, allocations: 41.38 kB / 1.19 GB, free: 10.37 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.438e-05/0.7598, allocations: 61.48 kB / 1.19 GB, free: 10.31 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009858/0.7608, allocations: 0.5705 MB / 1.191 GB, free: 9.719 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.7608, allocations: 192 / 1.191 GB, free: 9.719 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.897e-05/0.7609, allocations: 25.12 kB / 1.191 GB, free: 9.695 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.7609, allocations: 12 kB / 1.191 GB, free: 9.684 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008859/0.7618, allocations: 471.7 kB / 1.191 GB, free: 9.227 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002185/0.764, allocations: 1.545 MB / 1.193 GB, free: 7.633 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009116/0.7649, allocations: 0.5177 MB / 1.193 GB, free: 7.105 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000409/0.7653, allocations: 244.3 kB / 1.193 GB, free: 6.867 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.437e-05/0.7654, allocations: 8.562 kB / 1.193 GB, free: 6.859 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000565/0.766, allocations: 320.2 kB / 1.194 GB, free: 6.535 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=63): time 1.813e-06/0.766, allocations: 0 / 1.194 GB, free: 6.535 MB / 0.7605 GB Notification: Performance of matching and sorting (n=63): time 0.00132/0.7673, allocations: 0.6896 MB / 1.194 GB, free: 5.84 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.1e-05/0.7674, allocations: 115.4 kB / 1.194 GB, free: 5.703 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005332/0.7679, allocations: 0.4944 MB / 1.195 GB, free: 5.207 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 6.077e-05/0.768, allocations: 49.7 kB / 1.195 GB, free: 5.152 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.7682, allocations: 257.1 kB / 1.195 GB, free: 4.895 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.7683, allocations: 165.9 kB / 1.195 GB, free: 4.73 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.712e-05/0.7683, allocations: 12 kB / 1.195 GB, free: 4.719 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.7685, allocations: 370.7 kB / 1.196 GB, free: 4.348 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004197/0.7689, allocations: 209.9 kB / 1.196 GB, free: 4.141 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000496/0.7694, allocations: 336.8 kB / 1.196 GB, free: 3.777 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007489/0.7702, allocations: 458 kB / 1.197 GB, free: 3.293 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.7702, allocations: 0 / 1.197 GB, free: 3.293 MB / 0.7605 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001057/0.7712, allocations: 0.6315 MB / 1.197 GB, free: 2.648 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.259e-05/0.7713, allocations: 33.7 kB / 1.197 GB, free: 2.609 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.7713, allocations: 4.25 kB / 1.197 GB, free: 2.605 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.7713, allocations: 8 kB / 1.197 GB, free: 2.598 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000312/0.7716, allocations: 84.39 kB / 1.197 GB, free: 2.516 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/0.7717, allocations: 11.98 kB / 1.197 GB, free: 2.504 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003511/0.772, allocations: 75.7 kB / 1.197 GB, free: 2.43 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.577e-05/0.7721, allocations: 28.73 kB / 1.197 GB, free: 2.402 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 68 ($PRE.chiStaCon.con1.enableFire,$PRE.chiStaCon.con2.enableFire,$PRE.chiStaCon.con3.enableFire,$PRE.chiStaCon.con4.enableFire,$whenCondition5,$PRE.cooMod.combiTimeTable.nextTimeEvent,chiStaCon.stateGraphRoot.resume,chiStaCon.stateGraphRoot.suspend,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.cooMod,chiStaCon.con1.enableFire,chiStaCon.con1.fire,$PRE.chiStaCon.con1.t_start,chiStaCon.con1.t_start,chiStaCon.con1.condition,$PRE.chiStaCon.oneOn.localActive,chiStaCon.oneOn.localActive,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.outPort[2].available,$PRE.chiStaCon.oneOn.newActive,chiStaCon.oneOn.newActive,$PRE.chiStaCon.oneOn.oldActive,chiStaCon.oneOn.oldActive,chiStaCon.oneOn.active,$PRE.chiStaCon.off.localActive,chiStaCon.off.localActive,$PRE.chiStaCon.off.newActive,chiStaCon.off.newActive,$PRE.chiStaCon.off.oldActive,chiStaCon.off.oldActive,chiStaCon.off.active,$PRE.chiStaCon.twoOn.localActive,chiStaCon.twoOn.localActive,$PRE.chiStaCon.twoOn.newActive,chiStaCon.twoOn.newActive,$PRE.chiStaCon.twoOn.oldActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.con2.enableFire,chiStaCon.con2.fire,$PRE.chiStaCon.con2.t_start,chiStaCon.con2.t_start,chiStaCon.con2.condition,chiStaCon.con3.enableFire,chiStaCon.con3.fire,$PRE.chiStaCon.con3.t_start,chiStaCon.con3.t_start,chiStaCon.con3.condition,chiStaCon.con4.enableFire,chiStaCon.con4.fire,$PRE.chiStaCon.con4.t_start,chiStaCon.con4.t_start,chiStaCon.con4.condition,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.addInt.u1,chiStaCon.addInt.u2,chiStaCon.addInt.y,cooMod.combiTimeTable.nextTimeEvent,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled,$PRE.TCHWSup.T_start,TCHWSup.T_start,$PRE.TCHWSup.count,TCHWSup.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * Array equations: 0 * 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.0002908/0.7724, allocations: 267.6 kB / 1.198 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.192e-05/0.7725, allocations: 51.34 kB / 1.198 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001078/0.7736, allocations: 0.5953 MB / 1.198 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.7736, allocations: 9.406 kB / 1.198 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.7736, allocations: 4 kB / 1.198 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.884e-06/0.7736, allocations: 3.984 kB / 1.198 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001962/0.7756, allocations: 1.38 MB / 1.2 GB, free: 36 kB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.7756, allocations: 1.5 kB / 1.2 GB, free: 36 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002385/0.7758, allocations: 63.84 kB / 1.2 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.7758, allocations: 0.75 kB / 1.2 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.659e-05/0.7759, allocations: 19.92 kB / 1.2 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.7759, allocations: 4 kB / 1.2 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.7759, allocations: 4.562 kB / 1.2 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009564/0.7769, allocations: 0.6396 MB / 1.2 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.777, allocations: 144.4 kB / 1.201 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.834e-05/0.7771, allocations: 19.94 kB / 1.201 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003219/0.7774, allocations: 63.88 kB / 1.201 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001781/0.7776, allocations: 93.05 kB / 1.201 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.003e-05/0.7776, allocations: 27.98 kB / 1.201 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003463/0.778, allocations: 335.1 kB / 1.201 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.2e-07/0.778, allocations: 0 / 1.201 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004621/0.7785, allocations: 151.9 kB / 1.201 GB, free: 14.45 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 51 (chiStaCon.con3.enableFire,chiStaCon.con4.enableFire,chiStaCon.con1.enableFire,chiStaCon.con2.enableFire,chiStaCon.twoOn.localActive,chiStaCon.off.localActive,chiStaCon.oneOn.localActive,$cse2,$cse3,$cse4,$cse5,$cse6,$cse7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.cooMod,chiStaCon.con1.fire,chiStaCon.con1.t_start,chiStaCon.con1.condition,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.outPort[2].available,chiStaCon.oneOn.newActive,chiStaCon.oneOn.oldActive,chiStaCon.oneOn.active,chiStaCon.off.newActive,chiStaCon.off.oldActive,chiStaCon.off.active,chiStaCon.twoOn.newActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.con2.fire,chiStaCon.con2.t_start,chiStaCon.con2.condition,chiStaCon.con3.fire,chiStaCon.con3.t_start,chiStaCon.con3.condition,chiStaCon.con4.fire,chiStaCon.con4.t_start,chiStaCon.con4.condition,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.addInt.u1,chiStaCon.addInt.u2,chiStaCon.addInt.y,cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled,TCHWSup.T_start,TCHWSup.count) * Number of discrete states: 6 (TCHWSup.count,cooMod.combiTimeTable.nextTimeEvent,chiStaCon.oneOn.newActive,chiStaCon.off.newActive,chiStaCon.twoOn.newActive,cooMod.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001506/0.78, allocations: 0.7277 MB / 1.202 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001054/0.781, allocations: 0.6049 MB / 1.203 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.7811, allocations: 0 / 1.203 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0004994/0.7816, allocations: 287.1 kB / 1.203 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000572/0.7822, allocations: 98.5 kB / 1.203 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/0.7838, allocations: 1.163 MB / 1.204 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004286/0.7842, allocations: 0.8892 MB / 1.205 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002824/0.7845, allocations: 94.03 kB / 1.205 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001608/0.7847, allocations: 55.42 kB / 1.205 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of SimCode: time 2.5e-07/0.7847, allocations: 7.938 kB / 1.205 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of Templates: time 0.01219/0.7969, allocations: 7.351 MB / 1.212 GB, free: 3.82 MB / 0.7761 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.makefile (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe 2>&1)