Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.576/1.576, allocations: 297.8 MB / 313.7 MB, free: 84 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009709/0.0009709, allocations: 180.5 kB / 384.6 MB, free: 10.82 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 223.2 MB / 0.6626 GB, free: 4.352 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000773/0.000773, allocations: 93.59 kB / 0.7808 GB, free: 43.52 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.0003491, allocations: 15.98 kB / 0.9088 GB, free: 0.6719 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5113/0.5117, allocations: 120.3 MB / 1.026 GB, free: 56.24 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1569/0.6687, allocations: 145.3 MB / 1.168 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002028/0.6689, allocations: 91.94 kB / 1.168 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01697/0.6859, allocations: 7.464 MB / 1.176 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.283e-06/0.6859, allocations: 0 / 1.176 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.352e-05/0.6859, allocations: 19.86 kB / 1.176 GB, free: 5.398 MB / 0.7448 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.0009912/0.6869, allocations: 0.665 MB / 1.176 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.687, allocations: 8.031 kB / 1.176 GB, free: 4.66 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.6871, allocations: 51.47 kB / 1.176 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000394/0.6875, allocations: 352.9 kB / 1.177 GB, free: 4.23 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.359e-05/0.6876, allocations: 41.38 kB / 1.177 GB, free: 4.191 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.171e-05/0.6876, allocations: 52.38 kB / 1.177 GB, free: 4.141 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008828/0.6885, allocations: 0.5221 MB / 1.177 GB, free: 3.605 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.6885, allocations: 192 / 1.177 GB, free: 3.605 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.175e-05/0.6886, allocations: 19.94 kB / 1.177 GB, free: 3.586 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.502e-05/0.6886, allocations: 21 kB / 1.177 GB, free: 3.566 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008454/0.6895, allocations: 451.7 kB / 1.178 GB, free: 3.125 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001945/0.6914, allocations: 1.406 MB / 1.179 GB, free: 1.668 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007193/0.6922, allocations: 423.1 kB / 1.179 GB, free: 1.246 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003367/0.6925, allocations: 202.1 kB / 1.18 GB, free: 1.047 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.93e-05/0.6926, allocations: 16.42 kB / 1.18 GB, free: 1.031 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004486/0.693, allocations: 269.8 kB / 1.18 GB, free: 0.7578 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=52): time 1.843e-06/0.693, allocations: 0 / 1.18 GB, free: 0.7578 MB / 0.7448 GB Notification: Performance of matching and sorting (n=52): time 0.001031/0.6941, allocations: 0.5573 MB / 1.18 GB, free: 196 kB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.6941, allocations: 63.84 kB / 1.181 GB, free: 120 kB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002533/0.6944, allocations: 280.5 kB / 1.181 GB, free: 15.83 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.756e-05/0.6944, allocations: 53.69 kB / 1.181 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.6946, allocations: 193.2 kB / 1.181 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.6947, allocations: 126.4 kB / 1.181 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.536e-05/0.6947, allocations: 16 kB / 1.181 GB, free: 15.44 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.6948, allocations: 346.8 kB / 1.181 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003721/0.6952, allocations: 189.2 kB / 1.182 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004117/0.6956, allocations: 273.9 kB / 1.182 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006479/0.6963, allocations: 421.1 kB / 1.182 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.6963, allocations: 0 / 1.182 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0009145/0.6972, allocations: 0.5726 MB / 1.183 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/0.6973, allocations: 33.69 kB / 1.183 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.6973, allocations: 8.219 kB / 1.183 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.6973, allocations: 7.938 kB / 1.183 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002596/0.6976, allocations: 71.83 kB / 1.183 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/0.6976, allocations: 7.938 kB / 1.183 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003414/0.6979, allocations: 95.62 kB / 1.183 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.266e-05/0.698, allocations: 23.94 kB / 1.183 GB, free: 13.34 MB / 0.7605 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.0002273/0.6982, allocations: 230.5 kB / 1.183 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.986e-05/0.6983, allocations: 35.62 kB / 1.183 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008345/0.6991, allocations: 491.1 kB / 1.184 GB, free: 12.59 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.6991, allocations: 4 kB / 1.184 GB, free: 12.59 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.6991, allocations: 0 / 1.184 GB, free: 12.59 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.6992, allocations: 15.92 kB / 1.184 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001527/0.7007, allocations: 1.122 MB / 1.185 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.7007, allocations: 0 / 1.185 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.7009, allocations: 47.91 kB / 1.185 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.7009, allocations: 4 kB / 1.185 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.585e-05/0.7009, allocations: 11.98 kB / 1.185 GB, free: 11.33 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.7009, allocations: 4 kB / 1.185 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.7009, allocations: 0 / 1.185 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007395/0.7017, allocations: 0.5422 MB / 1.186 GB, free: 10.77 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 6.549e-05/0.7018, allocations: 116.5 kB / 1.186 GB, free: 10.63 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.654e-05/0.7018, allocations: 15.98 kB / 1.186 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002557/0.7021, allocations: 51.95 kB / 1.186 GB, free: 10.57 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/0.7022, allocations: 77.81 kB / 1.186 GB, free: 10.49 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.309e-05/0.7023, allocations: 19.94 kB / 1.186 GB, free: 10.47 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000126/0.7024, allocations: 160.5 kB / 1.186 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7024, allocations: 8 kB / 1.186 GB, free: 10.31 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003553/0.7028, allocations: 96 kB / 1.186 GB, free: 10.21 MB / 0.7605 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.0001754/0.703, allocations: 142.9 kB / 1.186 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.000841/0.7038, allocations: 0.5307 MB / 1.187 GB, free: 9.531 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.7038, allocations: 4 kB / 1.187 GB, free: 9.527 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003861/0.7042, allocations: 243.1 kB / 1.187 GB, free: 9.289 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.7046, allocations: 60.66 kB / 1.187 GB, free: 9.227 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.7058, allocations: 0.8103 MB / 1.188 GB, free: 8.379 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.7061, allocations: 0.8205 MB / 1.189 GB, free: 7.531 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002103/0.7063, allocations: 64.16 kB / 1.189 GB, free: 7.469 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.7064, allocations: 47.42 kB / 1.189 GB, free: 7.422 MB / 0.7605 GB Notification: Performance of SimCode: time 2.11e-07/0.7065, allocations: 0 / 1.189 GB, free: 7.422 MB / 0.7605 GB Notification: Performance of Templates: time 0.008001/0.7145, allocations: 4.39 MB / 1.193 GB, free: 3.125 MB / 0.7605 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.makefile (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe 2>&1)