Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.631/1.631, allocations: 285.4 MB / 298 MB, free: 5.961 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001714/0.001714, allocations: 176.9 kB / 366.4 MB, free: 2.125 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.611/1.611, allocations: 205.1 MB / 0.6248 GB, free: 7.762 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008542/0.000854, allocations: 93.44 kB / 0.738 GB, free: 40.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.393e-05/3.395e-05, allocations: 4 kB / 0.8583 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6861/0.6862, allocations: 115.3 MB / 0.9709 GB, free: 77.92 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2149/0.9011, allocations: 142.1 MB / 1.11 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/0.9014, allocations: 95.88 kB / 1.11 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01878/0.9202, allocations: 7.365 MB / 1.117 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9203, allocations: 0 / 1.117 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.384e-05/0.9203, allocations: 11.98 kB / 1.117 GB, free: 2.344 MB / 0.7136 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.001145/0.9215, allocations: 0.6486 MB / 1.118 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.94e-05/0.9215, allocations: 12.03 kB / 1.118 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.9217, allocations: 47.44 kB / 1.118 GB, free: 1.582 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005015/0.9222, allocations: 334.4 kB / 1.118 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.479e-05/0.9222, allocations: 40.98 kB / 1.118 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.968e-05/0.9223, allocations: 52 kB / 1.118 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008865/0.9232, allocations: 0.4943 MB / 1.119 GB, free: 0.6133 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.848e-05/0.9233, allocations: 352 / 1.119 GB, free: 0.6133 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.183e-05/0.9233, allocations: 23.94 kB / 1.119 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.409e-05/0.9234, allocations: 22.88 kB / 1.119 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006763/0.9241, allocations: 399.8 kB / 1.119 GB, free: 184 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002201/0.9263, allocations: 1.401 MB / 1.12 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005767/0.9269, allocations: 370.8 kB / 1.121 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00027/0.9271, allocations: 190.1 kB / 1.121 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.906e-05/0.9272, allocations: 4.438 kB / 1.121 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004243/0.9276, allocations: 249.3 kB / 1.121 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=52): time 2.024e-06/0.9276, allocations: 0 / 1.121 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=52): time 0.0006383/0.9283, allocations: 371.9 kB / 1.121 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.9283, allocations: 59.84 kB / 1.121 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002352/0.9286, allocations: 252.4 kB / 1.122 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.247e-05/0.9287, allocations: 53.7 kB / 1.122 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.9288, allocations: 197.3 kB / 1.122 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.9289, allocations: 132.2 kB / 1.122 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.469e-05/0.9289, allocations: 12 kB / 1.122 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.9291, allocations: 346.8 kB / 1.122 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000273/0.9294, allocations: 165.5 kB / 1.123 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003196/0.9297, allocations: 247.4 kB / 1.123 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002844/0.93, allocations: 191.7 kB / 1.123 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.93, allocations: 0 / 1.123 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0007888/0.9308, allocations: 0.5287 MB / 1.124 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.865e-05/0.9308, allocations: 37.66 kB / 1.124 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.9308, allocations: 3.984 kB / 1.124 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.9309, allocations: 4 kB / 1.124 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000292/0.9312, allocations: 71.84 kB / 1.124 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.602e-05/0.9312, allocations: 14.09 kB / 1.124 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003685/0.9316, allocations: 87.84 kB / 1.124 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.948e-05/0.9316, allocations: 24 kB / 1.124 GB, free: 11.06 MB / 0.7292 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 () * 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.0001469/0.9318, allocations: 176.8 kB / 1.124 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.85e-05/0.9318, allocations: 31.61 kB / 1.124 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007262/0.9326, allocations: 457.4 kB / 1.124 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.9326, allocations: 4 kB / 1.124 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.9326, allocations: 1.688 kB / 1.124 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.9326, allocations: 4 kB / 1.124 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/0.934, allocations: 1.082 MB / 1.125 GB, free: 9.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.934, allocations: 0 / 1.125 GB, free: 9.25 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/0.9342, allocations: 53.91 kB / 1.126 GB, free: 9.199 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.9343, allocations: 0 / 1.126 GB, free: 9.199 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.327e-05/0.9343, allocations: 15.98 kB / 1.126 GB, free: 9.184 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.9343, allocations: 4 kB / 1.126 GB, free: 9.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.9343, allocations: 0 / 1.126 GB, free: 9.18 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006149/0.9349, allocations: 0.4993 MB / 1.126 GB, free: 8.664 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.004e-05/0.935, allocations: 104.7 kB / 1.126 GB, free: 8.543 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.161e-05/0.9351, allocations: 12 kB / 1.126 GB, free: 8.531 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002902/0.9354, allocations: 59.94 kB / 1.126 GB, free: 8.473 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.9355, allocations: 72.39 kB / 1.126 GB, free: 8.398 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.403e-05/0.9356, allocations: 16 kB / 1.126 GB, free: 8.383 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001376/0.9357, allocations: 169.4 kB / 1.126 GB, free: 8.219 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9357, allocations: 0 / 1.126 GB, free: 8.219 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003574/0.9361, allocations: 99.94 kB / 1.127 GB, free: 8.121 MB / 0.7292 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) * 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.000211/0.9363, allocations: 150.7 kB / 1.127 GB, free: 7.965 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006674/0.937, allocations: 488.4 kB / 1.127 GB, free: 7.48 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.937, allocations: 4.375 kB / 1.127 GB, free: 7.477 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003169/0.9373, allocations: 223.2 kB / 1.127 GB, free: 7.254 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.9376, allocations: 40.38 kB / 1.127 GB, free: 7.215 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009138/0.9385, allocations: 0.5288 MB / 1.128 GB, free: 6.668 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/0.9389, allocations: 0.8284 MB / 1.129 GB, free: 5.816 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002047/0.9391, allocations: 64.3 kB / 1.129 GB, free: 5.758 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/0.9393, allocations: 35.44 kB / 1.129 GB, free: 5.723 MB / 0.7292 GB Notification: Performance of SimCode: time 3.5e-07/0.9393, allocations: 3.938 kB / 1.129 GB, free: 5.719 MB / 0.7292 GB Notification: Performance of Templates: time 0.00818/0.9475, allocations: 4.367 MB / 1.133 GB, free: 1.453 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.makefile (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.sim & ./Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe 2>&1)