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 loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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: translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode") translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.103/2.103, allocations: 251.1 MB / 266.7 MB, free: 11.57 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.001369/0.001369, allocations: 174.2 kB / 326.2 MB, free: 2.855 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.303/2.303, allocations: 205.4 MB / 0.5772 GB, free: 20.78 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.0009914/0.0009911, allocations: 89.88 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004691/0.0004693, allocations: 14.22 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.208, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.925/7.133, allocations: 2.192 GB / 3.092 GB, free: 238.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003422/7.134, allocations: 112.8 kB / 3.092 GB, free: 238.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.2364/7.37, allocations: 65.05 MB / 3.156 GB, free: 221.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.385e-06/7.37, allocations: 7.781 kB / 3.156 GB, free: 221.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001209/7.37, allocations: 30.88 kB / 3.156 GB, free: 221.4 MB / 0.8855 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.004017/7.374, allocations: 1.432 MB / 3.157 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/7.374, allocations: 7.562 kB / 3.157 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001672/7.376, allocations: 226.8 kB / 3.157 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001989/7.378, allocations: 0.7585 MB / 3.158 GB, free: 219.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/7.378, allocations: 89.92 kB / 3.158 GB, free: 219.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002658/7.378, allocations: 122.9 kB / 3.158 GB, free: 219.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003701/7.382, allocations: 1.259 MB / 3.159 GB, free: 219.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.672e-05/7.382, allocations: 192 / 3.159 GB, free: 219.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001881/7.382, allocations: 57.2 kB / 3.159 GB, free: 219.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.674e-05/7.382, allocations: 40.62 kB / 3.16 GB, free: 219.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003815/7.386, allocations: 1.427 MB / 3.161 GB, free: 218.4 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008731/7.395, allocations: 3.488 MB / 3.164 GB, free: 215.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002722/7.398, allocations: 1.046 MB / 3.165 GB, free: 215 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001178/7.399, allocations: 440 kB / 3.166 GB, free: 214.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001658/7.399, allocations: 42.08 kB / 3.166 GB, free: 214.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001674/7.401, allocations: 0.6108 MB / 3.166 GB, free: 214.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=118): time 4.499e-06/7.401, allocations: 0 / 3.166 GB, free: 214.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=118): time 0.006219/7.407, allocations: 1.499 MB / 3.168 GB, free: 213.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/7.407, allocations: 255.7 kB / 3.168 GB, free: 212.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/7.409, allocations: 0.7533 MB / 3.169 GB, free: 212.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003049/7.409, allocations: 63.69 kB / 3.169 GB, free: 212.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004153/7.409, allocations: 464.1 kB / 3.169 GB, free: 211.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000395/7.41, allocations: 341.8 kB / 3.17 GB, free: 211.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.677e-05/7.41, allocations: 29 kB / 3.17 GB, free: 211.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.00016/7.41, allocations: 401.6 kB / 3.17 GB, free: 211.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001143/7.411, allocations: 368.9 kB / 3.17 GB, free: 211 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001249/7.413, allocations: 0.5406 MB / 3.171 GB, free: 210.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/7.414, allocations: 408 kB / 3.171 GB, free: 210.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/7.414, allocations: 4 kB / 3.171 GB, free: 210.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003805/7.418, allocations: 1.12 MB / 3.172 GB, free: 209.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/7.418, allocations: 16.06 kB / 3.172 GB, free: 209.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/7.418, allocations: 4 kB / 3.172 GB, free: 209.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/7.419, allocations: 87.91 kB / 3.173 GB, free: 209.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001557/7.42, allocations: 186.5 kB / 3.173 GB, free: 209.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00268/7.423, allocations: 1.533 MB / 3.174 GB, free: 207.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/7.425, allocations: 133.2 kB / 3.174 GB, free: 207.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001619/7.425, allocations: 54.78 kB / 3.174 GB, free: 207.5 MB / 0.8855 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 () * Number of clocked 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.001022/7.426, allocations: 348.1 kB / 3.175 GB, free: 207.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000354/7.426, allocations: 102.8 kB / 3.175 GB, free: 207.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004591/7.431, allocations: 1.349 MB / 3.176 GB, free: 206.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-05/7.431, allocations: 19.88 kB / 3.176 GB, free: 206.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/7.431, allocations: 0 / 3.176 GB, free: 206.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.639e-05/7.431, allocations: 7.969 kB / 3.176 GB, free: 206.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006985/7.438, allocations: 2.639 MB / 3.179 GB, free: 204.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/7.438, allocations: 0 / 3.179 GB, free: 204.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001365/7.439, allocations: 174.6 kB / 3.179 GB, free: 204.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008465/7.44, allocations: 88.45 kB / 3.179 GB, free: 204 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001411/7.44, allocations: 34.8 kB / 3.179 GB, free: 204 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00238/7.443, allocations: 1.54 MB / 3.181 GB, free: 202.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/7.443, allocations: 0 / 3.181 GB, free: 202.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003892/7.447, allocations: 1.241 MB / 3.182 GB, free: 201.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008883/7.448, allocations: 326.8 kB / 3.182 GB, free: 201.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002629/7.448, allocations: 29.62 kB / 3.182 GB, free: 201.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001385/7.449, allocations: 113.7 kB / 3.182 GB, free: 201.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003752/7.45, allocations: 122.3 kB / 3.182 GB, free: 201 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001724/7.45, allocations: 43.53 kB / 3.182 GB, free: 201 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0009494/7.451, allocations: 0.5064 MB / 3.183 GB, free: 200.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.91e-07/7.451, allocations: 0 / 3.183 GB, free: 200.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001846/7.453, allocations: 411.4 kB / 3.183 GB, free: 200.2 MB / 0.8855 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) * Number of clocked states: 0 () * 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.002463/7.455, allocations: 1.065 MB / 3.184 GB, free: 199.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003471/7.459, allocations: 1.104 MB / 3.185 GB, free: 198.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/7.459, allocations: 0 / 3.185 GB, free: 198.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00185/7.461, allocations: 0.6826 MB / 3.186 GB, free: 198 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002464/7.463, allocations: 293.2 kB / 3.186 GB, free: 197.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007584/7.471, allocations: 2.656 MB / 3.189 GB, free: 195.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006966/7.472, allocations: 1.121 MB / 3.19 GB, free: 194.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001775/7.473, allocations: 308.6 kB / 3.19 GB, free: 194 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006159/7.474, allocations: 123.4 kB / 3.19 GB, free: 193.8 MB / 0.8855 GB Notification: Performance of SimCode: time 1.102e-06/7.474, allocations: 0 / 3.19 GB, free: 193.8 MB / 0.8855 GB Notification: Performance of Templates: time 0.05569/7.53, allocations: 23.34 MB / 3.213 GB, free: 170.6 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.makefile (rm -f Buildings_7.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_7.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_7.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.sim & ./Buildings_7.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe 2>&1)