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.569/1.569, allocations: 289.9 MB / 297.4 MB, free: 6.449 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.001067/0.001067, allocations: 180.8 kB / 366.7 MB, free: 1.688 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.546/1.546, allocations: 205.2 MB / 0.626 GB, free: 7.172 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.0008544/0.000854, allocations: 91.45 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.253e-05/2.254e-05, allocations: 4 kB / 0.8597 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6798/0.6798, allocations: 116.3 MB / 0.9733 GB, free: 76.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2062/0.8861, allocations: 142.4 MB / 1.112 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003035/0.8865, allocations: 95.92 kB / 1.112 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01872/0.9052, allocations: 7.258 MB / 1.119 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.342e-06/0.9052, allocations: 0 / 1.119 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.628e-05/0.9053, allocations: 8 kB / 1.119 GB, free: 0.5156 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.001214/0.9065, allocations: 0.6459 MB / 1.12 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.9066, allocations: 8.031 kB / 1.12 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001606/0.9067, allocations: 51.44 kB / 1.12 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004897/0.9072, allocations: 334.4 kB / 1.12 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.029e-05/0.9073, allocations: 20 kB / 1.12 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.682e-05/0.9074, allocations: 35.98 kB / 1.121 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006844/0.9081, allocations: 374.2 kB / 1.121 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007563/0.9088, allocations: 452.6 kB / 1.121 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.9089, allocations: 3.953 kB / 1.121 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.519e-05/0.9089, allocations: 0 / 1.121 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.501e-05/0.9089, allocations: 21.3 kB / 1.121 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002139/0.9111, allocations: 1.305 MB / 1.123 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005278/0.9116, allocations: 346.1 kB / 1.123 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002386/0.9119, allocations: 171.5 kB / 1.123 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.595e-05/0.9119, allocations: 12.44 kB / 1.123 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003787/0.9123, allocations: 228.5 kB / 1.123 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=52): time 2.044e-06/0.9123, allocations: 0 / 1.123 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of matching and sorting (n=52): time 0.0006181/0.913, allocations: 331.7 kB / 1.124 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.913, allocations: 71.81 kB / 1.124 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.9132, allocations: 218.6 kB / 1.124 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.514e-05/0.9133, allocations: 45.69 kB / 1.124 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.9135, allocations: 197.1 kB / 1.124 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.9136, allocations: 114.5 kB / 1.124 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.563e-05/0.9136, allocations: 0 / 1.124 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.9138, allocations: 350.7 kB / 1.125 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002607/0.914, allocations: 149.5 kB / 1.125 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003143/0.9143, allocations: 237.9 kB / 1.125 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002693/0.9146, allocations: 144.5 kB / 1.125 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.9146, allocations: 0 / 1.125 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0007619/0.9154, allocations: 459.8 kB / 1.126 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.465e-05/0.9155, allocations: 37.69 kB / 1.126 GB, free: 9.992 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.9155, allocations: 0 / 1.126 GB, free: 9.992 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.6e-05/0.9155, allocations: 11.95 kB / 1.126 GB, free: 9.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002973/0.9158, allocations: 71.78 kB / 1.126 GB, free: 9.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.9158, allocations: 7.984 kB / 1.126 GB, free: 9.902 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003703/0.9162, allocations: 71.84 kB / 1.126 GB, free: 9.832 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.327e-05/0.9163, allocations: 28 kB / 1.126 GB, free: 9.805 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 () * 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.000165/0.9164, allocations: 155.4 kB / 1.126 GB, free: 9.648 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.118e-05/0.9165, allocations: 35.61 kB / 1.126 GB, free: 9.613 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007242/0.9172, allocations: 402.9 kB / 1.126 GB, free: 9.215 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.9172, allocations: 8 kB / 1.126 GB, free: 9.207 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.9173, allocations: 3.953 kB / 1.126 GB, free: 9.203 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.9173, allocations: 1.938 kB / 1.126 GB, free: 9.203 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/0.9187, allocations: 0.9733 MB / 1.127 GB, free: 8.188 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.9187, allocations: 3.953 kB / 1.127 GB, free: 8.184 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/0.9189, allocations: 47.91 kB / 1.127 GB, free: 8.137 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.919, allocations: 4 kB / 1.127 GB, free: 8.133 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.704e-05/0.919, allocations: 11.98 kB / 1.127 GB, free: 8.121 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.919, allocations: 4 kB / 1.127 GB, free: 8.117 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.919, allocations: 1.781 kB / 1.127 GB, free: 8.117 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006295/0.9197, allocations: 471.4 kB / 1.128 GB, free: 7.641 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.854e-05/0.9197, allocations: 108.7 kB / 1.128 GB, free: 7.516 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.004e-05/0.9198, allocations: 8 kB / 1.128 GB, free: 7.508 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002821/0.9201, allocations: 43.95 kB / 1.128 GB, free: 7.465 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/0.9202, allocations: 84.33 kB / 1.128 GB, free: 7.383 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.519e-05/0.9203, allocations: 19.98 kB / 1.128 GB, free: 7.363 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001063/0.9204, allocations: 132.2 kB / 1.128 GB, free: 7.234 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9204, allocations: 0 / 1.128 GB, free: 7.234 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003906/0.9208, allocations: 83.92 kB / 1.128 GB, free: 7.152 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.0002267/0.921, allocations: 141.7 kB / 1.128 GB, free: 7.008 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006438/0.9217, allocations: 465.6 kB / 1.129 GB, free: 6.543 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.9217, allocations: 0 / 1.129 GB, free: 6.543 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002824/0.922, allocations: 210 kB / 1.129 GB, free: 6.336 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.9223, allocations: 36.95 kB / 1.129 GB, free: 6.305 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009918/0.9233, allocations: 0.4983 MB / 1.13 GB, free: 5.785 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.9237, allocations: 0.8242 MB / 1.13 GB, free: 4.934 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002056/0.9239, allocations: 55.28 kB / 1.13 GB, free: 4.879 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.924, allocations: 43.42 kB / 1.13 GB, free: 4.84 MB / 0.7292 GB Notification: Performance of SimCode: time 2.9e-07/0.924, allocations: 0 / 1.13 GB, free: 4.84 MB / 0.7292 GB Notification: Performance of Templates: time 0.009556/0.9336, allocations: 4.094 MB / 1.134 GB, free: 0.8555 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)