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.521/2.521, allocations: 285 MB / 292.5 MB, free: 10.57 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.001489/0.001489, allocations: 188.9 kB / 360.7 MB, free: 7.23 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.936/1.936, allocations: 205.3 MB / 0.6192 GB, free: 12.14 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.001113/0.001113, allocations: 97.3 kB / 0.7322 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.947e-05/2.948e-05, allocations: 4 kB / 0.8509 GB, free: 3.359 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9672/0.9672, allocations: 115.3 MB / 0.9634 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2466/1.214, allocations: 144.8 MB / 1.105 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003074/1.214, allocations: 83.95 kB / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0588/1.273, allocations: 14.06 MB / 1.119 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.162e-06/1.273, allocations: 0 / 1.119 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.134e-05/1.273, allocations: 20 kB / 1.119 GB, free: 13.46 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.001589/1.275, allocations: 0.8078 MB / 1.119 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/1.275, allocations: 15.97 kB / 1.119 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002141/1.275, allocations: 82.97 kB / 1.12 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009823/1.276, allocations: 449.9 kB / 1.12 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.925e-05/1.276, allocations: 16 kB / 1.12 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/1.276, allocations: 36 kB / 1.12 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009261/1.277, allocations: 318.5 kB / 1.12 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/1.278, allocations: 0.5213 MB / 1.121 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/1.278, allocations: 7.953 kB / 1.121 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.722e-05/1.278, allocations: 3.984 kB / 1.121 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.136e-05/1.279, allocations: 20 kB / 1.121 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003674/1.282, allocations: 2.459 MB / 1.123 GB, free: 8.492 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000749/1.283, allocations: 256.9 kB / 1.124 GB, free: 8.23 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002895/1.283, allocations: 124.8 kB / 1.124 GB, free: 8.105 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.702e-05/1.283, allocations: 10.95 kB / 1.124 GB, free: 8.098 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004748/1.284, allocations: 202.3 kB / 1.124 GB, free: 7.887 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=39): time 2.865e-06/1.284, allocations: 0 / 1.124 GB, free: 7.887 MB / 0.7292 GB Notification: Performance of matching and sorting (n=39): time 0.000881/1.285, allocations: 314.4 kB / 1.124 GB, free: 7.574 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.394e-05/1.285, allocations: 85.11 kB / 1.124 GB, free: 7.473 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009999/1.286, allocations: 0.5294 MB / 1.125 GB, free: 6.934 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.967e-05/1.286, allocations: 37.69 kB / 1.125 GB, free: 6.891 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004065/1.286, allocations: 364.3 kB / 1.125 GB, free: 6.531 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/1.287, allocations: 92.27 kB / 1.125 GB, free: 6.441 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.614e-05/1.287, allocations: 0 / 1.125 GB, free: 6.441 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001974/1.287, allocations: 374.8 kB / 1.126 GB, free: 6.066 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003159/1.287, allocations: 113.5 kB / 1.126 GB, free: 5.953 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004826/1.288, allocations: 315.3 kB / 1.126 GB, free: 5.562 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003565/1.288, allocations: 124.7 kB / 1.126 GB, free: 5.441 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/1.288, allocations: 0 / 1.126 GB, free: 5.441 MB / 0.7292 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001134/1.289, allocations: 455.2 kB / 1.127 GB, free: 4.988 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/1.289, allocations: 8 kB / 1.127 GB, free: 4.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/1.289, allocations: 4 kB / 1.127 GB, free: 4.977 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.206e-05/1.289, allocations: 19.89 kB / 1.127 GB, free: 4.957 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004498/1.29, allocations: 71.78 kB / 1.127 GB, free: 4.887 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.993e-05/1.29, allocations: 11.98 kB / 1.127 GB, free: 4.875 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003995/1.29, allocations: 36 kB / 1.127 GB, free: 4.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.345e-05/1.29, allocations: 39.06 kB / 1.127 GB, free: 4.805 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 () * 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.0002085/1.29, allocations: 146.5 kB / 1.127 GB, free: 4.656 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/1.291, allocations: 59.25 kB / 1.127 GB, free: 4.598 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/1.292, allocations: 371.1 kB / 1.127 GB, free: 4.223 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/1.292, allocations: 11.94 kB / 1.127 GB, free: 4.211 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/1.292, allocations: 4 kB / 1.127 GB, free: 4.207 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/1.292, allocations: 7.922 kB / 1.127 GB, free: 4.199 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002173/1.294, allocations: 0.9474 MB / 1.128 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/1.294, allocations: 3.469 kB / 1.128 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001883/1.294, allocations: 27.98 kB / 1.128 GB, free: 3.176 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.091e-05/1.294, allocations: 7.891 kB / 1.128 GB, free: 3.168 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.77e-05/1.294, allocations: 13.55 kB / 1.128 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/1.294, allocations: 0 / 1.128 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.294, allocations: 0 / 1.128 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000943/1.295, allocations: 450.3 kB / 1.129 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001888/1.295, allocations: 136.3 kB / 1.129 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/1.296, allocations: 7.938 kB / 1.129 GB, free: 2.539 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002848/1.296, allocations: 8 kB / 1.129 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001754/1.296, allocations: 55.67 kB / 1.129 GB, free: 2.477 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.141e-05/1.296, allocations: 19.98 kB / 1.129 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0006837/1.297, allocations: 378.9 kB / 1.129 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.61e-07/1.297, allocations: 0 / 1.129 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008269/1.298, allocations: 103.9 kB / 1.129 GB, free: 1.984 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) * 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.001248/1.299, allocations: 425.9 kB / 1.13 GB, free: 1.719 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0009316/1.3, allocations: 342.3 kB / 1.13 GB, free: 1.387 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.3, allocations: 0 / 1.13 GB, free: 1.387 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003677/1.3, allocations: 160.2 kB / 1.13 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007205/1.301, allocations: 70.23 kB / 1.13 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00211/1.303, allocations: 0.7709 MB / 1.131 GB, free: 384 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007007/1.304, allocations: 0.9458 MB / 1.132 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004623/1.304, allocations: 76.67 kB / 1.132 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001983/1.305, allocations: 47.42 kB / 1.132 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of SimCode: time 3.356e-06/1.305, allocations: 0 / 1.132 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of Templates: time 0.0191/1.324, allocations: 5.039 MB / 1.137 GB, free: 10.36 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)