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.628/1.628, allocations: 289.9 MB / 297.4 MB, free: 6.41 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.001132/0.001132, allocations: 172.9 kB / 366.7 MB, free: 1.652 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.604/1.604, allocations: 205.2 MB / 0.626 GB, free: 7.152 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.0009225/0.0009225, allocations: 86.44 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.435e-05/1.437e-05, allocations: 4 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6558/0.6558, allocations: 116.3 MB / 0.9733 GB, free: 76.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9564/1.612, allocations: 371.7 MB / 1.336 GB, free: 175.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/1.613, allocations: 103.2 kB / 1.336 GB, free: 175.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.04924/1.662, allocations: 23.11 MB / 1.359 GB, free: 163.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.102e-06/1.662, allocations: 3.938 kB / 1.359 GB, free: 163.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.465e-05/1.662, allocations: 16 kB / 1.359 GB, free: 163.7 MB / 0.8542 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.001588/1.664, allocations: 0.7737 MB / 1.36 GB, free: 162.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/1.664, allocations: 12.03 kB / 1.36 GB, free: 162.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002758/1.664, allocations: 63.25 kB / 1.36 GB, free: 162.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01217/1.676, allocations: 6.043 MB / 1.366 GB, free: 158.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.914e-05/1.676, allocations: 20 kB / 1.366 GB, free: 158.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000165/1.676, allocations: 47.67 kB / 1.366 GB, free: 158.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009519/1.677, allocations: 376.1 kB / 1.366 GB, free: 157.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009421/1.678, allocations: 488 kB / 1.367 GB, free: 157.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/1.678, allocations: 0 / 1.367 GB, free: 157.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.418e-05/1.678, allocations: 0 / 1.367 GB, free: 157.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/1.678, allocations: 12 kB / 1.367 GB, free: 157.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002492/1.681, allocations: 1.402 MB / 1.368 GB, free: 156.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005679/1.681, allocations: 374.3 kB / 1.368 GB, free: 156.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002424/1.682, allocations: 174.5 kB / 1.368 GB, free: 156.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.733e-05/1.682, allocations: 8.656 kB / 1.368 GB, free: 156.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003521/1.682, allocations: 233.3 kB / 1.369 GB, free: 156 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=55): time 2.565e-06/1.682, allocations: 4 kB / 1.369 GB, free: 156 MB / 0.8542 GB Notification: Performance of matching and sorting (n=55): time 0.0006528/1.683, allocations: 363.7 kB / 1.369 GB, free: 155.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/1.683, allocations: 93.36 kB / 1.369 GB, free: 155.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003908/1.683, allocations: 327 kB / 1.369 GB, free: 155.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.83e-05/1.683, allocations: 41.39 kB / 1.369 GB, free: 155.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/1.683, allocations: 240.2 kB / 1.37 GB, free: 155.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000114/1.684, allocations: 132.9 kB / 1.37 GB, free: 155 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.147e-05/1.684, allocations: 0 / 1.37 GB, free: 155 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001086/1.684, allocations: 356.6 kB / 1.37 GB, free: 154.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002255/1.684, allocations: 150.5 kB / 1.37 GB, free: 154.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002717/1.684, allocations: 255.9 kB / 1.371 GB, free: 154.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002277/1.684, allocations: 145.1 kB / 1.371 GB, free: 154.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/1.685, allocations: 0 / 1.371 GB, free: 154.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.000609/1.685, allocations: 439.9 kB / 1.371 GB, free: 153.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/1.685, allocations: 13.08 kB / 1.371 GB, free: 153.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/1.685, allocations: 256 / 1.371 GB, free: 153.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/1.685, allocations: 12.69 kB / 1.371 GB, free: 153.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/1.685, allocations: 67.22 kB / 1.371 GB, free: 153.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.683e-05/1.685, allocations: 8 kB / 1.371 GB, free: 153.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003328/1.686, allocations: 39.72 kB / 1.371 GB, free: 153.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.694e-05/1.686, allocations: 23.75 kB / 1.371 GB, free: 153.8 MB / 0.8542 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 () * 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.0001423/1.686, allocations: 163.1 kB / 1.371 GB, free: 153.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.66e-05/1.686, allocations: 35.53 kB / 1.371 GB, free: 153.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006948/1.687, allocations: 440.1 kB / 1.372 GB, free: 153.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/1.687, allocations: 4 kB / 1.372 GB, free: 153.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.687, allocations: 4 kB / 1.372 GB, free: 153.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/1.687, allocations: 7.984 kB / 1.372 GB, free: 153.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001353/1.688, allocations: 1.072 MB / 1.373 GB, free: 152.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/1.688, allocations: 0 / 1.373 GB, free: 152.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/1.688, allocations: 51.53 kB / 1.373 GB, free: 152.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/1.688, allocations: 4 kB / 1.373 GB, free: 152.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.659e-05/1.688, allocations: 3.5 kB / 1.373 GB, free: 152.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.648e-06/1.688, allocations: 4 kB / 1.373 GB, free: 152.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.688, allocations: 3.953 kB / 1.373 GB, free: 152.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000564/1.689, allocations: 0.5031 MB / 1.373 GB, free: 151.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.594e-05/1.689, allocations: 120.3 kB / 1.374 GB, free: 151.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.288e-05/1.689, allocations: 11.92 kB / 1.374 GB, free: 151.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/1.689, allocations: 23.98 kB / 1.374 GB, free: 151.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/1.69, allocations: 80.14 kB / 1.374 GB, free: 151.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-05/1.69, allocations: 18.94 kB / 1.374 GB, free: 151.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002092/1.69, allocations: 225.6 kB / 1.374 GB, free: 151.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.31e-07/1.69, allocations: 0 / 1.374 GB, free: 151.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004497/1.69, allocations: 109.3 kB / 1.374 GB, free: 151.4 MB / 0.8542 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) * 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.0008508/1.691, allocations: 424.4 kB / 1.374 GB, free: 151 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000543/1.692, allocations: 412.1 kB / 1.375 GB, free: 150.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.692, allocations: 4.125 kB / 1.375 GB, free: 150.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002498/1.692, allocations: 214 kB / 1.375 GB, free: 150.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004288/1.692, allocations: 65.55 kB / 1.375 GB, free: 150.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/1.693, allocations: 0.623 MB / 1.376 GB, free: 150 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/1.694, allocations: 0.8753 MB / 1.377 GB, free: 149.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002437/1.694, allocations: 78.36 kB / 1.377 GB, free: 149.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/1.694, allocations: 51.3 kB / 1.377 GB, free: 149 MB / 0.8542 GB Notification: Performance of SimCode: time 2.5e-07/1.694, allocations: 0 / 1.377 GB, free: 149 MB / 0.8542 GB Notification: Performance of Templates: time 0.00983/1.704, allocations: 5.969 MB / 1.383 GB, free: 143.2 MB / 0.8542 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)