Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.335/1.335, allocations: 252 MB / 267.9 MB, free: 10.91 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.001017/0.001017, allocations: 181.4 kB / 327.6 MB, free: 2.129 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.468/1.468, allocations: 205.4 MB / 0.5785 GB, free: 20.16 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.0007921/0.0007922, allocations: 81.64 kB / 0.6831 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003758/0.0003758, allocations: 12.91 kB / 0.7974 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1831, allocations: 106.3 MB / 0.9012 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1532/0.3363, allocations: 135.9 MB / 1.034 GB, free: 7.594 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/0.3366, allocations: 91.94 kB / 1.034 GB, free: 7.504 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01772/0.3543, allocations: 7.401 MB / 1.041 GB, free: 44 kB / 0.6823 GB Notification: Performance of FrontEnd: time 3.286e-06/0.3544, allocations: 4 kB / 1.041 GB, free: 40 kB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.593e-05/0.3544, allocations: 12 kB / 1.041 GB, free: 28 kB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001081/0.3555, allocations: 0.6728 MB / 1.042 GB, free: 15.29 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.3555, allocations: 8.031 kB / 1.042 GB, free: 15.29 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001242/0.3557, allocations: 52.36 kB / 1.042 GB, free: 15.23 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004692/0.3561, allocations: 339.6 kB / 1.042 GB, free: 14.86 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.213e-05/0.3562, allocations: 45.38 kB / 1.042 GB, free: 14.82 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.674e-05/0.3563, allocations: 56.38 kB / 1.042 GB, free: 14.77 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009387/0.3572, allocations: 0.5182 MB / 1.043 GB, free: 14.23 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.3573, allocations: 192 / 1.043 GB, free: 14.23 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.681e-05/0.3573, allocations: 23.94 kB / 1.043 GB, free: 14.21 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.911e-05/0.3574, allocations: 20.98 kB / 1.043 GB, free: 14.19 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008748/0.3582, allocations: 447.7 kB / 1.043 GB, free: 13.75 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002118/0.3604, allocations: 1.407 MB / 1.045 GB, free: 12.29 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007575/0.3611, allocations: 421.2 kB / 1.045 GB, free: 11.87 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003557/0.3615, allocations: 209 kB / 1.045 GB, free: 11.66 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.867e-05/0.3616, allocations: 4.438 kB / 1.045 GB, free: 11.66 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004847/0.362, allocations: 273.8 kB / 1.046 GB, free: 11.38 MB / 0.698 GB Notification: Performance of pre-optimization done (n=52): time 4.599e-06/0.3621, allocations: 0 / 1.046 GB, free: 11.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=52): time 0.001149/0.3632, allocations: 0.5572 MB / 1.046 GB, free: 10.82 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.3633, allocations: 63.83 kB / 1.046 GB, free: 10.74 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000283/0.3636, allocations: 276.5 kB / 1.046 GB, free: 10.46 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.756e-05/0.3636, allocations: 53.7 kB / 1.047 GB, free: 10.41 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.3638, allocations: 197.2 kB / 1.047 GB, free: 10.21 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.3639, allocations: 134.2 kB / 1.047 GB, free: 10.08 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-05/0.3639, allocations: 12 kB / 1.047 GB, free: 10.07 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.3641, allocations: 346.8 kB / 1.047 GB, free: 9.719 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003929/0.3645, allocations: 189.2 kB / 1.047 GB, free: 9.535 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004486/0.3649, allocations: 281.9 kB / 1.048 GB, free: 9.234 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007087/0.3657, allocations: 413.1 kB / 1.048 GB, free: 8.801 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3657, allocations: 0 / 1.048 GB, free: 8.801 MB / 0.698 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001016/0.3667, allocations: 0.5688 MB / 1.049 GB, free: 8.219 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.923e-05/0.3667, allocations: 33.7 kB / 1.049 GB, free: 8.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.3668, allocations: 0 / 1.049 GB, free: 8.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/0.3668, allocations: 11.98 kB / 1.049 GB, free: 8.168 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002825/0.3671, allocations: 80.05 kB / 1.049 GB, free: 8.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.3671, allocations: 4 kB / 1.049 GB, free: 8.086 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003459/0.3674, allocations: 91.62 kB / 1.049 GB, free: 7.996 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.891e-05/0.3675, allocations: 27.98 kB / 1.049 GB, free: 7.969 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.cooModCon.con1.enableFire,$PRE.cooModCon.con2.enableFire,$PRE.cooModCon.con3.enableFire,$PRE.cooModCon.con4.enableFire,cooModCon.stateGraphRoot.resume,cooModCon.stateGraphRoot.suspend,$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.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.TCHWLeaWSE.T_start,TCHWLeaWSE.T_start,$PRE.TCHWLeaWSE.count,TCHWLeaWSE.count,cooModCon.con3.condition,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 (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 1 * 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.000242/0.3677, allocations: 221.6 kB / 1.049 GB, free: 7.742 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.555e-05/0.3678, allocations: 31.62 kB / 1.049 GB, free: 7.711 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009064/0.3687, allocations: 495 kB / 1.05 GB, free: 7.223 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.3687, allocations: 8 kB / 1.05 GB, free: 7.215 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.3687, allocations: 0 / 1.05 GB, free: 7.215 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/0.3688, allocations: 7.875 kB / 1.05 GB, free: 7.207 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/0.3704, allocations: 1.133 MB / 1.051 GB, free: 6.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.3705, allocations: 0 / 1.051 GB, free: 6.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/0.3706, allocations: 55.84 kB / 1.051 GB, free: 5.965 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.3707, allocations: 0 / 1.051 GB, free: 5.965 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/0.3707, allocations: 11.94 kB / 1.051 GB, free: 5.953 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.3707, allocations: 4 kB / 1.051 GB, free: 5.949 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3707, allocations: 0 / 1.051 GB, free: 5.949 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008116/0.3715, allocations: 0.5461 MB / 1.051 GB, free: 5.387 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.786e-05/0.3716, allocations: 108.7 kB / 1.051 GB, free: 5.262 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.084e-05/0.3717, allocations: 12 kB / 1.051 GB, free: 5.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002632/0.3719, allocations: 55.95 kB / 1.051 GB, free: 5.195 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000168/0.3721, allocations: 72.45 kB / 1.051 GB, free: 5.125 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.431e-05/0.3722, allocations: 19.98 kB / 1.052 GB, free: 5.105 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001328/0.3723, allocations: 160.5 kB / 1.052 GB, free: 4.945 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.504e-06/0.3723, allocations: 0 / 1.052 GB, free: 4.945 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003745/0.3727, allocations: 107.9 kB / 1.052 GB, free: 4.84 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: 45 (cooModCon.con3.enableFire,cooModCon.con4.enableFire,cooModCon.con1.enableFire,cooModCon.con2.enableFire,cooModCon.fulMecCoo.localActive,cooModCon.freCoo.localActive,cooModCon.parMecCoo.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$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.con4.fire,cooModCon.con4.t_start,cooModCon.con4.condition,cooModCon.stateGraphRoot.activeSteps,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,TCHWLeaWSE.T_start,TCHWLeaWSE.count) * Number of discrete states: 5 (TCHWLeaWSE.count,cooModCon.parMecCoo.newActive,cooModCon.freCoo.newActive,cooModCon.fulMecCoo.newActive,cooModCon.swi.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 49 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001855/0.3729, allocations: 148.4 kB / 1.052 GB, free: 4.684 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008914/0.3738, allocations: 0.5309 MB / 1.052 GB, free: 4.145 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.3738, allocations: 0 / 1.052 GB, free: 4.145 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003962/0.3742, allocations: 247 kB / 1.053 GB, free: 3.902 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.3746, allocations: 50.39 kB / 1.053 GB, free: 3.855 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.3759, allocations: 0.8161 MB / 1.054 GB, free: 3.008 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004065/0.3763, allocations: 0.8166 MB / 1.054 GB, free: 2.164 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002223/0.3765, allocations: 63.36 kB / 1.054 GB, free: 2.098 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.3766, allocations: 39.42 kB / 1.054 GB, free: 2.059 MB / 0.698 GB Notification: Performance of SimCode: time 3.11e-07/0.3766, allocations: 0 / 1.054 GB, free: 2.059 MB / 0.698 GB Notification: Performance of Templates: time 0.3139/0.6906, allocations: 4.398 MB / 1.059 GB, free: 148.7 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.makefile (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.sim & ./Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe 2>&1)