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.228/2.228, allocations: 248.7 MB / 256.2 MB, free: 7.098 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001469/0.001469, allocations: 185.2 kB / 315.4 MB, free: 4.023 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.085/2.085, allocations: 205.3 MB / 0.5662 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001098/0.001098, allocations: 86.53 kB / 0.6704 GB, free: 5.824 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.142e-05/2.155e-05, allocations: 7.984 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.1973, allocations: 106.2 MB / 0.8841 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8928/1.09, allocations: 139.6 MB / 1.02 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004992/1.091, allocations: 94.23 kB / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.07522/1.166, allocations: 14.19 MB / 1.034 GB, free: 3.324 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.984e-06/1.166, allocations: 4 kB / 1.034 GB, free: 3.32 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.309e-05/1.166, allocations: 16 kB / 1.034 GB, free: 3.305 MB / 0.6511 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.001701/1.168, allocations: 0.8286 MB / 1.035 GB, free: 2.473 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/1.168, allocations: 8.031 kB / 1.035 GB, free: 2.465 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002474/1.168, allocations: 86.97 kB / 1.035 GB, free: 2.379 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/1.169, allocations: 439 kB / 1.036 GB, free: 1.961 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/1.169, allocations: 54.14 kB / 1.036 GB, free: 1.902 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/1.169, allocations: 40 kB / 1.036 GB, free: 1.863 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009162/1.17, allocations: 320.4 kB / 1.036 GB, free: 1.668 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/1.172, allocations: 0.5219 MB / 1.037 GB, free: 1.195 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.998e-05/1.172, allocations: 3.938 kB / 1.037 GB, free: 1.191 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.313e-05/1.172, allocations: 4 kB / 1.037 GB, free: 1.188 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.706e-05/1.172, allocations: 12 kB / 1.037 GB, free: 1.176 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003732/1.176, allocations: 2.472 MB / 1.039 GB, free: 14.9 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007309/1.176, allocations: 253.3 kB / 1.039 GB, free: 14.72 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002825/1.177, allocations: 128.5 kB / 1.039 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.759e-05/1.177, allocations: 7.984 kB / 1.039 GB, free: 14.63 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004508/1.177, allocations: 187.3 kB / 1.04 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=40): time 3.136e-06/1.177, allocations: 0 / 1.04 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of matching and sorting (n=40): time 0.0008566/1.178, allocations: 313.6 kB / 1.04 GB, free: 14.22 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.789e-05/1.178, allocations: 81.11 kB / 1.04 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009587/1.179, allocations: 0.5499 MB / 1.041 GB, free: 13.69 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.965e-05/1.179, allocations: 37.08 kB / 1.041 GB, free: 13.65 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003826/1.18, allocations: 367.6 kB / 1.041 GB, free: 13.41 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/1.18, allocations: 91.42 kB / 1.041 GB, free: 13.33 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/1.18, allocations: 0 / 1.041 GB, free: 13.33 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002132/1.18, allocations: 383 kB / 1.041 GB, free: 12.98 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003055/1.18, allocations: 110.8 kB / 1.041 GB, free: 12.91 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004901/1.181, allocations: 323 kB / 1.042 GB, free: 12.57 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003598/1.181, allocations: 133.8 kB / 1.042 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/1.181, allocations: 4 kB / 1.042 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001145/1.182, allocations: 465.8 kB / 1.042 GB, free: 12.09 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/1.182, allocations: 8 kB / 1.042 GB, free: 12.08 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/1.182, allocations: 4 kB / 1.042 GB, free: 12.07 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.261e-05/1.182, allocations: 12 kB / 1.042 GB, free: 12.06 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004259/1.183, allocations: 75.03 kB / 1.042 GB, free: 12 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.244e-05/1.183, allocations: 19.92 kB / 1.042 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004397/1.183, allocations: 31.62 kB / 1.043 GB, free: 11.95 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.58e-05/1.183, allocations: 34.92 kB / 1.043 GB, free: 11.91 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.0002192/1.184, allocations: 151.8 kB / 1.043 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007357/1.184, allocations: 304.3 kB / 1.043 GB, free: 11.52 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/1.185, allocations: 67.16 kB / 1.043 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/1.186, allocations: 366.5 kB / 1.043 GB, free: 11.17 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/1.186, allocations: 4 kB / 1.043 GB, free: 11.16 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/1.186, allocations: 0 / 1.043 GB, free: 11.16 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/1.186, allocations: 7.984 kB / 1.043 GB, free: 11.16 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002101/1.188, allocations: 0.9441 MB / 1.044 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/1.188, allocations: 0 / 1.044 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001961/1.188, allocations: 27.67 kB / 1.044 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-06/1.188, allocations: 0 / 1.044 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.89e-05/1.188, allocations: 7.984 kB / 1.044 GB, free: 10.33 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/1.188, allocations: 0 / 1.044 GB, free: 10.33 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.188, allocations: 4 kB / 1.044 GB, free: 10.32 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009325/1.189, allocations: 449.4 kB / 1.045 GB, free: 9.934 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000201/1.189, allocations: 135.1 kB / 1.045 GB, free: 9.785 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/1.189, allocations: 15.48 kB / 1.045 GB, free: 9.773 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002693/1.19, allocations: 4 kB / 1.045 GB, free: 9.77 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001846/1.19, allocations: 46.73 kB / 1.045 GB, free: 9.73 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.007e-05/1.19, allocations: 23.73 kB / 1.045 GB, free: 9.711 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.000696/1.191, allocations: 390.6 kB / 1.045 GB, free: 9.422 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.71e-07/1.191, allocations: 0 / 1.045 GB, free: 9.422 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0008781/1.192, allocations: 107.4 kB / 1.045 GB, free: 9.32 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.002475/1.194, allocations: 1.275 MB / 1.047 GB, free: 8.184 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001037/1.195, allocations: 355.6 kB / 1.047 GB, free: 7.93 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/1.195, allocations: 3.938 kB / 1.047 GB, free: 7.926 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003938/1.196, allocations: 154 kB / 1.047 GB, free: 7.82 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007923/1.196, allocations: 76.81 kB / 1.047 GB, free: 7.766 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002927/1.199, allocations: 0.9167 MB / 1.048 GB, free: 6.91 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007665/1.2, allocations: 0.9529 MB / 1.049 GB, free: 5.945 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0005037/1.201, allocations: 68.36 kB / 1.049 GB, free: 5.875 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004731/1.201, allocations: 257.8 kB / 1.049 GB, free: 5.809 MB / 0.6667 GB Notification: Performance of SimCode: time 1.303e-06/1.201, allocations: 0 / 1.049 GB, free: 5.809 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06289/1.264, allocations: 11.3 MB / 1.06 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002926/1.264, allocations: 170.7 kB / 1.061 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.708/3.973, allocations: 4 kB / 1.061 GB, free: 10.34 MB / 0.6823 GB