Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChillerStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChillerStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChillerStage") translateModel(Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChillerStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChillerStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.687/1.687, allocations: 293 MB / 309 MB, free: 4.863 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009689/0.000969, allocations: 172.6 kB / 378.7 MB, free: 1.055 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.769/1.769, allocations: 205.4 MB / 0.6383 GB, free: 8.176 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008301/0.0008298, allocations: 91.8 kB / 0.7527 GB, free: 62.72 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004194/0.0004196, allocations: 12 kB / 0.8768 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2869, allocations: 116.4 MB / 0.9905 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9235/1.21, allocations: 372.6 MB / 1.354 GB, free: 0.6758 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003705/1.211, allocations: 109.2 kB / 1.354 GB, free: 0.5703 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.5528/1.764, allocations: 23.36 MB / 1.377 GB, free: 273.4 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.998e-06/1.764, allocations: 0 / 1.377 GB, free: 273.4 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001004/1.764, allocations: 17.53 kB / 1.377 GB, free: 273.4 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002338/1.766, allocations: 0.8233 MB / 1.378 GB, free: 272.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/1.766, allocations: 14.83 kB / 1.378 GB, free: 272.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003506/1.767, allocations: 65.28 kB / 1.378 GB, free: 272.8 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01374/1.78, allocations: 5.601 MB / 1.384 GB, free: 272.3 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001684/1.781, allocations: 46.59 kB / 1.384 GB, free: 272.3 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003185/1.781, allocations: 61.75 kB / 1.384 GB, free: 272.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002174/1.783, allocations: 0.5526 MB / 1.384 GB, free: 272.3 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.627e-05/1.783, allocations: 0.8125 kB / 1.384 GB, free: 272.3 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/1.783, allocations: 30.81 kB / 1.384 GB, free: 272.2 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.593e-05/1.783, allocations: 16.31 kB / 1.384 GB, free: 272.2 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001493/1.785, allocations: 432.3 kB / 1.385 GB, free: 272.2 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004449/1.789, allocations: 1.499 MB / 1.386 GB, free: 271.8 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/1.791, allocations: 422.3 kB / 1.387 GB, free: 271.8 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004775/1.791, allocations: 200 kB / 1.387 GB, free: 271.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 3.936e-05/1.791, allocations: 12.97 kB / 1.387 GB, free: 271.8 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000636/1.792, allocations: 263.8 kB / 1.387 GB, free: 271.7 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=55): time 4.288e-06/1.792, allocations: 3.938 kB / 1.387 GB, free: 271.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=55): time 0.001507/1.793, allocations: 0.5676 MB / 1.388 GB, free: 271.6 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.497e-05/1.793, allocations: 88.34 kB / 1.388 GB, free: 271.5 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007138/1.794, allocations: 398.6 kB / 1.388 GB, free: 271.4 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.676e-05/1.794, allocations: 54.11 kB / 1.388 GB, free: 271.4 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002316/1.794, allocations: 228.8 kB / 1.388 GB, free: 271.2 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/1.795, allocations: 138.9 kB / 1.388 GB, free: 271.2 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/1.795, allocations: 18.44 kB / 1.388 GB, free: 271.2 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001235/1.795, allocations: 356.1 kB / 1.389 GB, free: 270.9 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000403/1.795, allocations: 170.8 kB / 1.389 GB, free: 270.8 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004754/1.796, allocations: 287.5 kB / 1.389 GB, free: 270.7 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006951/1.796, allocations: 365.6 kB / 1.39 GB, free: 270.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/1.796, allocations: 0 / 1.39 GB, free: 270.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001193/1.798, allocations: 0.5116 MB / 1.39 GB, free: 270.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.977e-05/1.798, allocations: 11.75 kB / 1.39 GB, free: 270.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/1.798, allocations: 2.688 kB / 1.39 GB, free: 270.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.62e-05/1.798, allocations: 4.594 kB / 1.39 GB, free: 270.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003142/1.798, allocations: 71.33 kB / 1.39 GB, free: 270.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.602e-05/1.798, allocations: 5.797 kB / 1.39 GB, free: 270.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003913/1.798, allocations: 59.5 kB / 1.39 GB, free: 270.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.797e-05/1.798, allocations: 23.86 kB / 1.39 GB, free: 270.5 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.chiStaCon.offToOne.enableFire,$PRE.chiStaCon.oneToTwo.enableFire,$PRE.chiStaCon.twoToOne.enableFire,$PRE.chiStaCon.oneToOff.enableFire,$whenCondition5,$PRE.on.combiTimeTable.nextTimeEvent,chiStaCon.stateGraphRoot.resume,chiStaCon.stateGraphRoot.suspend,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.on,chiStaCon.y[1],$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.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.twoOn.localActive,chiStaCon.twoOn.localActive,$PRE.chiStaCon.twoOn.newActive,chiStaCon.twoOn.newActive,$PRE.chiStaCon.twoOn.oldActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.offToOne.enableFire,chiStaCon.offToOne.fire,$PRE.chiStaCon.offToOne.t_start,chiStaCon.offToOne.t_start,chiStaCon.oneToTwo.enableFire,chiStaCon.oneToTwo.fire,$PRE.chiStaCon.oneToTwo.t_start,chiStaCon.oneToTwo.t_start,chiStaCon.twoToOne.enableFire,chiStaCon.twoToOne.fire,$PRE.chiStaCon.twoToOne.t_start,chiStaCon.twoToOne.t_start,chiStaCon.oneToOff.enableFire,chiStaCon.oneToOff.fire,$PRE.chiStaCon.oneToOff.t_start,chiStaCon.oneToOff.t_start,$PRE.chiStaCon.thrOneToTwo.y,chiStaCon.thrOneToTwo.y,chiStaCon.TwoToOne.y,on.combiTimeTable.nextTimeEvent,$PRE.on.combiTimeTable.nextTimeEventScaled,on.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 79 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004281/1.799, allocations: 241.3 kB / 1.39 GB, free: 270.4 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/1.799, allocations: 48.58 kB / 1.391 GB, free: 270.4 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/1.8, allocations: 0.4965 MB / 1.391 GB, free: 270.3 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/1.8, allocations: 6.219 kB / 1.391 GB, free: 270.3 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/1.8, allocations: 0.6562 kB / 1.391 GB, free: 270.3 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/1.8, allocations: 2.672 kB / 1.391 GB, free: 270.3 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002339/1.803, allocations: 1.221 MB / 1.392 GB, free: 270 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/1.803, allocations: 1.797 kB / 1.392 GB, free: 270 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001955/1.803, allocations: 54.16 kB / 1.392 GB, free: 270 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.288e-06/1.803, allocations: 2.438 kB / 1.392 GB, free: 270 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.055e-05/1.803, allocations: 15.42 kB / 1.392 GB, free: 270 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/1.803, allocations: 1.531 kB / 1.392 GB, free: 270 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.803, allocations: 1.344 kB / 1.392 GB, free: 270 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000942/1.804, allocations: 0.5552 MB / 1.393 GB, free: 269.8 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/1.804, allocations: 130.6 kB / 1.393 GB, free: 269.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.167e-05/1.804, allocations: 15.69 kB / 1.393 GB, free: 269.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002499/1.804, allocations: 33.3 kB / 1.393 GB, free: 269.7 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002026/1.805, allocations: 72.98 kB / 1.393 GB, free: 269.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.034e-05/1.805, allocations: 22.75 kB / 1.393 GB, free: 269.7 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003457/1.805, allocations: 248.5 kB / 1.393 GB, free: 269.6 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.51e-07/1.805, allocations: 4 kB / 1.393 GB, free: 269.6 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0006919/1.806, allocations: 126.3 kB / 1.393 GB, free: 269.6 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 44 (chiStaCon.twoToOne.enableFire,chiStaCon.oneToOff.enableFire,chiStaCon.offToOne.enableFire,chiStaCon.oneToTwo.enableFire,chiStaCon.twoOn.localActive,chiStaCon.oneOn.localActive,chiStaCon.off.localActive,$cse2,$cse3,$cse4,$cse5,$cse6,$cse7,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.on,chiStaCon.y[1],chiStaCon.off.newActive,chiStaCon.off.oldActive,chiStaCon.off.active,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.outPort[2].available,chiStaCon.oneOn.newActive,chiStaCon.oneOn.oldActive,chiStaCon.oneOn.active,chiStaCon.twoOn.newActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.offToOne.fire,chiStaCon.offToOne.t_start,chiStaCon.oneToTwo.fire,chiStaCon.oneToTwo.t_start,chiStaCon.twoToOne.fire,chiStaCon.twoToOne.t_start,chiStaCon.oneToOff.fire,chiStaCon.oneToOff.t_start,chiStaCon.thrOneToTwo.y,chiStaCon.TwoToOne.y,on.combiTimeTable.nextTimeEvent,on.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 6 (on.combiTimeTable.nextTimeEvent,chiStaCon.off.newActive,chiStaCon.oneOn.newActive,chiStaCon.twoOn.newActive,chiStaCon.thrOneToTwo.y,on.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.001171/1.807, allocations: 499.7 kB / 1.394 GB, free: 269.4 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001066/1.808, allocations: 466.8 kB / 1.394 GB, free: 269.3 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/1.808, allocations: 0 / 1.394 GB, free: 269.3 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0004705/1.808, allocations: 243.1 kB / 1.395 GB, free: 269.3 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006313/1.809, allocations: 87.28 kB / 1.395 GB, free: 269.3 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001972/1.811, allocations: 1.062 MB / 1.396 GB, free: 268.8 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004422/1.811, allocations: 0.8608 MB / 1.397 GB, free: 268.1 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0003502/1.812, allocations: 73.52 kB / 1.397 GB, free: 268.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/1.812, allocations: 52.06 kB / 1.397 GB, free: 268.1 MB / 0.9323 GB Notification: Performance of SimCode: time 5.31e-07/1.812, allocations: 1.281 kB / 1.397 GB, free: 268.1 MB / 0.9323 GB Notification: Performance of Templates: time 0.01402/1.826, allocations: 6.483 MB / 1.403 GB, free: 267.6 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChillerStage.makefile (rm -f Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChillerStage.pipe ; mkfifo Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChillerStage.pipe ; head -c 1048576 < Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChillerStage.pipe >> ../files/Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChillerStage.sim & ./Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChillerStage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChillerStage.pipe 2>&1)