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.646/1.646, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001502/0.001502, allocations: 180.8 kB / 361.4 MB, free: 6.816 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.765/1.765, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.001084/0.001085, allocations: 92.33 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.027e-05/2.05e-05, allocations: 4 kB / 0.8518 GB, free: 2.727 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7083/0.7083, allocations: 115.3 MB / 0.9644 GB, free: 78.63 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1993/0.9077, allocations: 141.4 MB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/0.908, allocations: 89.81 kB / 1.103 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01863/0.9267, allocations: 7.258 MB / 1.11 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.502e-06/0.9267, allocations: 0 / 1.11 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.391e-05/0.9267, allocations: 8 kB / 1.11 GB, free: 7.137 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.001027/0.9278, allocations: 0.6454 MB / 1.11 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.9278, allocations: 8.031 kB / 1.11 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.9279, allocations: 51.44 kB / 1.11 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004461/0.9284, allocations: 334.4 kB / 1.111 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.877e-05/0.9284, allocations: 20 kB / 1.111 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.735e-05/0.9285, allocations: 32 kB / 1.111 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006785/0.9292, allocations: 374.5 kB / 1.111 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007726/0.93, allocations: 452.5 kB / 1.111 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.93, allocations: 3.953 kB / 1.111 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.859e-05/0.93, allocations: 3.984 kB / 1.111 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.204e-05/0.9301, allocations: 17.31 kB / 1.111 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002058/0.9321, allocations: 1.301 MB / 1.113 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005264/0.9327, allocations: 349.6 kB / 1.113 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002509/0.9329, allocations: 169.5 kB / 1.113 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.821e-05/0.933, allocations: 12.44 kB / 1.113 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003933/0.9334, allocations: 229 kB / 1.113 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=52): time 1.924e-06/0.9334, allocations: 0 / 1.113 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of matching and sorting (n=52): time 0.0006711/0.9341, allocations: 339.7 kB / 1.114 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.9341, allocations: 63.84 kB / 1.114 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002271/0.9344, allocations: 218.7 kB / 1.114 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.449e-05/0.9344, allocations: 41.7 kB / 1.114 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.9346, allocations: 197.1 kB / 1.114 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.9347, allocations: 122.5 kB / 1.114 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.232e-05/0.9347, allocations: 0 / 1.114 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.9349, allocations: 344.2 kB / 1.115 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002627/0.9352, allocations: 149.5 kB / 1.115 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003204/0.9355, allocations: 237.9 kB / 1.115 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002603/0.9358, allocations: 152.5 kB / 1.115 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.9358, allocations: 0 / 1.115 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0007392/0.9365, allocations: 459.8 kB / 1.116 GB, free: 0.6523 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.292e-05/0.9366, allocations: 33.7 kB / 1.116 GB, free: 0.6133 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.9366, allocations: 0 / 1.116 GB, free: 0.6133 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.261e-05/0.9366, allocations: 11.95 kB / 1.116 GB, free: 0.6016 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003122/0.9369, allocations: 71.83 kB / 1.116 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.937, allocations: 4 kB / 1.116 GB, free: 0.5273 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003548/0.9373, allocations: 71.84 kB / 1.116 GB, free: 468 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.387e-05/0.9374, allocations: 31.98 kB / 1.116 GB, free: 436 kB / 0.7136 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.0001656/0.9376, allocations: 156.8 kB / 1.116 GB, free: 272 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.783e-05/0.9376, allocations: 31.62 kB / 1.116 GB, free: 240 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007895/0.9384, allocations: 413.2 kB / 1.117 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.9384, allocations: 8 kB / 1.117 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.9384, allocations: 3.953 kB / 1.117 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.9385, allocations: 3.984 kB / 1.117 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001445/0.9399, allocations: 0.9617 MB / 1.117 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.9399, allocations: 3.953 kB / 1.117 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002097/0.9401, allocations: 47.91 kB / 1.118 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/0.9402, allocations: 8 kB / 1.118 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.611e-05/0.9402, allocations: 4 kB / 1.118 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.9402, allocations: 4 kB / 1.118 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.9402, allocations: 3.984 kB / 1.118 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006545/0.9409, allocations: 475.3 kB / 1.118 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.377e-05/0.9409, allocations: 104.7 kB / 1.118 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.35e-05/0.941, allocations: 11.98 kB / 1.118 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000273/0.9413, allocations: 43.95 kB / 1.118 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/0.9415, allocations: 76.45 kB / 1.118 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-05/0.9415, allocations: 21.69 kB / 1.118 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001081/0.9416, allocations: 141.5 kB / 1.118 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9416, allocations: 0 / 1.118 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004157/0.942, allocations: 87.92 kB / 1.118 GB, free: 13.77 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.0002084/0.9423, allocations: 140.7 kB / 1.119 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006697/0.9429, allocations: 461.7 kB / 1.119 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.943, allocations: 0 / 1.119 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002788/0.9432, allocations: 206 kB / 1.119 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.9436, allocations: 42.2 kB / 1.119 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009484/0.9445, allocations: 0.4944 MB / 1.12 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004107/0.9449, allocations: 0.8242 MB / 1.121 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002086/0.9452, allocations: 57.28 kB / 1.121 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.9453, allocations: 43.42 kB / 1.121 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of SimCode: time 4.2e-07/0.9453, allocations: 0 / 1.121 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of Templates: time 0.008313/0.9536, allocations: 4.101 MB / 1.125 GB, free: 7.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)