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.667/1.667, allocations: 289.7 MB / 302.3 MB, free: 2.188 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.001157/0.001157, allocations: 184.9 kB / 371.6 MB, free: 3.41 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.831/1.831, allocations: 205.1 MB / 0.6309 GB, free: 11.8 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.001146/0.001147, allocations: 89.47 kB / 0.745 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.167e-05/3.169e-05, allocations: 4 kB / 0.8662 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2405, allocations: 116.3 MB / 0.9798 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8023/1.043, allocations: 143 MB / 1.119 GB, free: 41.63 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/1.043, allocations: 89.77 kB / 1.12 GB, free: 41.6 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01673/1.06, allocations: 7.362 MB / 1.127 GB, free: 37.78 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.482e-06/1.06, allocations: 0 / 1.127 GB, free: 37.78 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.063e-05/1.06, allocations: 8 kB / 1.127 GB, free: 37.77 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.0008766/1.061, allocations: 0.6492 MB / 1.127 GB, free: 37.16 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/1.061, allocations: 8.969 kB / 1.127 GB, free: 37.16 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.851e-05/1.061, allocations: 54.08 kB / 1.127 GB, free: 37.11 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003682/1.061, allocations: 340 kB / 1.128 GB, free: 36.83 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.708e-05/1.061, allocations: 45.83 kB / 1.128 GB, free: 36.8 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.614e-05/1.062, allocations: 51.56 kB / 1.128 GB, free: 36.77 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007237/1.062, allocations: 0.4895 MB / 1.128 GB, free: 36.49 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/1.062, allocations: 4.344 kB / 1.128 GB, free: 36.48 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.168e-05/1.062, allocations: 22.89 kB / 1.128 GB, free: 36.48 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.809e-05/1.062, allocations: 24.41 kB / 1.128 GB, free: 36.46 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005568/1.063, allocations: 394.7 kB / 1.129 GB, free: 36.23 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001816/1.065, allocations: 1.398 MB / 1.13 GB, free: 35.45 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005595/1.065, allocations: 373.5 kB / 1.131 GB, free: 35.22 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000238/1.066, allocations: 182.2 kB / 1.131 GB, free: 35.11 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.612e-05/1.066, allocations: 12.44 kB / 1.131 GB, free: 35.1 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003779/1.066, allocations: 252.4 kB / 1.131 GB, free: 34.95 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=52): time 2.956e-06/1.066, allocations: 0 / 1.131 GB, free: 34.95 MB / 0.7448 GB Notification: Performance of matching and sorting (n=52): time 0.0005586/1.067, allocations: 368.9 kB / 1.131 GB, free: 34.69 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/1.067, allocations: 59.84 kB / 1.131 GB, free: 34.62 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/1.067, allocations: 246.2 kB / 1.132 GB, free: 34.44 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.794e-05/1.067, allocations: 51.52 kB / 1.132 GB, free: 34.4 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.38e-05/1.067, allocations: 206.9 kB / 1.132 GB, free: 34.24 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.544e-05/1.067, allocations: 128 kB / 1.132 GB, free: 34.14 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.432e-05/1.067, allocations: 10.94 kB / 1.132 GB, free: 34.14 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.821e-05/1.067, allocations: 343.4 kB / 1.132 GB, free: 33.82 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002433/1.067, allocations: 168.3 kB / 1.132 GB, free: 33.73 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002778/1.068, allocations: 254.7 kB / 1.133 GB, free: 33.54 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002468/1.068, allocations: 188.3 kB / 1.133 GB, free: 33.42 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/1.068, allocations: 0 / 1.133 GB, free: 33.42 MB / 0.7448 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0006647/1.069, allocations: 0.5302 MB / 1.133 GB, free: 33.04 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.308e-05/1.069, allocations: 37.66 kB / 1.133 GB, free: 32.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/1.069, allocations: 4 kB / 1.133 GB, free: 32.99 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/1.069, allocations: 4.75 kB / 1.133 GB, free: 32.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000306/1.069, allocations: 74.03 kB / 1.133 GB, free: 32.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/1.069, allocations: 7.281 kB / 1.134 GB, free: 32.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000341/1.069, allocations: 89.59 kB / 1.134 GB, free: 32.86 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.926e-05/1.069, allocations: 27.06 kB / 1.134 GB, free: 32.84 MB / 0.7448 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.0001259/1.07, allocations: 178.2 kB / 1.134 GB, free: 32.69 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/1.07, allocations: 31.62 kB / 1.134 GB, free: 32.66 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006364/1.07, allocations: 449.9 kB / 1.134 GB, free: 32.39 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/1.07, allocations: 9.031 kB / 1.134 GB, free: 32.39 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/1.07, allocations: 0 / 1.134 GB, free: 32.39 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/1.07, allocations: 3.516 kB / 1.134 GB, free: 32.39 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001243/1.072, allocations: 1.085 MB / 1.135 GB, free: 31.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/1.072, allocations: 0 / 1.135 GB, free: 31.67 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/1.072, allocations: 47 kB / 1.135 GB, free: 31.63 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/1.072, allocations: 8 kB / 1.135 GB, free: 31.62 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.745e-05/1.072, allocations: 13.36 kB / 1.135 GB, free: 31.62 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/1.072, allocations: 4 kB / 1.135 GB, free: 31.62 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/1.072, allocations: 0 / 1.135 GB, free: 31.62 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005155/1.072, allocations: 0.4971 MB / 1.136 GB, free: 31.23 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.511e-05/1.072, allocations: 101.6 kB / 1.136 GB, free: 31.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.663e-05/1.072, allocations: 11.12 kB / 1.136 GB, free: 31.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002715/1.073, allocations: 63.33 kB / 1.136 GB, free: 31.07 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/1.073, allocations: 71.58 kB / 1.136 GB, free: 31.05 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.299e-05/1.073, allocations: 22.22 kB / 1.136 GB, free: 31.03 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001128/1.073, allocations: 160.1 kB / 1.136 GB, free: 30.91 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.51e-07/1.073, allocations: 4 kB / 1.136 GB, free: 30.9 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003573/1.073, allocations: 98.75 kB / 1.136 GB, free: 30.82 MB / 0.7448 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.0001936/1.074, allocations: 156.1 kB / 1.137 GB, free: 30.68 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006227/1.074, allocations: 497.8 kB / 1.137 GB, free: 30.32 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.074, allocations: 0 / 1.137 GB, free: 30.32 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002663/1.075, allocations: 216.6 kB / 1.137 GB, free: 30.17 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/1.075, allocations: 50.06 kB / 1.137 GB, free: 30.15 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008904/1.076, allocations: 0.5271 MB / 1.138 GB, free: 29.74 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/1.076, allocations: 0.8228 MB / 1.139 GB, free: 28.95 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001929/1.076, allocations: 62.88 kB / 1.139 GB, free: 28.9 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/1.076, allocations: 38.91 kB / 1.139 GB, free: 28.87 MB / 0.7448 GB Notification: Performance of SimCode: time 3.6e-07/1.076, allocations: 0 / 1.139 GB, free: 28.87 MB / 0.7448 GB Notification: Performance of Templates: time 0.008466/1.085, allocations: 4.364 MB / 1.143 GB, free: 26.41 MB / 0.7448 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)