Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.855/1.855, allocations: 292.6 MB / 307.5 MB, free: 5.176 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.001079/0.001079, allocations: 173.1 kB / 377.1 MB, free: 1.52 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.644/1.644, allocations: 205.4 MB / 0.6367 GB, free: 8.641 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.0008866/0.0008864, allocations: 90.59 kB / 0.751 GB, free: 63.03 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003582/0.0003586, allocations: 12 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2834, allocations: 116.3 MB / 0.9884 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.824/1.107, allocations: 143.1 MB / 1.128 GB, free: 32.51 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/1.108, allocations: 90.77 kB / 1.128 GB, free: 32.44 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0183/1.126, allocations: 7.389 MB / 1.135 GB, free: 27.42 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.004e-06/1.126, allocations: 4.984 kB / 1.135 GB, free: 27.41 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.276e-05/1.126, allocations: 8 kB / 1.135 GB, free: 27.41 MB / 0.7292 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.001061/1.127, allocations: 0.6703 MB / 1.136 GB, free: 26.73 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/1.127, allocations: 12.02 kB / 1.136 GB, free: 26.72 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/1.127, allocations: 60.14 kB / 1.136 GB, free: 26.67 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004623/1.128, allocations: 327.3 kB / 1.136 GB, free: 26.34 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.512e-05/1.128, allocations: 47.2 kB / 1.137 GB, free: 26.3 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/1.128, allocations: 52.75 kB / 1.137 GB, free: 26.25 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009629/1.129, allocations: 0.5164 MB / 1.137 GB, free: 25.81 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/1.129, allocations: 0 / 1.137 GB, free: 25.81 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.861e-05/1.129, allocations: 25.12 kB / 1.137 GB, free: 25.79 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.117e-05/1.129, allocations: 19.62 kB / 1.137 GB, free: 25.77 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008179/1.13, allocations: 447.3 kB / 1.138 GB, free: 25.39 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002131/1.132, allocations: 1.405 MB / 1.139 GB, free: 24.23 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000742/1.133, allocations: 421.2 kB / 1.139 GB, free: 23.84 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.565e-05/1.133, allocations: 9.094 kB / 1.139 GB, free: 23.84 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005124/1.133, allocations: 271.2 kB / 1.14 GB, free: 23.61 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=52): time 1.843e-06/1.133, allocations: 0 / 1.14 GB, free: 23.61 MB / 0.7292 GB Notification: Performance of matching and sorting (n=52): time 0.001086/1.134, allocations: 0.5571 MB / 1.14 GB, free: 23.11 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/1.135, allocations: 65.53 kB / 1.14 GB, free: 23.03 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002275/1.135, allocations: 255.5 kB / 1.14 GB, free: 22.8 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.531e-05/1.135, allocations: 47.44 kB / 1.14 GB, free: 22.75 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/1.135, allocations: 196.6 kB / 1.141 GB, free: 22.57 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/1.135, allocations: 132.4 kB / 1.141 GB, free: 22.45 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.608e-05/1.135, allocations: 12 kB / 1.141 GB, free: 22.43 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.978e-05/1.135, allocations: 351.6 kB / 1.141 GB, free: 22.09 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003632/1.136, allocations: 189.3 kB / 1.141 GB, free: 21.93 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004089/1.136, allocations: 275.1 kB / 1.142 GB, free: 21.67 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000351/1.136, allocations: 206.1 kB / 1.142 GB, free: 21.48 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.136, allocations: 4 kB / 1.142 GB, free: 21.47 MB / 0.7292 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0008977/1.137, allocations: 0.5643 MB / 1.142 GB, free: 20.94 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.743e-05/1.137, allocations: 35.05 kB / 1.142 GB, free: 20.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/1.137, allocations: 8.75 kB / 1.142 GB, free: 20.89 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/1.137, allocations: 5.453 kB / 1.142 GB, free: 20.89 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002851/1.138, allocations: 71.12 kB / 1.142 GB, free: 20.83 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/1.138, allocations: 8.547 kB / 1.142 GB, free: 20.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003761/1.138, allocations: 93.31 kB / 1.143 GB, free: 20.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.53e-05/1.138, allocations: 21.31 kB / 1.143 GB, free: 20.73 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 () * 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.0002311/1.138, allocations: 228.1 kB / 1.143 GB, free: 20.51 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.424e-05/1.138, allocations: 28.23 kB / 1.143 GB, free: 20.48 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009164/1.139, allocations: 494.5 kB / 1.143 GB, free: 20.06 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/1.139, allocations: 7.953 kB / 1.143 GB, free: 20.05 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/1.139, allocations: 11.94 kB / 1.143 GB, free: 20.04 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.958e-06/1.139, allocations: 6 kB / 1.143 GB, free: 20.04 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001621/1.141, allocations: 1.127 MB / 1.144 GB, free: 19.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/1.141, allocations: 0 / 1.144 GB, free: 19.04 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/1.141, allocations: 47.81 kB / 1.144 GB, free: 19 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.503e-06/1.141, allocations: 4.844 kB / 1.144 GB, free: 18.99 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.067e-05/1.141, allocations: 9.969 kB / 1.144 GB, free: 18.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/1.141, allocations: 0 / 1.144 GB, free: 18.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/1.141, allocations: 5.125 kB / 1.144 GB, free: 18.98 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007188/1.142, allocations: 0.5468 MB / 1.145 GB, free: 18.46 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.527e-05/1.142, allocations: 113.8 kB / 1.145 GB, free: 18.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.236e-05/1.142, allocations: 17.44 kB / 1.145 GB, free: 18.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002802/1.142, allocations: 49.31 kB / 1.145 GB, free: 18.29 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/1.143, allocations: 76.12 kB / 1.145 GB, free: 18.24 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-05/1.143, allocations: 18.2 kB / 1.145 GB, free: 18.22 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000122/1.143, allocations: 167.2 kB / 1.145 GB, free: 18.07 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.41e-07/1.143, allocations: 0 / 1.145 GB, free: 18.07 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003734/1.143, allocations: 93.31 kB / 1.146 GB, free: 17.98 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) * 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.0001951/1.143, allocations: 150.6 kB / 1.146 GB, free: 17.84 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000849/1.144, allocations: 0.5271 MB / 1.146 GB, free: 17.35 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.144, allocations: 3.938 kB / 1.146 GB, free: 17.34 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003747/1.145, allocations: 243 kB / 1.146 GB, free: 17.13 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000294/1.145, allocations: 53.64 kB / 1.146 GB, free: 17.09 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/1.146, allocations: 0.8087 MB / 1.147 GB, free: 16.31 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/1.146, allocations: 0.8314 MB / 1.148 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002034/1.147, allocations: 62.58 kB / 1.148 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/1.147, allocations: 43.19 kB / 1.148 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of SimCode: time 2.81e-07/1.147, allocations: 0 / 1.148 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of Templates: time 0.009353/1.156, allocations: 4.356 MB / 1.152 GB, free: 12.96 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.makefile (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.sim & ./Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe 2>&1)