Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.conf.json 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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.768/4.768, allocations: 0.5623 GB / 0.5775 GB, free: 3.355 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002518/0.002518, allocations: 359.7 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.409/4.409, allocations: 410.7 MB / 1.113 GB, free: 6.008 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001879/0.001878, allocations: 187.7 kB / 1.226 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000741/0.0007413, allocations: 12 kB / 1.349 GB, free: 8.309 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7264/0.7272, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2294/0.9567, allocations: 145.6 MB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003103/0.957, allocations: 100.8 kB / 1.604 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.05408/1.011, allocations: 14.28 MB / 1.618 GB, free: 124.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.648e-06/1.011, allocations: 5.234 kB / 1.618 GB, free: 124.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.93e-05/1.011, allocations: 20 kB / 1.618 GB, free: 124.4 MB / 0.8542 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.001973/1.013, allocations: 0.9063 MB / 1.618 GB, free: 123.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/1.013, allocations: 11.62 kB / 1.618 GB, free: 123.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002421/1.014, allocations: 90.95 kB / 1.619 GB, free: 123.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/1.015, allocations: 437 kB / 1.619 GB, free: 122.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.725e-05/1.015, allocations: 53.3 kB / 1.619 GB, free: 122.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/1.015, allocations: 53.39 kB / 1.619 GB, free: 122.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001646/1.017, allocations: 0.6066 MB / 1.62 GB, free: 122.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.939e-05/1.017, allocations: 1.781 kB / 1.62 GB, free: 122.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.461e-05/1.017, allocations: 27.95 kB / 1.62 GB, free: 122.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.383e-05/1.017, allocations: 16.5 kB / 1.62 GB, free: 122.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001274/1.018, allocations: 375.6 kB / 1.62 GB, free: 121.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004213/1.022, allocations: 2.575 MB / 1.623 GB, free: 119 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/1.024, allocations: 286.7 kB / 1.623 GB, free: 118.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005067/1.024, allocations: 140.8 kB / 1.623 GB, free: 118.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.082e-05/1.024, allocations: 7.953 kB / 1.623 GB, free: 118.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007316/1.025, allocations: 204.8 kB / 1.623 GB, free: 118.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=39): time 4.739e-06/1.025, allocations: 0 / 1.623 GB, free: 118.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=39): time 0.003077/1.028, allocations: 464.8 kB / 1.624 GB, free: 117.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.433e-05/1.028, allocations: 85.11 kB / 1.624 GB, free: 117.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001518/1.03, allocations: 0.648 MB / 1.624 GB, free: 117.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001129/1.03, allocations: 49.69 kB / 1.624 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004253/1.03, allocations: 359.7 kB / 1.625 GB, free: 116.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001454/1.03, allocations: 94.84 kB / 1.625 GB, free: 116.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.345e-05/1.031, allocations: 16 kB / 1.625 GB, free: 116.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001697/1.031, allocations: 378.8 kB / 1.625 GB, free: 116.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005296/1.031, allocations: 129.2 kB / 1.625 GB, free: 116.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006659/1.032, allocations: 339.3 kB / 1.626 GB, free: 115.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005403/1.033, allocations: 142 kB / 1.626 GB, free: 115.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/1.033, allocations: 0.6562 kB / 1.626 GB, free: 115.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001602/1.034, allocations: 0.524 MB / 1.626 GB, free: 115.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.046e-05/1.034, allocations: 11.98 kB / 1.626 GB, free: 115.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/1.034, allocations: 4 kB / 1.626 GB, free: 115.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.261e-05/1.034, allocations: 12.88 kB / 1.626 GB, free: 115.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005322/1.035, allocations: 71.84 kB / 1.626 GB, free: 115 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.513e-05/1.035, allocations: 11.94 kB / 1.626 GB, free: 115 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006285/1.036, allocations: 44.8 kB / 1.626 GB, free: 114.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.569e-05/1.036, allocations: 30.06 kB / 1.626 GB, free: 114.9 MB / 0.8542 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.0006316/1.036, allocations: 272.9 kB / 1.627 GB, free: 114.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001523/1.036, allocations: 64.66 kB / 1.627 GB, free: 114.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001429/1.038, allocations: 419.8 kB / 1.627 GB, free: 114.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/1.038, allocations: 7.938 kB / 1.627 GB, free: 114.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/1.038, allocations: 0.75 kB / 1.627 GB, free: 114.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/1.038, allocations: 0 / 1.627 GB, free: 114.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004091/1.042, allocations: 1.064 MB / 1.628 GB, free: 113 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/1.042, allocations: 0 / 1.628 GB, free: 113 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00026/1.042, allocations: 27.92 kB / 1.628 GB, free: 113 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.015e-05/1.042, allocations: 0 / 1.628 GB, free: 113 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.434e-05/1.043, allocations: 15.98 kB / 1.628 GB, free: 113 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/1.043, allocations: 0 / 1.628 GB, free: 113 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.043, allocations: 0.8125 kB / 1.628 GB, free: 113 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001285/1.044, allocations: 495.2 kB / 1.629 GB, free: 112.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002108/1.044, allocations: 140.3 kB / 1.629 GB, free: 112.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/1.044, allocations: 12 kB / 1.629 GB, free: 112.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004307/1.045, allocations: 14.58 kB / 1.629 GB, free: 112.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002163/1.045, allocations: 52.28 kB / 1.629 GB, free: 112.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.518e-05/1.045, allocations: 16 kB / 1.629 GB, free: 112.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001024/1.046, allocations: 427 kB / 1.629 GB, free: 111.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.51e-07/1.046, allocations: 0 / 1.629 GB, free: 111.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001173/1.047, allocations: 127.8 kB / 1.629 GB, free: 111.7 MB / 0.8542 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.001937/1.049, allocations: 483.1 kB / 1.63 GB, free: 111.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001374/1.051, allocations: 393.5 kB / 1.63 GB, free: 111.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/1.051, allocations: 1.438 kB / 1.63 GB, free: 111.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0005597/1.051, allocations: 179.7 kB / 1.631 GB, free: 110.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/1.052, allocations: 86.88 kB / 1.631 GB, free: 110.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003284/1.056, allocations: 1.272 MB / 1.632 GB, free: 109.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006726/1.056, allocations: 0.95 MB / 1.633 GB, free: 108.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0005843/1.057, allocations: 77.81 kB / 1.633 GB, free: 108.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002784/1.057, allocations: 48.27 kB / 1.633 GB, free: 108.4 MB / 0.8542 GB Notification: Performance of SimCode: time 1.463e-06/1.057, allocations: 0 / 1.633 GB, free: 108.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.02316/1.081, allocations: 5.549 MB / 1.638 GB, free: 103 MB / 0.8542 GB