Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.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.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_7_0_0_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode",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.229/2.229, allocations: 248.7 MB / 256.2 MB, free: 7.074 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.001489/0.001489, allocations: 185.4 kB / 315.4 MB, free: 4 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.08/2.08, allocations: 205.3 MB / 0.5662 GB, free: 0.5586 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.001161/0.001161, allocations: 94.53 kB / 0.6704 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.996e-05/3.021e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2111, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.233/7.444, allocations: 2.193 GB / 3.077 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003377/7.444, allocations: 97.69 kB / 3.077 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2335/7.678, allocations: 62.84 MB / 3.138 GB, free: 120.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.184e-06/7.678, allocations: 0 / 3.138 GB, free: 120.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001312/7.678, allocations: 39.88 kB / 3.138 GB, free: 120.6 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.003819/7.682, allocations: 1.309 MB / 3.14 GB, free: 119.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/7.682, allocations: 8.031 kB / 3.14 GB, free: 119.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001751/7.684, allocations: 226.1 kB / 3.14 GB, free: 119 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00218/7.686, allocations: 0.7562 MB / 3.14 GB, free: 118.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.37e-05/7.686, allocations: 40 kB / 3.141 GB, free: 118.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002338/7.686, allocations: 75.98 kB / 3.141 GB, free: 118.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003497/7.69, allocations: 1.297 MB / 3.142 GB, free: 116.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002942/7.693, allocations: 1.053 MB / 3.143 GB, free: 115.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.266e-05/7.693, allocations: 7.938 kB / 3.143 GB, free: 115.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001689/7.693, allocations: 0 / 3.143 GB, free: 115.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-05/7.693, allocations: 42.25 kB / 3.143 GB, free: 115.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00859/7.702, allocations: 3.279 MB / 3.146 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002134/7.704, allocations: 0.9464 MB / 3.147 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008752/7.705, allocations: 393.8 kB / 3.147 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001661/7.705, allocations: 33.34 kB / 3.147 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001219/7.706, allocations: 0.5616 MB / 3.148 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=118): time 4.879e-06/7.706, allocations: 0 / 3.148 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=118): time 0.003175/7.71, allocations: 0.8989 MB / 3.149 GB, free: 109.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001504/7.71, allocations: 256.6 kB / 3.149 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001187/7.711, allocations: 0.5891 MB / 3.15 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003345/7.711, allocations: 37.7 kB / 3.15 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004603/7.712, allocations: 472.7 kB / 3.15 GB, free: 108 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004484/7.712, allocations: 323.3 kB / 3.151 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.1e-05/7.712, allocations: 0 / 3.151 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001647/7.713, allocations: 398.7 kB / 3.151 GB, free: 107.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007954/7.713, allocations: 314.6 kB / 3.151 GB, free: 106.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009459/7.714, allocations: 0.4904 MB / 3.152 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009163/7.715, allocations: 358.2 kB / 3.152 GB, free: 106 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/7.715, allocations: 0 / 3.152 GB, free: 106 MB / 0.8698 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003295/7.719, allocations: 0.9886 MB / 3.153 GB, free: 105 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/7.719, allocations: 8 kB / 3.153 GB, free: 105 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/7.719, allocations: 4.25 kB / 3.153 GB, free: 105 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009684/7.72, allocations: 88.77 kB / 3.153 GB, free: 104.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/7.721, allocations: 191.7 kB / 3.153 GB, free: 104.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002445/7.724, allocations: 1.461 MB / 3.155 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001539/7.725, allocations: 99.44 kB / 3.155 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001766/7.726, allocations: 47.97 kB / 3.155 GB, free: 103 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 66 ($PRE.cooModCon.con1.enableFire,$PRE.cooModCon.con2.enableFire,$PRE.cooModCon.con3.enableFire,$PRE.cooModCon.con4.enableFire,cooModCon.stateGraphRoot.resume,cooModCon.stateGraphRoot.suspend,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cooModCon.con1.enableFire,cooModCon.con1.fire,$PRE.cooModCon.con1.t_start,cooModCon.con1.t_start,cooModCon.con1.condition,$PRE.cooModCon.parMecCoo.localActive,cooModCon.parMecCoo.localActive,cooModCon.parMecCoo.inPort[2].occupied,cooModCon.parMecCoo.outPort[2].available,$PRE.cooModCon.parMecCoo.newActive,cooModCon.parMecCoo.newActive,$PRE.cooModCon.parMecCoo.oldActive,cooModCon.parMecCoo.oldActive,cooModCon.parMecCoo.active,$PRE.cooModCon.freCoo.localActive,cooModCon.freCoo.localActive,$PRE.cooModCon.freCoo.newActive,cooModCon.freCoo.newActive,$PRE.cooModCon.freCoo.oldActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,$PRE.cooModCon.fulMecCoo.localActive,cooModCon.fulMecCoo.localActive,$PRE.cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.newActive,$PRE.cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con2.enableFire,cooModCon.con2.fire,$PRE.cooModCon.con2.t_start,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.con3.enableFire,cooModCon.con3.fire,$PRE.cooModCon.con3.t_start,cooModCon.con3.t_start,cooModCon.con3.condition,cooModCon.con4.enableFire,cooModCon.con4.fire,$PRE.cooModCon.con4.t_start,cooModCon.con4.t_start,cooModCon.con4.condition,cooModCon.stateGraphRoot.activeSteps,$PRE.cooModCon.swi.y,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,cooModCon.swi.expr[1],cooModCon.swi.expr[2],cooModCon.swi.expr[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 143 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004226/7.726, allocations: 161 kB / 3.155 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003098/7.729, allocations: 0.9067 MB / 3.156 GB, free: 102 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004257/7.73, allocations: 90.88 kB / 3.156 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004059/7.734, allocations: 1.211 MB / 3.157 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.799e-05/7.734, allocations: 15.94 kB / 3.157 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/7.734, allocations: 4 kB / 3.157 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-05/7.734, allocations: 7.969 kB / 3.157 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006365/7.74, allocations: 2.335 MB / 3.159 GB, free: 98.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/7.74, allocations: 0 / 3.159 GB, free: 98.23 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001379/7.742, allocations: 175.7 kB / 3.16 GB, free: 98.05 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008853/7.743, allocations: 80.77 kB / 3.16 GB, free: 97.97 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001763/7.743, allocations: 27.98 kB / 3.16 GB, free: 97.95 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002222/7.745, allocations: 1.481 MB / 3.161 GB, free: 96.34 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/7.745, allocations: 3.953 kB / 3.161 GB, free: 96.34 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003463/7.749, allocations: 1.106 MB / 3.162 GB, free: 95.21 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009622/7.75, allocations: 323.5 kB / 3.163 GB, free: 94.88 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002791/7.75, allocations: 11.89 kB / 3.163 GB, free: 94.86 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001395/7.751, allocations: 87.91 kB / 3.163 GB, free: 94.78 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003782/7.752, allocations: 117.1 kB / 3.163 GB, free: 94.66 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001401/7.752, allocations: 51.97 kB / 3.163 GB, free: 94.61 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0008067/7.753, allocations: 435.1 kB / 3.163 GB, free: 94.19 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.41e-07/7.753, allocations: 0 / 3.163 GB, free: 94.19 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001928/7.755, allocations: 367 kB / 3.164 GB, free: 93.83 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 47 (cooModCon.con3.enableFire,cooModCon.con4.enableFire,cooModCon.con1.enableFire,cooModCon.con2.enableFire,cooModCon.fulMecCoo.localActive,cooModCon.freCoo.localActive,cooModCon.parMecCoo.localActive,$cse18,$cse19,$cse20,$cse21,$cse22,$cse23,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cooModCon.con1.fire,cooModCon.con1.t_start,cooModCon.con1.condition,cooModCon.parMecCoo.inPort[2].occupied,cooModCon.parMecCoo.outPort[2].available,cooModCon.parMecCoo.newActive,cooModCon.parMecCoo.oldActive,cooModCon.parMecCoo.active,cooModCon.freCoo.newActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con2.fire,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.con3.fire,cooModCon.con3.t_start,cooModCon.con3.condition,cooModCon.con4.fire,cooModCon.con4.t_start,cooModCon.con4.condition,cooModCon.stateGraphRoot.activeSteps,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 6 (cooModCon.parMecCoo.newActive,cooModCon.freCoo.newActive,cooModCon.fulMecCoo.newActive,cooModCon.swi.y,weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (135): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005964/7.761, allocations: 2.64 MB / 3.166 GB, free: 91.26 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003033/7.764, allocations: 0.9762 MB / 3.167 GB, free: 90.28 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/7.764, allocations: 4 kB / 3.167 GB, free: 90.27 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001567/7.765, allocations: 0.6085 MB / 3.168 GB, free: 89.66 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002173/7.768, allocations: 247.9 kB / 3.168 GB, free: 89.41 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007441/7.775, allocations: 1.874 MB / 3.17 GB, free: 87.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007151/7.776, allocations: 1.136 MB / 3.171 GB, free: 86.33 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001731/7.778, allocations: 304.2 kB / 3.171 GB, free: 86.03 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001078/7.779, allocations: 479.2 kB / 3.172 GB, free: 85.56 MB / 0.8698 GB Notification: Performance of SimCode: time 1.373e-06/7.779, allocations: 0 / 3.172 GB, free: 85.56 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1199/7.899, allocations: 28.24 MB / 3.199 GB, free: 57.43 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002419/7.899, allocations: 201.8 kB / 3.199 GB, free: 57.14 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.223/12.12, allocations: 4.562 kB / 3.199 GB, free: 57.14 MB / 0.8698 GB