Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.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.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.711/1.711, allocations: 292.6 MB / 307.5 MB, free: 5.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.001082/0.001082, allocations: 176.2 kB / 377.1 MB, free: 1.512 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.423/2.423, allocations: 205.4 MB / 0.6367 GB, free: 8.52 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.0009074/0.0009075, allocations: 87.14 kB / 0.751 GB, free: 63.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005486/0.0005487, allocations: 16 kB / 0.8748 GB, free: 11.15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3067, allocations: 116.3 MB / 0.9884 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8127/1.12, allocations: 146.7 MB / 1.132 GB, free: 29.7 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002919/1.12, allocations: 93.97 kB / 1.132 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.05549/1.175, allocations: 14.29 MB / 1.146 GB, free: 19.38 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.345e-06/1.175, allocations: 0 / 1.146 GB, free: 19.38 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.631e-05/1.176, allocations: 12 kB / 1.146 GB, free: 19.36 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.001752/1.177, allocations: 0.9258 MB / 1.147 GB, free: 18.45 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/1.177, allocations: 12.02 kB / 1.147 GB, free: 18.44 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001833/1.178, allocations: 87.53 kB / 1.147 GB, free: 18.35 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009245/1.178, allocations: 445.9 kB / 1.147 GB, free: 17.93 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.767e-05/1.179, allocations: 42.62 kB / 1.147 GB, free: 17.89 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/1.179, allocations: 61.12 kB / 1.147 GB, free: 17.83 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/1.18, allocations: 0.5999 MB / 1.148 GB, free: 17.27 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/1.18, allocations: 3.938 kB / 1.148 GB, free: 17.26 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-05/1.18, allocations: 21.03 kB / 1.148 GB, free: 17.24 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.427e-05/1.18, allocations: 16.89 kB / 1.148 GB, free: 17.23 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009204/1.181, allocations: 379.2 kB / 1.148 GB, free: 16.9 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00319/1.184, allocations: 2.56 MB / 1.151 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007933/1.185, allocations: 286.4 kB / 1.151 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.489e-05/1.185, allocations: 7.984 kB / 1.151 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005055/1.186, allocations: 220.7 kB / 1.151 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=39): time 3.066e-06/1.186, allocations: 0 / 1.151 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of matching and sorting (n=39): time 0.001166/1.187, allocations: 454.6 kB / 1.152 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/1.187, allocations: 90.36 kB / 1.152 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009696/1.188, allocations: 0.58 MB / 1.152 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.793e-05/1.188, allocations: 47.81 kB / 1.152 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003444/1.188, allocations: 359.1 kB / 1.153 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/1.188, allocations: 103.4 kB / 1.153 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.029e-05/1.189, allocations: 12 kB / 1.153 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001779/1.189, allocations: 376.3 kB / 1.153 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003856/1.189, allocations: 131.6 kB / 1.153 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005448/1.19, allocations: 332.4 kB / 1.154 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003585/1.19, allocations: 153.5 kB / 1.154 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/1.19, allocations: 4 kB / 1.154 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00117/1.191, allocations: 0.5108 MB / 1.154 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/1.191, allocations: 12.72 kB / 1.154 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/1.191, allocations: 5.094 kB / 1.154 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.926e-05/1.191, allocations: 16.7 kB / 1.154 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003516/1.192, allocations: 70 kB / 1.154 GB, free: 11 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.606e-05/1.192, allocations: 13.72 kB / 1.154 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004134/1.192, allocations: 46.05 kB / 1.154 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-05/1.192, allocations: 24.66 kB / 1.154 GB, free: 10.92 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 () * 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.000489/1.193, allocations: 262.9 kB / 1.155 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/1.193, allocations: 64.98 kB / 1.155 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001/1.194, allocations: 421.2 kB / 1.155 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/1.194, allocations: 7.953 kB / 1.155 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/1.194, allocations: 2 kB / 1.155 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/1.194, allocations: 2.953 kB / 1.155 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002051/1.196, allocations: 1.063 MB / 1.156 GB, free: 9.273 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/1.196, allocations: 7.953 kB / 1.156 GB, free: 9.266 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001492/1.196, allocations: 27.41 kB / 1.156 GB, free: 9.242 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/1.196, allocations: 5.156 kB / 1.156 GB, free: 9.238 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.678e-05/1.196, allocations: 10.44 kB / 1.156 GB, free: 9.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/1.196, allocations: 4 kB / 1.156 GB, free: 9.227 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.196, allocations: 1.312 kB / 1.156 GB, free: 9.227 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007968/1.197, allocations: 481.6 kB / 1.157 GB, free: 8.773 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/1.197, allocations: 143.1 kB / 1.157 GB, free: 8.617 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.903e-05/1.197, allocations: 13.5 kB / 1.157 GB, free: 8.605 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002634/1.198, allocations: 19.33 kB / 1.157 GB, free: 8.59 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001683/1.198, allocations: 50.48 kB / 1.157 GB, free: 8.559 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.502e-05/1.198, allocations: 18.58 kB / 1.157 GB, free: 8.543 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0006946/1.199, allocations: 425.8 kB / 1.157 GB, free: 8.195 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.91e-07/1.199, allocations: 0 / 1.157 GB, free: 8.195 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008949/1.199, allocations: 126.7 kB / 1.157 GB, free: 8.074 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) * 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.201, allocations: 477.6 kB / 1.158 GB, free: 7.781 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0009603/1.202, allocations: 385.8 kB / 1.158 GB, free: 7.445 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.202, allocations: 0 / 1.158 GB, free: 7.445 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003939/1.202, allocations: 185.4 kB / 1.158 GB, free: 7.281 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006944/1.203, allocations: 75.38 kB / 1.159 GB, free: 7.223 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002633/1.206, allocations: 1.28 MB / 1.16 GB, free: 6.027 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005613/1.206, allocations: 0.9429 MB / 1.161 GB, free: 5.16 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0004418/1.207, allocations: 79.86 kB / 1.161 GB, free: 5.105 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/1.207, allocations: 47.94 kB / 1.161 GB, free: 5.062 MB / 0.7292 GB Notification: Performance of SimCode: time 8.32e-07/1.207, allocations: 0 / 1.161 GB, free: 5.062 MB / 0.7292 GB Notification: Performance of Templates: time 0.01669/1.224, allocations: 5.548 MB / 1.166 GB, free: 100 kB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1)