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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.655/1.655, allocations: 292.6 MB / 307.5 MB, free: 5.23 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.001191/0.00119, allocations: 191.2 kB / 377.1 MB, free: 1.543 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.756/1.756, allocations: 205.4 MB / 0.6367 GB, free: 8.629 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.0009628/0.0009627, allocations: 94.67 kB / 0.751 GB, free: 63.1 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003566/0.0003566, allocations: 8 kB / 0.8748 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2897, allocations: 116.3 MB / 0.9884 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.029/1.319, allocations: 372.4 MB / 1.352 GB, free: 1.852 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003083/1.319, allocations: 114.4 kB / 1.352 GB, free: 1.742 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.6223/1.941, allocations: 23.39 MB / 1.375 GB, free: 273.3 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.806e-06/1.941, allocations: 0 / 1.375 GB, free: 273.3 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.718e-05/1.941, allocations: 20.28 kB / 1.375 GB, free: 273.3 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.00136/1.943, allocations: 0.8232 MB / 1.376 GB, free: 272.7 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/1.943, allocations: 13.27 kB / 1.376 GB, free: 272.7 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/1.943, allocations: 66.7 kB / 1.376 GB, free: 272.7 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01403/1.957, allocations: 6.126 MB / 1.382 GB, free: 272.2 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001809/1.957, allocations: 49.88 kB / 1.382 GB, free: 272.2 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003349/1.958, allocations: 59.67 kB / 1.382 GB, free: 272.2 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002318/1.96, allocations: 0.5483 MB / 1.383 GB, free: 272.1 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.644e-05/1.96, allocations: 0.5625 kB / 1.383 GB, free: 272.1 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.784e-05/1.96, allocations: 24.08 kB / 1.383 GB, free: 272.1 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.684e-05/1.96, allocations: 14.17 kB / 1.383 GB, free: 272.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001399/1.962, allocations: 431.6 kB / 1.383 GB, free: 272.1 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004126/1.966, allocations: 1.507 MB / 1.384 GB, free: 271.7 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/1.967, allocations: 416.3 kB / 1.385 GB, free: 271.7 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 3.801e-05/1.967, allocations: 14.55 kB / 1.385 GB, free: 271.7 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000602/1.967, allocations: 266.1 kB / 1.385 GB, free: 271.6 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=55): time 4.017e-06/1.967, allocations: 4 kB / 1.385 GB, free: 271.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=55): time 0.001488/1.969, allocations: 0.5592 MB / 1.386 GB, free: 271.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.45e-05/1.969, allocations: 86.92 kB / 1.386 GB, free: 271.4 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007056/1.97, allocations: 361.5 kB / 1.386 GB, free: 271.3 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.000103/1.97, allocations: 52.92 kB / 1.386 GB, free: 271.3 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002195/1.97, allocations: 238.3 kB / 1.386 GB, free: 271.1 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/1.97, allocations: 136.8 kB / 1.387 GB, free: 271.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.432e-05/1.97, allocations: 14.66 kB / 1.387 GB, free: 271.1 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001424/1.97, allocations: 355.8 kB / 1.387 GB, free: 270.8 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004213/1.971, allocations: 170.8 kB / 1.387 GB, free: 270.8 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004796/1.971, allocations: 284.8 kB / 1.387 GB, free: 270.7 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003939/1.972, allocations: 164.3 kB / 1.387 GB, free: 270.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.782e-06/1.972, allocations: 1 kB / 1.387 GB, free: 270.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001142/1.973, allocations: 0.5062 MB / 1.388 GB, free: 270.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/1.973, allocations: 13.17 kB / 1.388 GB, free: 270.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/1.973, allocations: 3.719 kB / 1.388 GB, free: 270.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.909e-05/1.973, allocations: 5.719 kB / 1.388 GB, free: 270.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003065/1.973, allocations: 73.91 kB / 1.388 GB, free: 270.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.804e-05/1.973, allocations: 4.969 kB / 1.388 GB, free: 270.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004035/1.974, allocations: 64.42 kB / 1.388 GB, free: 270.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.946e-05/1.974, allocations: 24.77 kB / 1.388 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.0004232/1.974, allocations: 237.4 kB / 1.388 GB, free: 270.4 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/1.974, allocations: 44.45 kB / 1.388 GB, free: 270.4 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/1.976, allocations: 0.5007 MB / 1.389 GB, free: 270.3 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/1.976, allocations: 6.266 kB / 1.389 GB, free: 270.3 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/1.976, allocations: 7.062 kB / 1.389 GB, free: 270.3 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/1.976, allocations: 2.953 kB / 1.389 GB, free: 270.3 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00228/1.978, allocations: 1.22 MB / 1.39 GB, free: 270 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/1.978, allocations: 0.6094 kB / 1.39 GB, free: 270 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002043/1.978, allocations: 45.08 kB / 1.39 GB, free: 270 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.815e-06/1.978, allocations: 2.625 kB / 1.39 GB, free: 270 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.181e-05/1.978, allocations: 14.08 kB / 1.39 GB, free: 270 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/1.978, allocations: 2.812 kB / 1.39 GB, free: 270 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/1.978, allocations: 5.906 kB / 1.39 GB, free: 270 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/1.979, allocations: 0.5582 MB / 1.391 GB, free: 269.8 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/1.979, allocations: 126.4 kB / 1.391 GB, free: 269.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.102e-05/1.98, allocations: 16.66 kB / 1.391 GB, free: 269.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002596/1.98, allocations: 36.36 kB / 1.391 GB, free: 269.7 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002213/1.98, allocations: 71.91 kB / 1.391 GB, free: 269.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.527e-05/1.98, allocations: 21.95 kB / 1.391 GB, free: 269.7 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003771/1.981, allocations: 251.4 kB / 1.391 GB, free: 269.6 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.2e-07/1.981, allocations: 0 / 1.391 GB, free: 269.6 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.000669/1.981, allocations: 124.9 kB / 1.391 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.001279/1.982, allocations: 492.7 kB / 1.392 GB, free: 269.4 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001072/1.984, allocations: 464.3 kB / 1.392 GB, free: 269.3 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/1.984, allocations: 0.5 kB / 1.392 GB, free: 269.3 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005161/1.984, allocations: 245.1 kB / 1.392 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.0005355/1.985, allocations: 76.67 kB / 1.393 GB, free: 269.3 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002421/1.987, allocations: 1.056 MB / 1.394 GB, free: 268.8 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006864/1.988, allocations: 0.8733 MB / 1.394 GB, free: 268.1 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0004124/1.988, allocations: 79.56 kB / 1.395 GB, free: 268.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/1.988, allocations: 50.73 kB / 1.395 GB, free: 268.1 MB / 0.9323 GB Notification: Performance of SimCode: time 3.6e-07/1.988, allocations: 5.781 kB / 1.395 GB, free: 268.1 MB / 0.9323 GB Notification: Performance of Templates: time 0.01569/2.004, allocations: 6.437 MB / 1.401 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)