Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.586/1.586, allocations: 252 MB / 268 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00109/0.00109, allocations: 174 kB / 327.6 MB, free: 2.094 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.443/1.443, allocations: 205.4 MB / 0.5786 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007689/0.0007689, allocations: 78.38 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002918/0.0002919, allocations: 8.5 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1474, allocations: 106.3 MB / 0.9015 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown): time 0.002557/0.15, allocations: 2.593 MB / 0.904 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001975/0.152, allocations: 1.596 MB / 0.9055 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002445/0.1522, allocations: 7.938 kB / 0.9056 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007469/0.153, allocations: 290.8 kB / 0.9058 GB, free: 59 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003441/0.1534, allocations: 159.3 kB / 0.906 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000656/0.154, allocations: 323 kB / 0.9063 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005737/0.1546, allocations: 0.7027 MB / 0.907 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004327/0.155, allocations: 414.6 kB / 0.9074 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001911/0.1552, allocations: 211.1 kB / 0.9076 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002189/0.1555, allocations: 238.7 kB / 0.9078 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.481e-05/0.1555, allocations: 20 kB / 0.9078 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000161/0.1557, allocations: 71.91 kB / 0.9079 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.1558, allocations: 163.3 kB / 0.908 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001762/0.156, allocations: 307.6 kB / 0.9083 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003736/0.1564, allocations: 0.542 MB / 0.9089 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1564, allocations: 0 / 0.9089 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1564, allocations: 4 kB / 0.9089 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.1564, allocations: 0 / 0.9089 GB, free: 55.88 MB / 0.6042 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.0009446/0.1574, allocations: 0.8772 MB / 0.9097 GB, free: 54.94 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.1574, allocations: 12.03 kB / 0.9097 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.1575, allocations: 83.91 kB / 0.9098 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000473/0.158, allocations: 496.7 kB / 0.9103 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.19e-05/0.1581, allocations: 75.58 kB / 0.9104 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.92e-05/0.1582, allocations: 63.92 kB / 0.9104 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007222/0.1589, allocations: 0.6156 MB / 0.911 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.1589, allocations: 3.938 kB / 0.911 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.913e-05/0.159, allocations: 24 kB / 0.9111 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.159, allocations: 12 kB / 0.9111 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005401/0.1595, allocations: 383.6 kB / 0.9114 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001682/0.1612, allocations: 2.568 MB / 0.9139 GB, free: 50.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004844/0.1617, allocations: 288.8 kB / 0.9142 GB, free: 50.12 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000183/0.1619, allocations: 140.7 kB / 0.9143 GB, free: 49.98 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.969e-05/0.1619, allocations: 11.98 kB / 0.9144 GB, free: 49.97 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002953/0.1622, allocations: 202.5 kB / 0.9146 GB, free: 49.76 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=40): time 1.844e-06/0.1623, allocations: 0 / 0.9146 GB, free: 49.76 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.0006821/0.1629, allocations: 449.8 kB / 0.915 GB, free: 49.31 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.163, allocations: 85.11 kB / 0.9151 GB, free: 49.21 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004925/0.1635, allocations: 0.6324 MB / 0.9157 GB, free: 48.57 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.1635, allocations: 53.69 kB / 0.9157 GB, free: 48.51 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.1637, allocations: 364.3 kB / 0.9161 GB, free: 48.14 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.997e-05/0.1638, allocations: 106.7 kB / 0.9162 GB, free: 48.04 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.012e-05/0.1638, allocations: 11.94 kB / 0.9162 GB, free: 48.03 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.39e-05/0.1639, allocations: 378.8 kB / 0.9166 GB, free: 47.65 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/0.1641, allocations: 141.2 kB / 0.9167 GB, free: 47.51 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000272/0.1644, allocations: 339.8 kB / 0.917 GB, free: 47.09 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000416/0.1648, allocations: 421.8 kB / 0.9174 GB, free: 46.59 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.1648, allocations: 4 kB / 0.9174 GB, free: 46.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0006646/0.1655, allocations: 0.5299 MB / 0.9179 GB, free: 46.05 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.1655, allocations: 12.75 kB / 0.9179 GB, free: 46.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.1655, allocations: 4 kB / 0.918 GB, free: 46.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.1656, allocations: 19.94 kB / 0.918 GB, free: 46.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.1658, allocations: 75.77 kB / 0.918 GB, free: 45.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.1658, allocations: 15.94 kB / 0.9181 GB, free: 45.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000213/0.166, allocations: 55.42 kB / 0.9181 GB, free: 45.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.781e-05/0.1661, allocations: 32 kB / 0.9181 GB, free: 45.84 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 57 ($PRE.transition2.enableFire,$PRE.transition1.enableFire,$PRE.transition4.enableFire,$PRE.transition3.enableFire,$PRE.transition5.enableFire,$PRE.timer.yAcc,timer.yAcc,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,transition5.condition,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition4,$whenCondition2,$whenCondition3,actMod,runSig.y,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,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,norm.active,$PRE.norm.localActive,norm.localActive,norm.inPort[2].occupied,norm.outPort[2].available,$PRE.norm.newActive,norm.newActive,$PRE.norm.oldActive,norm.oldActive,stateGraphRoot.activeSteps,transition2.localCondition,transition2.enableFire,transition1.enableFire,transition4.enableFire,off.active,$PRE.off.localActive,off.localActive,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,transition3.enableFire,$PRE.timer.entryTime,timer.entryTime,transition5.enableFire,$PRE.timer.reset_internal,timer.reset_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002284/0.1663, allocations: 266.8 kB / 0.9184 GB, free: 45.57 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.406e-05/0.1664, allocations: 71.19 kB / 0.9185 GB, free: 45.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005772/0.1669, allocations: 402.7 kB / 0.9188 GB, free: 45.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.167, allocations: 4 kB / 0.9189 GB, free: 45.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.167, allocations: 0 / 0.9189 GB, free: 45.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.167, allocations: 0 / 0.9189 GB, free: 45.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/0.1681, allocations: 1.054 MB / 0.9199 GB, free: 43.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1681, allocations: 0 / 0.9199 GB, free: 43.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.656e-05/0.1682, allocations: 27.92 kB / 0.9199 GB, free: 43.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1682, allocations: 0 / 0.9199 GB, free: 43.95 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/0.1682, allocations: 8 kB / 0.9199 GB, free: 43.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.1682, allocations: 3.938 kB / 0.9199 GB, free: 43.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1682, allocations: 0 / 0.9199 GB, free: 43.94 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004729/0.1687, allocations: 474.6 kB / 0.9204 GB, free: 43.46 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.987e-05/0.1688, allocations: 144.2 kB / 0.9205 GB, free: 43.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6e-05/0.1689, allocations: 15.98 kB / 0.9205 GB, free: 43.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.169, allocations: 12 kB / 0.9205 GB, free: 43.27 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.998e-05/0.1691, allocations: 51.62 kB / 0.9206 GB, free: 43.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.561e-05/0.1692, allocations: 16 kB / 0.9206 GB, free: 43.21 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003343/0.1695, allocations: 419 kB / 0.921 GB, free: 42.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1695, allocations: 0 / 0.921 GB, free: 42.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004166/0.1699, allocations: 127.6 kB / 0.9211 GB, free: 42.68 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 38 (off.active,norm.active,cooDow.active,cooDow.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,actMod,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,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.localCondition,transition2.enableFire,transition1.enableFire,transition4.enableFire,off.localActive,off.newActive,off.oldActive,transition3.enableFire,timer.entryTime,timer.yAcc) * Number of discrete states: 6 (runSig.combiTimeTable.nextTimeEvent,cooDow.newActive,norm.newActive,off.newActive,timer.y,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009127/0.1709, allocations: 452.7 kB / 0.9216 GB, free: 42.39 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005439/0.1714, allocations: 399.2 kB / 0.9219 GB, free: 42 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1714, allocations: 4.25 kB / 0.9219 GB, free: 41.99 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002225/0.1717, allocations: 163.8 kB / 0.9221 GB, free: 41.83 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004932/0.1722, allocations: 84.38 kB / 0.9222 GB, free: 41.76 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.1735, allocations: 1.386 MB / 0.9235 GB, free: 40.34 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.1738, allocations: 0.9302 MB / 0.9244 GB, free: 39.39 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.174, allocations: 47.42 kB / 0.9245 GB, free: 39.34 MB / 0.6042 GB Notification: Performance of SimCode: time 2.71e-07/0.174, allocations: 0 / 0.9245 GB, free: 39.34 MB / 0.6042 GB Notification: Performance of Templates: time 0.00888/0.1829, allocations: 7.753 MB / 0.9321 GB, free: 31.6 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1)