Running: ./testmodel.py --libraries=/home/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 (/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.138/2.138, allocations: 251 MB / 265.9 MB, free: 11.71 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.001492/0.001492, allocations: 178 kB / 325.5 MB, free: 2.898 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.424/2.424, allocations: 205.4 MB / 0.5764 GB, free: 21.2 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.001157/0.001157, allocations: 92.23 kB / 0.6809 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005081/0.0005081, allocations: 12.22 kB / 0.795 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.2425, allocations: 106.3 MB / 0.8988 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2559/0.4985, allocations: 139.4 MB / 1.035 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004165/0.499, allocations: 99.92 kB / 1.035 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06338/0.5624, allocations: 14.4 MB / 1.049 GB, free: 7.688 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.046e-06/0.5624, allocations: 0 / 1.049 GB, free: 7.688 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.061e-05/0.5625, allocations: 16 kB / 1.049 GB, free: 7.672 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.002067/0.5646, allocations: 0.9257 MB / 1.05 GB, free: 6.684 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/0.5647, allocations: 8.031 kB / 1.05 GB, free: 6.676 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002044/0.5649, allocations: 98.39 kB / 1.05 GB, free: 6.57 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002288/0.5651, allocations: 94.95 kB / 1.05 GB, free: 6.477 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.5662, allocations: 436.3 kB / 1.051 GB, free: 6.012 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/0.5663, allocations: 83 kB / 1.051 GB, free: 5.926 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.5665, allocations: 55.94 kB / 1.051 GB, free: 5.871 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/0.568, allocations: 0.609 MB / 1.051 GB, free: 5.195 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.979e-05/0.5681, allocations: 3.938 kB / 1.051 GB, free: 5.191 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.606e-05/0.5682, allocations: 28 kB / 1.051 GB, free: 5.164 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.054e-05/0.5682, allocations: 12 kB / 1.051 GB, free: 5.152 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/0.5693, allocations: 383.5 kB / 1.052 GB, free: 4.777 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004078/0.5734, allocations: 2.554 MB / 1.054 GB, free: 2.109 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.5745, allocations: 290.7 kB / 1.055 GB, free: 1.816 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.402e-05/0.5746, allocations: 7.938 kB / 1.055 GB, free: 1.809 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006186/0.5752, allocations: 210.4 kB / 1.055 GB, free: 1.59 MB / 0.698 GB Notification: Performance of pre-optimization done (n=40): time 3.256e-06/0.5752, allocations: 0 / 1.055 GB, free: 1.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.001441/0.5767, allocations: 449.9 kB / 1.055 GB, free: 1.145 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.765e-05/0.5768, allocations: 85.09 kB / 1.055 GB, free: 1.043 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/0.578, allocations: 0.5848 MB / 1.056 GB, free: 464 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001176/0.5782, allocations: 41.7 kB / 1.056 GB, free: 416 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004358/0.5786, allocations: 376.2 kB / 1.056 GB, free: 36 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.5981/1.177, allocations: 85.41 kB / 1.056 GB, free: 147 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.458e-05/1.177, allocations: 12.5 kB / 1.056 GB, free: 147 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000243/1.177, allocations: 381.2 kB / 1.057 GB, free: 146.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004781/1.178, allocations: 137.3 kB / 1.057 GB, free: 146.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005484/1.178, allocations: 343.3 kB / 1.057 GB, free: 146.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004368/1.179, allocations: 149.2 kB / 1.057 GB, free: 146.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/1.179, allocations: 3.188 kB / 1.057 GB, free: 146.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.00137/1.18, allocations: 0.5288 MB / 1.058 GB, free: 146.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/1.18, allocations: 14.58 kB / 1.058 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/1.18, allocations: 5.531 kB / 1.058 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.063e-05/1.18, allocations: 8.875 kB / 1.058 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004119/1.181, allocations: 75.44 kB / 1.058 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.253e-05/1.181, allocations: 14.09 kB / 1.058 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003821/1.181, allocations: 45.02 kB / 1.058 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.299e-05/1.181, allocations: 29.52 kB / 1.058 GB, free: 146.4 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.0005141/1.182, allocations: 274.4 kB / 1.058 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/1.182, allocations: 65.36 kB / 1.058 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/1.183, allocations: 405.2 kB / 1.059 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/1.183, allocations: 5.594 kB / 1.059 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/1.183, allocations: 3.094 kB / 1.059 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/1.183, allocations: 4.453 kB / 1.059 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002026/1.185, allocations: 1.054 MB / 1.06 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/1.185, allocations: 0 / 1.06 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001954/1.185, allocations: 32.44 kB / 1.06 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-06/1.185, allocations: 7.125 kB / 1.06 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.696e-05/1.185, allocations: 10.19 kB / 1.06 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/1.185, allocations: 0 / 1.06 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.185, allocations: 2.75 kB / 1.06 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009119/1.186, allocations: 481.7 kB / 1.06 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/1.186, allocations: 145.3 kB / 1.06 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/1.186, allocations: 5.812 kB / 1.06 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002614/1.187, allocations: 16.28 kB / 1.06 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001644/1.187, allocations: 46.61 kB / 1.06 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.474e-05/1.187, allocations: 15.23 kB / 1.06 GB, free: 145.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007019/1.188, allocations: 437.4 kB / 1.061 GB, free: 145.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.61e-07/1.188, allocations: 0.875 kB / 1.061 GB, free: 145.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007829/1.188, allocations: 127 kB / 1.061 GB, free: 145.5 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.00236/1.191, allocations: 1.381 MB / 1.062 GB, free: 144.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001096/1.192, allocations: 394.2 kB / 1.063 GB, free: 144.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/1.192, allocations: 0 / 1.063 GB, free: 144.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004159/1.192, allocations: 175.2 kB / 1.063 GB, free: 144.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007223/1.193, allocations: 84.72 kB / 1.063 GB, free: 144.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008518/1.202, allocations: 7.433 MB / 1.07 GB, free: 139.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007224/1.202, allocations: 0.9494 MB / 1.071 GB, free: 138.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005616/1.203, allocations: 77.23 kB / 1.071 GB, free: 138.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005055/1.204, allocations: 263.2 kB / 1.072 GB, free: 138.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.242e-06/1.204, allocations: 0 / 1.072 GB, free: 138.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04782/1.251, allocations: 12.09 MB / 1.083 GB, free: 137.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002693/1.252, allocations: 232.2 kB / 1.084 GB, free: 137.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.084/4.335, allocations: 0 / 1.084 GB, free: 137.3 MB / 0.698 GB