Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.584/2.584, allocations: 287.5 MB / 303.2 MB, free: 8.258 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.001295/0.001295, allocations: 184.5 kB / 371.8 MB, free: 10.83 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.059/2.059, allocations: 205.4 MB / 0.6305 GB, free: 10.57 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.001351/0.00135, allocations: 92.78 kB / 0.7438 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000467/0.0004671, allocations: 12.09 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2113, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9878/1.199, allocations: 145.6 MB / 1.121 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000334/1.2, allocations: 99.38 kB / 1.122 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05375/1.253, allocations: 14.32 MB / 1.136 GB, free: 28.67 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.663e-06/1.253, allocations: 3.906 kB / 1.136 GB, free: 28.67 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.152e-05/1.254, allocations: 19.62 kB / 1.136 GB, free: 28.66 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.001563/1.255, allocations: 0.9167 MB / 1.136 GB, free: 27.93 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/1.255, allocations: 11.69 kB / 1.136 GB, free: 27.93 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001583/1.255, allocations: 90.48 kB / 1.137 GB, free: 27.88 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008332/1.256, allocations: 455.3 kB / 1.137 GB, free: 27.55 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.861e-05/1.256, allocations: 46.2 kB / 1.137 GB, free: 27.55 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.367e-05/1.256, allocations: 66.81 kB / 1.137 GB, free: 27.54 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/1.258, allocations: 0.6061 MB / 1.138 GB, free: 27.24 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/1.258, allocations: 4.125 kB / 1.138 GB, free: 27.24 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.265e-05/1.258, allocations: 32.77 kB / 1.138 GB, free: 27.23 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/1.258, allocations: 15.03 kB / 1.138 GB, free: 27.23 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008971/1.259, allocations: 370.8 kB / 1.138 GB, free: 27.17 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003329/1.262, allocations: 2.567 MB / 1.141 GB, free: 25.18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008075/1.263, allocations: 283.6 kB / 1.141 GB, free: 25.12 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003229/1.263, allocations: 150.9 kB / 1.141 GB, free: 25.09 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.358e-05/1.263, allocations: 3.969 kB / 1.141 GB, free: 25.09 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004853/1.264, allocations: 212.3 kB / 1.141 GB, free: 25 MB / 0.698 GB Notification: Performance of pre-optimization done (n=39): time 3.827e-06/1.264, allocations: 0 / 1.141 GB, free: 25 MB / 0.698 GB Notification: Performance of matching and sorting (n=39): time 0.001194/1.265, allocations: 456.7 kB / 1.142 GB, free: 24.88 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.817e-05/1.265, allocations: 88.08 kB / 1.142 GB, free: 24.79 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009553/1.266, allocations: 0.655 MB / 1.142 GB, free: 24.53 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.195e-05/1.266, allocations: 48.59 kB / 1.142 GB, free: 24.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002916/1.266, allocations: 352.8 kB / 1.143 GB, free: 24.32 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.679e-05/1.266, allocations: 109.6 kB / 1.143 GB, free: 24.25 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.03e-05/1.266, allocations: 7.188 kB / 1.143 GB, free: 24.25 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001762/1.267, allocations: 378.8 kB / 1.143 GB, free: 23.92 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003541/1.267, allocations: 129.2 kB / 1.143 GB, free: 23.91 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004601/1.267, allocations: 334.8 kB / 1.144 GB, free: 23.64 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007019/1.268, allocations: 413.6 kB / 1.144 GB, free: 23.38 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/1.268, allocations: 3.969 kB / 1.144 GB, free: 23.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001118/1.269, allocations: 0.5132 MB / 1.145 GB, free: 23.22 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/1.269, allocations: 8.469 kB / 1.145 GB, free: 23.22 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/1.269, allocations: 7.688 kB / 1.145 GB, free: 23.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/1.269, allocations: 11.69 kB / 1.145 GB, free: 23.22 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003758/1.27, allocations: 69.78 kB / 1.145 GB, free: 23.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.892e-05/1.27, allocations: 15.61 kB / 1.145 GB, free: 23.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003602/1.27, allocations: 45.91 kB / 1.145 GB, free: 23.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-05/1.27, allocations: 30.17 kB / 1.145 GB, free: 23.18 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.0004736/1.271, allocations: 263.5 kB / 1.145 GB, free: 23.02 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.003e-05/1.271, allocations: 65.91 kB / 1.145 GB, free: 22.99 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009584/1.272, allocations: 419.2 kB / 1.145 GB, free: 22.88 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/1.272, allocations: 3.812 kB / 1.145 GB, free: 22.88 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/1.272, allocations: 0 / 1.145 GB, free: 22.88 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/1.272, allocations: 15.7 kB / 1.146 GB, free: 22.86 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00194/1.274, allocations: 1.058 MB / 1.147 GB, free: 22.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/1.274, allocations: 3.984 kB / 1.147 GB, free: 22.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/1.274, allocations: 30.86 kB / 1.147 GB, free: 22.33 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/1.274, allocations: 0 / 1.147 GB, free: 22.33 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.369e-05/1.274, allocations: 10.44 kB / 1.147 GB, free: 22.33 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/1.274, allocations: 3.938 kB / 1.147 GB, free: 22.32 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/1.274, allocations: 3.875 kB / 1.147 GB, free: 22.32 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00084/1.275, allocations: 488.7 kB / 1.147 GB, free: 22.11 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/1.275, allocations: 143 kB / 1.147 GB, free: 21.97 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/1.275, allocations: 7.75 kB / 1.147 GB, free: 21.97 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002656/1.276, allocations: 18.77 kB / 1.147 GB, free: 21.97 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/1.276, allocations: 53.08 kB / 1.147 GB, free: 21.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.894e-05/1.276, allocations: 10.81 kB / 1.147 GB, free: 21.95 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006542/1.276, allocations: 429.2 kB / 1.148 GB, free: 21.79 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.9e-07/1.276, allocations: 0 / 1.148 GB, free: 21.79 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007256/1.277, allocations: 129.2 kB / 1.148 GB, free: 21.77 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.001315/1.279, allocations: 483.3 kB / 1.148 GB, free: 21.56 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009625/1.279, allocations: 384.9 kB / 1.149 GB, free: 21.49 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.28, allocations: 3.75 kB / 1.149 GB, free: 21.49 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003774/1.28, allocations: 181.6 kB / 1.149 GB, free: 21.46 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008836/1.281, allocations: 92 kB / 1.149 GB, free: 21.44 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002268/1.283, allocations: 1.278 MB / 1.15 GB, free: 20.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005748/1.284, allocations: 0.9354 MB / 1.151 GB, free: 19.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004226/1.284, allocations: 70.8 kB / 1.151 GB, free: 19.87 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001718/1.284, allocations: 46.05 kB / 1.151 GB, free: 19.86 MB / 0.698 GB Notification: Performance of SimCode: time 9.02e-07/1.284, allocations: 0 / 1.151 GB, free: 19.86 MB / 0.698 GB Notification: Performance of Templates: time 0.01765/1.302, allocations: 5.555 MB / 1.157 GB, free: 17.13 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)