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.681/1.681, allocations: 288.3 MB / 303.2 MB, free: 8.051 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.001108/0.001108, allocations: 191.8 kB / 371.9 MB, free: 10.28 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.571/1.571, allocations: 205.4 MB / 0.6306 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007857/0.0007857, allocations: 98.84 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005674/0.0005673, allocations: 13.12 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2533, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7276/0.9809, allocations: 145.7 MB / 1.122 GB, free: 16.31 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003091/0.9813, allocations: 95.67 kB / 1.122 GB, free: 16.31 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04639/1.028, allocations: 14.27 MB / 1.136 GB, free: 28.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.235e-06/1.028, allocations: 0 / 1.136 GB, free: 28.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.334e-05/1.028, allocations: 23.27 kB / 1.136 GB, free: 28.3 MB / 0.698 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.001656/1.03, allocations: 0.9148 MB / 1.137 GB, free: 27.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/1.03, allocations: 11.7 kB / 1.137 GB, free: 27.56 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001814/1.03, allocations: 89.58 kB / 1.137 GB, free: 27.52 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009146/1.031, allocations: 437.7 kB / 1.137 GB, free: 27.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.801e-05/1.031, allocations: 41.09 kB / 1.137 GB, free: 27.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.326e-05/1.031, allocations: 55.88 kB / 1.137 GB, free: 27.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/1.032, allocations: 0.6072 MB / 1.138 GB, free: 26.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/1.032, allocations: 3.938 kB / 1.138 GB, free: 26.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.71e-05/1.032, allocations: 25.09 kB / 1.138 GB, free: 26.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.151e-05/1.032, allocations: 18.58 kB / 1.138 GB, free: 26.89 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008472/1.033, allocations: 378.3 kB / 1.138 GB, free: 26.82 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003218/1.036, allocations: 2.569 MB / 1.141 GB, free: 24.84 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007718/1.037, allocations: 288.7 kB / 1.141 GB, free: 24.77 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/1.037, allocations: 7.438 kB / 1.141 GB, free: 24.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004726/1.038, allocations: 214.4 kB / 1.141 GB, free: 24.67 MB / 0.698 GB Notification: Performance of pre-optimization done (n=39): time 3.406e-06/1.038, allocations: 0 / 1.141 GB, free: 24.67 MB / 0.698 GB Notification: Performance of matching and sorting (n=39): time 0.001134/1.039, allocations: 457.8 kB / 1.142 GB, free: 24.55 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.846e-05/1.039, allocations: 84.83 kB / 1.142 GB, free: 24.45 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009265/1.04, allocations: 0.5789 MB / 1.142 GB, free: 24.23 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.912e-05/1.04, allocations: 44.05 kB / 1.142 GB, free: 24.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003256/1.04, allocations: 367.2 kB / 1.143 GB, free: 24.02 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/1.04, allocations: 94.25 kB / 1.143 GB, free: 23.96 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/1.04, allocations: 14.16 kB / 1.143 GB, free: 23.96 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000205/1.041, allocations: 382.3 kB / 1.143 GB, free: 23.62 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003479/1.041, allocations: 128.9 kB / 1.143 GB, free: 23.61 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004466/1.041, allocations: 330.4 kB / 1.144 GB, free: 23.35 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000378/1.042, allocations: 149.3 kB / 1.144 GB, free: 23.32 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.615e-06/1.042, allocations: 4 kB / 1.144 GB, free: 23.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001162/1.043, allocations: 0.516 MB / 1.144 GB, free: 23.17 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/1.043, allocations: 7.719 kB / 1.144 GB, free: 23.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/1.043, allocations: 7.906 kB / 1.144 GB, free: 23.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.278e-05/1.043, allocations: 15.55 kB / 1.144 GB, free: 23.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003327/1.043, allocations: 72.7 kB / 1.144 GB, free: 23.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.161e-05/1.043, allocations: 11.59 kB / 1.144 GB, free: 23.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004047/1.044, allocations: 41.39 kB / 1.144 GB, free: 23.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.548e-05/1.044, allocations: 30.06 kB / 1.144 GB, free: 23.12 MB / 0.698 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 () * Number of clocked 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.0004582/1.044, allocations: 269 kB / 1.145 GB, free: 22.96 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/1.045, allocations: 61.66 kB / 1.145 GB, free: 22.93 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009253/1.045, allocations: 415.5 kB / 1.145 GB, free: 22.82 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/1.045, allocations: 11.67 kB / 1.145 GB, free: 22.81 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/1.045, allocations: 3.938 kB / 1.145 GB, free: 22.81 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/1.045, allocations: 7.984 kB / 1.145 GB, free: 22.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001969/1.047, allocations: 1.058 MB / 1.146 GB, free: 22.28 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/1.047, allocations: 3.953 kB / 1.146 GB, free: 22.28 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/1.048, allocations: 30.27 kB / 1.146 GB, free: 22.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/1.048, allocations: 0 / 1.146 GB, free: 22.27 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.837e-05/1.048, allocations: 13.83 kB / 1.146 GB, free: 22.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.603e-06/1.048, allocations: 7.969 kB / 1.146 GB, free: 22.26 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.048, allocations: 0 / 1.146 GB, free: 22.26 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008406/1.049, allocations: 486.3 kB / 1.147 GB, free: 22.05 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001683/1.049, allocations: 135.1 kB / 1.147 GB, free: 21.92 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/1.049, allocations: 14.7 kB / 1.147 GB, free: 21.92 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002814/1.049, allocations: 15.45 kB / 1.147 GB, free: 21.91 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/1.049, allocations: 49.28 kB / 1.147 GB, free: 21.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-05/1.049, allocations: 19.36 kB / 1.147 GB, free: 21.89 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006574/1.05, allocations: 428.4 kB / 1.147 GB, free: 21.73 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.21e-07/1.05, allocations: 0 / 1.147 GB, free: 21.73 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009142/1.051, allocations: 125.5 kB / 1.148 GB, free: 21.72 MB / 0.698 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) * Number of clocked states: 0 () * 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.001545/1.053, allocations: 486.2 kB / 1.148 GB, free: 21.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009194/1.054, allocations: 387.6 kB / 1.148 GB, free: 21.43 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/1.054, allocations: 4.062 kB / 1.148 GB, free: 21.43 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003589/1.054, allocations: 178.6 kB / 1.149 GB, free: 21.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006762/1.055, allocations: 82.23 kB / 1.149 GB, free: 21.38 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002397/1.057, allocations: 1.277 MB / 1.15 GB, free: 20.64 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000887/1.058, allocations: 0.9477 MB / 1.151 GB, free: 19.83 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000428/1.058, allocations: 74.75 kB / 1.151 GB, free: 19.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002008/1.059, allocations: 50.2 kB / 1.151 GB, free: 19.79 MB / 0.698 GB Notification: Performance of SimCode: time 1.242e-06/1.059, allocations: 0 / 1.151 GB, free: 19.79 MB / 0.698 GB Notification: Performance of Templates: time 0.01775/1.076, allocations: 5.531 MB / 1.156 GB, free: 17.07 MB / 0.698 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)