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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.697/1.697, allocations: 293 MB / 309 MB, free: 4.793 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.001065/0.001065, allocations: 179.8 kB / 378.7 MB, free: 1.027 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.556/1.556, allocations: 205.4 MB / 0.6383 GB, free: 8.207 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.0007105/0.0007104, allocations: 88.45 kB / 0.7527 GB, free: 62.75 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003852/0.0003852, allocations: 16 kB / 0.8768 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2372, allocations: 116.4 MB / 0.9904 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6552/0.8924, allocations: 143.2 MB / 1.13 GB, free: 31.63 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002196/0.8927, allocations: 93.53 kB / 1.13 GB, free: 31.56 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01744/0.9102, allocations: 7.401 MB / 1.138 GB, free: 26.52 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.843e-06/0.9102, allocations: 0 / 1.138 GB, free: 26.52 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.177e-05/0.9102, allocations: 8 kB / 1.138 GB, free: 26.51 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.0009256/0.9112, allocations: 0.6762 MB / 1.138 GB, free: 25.84 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.9112, allocations: 8.031 kB / 1.138 GB, free: 25.83 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.202e-05/0.9113, allocations: 57.22 kB / 1.138 GB, free: 25.77 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003733/0.9117, allocations: 342.1 kB / 1.139 GB, free: 25.44 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.256e-05/0.9117, allocations: 41.89 kB / 1.139 GB, free: 25.39 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.018e-05/0.9118, allocations: 53.08 kB / 1.139 GB, free: 25.34 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008726/0.9127, allocations: 0.5217 MB / 1.139 GB, free: 24.91 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.9127, allocations: 192 / 1.139 GB, free: 24.91 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.115e-05/0.9127, allocations: 25.39 kB / 1.139 GB, free: 24.88 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.855e-05/0.9128, allocations: 21.64 kB / 1.139 GB, free: 24.86 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007958/0.9136, allocations: 446.3 kB / 1.14 GB, free: 24.49 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002049/0.9156, allocations: 1.397 MB / 1.141 GB, free: 23.32 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006859/0.9163, allocations: 423 kB / 1.142 GB, free: 22.95 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003209/0.9167, allocations: 204.9 kB / 1.142 GB, free: 22.77 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.632e-05/0.9167, allocations: 16.98 kB / 1.142 GB, free: 22.75 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004558/0.9172, allocations: 267.1 kB / 1.142 GB, free: 22.53 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=52): time 2.464e-06/0.9172, allocations: 0 / 1.142 GB, free: 22.53 MB / 0.7292 GB Notification: Performance of matching and sorting (n=52): time 0.001032/0.9183, allocations: 0.5542 MB / 1.143 GB, free: 22.03 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.9183, allocations: 65.44 kB / 1.143 GB, free: 21.95 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002261/0.9185, allocations: 275.9 kB / 1.143 GB, free: 21.71 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.192e-05/0.9186, allocations: 51.81 kB / 1.143 GB, free: 21.65 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.464e-05/0.9187, allocations: 204.3 kB / 1.143 GB, free: 21.46 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.247e-05/0.9188, allocations: 125.1 kB / 1.143 GB, free: 21.35 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.357e-05/0.9188, allocations: 16 kB / 1.143 GB, free: 21.33 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.999e-05/0.9189, allocations: 346.5 kB / 1.144 GB, free: 21 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003506/0.9192, allocations: 189.7 kB / 1.144 GB, free: 20.84 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000375/0.9196, allocations: 279 kB / 1.144 GB, free: 20.57 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005867/0.9202, allocations: 421.4 kB / 1.144 GB, free: 20.15 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.9202, allocations: 4 kB / 1.144 GB, free: 20.15 MB / 0.7292 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0008518/0.9211, allocations: 0.5663 MB / 1.145 GB, free: 19.62 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.608e-05/0.9211, allocations: 37.03 kB / 1.145 GB, free: 19.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.9212, allocations: 8.656 kB / 1.145 GB, free: 19.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.9212, allocations: 5.5 kB / 1.145 GB, free: 19.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/0.9215, allocations: 71.22 kB / 1.145 GB, free: 19.51 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.9215, allocations: 9.453 kB / 1.145 GB, free: 19.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003451/0.9218, allocations: 95.61 kB / 1.145 GB, free: 19.42 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.646e-05/0.9219, allocations: 25.36 kB / 1.145 GB, free: 19.4 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.0002815/0.9222, allocations: 224.5 kB / 1.145 GB, free: 19.18 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.238e-05/0.9222, allocations: 36.19 kB / 1.145 GB, free: 19.14 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008569/0.9231, allocations: 486.4 kB / 1.146 GB, free: 18.73 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.9231, allocations: 7.469 kB / 1.146 GB, free: 18.73 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.9231, allocations: 5.062 kB / 1.146 GB, free: 18.73 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.669e-06/0.9231, allocations: 6.469 kB / 1.146 GB, free: 18.72 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001537/0.9247, allocations: 1.125 MB / 1.147 GB, free: 17.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.9247, allocations: 0.6562 kB / 1.147 GB, free: 17.71 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/0.9249, allocations: 48.05 kB / 1.147 GB, free: 17.68 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.9249, allocations: 0 / 1.147 GB, free: 17.68 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.943e-05/0.9249, allocations: 14.81 kB / 1.147 GB, free: 17.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.9249, allocations: 5.719 kB / 1.147 GB, free: 17.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.9249, allocations: 4 kB / 1.147 GB, free: 17.66 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000693/0.9256, allocations: 0.5417 MB / 1.148 GB, free: 17.14 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.679e-05/0.9257, allocations: 109.8 kB / 1.148 GB, free: 17.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.817e-05/0.9258, allocations: 17.45 kB / 1.148 GB, free: 17 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002609/0.926, allocations: 53.91 kB / 1.148 GB, free: 16.96 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001946/0.9262, allocations: 72.31 kB / 1.148 GB, free: 16.92 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-05/0.9263, allocations: 18.62 kB / 1.148 GB, free: 16.91 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001281/0.9264, allocations: 166.9 kB / 1.148 GB, free: 16.75 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9264, allocations: 0 / 1.148 GB, free: 16.75 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003942/0.9268, allocations: 101.7 kB / 1.148 GB, free: 16.66 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.00019/0.927, allocations: 151 kB / 1.148 GB, free: 16.5 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0008445/0.9279, allocations: 0.5307 MB / 1.149 GB, free: 16.02 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.9279, allocations: 0 / 1.149 GB, free: 16.02 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003659/0.9282, allocations: 246.9 kB / 1.149 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003851/0.9286, allocations: 58.94 kB / 1.149 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.9298, allocations: 0.808 MB / 1.15 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.9302, allocations: 0.8212 MB / 1.151 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002356/0.9305, allocations: 59.91 kB / 1.151 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.9306, allocations: 42.62 kB / 1.151 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of SimCode: time 4.7e-07/0.9306, allocations: 0 / 1.151 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of Templates: time 0.009378/0.94, allocations: 4.388 MB / 1.155 GB, free: 11.61 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)