Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.505/2.505, allocations: 287.5 MB / 302.4 MB, free: 8.301 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001484/0.001484, allocations: 187.7 kB / 371 MB, free: 10.77 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.417/2.417, allocations: 205.4 MB / 0.6297 GB, free: 10.49 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001131/0.001131, allocations: 93.61 kB / 0.743 GB, free: 6.488 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006368/0.0006368, allocations: 11.53 kB / 0.8658 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2094, allocations: 115.3 MB / 0.9784 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9379/1.147, allocations: 145.6 MB / 1.121 GB, free: 15.76 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003134/1.148, allocations: 99.19 kB / 1.121 GB, free: 15.76 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05584/1.204, allocations: 14.28 MB / 1.135 GB, free: 28.45 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.865e-06/1.204, allocations: 0 / 1.135 GB, free: 28.45 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.695e-05/1.204, allocations: 19.53 kB / 1.135 GB, free: 28.45 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.001977/1.206, allocations: 0.9155 MB / 1.135 GB, free: 27.71 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/1.206, allocations: 11.67 kB / 1.135 GB, free: 27.71 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002435/1.206, allocations: 85.53 kB / 1.136 GB, free: 27.67 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009671/1.207, allocations: 437.2 kB / 1.136 GB, free: 27.36 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.305e-05/1.207, allocations: 48.72 kB / 1.136 GB, free: 27.35 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001409/1.207, allocations: 56.66 kB / 1.136 GB, free: 27.35 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/1.209, allocations: 0.6017 MB / 1.137 GB, free: 27.05 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/1.209, allocations: 3.938 kB / 1.137 GB, free: 27.05 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.055e-05/1.209, allocations: 28.05 kB / 1.137 GB, free: 27.05 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/1.209, allocations: 11.53 kB / 1.137 GB, free: 27.05 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009485/1.21, allocations: 381.4 kB / 1.137 GB, free: 26.98 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003679/1.213, allocations: 2.57 MB / 1.14 GB, free: 25 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008672/1.214, allocations: 286.1 kB / 1.14 GB, free: 24.93 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.137e-05/1.214, allocations: 7.844 kB / 1.14 GB, free: 24.93 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004979/1.215, allocations: 208.7 kB / 1.14 GB, free: 24.83 MB / 0.698 GB Notification: Performance of pre-optimization done (n=39): time 3.496e-06/1.215, allocations: 3.844 kB / 1.14 GB, free: 24.83 MB / 0.698 GB Notification: Performance of matching and sorting (n=39): time 0.001286/1.216, allocations: 460.9 kB / 1.141 GB, free: 24.71 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.158e-05/1.216, allocations: 81.02 kB / 1.141 GB, free: 24.61 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009745/1.217, allocations: 0.5809 MB / 1.141 GB, free: 24.39 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001043/1.217, allocations: 44.16 kB / 1.141 GB, free: 24.35 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003201/1.218, allocations: 369.9 kB / 1.142 GB, free: 24.17 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/1.218, allocations: 95.62 kB / 1.142 GB, free: 24.12 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/1.218, allocations: 10.5 kB / 1.142 GB, free: 24.12 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001846/1.218, allocations: 382.3 kB / 1.142 GB, free: 23.78 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003878/1.218, allocations: 130.1 kB / 1.142 GB, free: 23.77 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004767/1.219, allocations: 336.4 kB / 1.142 GB, free: 23.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004148/1.219, allocations: 144 kB / 1.143 GB, free: 23.48 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/1.219, allocations: 4 kB / 1.143 GB, free: 23.47 MB / 0.698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001209/1.221, allocations: 0.5177 MB / 1.143 GB, free: 23.32 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/1.221, allocations: 11.61 kB / 1.143 GB, free: 23.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/1.221, allocations: 7.969 kB / 1.143 GB, free: 23.31 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.968e-05/1.221, allocations: 11.69 kB / 1.143 GB, free: 23.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003935/1.221, allocations: 73.2 kB / 1.143 GB, free: 23.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.88e-05/1.221, allocations: 11.66 kB / 1.143 GB, free: 23.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004236/1.222, allocations: 41.14 kB / 1.143 GB, free: 23.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.978e-05/1.222, allocations: 26.5 kB / 1.143 GB, free: 23.27 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.0005483/1.222, allocations: 276.8 kB / 1.144 GB, free: 23.11 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/1.222, allocations: 58.5 kB / 1.144 GB, free: 23.08 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00107/1.223, allocations: 418.2 kB / 1.144 GB, free: 22.96 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/1.224, allocations: 7.781 kB / 1.144 GB, free: 22.96 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/1.224, allocations: 0 / 1.144 GB, free: 22.96 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.258e-06/1.224, allocations: 7.984 kB / 1.144 GB, free: 22.95 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002155/1.226, allocations: 1.065 MB / 1.145 GB, free: 22.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/1.226, allocations: 0 / 1.145 GB, free: 22.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001897/1.226, allocations: 26.8 kB / 1.145 GB, free: 22.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/1.226, allocations: 3.844 kB / 1.145 GB, free: 22.43 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.709e-05/1.226, allocations: 7.047 kB / 1.145 GB, free: 22.42 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/1.226, allocations: 11.84 kB / 1.145 GB, free: 22.41 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.226, allocations: 0 / 1.145 GB, free: 22.41 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000926/1.227, allocations: 485.3 kB / 1.146 GB, free: 22.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002139/1.227, allocations: 134.5 kB / 1.146 GB, free: 22.07 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/1.227, allocations: 18.77 kB / 1.146 GB, free: 22.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002776/1.228, allocations: 11.27 kB / 1.146 GB, free: 22.07 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/1.228, allocations: 57.03 kB / 1.146 GB, free: 22.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.554e-05/1.228, allocations: 15.52 kB / 1.146 GB, free: 22.04 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007235/1.229, allocations: 426.7 kB / 1.146 GB, free: 21.89 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.8e-07/1.229, allocations: 0 / 1.146 GB, free: 21.89 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007713/1.229, allocations: 126.6 kB / 1.146 GB, free: 21.88 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.001387/1.231, allocations: 486.8 kB / 1.147 GB, free: 21.65 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001099/1.232, allocations: 391.1 kB / 1.147 GB, free: 21.57 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/1.232, allocations: 0 / 1.147 GB, free: 21.57 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004009/1.232, allocations: 176 kB / 1.147 GB, free: 21.55 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007086/1.233, allocations: 78.55 kB / 1.147 GB, free: 21.53 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002468/1.236, allocations: 1.278 MB / 1.149 GB, free: 20.79 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006245/1.236, allocations: 0.9435 MB / 1.15 GB, free: 19.98 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004492/1.237, allocations: 70.72 kB / 1.15 GB, free: 19.95 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001872/1.237, allocations: 48.92 kB / 1.15 GB, free: 19.94 MB / 0.698 GB Notification: Performance of SimCode: time 8.41e-07/1.237, allocations: 0 / 1.15 GB, free: 19.94 MB / 0.698 GB Notification: Performance of Templates: time 0.018/1.255, allocations: 5.552 MB / 1.155 GB, free: 17.22 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & ./Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1)