Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.377/1.377, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009915/0.0009917, allocations: 188.5 kB / 327.6 MB, free: 2.156 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.613/1.613, allocations: 205.4 MB / 0.5785 GB, free: 20.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000729/0.0007292, allocations: 100 kB / 0.6831 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003622/0.0003623, allocations: 15.41 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2049, allocations: 106.3 MB / 0.9012 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1646/0.3696, allocations: 139.7 MB / 1.038 GB, free: 3.848 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/0.3699, allocations: 95.94 kB / 1.038 GB, free: 3.754 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03452/0.4044, allocations: 14.45 MB / 1.052 GB, free: 5.148 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.274e-06/0.4044, allocations: 0 / 1.052 GB, free: 5.148 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.013e-05/0.4045, allocations: 19.98 kB / 1.052 GB, free: 5.129 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001555/0.4061, allocations: 0.9181 MB / 1.053 GB, free: 4.148 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.4061, allocations: 8.031 kB / 1.053 GB, free: 4.141 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002345/0.4064, allocations: 87.91 kB / 1.053 GB, free: 4.055 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008047/0.4072, allocations: 461 kB / 1.053 GB, free: 3.562 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.4073, allocations: 75.56 kB / 1.053 GB, free: 3.484 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.673e-05/0.4074, allocations: 60.38 kB / 1.053 GB, free: 3.426 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009633/0.4084, allocations: 0.6058 MB / 1.054 GB, free: 2.758 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.4084, allocations: 11.88 kB / 1.054 GB, free: 2.746 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.829e-05/0.4085, allocations: 20 kB / 1.054 GB, free: 2.727 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/0.4085, allocations: 16 kB / 1.054 GB, free: 2.711 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006568/0.4091, allocations: 375.6 kB / 1.054 GB, free: 2.348 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4402/0.8493, allocations: 2.57 MB / 1.057 GB, free: 143.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006907/0.8501, allocations: 282.7 kB / 1.057 GB, free: 143.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002221/0.8503, allocations: 141.3 kB / 1.057 GB, free: 143.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/0.8504, allocations: 4.578 kB / 1.057 GB, free: 143.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003968/0.8508, allocations: 212.6 kB / 1.058 GB, free: 143.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=40): time 3.176e-06/0.8508, allocations: 0 / 1.058 GB, free: 143.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.0008375/0.8516, allocations: 445.2 kB / 1.058 GB, free: 143.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.8517, allocations: 87.83 kB / 1.058 GB, free: 143.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006635/0.8524, allocations: 0.6592 MB / 1.059 GB, free: 143.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.632e-05/0.8524, allocations: 43.02 kB / 1.059 GB, free: 143 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000214/0.8526, allocations: 367.7 kB / 1.059 GB, free: 142.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.099e-05/0.8527, allocations: 102.4 kB / 1.059 GB, free: 142.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.979e-05/0.8527, allocations: 11.5 kB / 1.059 GB, free: 142.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.8528, allocations: 375.9 kB / 1.06 GB, free: 142.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002613/0.8531, allocations: 139.4 kB / 1.06 GB, free: 142.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003243/0.8535, allocations: 349.4 kB / 1.06 GB, free: 142.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004764/0.8539, allocations: 417.8 kB / 1.06 GB, free: 142.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.854, allocations: 0 / 1.06 GB, free: 142.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.000715/0.8547, allocations: 0.5312 MB / 1.061 GB, free: 142 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.8547, allocations: 12.12 kB / 1.061 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.8547, allocations: 5.719 kB / 1.061 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.528e-05/0.8548, allocations: 8.688 kB / 1.061 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002121/0.855, allocations: 76.97 kB / 1.061 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.688e-05/0.855, allocations: 15.89 kB / 1.061 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002283/0.8552, allocations: 40.92 kB / 1.061 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.626e-05/0.8553, allocations: 34.89 kB / 1.061 GB, free: 142 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 57 ($PRE.transition2.enableFire,$PRE.transition1.enableFire,$PRE.transition4.enableFire,$PRE.transition3.enableFire,$PRE.transition5.enableFire,$PRE.timer.yAcc,timer.yAcc,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.condition,$whenCondition4,$whenCondition2,$whenCondition3,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.entryTime,timer.entryTime,timeDel.y,transition5.enableFire,$PRE.timer.reset_internal,timer.reset_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 80 * 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.0002975/0.8556, allocations: 256 kB / 1.061 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.44e-05/0.8557, allocations: 73.06 kB / 1.061 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006374/0.8563, allocations: 412.7 kB / 1.062 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/0.8563, allocations: 7.141 kB / 1.062 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.8563, allocations: 0 / 1.062 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.948e-06/0.8564, allocations: 3.922 kB / 1.062 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001312/0.8577, allocations: 1.056 MB / 1.063 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.8577, allocations: 0 / 1.063 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.8578, allocations: 27.27 kB / 1.063 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.8578, allocations: 2.812 kB / 1.063 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/0.8578, allocations: 9.062 kB / 1.063 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.8579, allocations: 4.875 kB / 1.063 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.8579, allocations: 3.312 kB / 1.063 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005538/0.8584, allocations: 482.4 kB / 1.063 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.966e-05/0.8585, allocations: 142.1 kB / 1.063 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.14e-05/0.8586, allocations: 10.89 kB / 1.063 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.8587, allocations: 17.22 kB / 1.064 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.8589, allocations: 49.09 kB / 1.064 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.993e-05/0.8589, allocations: 21.8 kB / 1.064 GB, free: 141.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004602/0.8594, allocations: 428.5 kB / 1.064 GB, free: 141.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8594, allocations: 1.969 kB / 1.064 GB, free: 141.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004776/0.8599, allocations: 126.5 kB / 1.064 GB, free: 141 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: 38 (off.active,norm.active,cooDow.active,cooDow.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition4,$whenCondition2,$whenCondition3,$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.entryTime,timer.yAcc,timeDel.y) * Number of discrete states: 6 (runSig.combiTimeTable.nextTimeEvent,cooDow.newActive,norm.newActive,off.newActive,timer.y,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 39 * 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.001051/0.8609, allocations: 478.5 kB / 1.065 GB, free: 140.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000643/0.8616, allocations: 392.5 kB / 1.065 GB, free: 140.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.8616, allocations: 0 / 1.065 GB, free: 140.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002656/0.8619, allocations: 170.5 kB / 1.065 GB, free: 140.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005524/0.8624, allocations: 93.77 kB / 1.065 GB, free: 140.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.8643, allocations: 1.291 MB / 1.066 GB, free: 140.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000567/0.8649, allocations: 0.9377 MB / 1.067 GB, free: 139.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003164/0.8652, allocations: 74.36 kB / 1.067 GB, free: 139.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.8653, allocations: 50.2 kB / 1.067 GB, free: 139.6 MB / 0.698 GB Notification: Performance of SimCode: time 3.31e-07/0.8653, allocations: 0 / 1.067 GB, free: 139.6 MB / 0.698 GB Notification: Performance of Templates: time 0.01551/0.8809, allocations: 5.594 MB / 1.073 GB, free: 139.2 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1)