Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.58/1.58, allocations: 285.6 MB / 293.1 MB, free: 10.24 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.001134/0.001134, allocations: 179.8 kB / 361.4 MB, free: 6.852 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.52/1.52, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0008163/0.0008165, allocations: 100.6 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.161e-05/2.164e-05, allocations: 8 kB / 0.8518 GB, free: 2.727 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6508/0.6508, allocations: 115.3 MB / 0.9644 GB, free: 78.72 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1725/0.8234, allocations: 145 MB / 1.106 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/0.8237, allocations: 92.62 kB / 1.106 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03641/0.8601, allocations: 14.04 MB / 1.12 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.452e-06/0.8602, allocations: 3.188 kB / 1.12 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.476e-05/0.8602, allocations: 19.98 kB / 1.12 GB, free: 12.69 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.001105/0.8613, allocations: 0.8112 MB / 1.121 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.8614, allocations: 8.031 kB / 1.121 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.8615, allocations: 94.84 kB / 1.121 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006433/0.8622, allocations: 444.2 kB / 1.121 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.512e-05/0.8622, allocations: 23.98 kB / 1.121 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.509e-05/0.8623, allocations: 35.94 kB / 1.121 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005527/0.8628, allocations: 314.5 kB / 1.121 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007663/0.8636, allocations: 0.5252 MB / 1.122 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.8636, allocations: 0 / 1.122 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.043e-05/0.8637, allocations: 7.953 kB / 1.122 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.8637, allocations: 16 kB / 1.122 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00238/0.8661, allocations: 2.464 MB / 1.124 GB, free: 7.707 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004705/0.8666, allocations: 257.3 kB / 1.125 GB, free: 7.445 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/0.8668, allocations: 120.8 kB / 1.125 GB, free: 7.324 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.169e-05/0.8668, allocations: 14.95 kB / 1.125 GB, free: 7.312 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003218/0.8671, allocations: 199.5 kB / 1.125 GB, free: 7.105 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=39): time 2.385e-06/0.8672, allocations: 0 / 1.125 GB, free: 7.105 MB / 0.7292 GB Notification: Performance of matching and sorting (n=39): time 0.0005274/0.8677, allocations: 318.3 kB / 1.125 GB, free: 6.789 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.945e-05/0.8678, allocations: 85.11 kB / 1.125 GB, free: 6.688 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005702/0.8683, allocations: 0.5294 MB / 1.126 GB, free: 6.148 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.093e-05/0.8684, allocations: 37.7 kB / 1.126 GB, free: 6.105 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002639/0.8687, allocations: 360.3 kB / 1.126 GB, free: 5.75 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.723e-05/0.8688, allocations: 90.86 kB / 1.126 GB, free: 5.66 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.733e-05/0.8688, allocations: 0 / 1.126 GB, free: 5.66 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.8689, allocations: 378.8 kB / 1.127 GB, free: 5.281 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/0.8691, allocations: 113.5 kB / 1.127 GB, free: 5.168 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002767/0.8694, allocations: 311.3 kB / 1.127 GB, free: 4.785 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.8696, allocations: 128.7 kB / 1.127 GB, free: 4.66 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.309e-05/0.8696, allocations: 4 kB / 1.127 GB, free: 4.656 MB / 0.7292 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.000646/0.8703, allocations: 447.2 kB / 1.128 GB, free: 4.211 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.119e-05/0.8703, allocations: 8 kB / 1.128 GB, free: 4.203 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.8703, allocations: 11.94 kB / 1.128 GB, free: 4.191 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.8704, allocations: 10.91 kB / 1.128 GB, free: 4.184 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/0.8706, allocations: 87.72 kB / 1.128 GB, free: 4.098 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.8706, allocations: 8 kB / 1.128 GB, free: 4.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002148/0.8708, allocations: 32.08 kB / 1.128 GB, free: 4.059 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.605e-05/0.8709, allocations: 35.94 kB / 1.128 GB, free: 4.023 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 54 ($PRE.transition2.enableFire,$PRE.transition1.enableFire,$PRE.transition4.enableFire,$PRE.transition3.enableFire,$PRE.transition5.enableFire,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.condition,$whenCondition2,$whenCondition3,$whenCondition4,actMod,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,notRun.y,and1.y,$PRE.cooDow.localActive,cooDow.localActive,cooDow.inPort[2].occupied,cooDow.outPort[2].available,$PRE.cooDow.newActive,cooDow.newActive,$PRE.cooDow.oldActive,cooDow.oldActive,cooDow.active,$PRE.norm.localActive,norm.localActive,norm.inPort[2].occupied,norm.outPort[2].available,$PRE.norm.newActive,norm.newActive,$PRE.norm.oldActive,norm.oldActive,norm.active,stateGraphRoot.activeSteps,transition2.enableFire,transition1.enableFire,transition4.enableFire,$PRE.off.localActive,off.localActive,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,off.active,transition3.enableFire,$PRE.timer.passed,timer.passed,$PRE.timer.entryTime,timer.entryTime,transition5.enableFire) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * 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.0001474/0.8711, allocations: 138.6 kB / 1.128 GB, free: 3.883 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.061e-05/0.8711, allocations: 63.23 kB / 1.128 GB, free: 3.82 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006581/0.8718, allocations: 369.2 kB / 1.128 GB, free: 3.449 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.8718, allocations: 7.984 kB / 1.128 GB, free: 3.441 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.8718, allocations: 7.953 kB / 1.128 GB, free: 3.434 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.8718, allocations: 7.984 kB / 1.128 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/0.8732, allocations: 0.9508 MB / 1.129 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.8732, allocations: 3.938 kB / 1.129 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.8733, allocations: 19.98 kB / 1.129 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.8733, allocations: 0 / 1.129 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.579e-05/0.8733, allocations: 23.88 kB / 1.129 GB, free: 2.379 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.8734, allocations: 6.25 kB / 1.129 GB, free: 2.375 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.8734, allocations: 1.719 kB / 1.129 GB, free: 2.375 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005562/0.8739, allocations: 442.7 kB / 1.13 GB, free: 1.926 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.8741, allocations: 140.2 kB / 1.13 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.568e-05/0.8741, allocations: 8 kB / 1.13 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.8743, allocations: 11.94 kB / 1.13 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.8744, allocations: 51.67 kB / 1.13 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.969e-05/0.8745, allocations: 16 kB / 1.13 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004138/0.8749, allocations: 382.9 kB / 1.13 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8749, allocations: 0 / 1.13 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004878/0.8754, allocations: 99.94 kB / 1.13 GB, free: 1.211 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 37 (off.active,norm.active,cooDow.active,cooDow.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,actMod,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,notRun.y,and1.y,cooDow.inPort[2].occupied,cooDow.outPort[2].available,cooDow.newActive,cooDow.oldActive,norm.localActive,norm.inPort[2].occupied,norm.outPort[2].available,norm.newActive,norm.oldActive,stateGraphRoot.activeSteps,transition2.enableFire,transition1.enableFire,transition4.enableFire,off.localActive,off.newActive,off.oldActive,transition3.enableFire,timer.passed,timer.entryTime) * Number of discrete states: 6 (runSig.combiTimeTable.nextTimeEvent,cooDow.newActive,timer.entryTime,norm.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.0009178/0.8763, allocations: 419.9 kB / 1.131 GB, free: 0.9219 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005508/0.8769, allocations: 342.2 kB / 1.131 GB, free: 0.5898 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.8769, allocations: 3.562 kB / 1.131 GB, free: 0.5898 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002328/0.8771, allocations: 167.8 kB / 1.131 GB, free: 436 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004266/0.8776, allocations: 71.78 kB / 1.131 GB, free: 372 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.8789, allocations: 0.7731 MB / 1.132 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005383/0.8795, allocations: 0.9419 MB / 1.133 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002421/0.8797, allocations: 77.8 kB / 1.133 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.8799, allocations: 47.42 kB / 1.133 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of SimCode: time 3.01e-07/0.8799, allocations: 0 / 1.133 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of Templates: time 0.0111/0.891, allocations: 5.038 MB / 1.138 GB, free: 9.559 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1)