Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.324/2.324, allocations: 252.6 MB / 265.2 MB, free: 5.699 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001512/0.001512, allocations: 177.1 kB / 324.5 MB, free: 14.42 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2/2, allocations: 205.4 MB / 0.5754 GB, free: 10.49 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001222/0.001221, allocations: 95.67 kB / 0.6797 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.323e-05/4.339e-05, allocations: 7.938 kB / 0.7911 GB, free: 96.62 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2121, allocations: 106.2 MB / 0.8949 GB, free: 6.273 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8849/1.097, allocations: 139.3 MB / 1.031 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003591/1.098, allocations: 87.19 kB / 1.031 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.05956/1.157, allocations: 14.39 MB / 1.045 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.064e-06/1.157, allocations: 0 / 1.045 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.205e-05/1.157, allocations: 16 kB / 1.045 GB, free: 14.93 MB / 0.6667 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.001536/1.159, allocations: 0.8332 MB / 1.046 GB, free: 14.09 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/1.159, allocations: 12.03 kB / 1.046 GB, free: 14.08 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002049/1.159, allocations: 82.97 kB / 1.046 GB, free: 14 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009756/1.16, allocations: 441.5 kB / 1.046 GB, free: 13.57 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/1.16, allocations: 71.7 kB / 1.047 GB, free: 13.52 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/1.16, allocations: 57.75 kB / 1.047 GB, free: 13.48 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001359/1.162, allocations: 0.6015 MB / 1.047 GB, free: 12.97 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.972e-05/1.162, allocations: 7.938 kB / 1.047 GB, free: 12.96 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.938e-05/1.162, allocations: 21.56 kB / 1.047 GB, free: 12.96 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.333e-05/1.162, allocations: 16 kB / 1.047 GB, free: 12.95 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00095/1.163, allocations: 359.9 kB / 1.048 GB, free: 12.71 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003608/1.166, allocations: 2.569 MB / 1.05 GB, free: 10.35 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008164/1.167, allocations: 274.7 kB / 1.05 GB, free: 10.15 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003151/1.168, allocations: 131.4 kB / 1.05 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 4.019e-05/1.168, allocations: 8 kB / 1.05 GB, free: 10.06 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004958/1.168, allocations: 207 kB / 1.051 GB, free: 9.895 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=40): time 3.126e-06/1.168, allocations: 0 / 1.051 GB, free: 9.895 MB / 0.6667 GB Notification: Performance of matching and sorting (n=40): time 0.001016/1.169, allocations: 340.1 kB / 1.051 GB, free: 9.617 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.342e-05/1.169, allocations: 88.05 kB / 1.051 GB, free: 9.516 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/1.17, allocations: 0.5793 MB / 1.052 GB, free: 9.059 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.000105/1.171, allocations: 39.89 kB / 1.052 GB, free: 9.023 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000377/1.171, allocations: 372.4 kB / 1.052 GB, free: 8.777 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000135/1.171, allocations: 97.34 kB / 1.052 GB, free: 8.699 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.413e-05/1.171, allocations: 13.69 kB / 1.052 GB, free: 8.695 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001804/1.171, allocations: 379.2 kB / 1.052 GB, free: 8.344 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003661/1.172, allocations: 130.2 kB / 1.053 GB, free: 8.262 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005255/1.172, allocations: 337 kB / 1.053 GB, free: 7.906 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003903/1.173, allocations: 142.4 kB / 1.053 GB, free: 7.801 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.335e-05/1.173, allocations: 7.953 kB / 1.053 GB, free: 7.793 MB / 0.6667 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001305/1.174, allocations: 0.5137 MB / 1.054 GB, free: 7.371 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/1.174, allocations: 8 kB / 1.054 GB, free: 7.363 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/1.174, allocations: 7.984 kB / 1.054 GB, free: 7.355 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.14e-05/1.174, allocations: 12.78 kB / 1.054 GB, free: 7.344 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004634/1.175, allocations: 74.78 kB / 1.054 GB, free: 7.273 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.452e-05/1.175, allocations: 15.98 kB / 1.054 GB, free: 7.258 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004304/1.175, allocations: 48 kB / 1.054 GB, free: 7.223 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.696e-05/1.175, allocations: 27.56 kB / 1.054 GB, free: 7.199 MB / 0.6667 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 () * 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.0002239/1.175, allocations: 175.3 kB / 1.054 GB, free: 7.043 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/1.176, allocations: 67.11 kB / 1.054 GB, free: 6.977 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/1.177, allocations: 405.7 kB / 1.054 GB, free: 6.672 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/1.177, allocations: 8 kB / 1.054 GB, free: 6.664 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/1.177, allocations: 3.938 kB / 1.054 GB, free: 6.66 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/1.177, allocations: 0 / 1.054 GB, free: 6.66 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003178/1.18, allocations: 1.045 MB / 1.055 GB, free: 5.777 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/1.18, allocations: 0 / 1.055 GB, free: 5.777 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003361/1.18, allocations: 27.05 kB / 1.055 GB, free: 5.754 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-05/1.18, allocations: 4 kB / 1.055 GB, free: 5.75 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.453e-05/1.18, allocations: 18.86 kB / 1.055 GB, free: 5.738 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-05/1.181, allocations: 4 kB / 1.055 GB, free: 5.734 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.181, allocations: 0 / 1.055 GB, free: 5.734 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/1.182, allocations: 462.8 kB / 1.056 GB, free: 5.336 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003476/1.183, allocations: 142.5 kB / 1.056 GB, free: 5.184 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001743/1.183, allocations: 14.42 kB / 1.056 GB, free: 5.176 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000498/1.183, allocations: 15.44 kB / 1.056 GB, free: 5.164 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002485/1.184, allocations: 47.42 kB / 1.056 GB, free: 5.125 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.412e-05/1.184, allocations: 19.17 kB / 1.056 GB, free: 5.109 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001466/1.185, allocations: 423.9 kB / 1.057 GB, free: 4.797 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.837e-06/1.185, allocations: 0 / 1.057 GB, free: 4.797 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001602/1.187, allocations: 129 kB / 1.057 GB, free: 4.688 MB / 0.6667 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) * 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.002246/1.189, allocations: 439.2 kB / 1.057 GB, free: 4.395 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001661/1.191, allocations: 384.9 kB / 1.057 GB, free: 4.117 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/1.191, allocations: 0 / 1.057 GB, free: 4.117 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0006368/1.192, allocations: 168.9 kB / 1.058 GB, free: 3.996 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/1.193, allocations: 74.78 kB / 1.058 GB, free: 3.945 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003213/1.196, allocations: 0.8036 MB / 1.058 GB, free: 3.219 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009898/1.197, allocations: 0.9508 MB / 1.059 GB, free: 2.254 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0007014/1.198, allocations: 84.14 kB / 1.059 GB, free: 2.176 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002907/1.198, allocations: 43.42 kB / 1.059 GB, free: 2.133 MB / 0.6667 GB Notification: Performance of SimCode: time 1.583e-06/1.198, allocations: 0 / 1.059 GB, free: 2.133 MB / 0.6667 GB Notification: Performance of Templates: time 0.03088/1.229, allocations: 5.637 MB / 1.065 GB, free: 12.54 MB / 0.6823 GB