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.431/2.431, allocations: 284.8 MB / 297.3 MB, free: 6.293 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.001409/0.001409, allocations: 184.8 kB / 365.7 MB, free: 2.535 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 1.885/1.885, allocations: 205.2 MB / 0.6241 GB, free: 8.152 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001048/0.001048, allocations: 100.8 kB / 0.7372 GB, free: 40.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.626e-05/3.631e-05, allocations: 8 kB / 0.8574 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.78/0.78, allocations: 115.2 MB / 0.97 GB, free: 78.07 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2452/1.025, allocations: 145.5 MB / 1.112 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003748/1.026, allocations: 95.92 kB / 1.112 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.06134/1.087, allocations: 14.25 MB / 1.126 GB, free: 8.551 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.784e-06/1.087, allocations: 4 kB / 1.126 GB, free: 8.547 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.653e-05/1.087, allocations: 20 kB / 1.126 GB, free: 8.527 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.001647/1.089, allocations: 0.8127 MB / 1.127 GB, free: 7.656 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/1.089, allocations: 12.03 kB / 1.127 GB, free: 7.645 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002132/1.089, allocations: 82.97 kB / 1.127 GB, free: 7.562 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/1.09, allocations: 444.1 kB / 1.127 GB, free: 7.09 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.954e-05/1.09, allocations: 49.31 kB / 1.127 GB, free: 7.043 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/1.09, allocations: 59.92 kB / 1.127 GB, free: 6.984 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/1.092, allocations: 0.5936 MB / 1.128 GB, free: 6.328 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/1.092, allocations: 0 / 1.128 GB, free: 6.328 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.048e-05/1.092, allocations: 27.94 kB / 1.128 GB, free: 6.301 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.977e-05/1.092, allocations: 16 kB / 1.128 GB, free: 6.285 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/1.093, allocations: 367.7 kB / 1.128 GB, free: 5.926 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004128/1.097, allocations: 2.554 MB / 1.131 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009062/1.098, allocations: 287 kB / 1.131 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000345/1.099, allocations: 138.4 kB / 1.131 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.817e-05/1.099, allocations: 3.953 kB / 1.131 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005345/1.099, allocations: 209.8 kB / 1.132 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=39): time 3.367e-06/1.099, allocations: 0 / 1.132 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of matching and sorting (n=39): time 0.001001/1.1, allocations: 346.6 kB / 1.132 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.335e-05/1.1, allocations: 81.11 kB / 1.132 GB, free: 2.168 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001187/1.102, allocations: 0.5809 MB / 1.133 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001055/1.102, allocations: 45.7 kB / 1.133 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000445/1.102, allocations: 364.3 kB / 1.133 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001586/1.102, allocations: 90.92 kB / 1.133 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.895e-05/1.102, allocations: 12 kB / 1.133 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002378/1.103, allocations: 374.8 kB / 1.133 GB, free: 0.6914 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003988/1.103, allocations: 125.5 kB / 1.134 GB, free: 0.5703 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000589/1.104, allocations: 328.9 kB / 1.134 GB, free: 168 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004291/1.104, allocations: 145.5 kB / 1.134 GB, free: 20 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/1.104, allocations: 6.062 kB / 1.134 GB, free: 16 kB / 0.7292 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00145/1.106, allocations: 0.5027 MB / 1.134 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.342e-05/1.106, allocations: 11.95 kB / 1.134 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/1.106, allocations: 8.609 kB / 1.134 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.477e-05/1.106, allocations: 12 kB / 1.134 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004827/1.106, allocations: 75.78 kB / 1.135 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.368e-05/1.106, allocations: 15.98 kB / 1.135 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005146/1.107, allocations: 39.69 kB / 1.135 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.658e-05/1.107, allocations: 27.98 kB / 1.135 GB, free: 15.32 MB / 0.7448 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 () * 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.0002886/1.107, allocations: 164.6 kB / 1.135 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/1.107, allocations: 63.25 kB / 1.135 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001238/1.109, allocations: 410.8 kB / 1.135 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/1.109, allocations: 4 kB / 1.135 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/1.109, allocations: 0 / 1.135 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.722e-05/1.109, allocations: 7.969 kB / 1.135 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002772/1.112, allocations: 1.064 MB / 1.136 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/1.112, allocations: 0 / 1.136 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002365/1.112, allocations: 30.8 kB / 1.136 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/1.112, allocations: 0 / 1.136 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.636e-05/1.112, allocations: 11.98 kB / 1.136 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.997e-06/1.112, allocations: 4 kB / 1.136 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.112, allocations: 0 / 1.136 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/1.113, allocations: 477.4 kB / 1.137 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002195/1.113, allocations: 136.3 kB / 1.137 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/1.113, allocations: 16 kB / 1.137 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000342/1.114, allocations: 15.98 kB / 1.137 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001912/1.114, allocations: 51.67 kB / 1.137 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.756e-05/1.114, allocations: 16 kB / 1.137 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0008262/1.115, allocations: 423.1 kB / 1.137 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.4e-07/1.115, allocations: 0 / 1.137 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0008252/1.116, allocations: 123.9 kB / 1.138 GB, free: 12.24 MB / 0.7448 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) * 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.001375/1.117, allocations: 439.6 kB / 1.138 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001171/1.118, allocations: 378.2 kB / 1.138 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.118, allocations: 0 / 1.138 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004455/1.119, allocations: 172 kB / 1.138 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007608/1.12, allocations: 76.31 kB / 1.139 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002207/1.122, allocations: 0.797 MB / 1.139 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007366/1.123, allocations: 0.9458 MB / 1.14 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004654/1.123, allocations: 79.72 kB / 1.14 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002067/1.123, allocations: 47.42 kB / 1.14 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of SimCode: time 1.472e-06/1.123, allocations: 0 / 1.14 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of Templates: time 0.02063/1.144, allocations: 5.647 MB / 1.146 GB, free: 3.941 MB / 0.7448 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)