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.642/1.642, allocations: 289.7 MB / 302.2 MB, free: 2.172 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.001043/0.001043, allocations: 184.8 kB / 371.6 MB, free: 3.367 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.743/1.743, allocations: 205.2 MB / 0.6309 GB, free: 11.76 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.0009028/0.0009024, allocations: 94.34 kB / 0.745 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.962e-05/3.966e-05, allocations: 4 kB / 0.8663 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2724, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.032/1.304, allocations: 372.3 MB / 1.343 GB, free: 8.055 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003073/1.305, allocations: 109 kB / 1.344 GB, free: 7.992 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.05447/1.359, allocations: 23.3 MB / 1.366 GB, free: 5.285 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.483e-06/1.359, allocations: 3.938 kB / 1.366 GB, free: 5.281 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.486e-05/1.359, allocations: 16 kB / 1.366 GB, free: 5.266 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.001118/1.36, allocations: 0.7744 MB / 1.367 GB, free: 4.48 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/1.36, allocations: 12.03 kB / 1.367 GB, free: 4.469 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/1.36, allocations: 66.59 kB / 1.367 GB, free: 4.406 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6125/1.973, allocations: 6.059 MB / 1.373 GB, free: 268 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.724e-05/1.973, allocations: 48.5 kB / 1.373 GB, free: 268 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.389e-05/1.973, allocations: 63.48 kB / 1.373 GB, free: 268 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/1.974, allocations: 0.5361 MB / 1.374 GB, free: 267.9 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/1.974, allocations: 1.906 kB / 1.374 GB, free: 267.9 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.916e-05/1.974, allocations: 22.62 kB / 1.374 GB, free: 267.9 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/1.974, allocations: 12 kB / 1.374 GB, free: 267.9 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006757/1.975, allocations: 406.2 kB / 1.374 GB, free: 267.9 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00225/1.977, allocations: 1.506 MB / 1.376 GB, free: 267.5 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006726/1.978, allocations: 403.4 kB / 1.376 GB, free: 267.5 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002783/1.978, allocations: 190.8 kB / 1.376 GB, free: 267.5 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 3.384e-05/1.978, allocations: 6.391 kB / 1.376 GB, free: 267.5 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004005/1.979, allocations: 261.6 kB / 1.376 GB, free: 267.4 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=55): time 3.607e-06/1.979, allocations: 0 / 1.376 GB, free: 267.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=55): time 0.0007895/1.98, allocations: 402 kB / 1.377 GB, free: 267.4 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.676e-05/1.98, allocations: 90.95 kB / 1.377 GB, free: 267.3 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000402/1.98, allocations: 360.6 kB / 1.377 GB, free: 267.2 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.851e-05/1.98, allocations: 52.08 kB / 1.377 GB, free: 267.1 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/1.98, allocations: 231.6 kB / 1.377 GB, free: 267 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/1.98, allocations: 136.4 kB / 1.378 GB, free: 266.9 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.638e-05/1.98, allocations: 13.66 kB / 1.378 GB, free: 266.9 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.674e-05/1.98, allocations: 359.9 kB / 1.378 GB, free: 266.6 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/1.981, allocations: 159.8 kB / 1.378 GB, free: 266.6 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003367/1.981, allocations: 272.4 kB / 1.378 GB, free: 266.5 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000287/1.981, allocations: 153.3 kB / 1.379 GB, free: 266.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/1.981, allocations: 2.312 kB / 1.379 GB, free: 266.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0008603/1.982, allocations: 499.3 kB / 1.379 GB, free: 266.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/1.982, allocations: 5.844 kB / 1.379 GB, free: 266.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/1.982, allocations: 6.484 kB / 1.379 GB, free: 266.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/1.982, allocations: 8.188 kB / 1.379 GB, free: 266.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002976/1.983, allocations: 74.78 kB / 1.379 GB, free: 266.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.687e-05/1.983, allocations: 5.469 kB / 1.379 GB, free: 266.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002797/1.983, allocations: 61.67 kB / 1.379 GB, free: 266.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.91e-05/1.983, allocations: 26.52 kB / 1.379 GB, free: 266.4 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 () * 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.0001657/1.983, allocations: 168.5 kB / 1.379 GB, free: 266.3 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.004e-05/1.983, allocations: 42.38 kB / 1.379 GB, free: 266.3 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008818/1.984, allocations: 480.6 kB / 1.38 GB, free: 266.3 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.585e-05/1.984, allocations: 14.42 kB / 1.38 GB, free: 266.2 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/1.984, allocations: 0 / 1.38 GB, free: 266.2 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/1.984, allocations: 5.469 kB / 1.38 GB, free: 266.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001893/1.986, allocations: 1.198 MB / 1.381 GB, free: 265.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/1.986, allocations: 0.6875 kB / 1.381 GB, free: 265.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002097/1.986, allocations: 42.58 kB / 1.381 GB, free: 265.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.127e-06/1.986, allocations: 3.938 kB / 1.381 GB, free: 265.9 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.796e-05/1.986, allocations: 15.58 kB / 1.381 GB, free: 265.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/1.986, allocations: 3.969 kB / 1.381 GB, free: 265.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.986, allocations: 4.469 kB / 1.381 GB, free: 265.9 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008143/1.987, allocations: 0.5307 MB / 1.382 GB, free: 265.8 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/1.987, allocations: 128.3 kB / 1.382 GB, free: 265.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.563e-05/1.987, allocations: 15.09 kB / 1.382 GB, free: 265.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002297/1.988, allocations: 36.03 kB / 1.382 GB, free: 265.6 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/1.988, allocations: 74.8 kB / 1.382 GB, free: 265.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.274e-05/1.988, allocations: 17.83 kB / 1.382 GB, free: 265.6 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003053/1.988, allocations: 248.8 kB / 1.382 GB, free: 265.6 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.71e-07/1.988, allocations: 1.125 kB / 1.382 GB, free: 265.6 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0005736/1.989, allocations: 130.1 kB / 1.382 GB, free: 265.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) * 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.001118/1.99, allocations: 449.7 kB / 1.383 GB, free: 265.4 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0008731/1.991, allocations: 441.5 kB / 1.383 GB, free: 265.4 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.991, allocations: 2.875 kB / 1.383 GB, free: 265.4 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0004276/1.991, allocations: 231.8 kB / 1.383 GB, free: 265.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004662/1.992, allocations: 75.48 kB / 1.383 GB, free: 265.4 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/1.993, allocations: 0.662 MB / 1.384 GB, free: 265.2 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004579/1.994, allocations: 0.8724 MB / 1.385 GB, free: 264.5 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0003075/1.994, allocations: 76.14 kB / 1.385 GB, free: 264.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001752/1.994, allocations: 52.66 kB / 1.385 GB, free: 264.5 MB / 0.9323 GB Notification: Performance of SimCode: time 8.32e-07/1.994, allocations: 0 / 1.385 GB, free: 264.5 MB / 0.9323 GB Notification: Performance of Templates: time 0.01633/2.01, allocations: 6.506 MB / 1.391 GB, free: 264.1 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)