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.6/1.6, allocations: 288.4 MB / 304.3 MB, free: 8.129 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.001005/0.001005, allocations: 171.1 kB / 373 MB, free: 10.17 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.422/1.422, allocations: 205.4 MB / 0.6317 GB, free: 9.906 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008533/0.0008534, allocations: 106.3 kB / 0.745 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004018/0.000402, allocations: 12.62 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2068, allocations: 115.3 MB / 0.9807 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7055/0.9123, allocations: 142.2 MB / 1.12 GB, free: 16.48 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002059/0.9126, allocations: 95.31 kB / 1.12 GB, free: 16.48 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01717/0.9298, allocations: 7.391 MB / 1.127 GB, free: 31.71 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.174e-06/0.9298, allocations: 4 kB / 1.127 GB, free: 31.71 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.939e-05/0.9299, allocations: 7.844 kB / 1.127 GB, free: 31.71 MB / 0.698 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.0009529/0.9308, allocations: 0.6772 MB / 1.128 GB, free: 31.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.9309, allocations: 11.59 kB / 1.128 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.448e-05/0.931, allocations: 51.53 kB / 1.128 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003533/0.9313, allocations: 341.3 kB / 1.128 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.425e-05/0.9314, allocations: 46.72 kB / 1.128 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.319e-05/0.9314, allocations: 50.53 kB / 1.128 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007954/0.9322, allocations: 0.532 MB / 1.129 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.9323, allocations: 192 / 1.129 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.9e-05/0.9323, allocations: 19.28 kB / 1.129 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.492e-05/0.9323, allocations: 16.53 kB / 1.129 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007632/0.9331, allocations: 445.1 kB / 1.129 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001718/0.9348, allocations: 1.398 MB / 1.13 GB, free: 30.03 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006562/0.9355, allocations: 419.4 kB / 1.131 GB, free: 29.95 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000311/0.9358, allocations: 212.2 kB / 1.131 GB, free: 29.92 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.167e-05/0.9359, allocations: 8.156 kB / 1.131 GB, free: 29.92 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004522/0.9363, allocations: 276.3 kB / 1.131 GB, free: 29.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=52): time 1.984e-06/0.9364, allocations: 0 / 1.131 GB, free: 29.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=52): time 0.0009973/0.9374, allocations: 0.5533 MB / 1.132 GB, free: 29.68 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.9374, allocations: 66.78 kB / 1.132 GB, free: 29.62 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.9376, allocations: 279.7 kB / 1.132 GB, free: 29.46 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.985e-05/0.9377, allocations: 54.59 kB / 1.132 GB, free: 29.43 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.9378, allocations: 195.4 kB / 1.132 GB, free: 29.29 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.478e-05/0.9379, allocations: 129 kB / 1.132 GB, free: 29.21 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.255e-05/0.9379, allocations: 13.78 kB / 1.132 GB, free: 29.21 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.9381, allocations: 345 kB / 1.133 GB, free: 28.89 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003428/0.9384, allocations: 194.5 kB / 1.133 GB, free: 28.86 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003574/0.9388, allocations: 277.6 kB / 1.133 GB, free: 28.75 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005918/0.9394, allocations: 419.7 kB / 1.134 GB, free: 28.61 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.9394, allocations: 0 / 1.134 GB, free: 28.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0008283/0.9402, allocations: 0.5757 MB / 1.134 GB, free: 28.45 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.106e-05/0.9403, allocations: 37.38 kB / 1.134 GB, free: 28.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.9403, allocations: 0 / 1.134 GB, free: 28.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.9403, allocations: 7.531 kB / 1.134 GB, free: 28.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/0.9406, allocations: 69.83 kB / 1.134 GB, free: 28.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.9406, allocations: 3.844 kB / 1.134 GB, free: 28.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003579/0.9409, allocations: 92.81 kB / 1.134 GB, free: 28.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-05/0.941, allocations: 30.88 kB / 1.134 GB, free: 28.35 MB / 0.698 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.0002471/0.9412, allocations: 230.3 kB / 1.135 GB, free: 28.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.156e-05/0.9413, allocations: 31.16 kB / 1.135 GB, free: 28.19 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008384/0.9421, allocations: 493.1 kB / 1.135 GB, free: 28.06 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.9422, allocations: 3.875 kB / 1.135 GB, free: 28.06 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.9422, allocations: 0 / 1.135 GB, free: 28.06 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.9422, allocations: 11.77 kB / 1.135 GB, free: 28.05 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001481/0.9437, allocations: 1.122 MB / 1.136 GB, free: 27.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.9437, allocations: 0 / 1.136 GB, free: 27.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001718/0.9439, allocations: 46.78 kB / 1.136 GB, free: 27.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.9439, allocations: 3.875 kB / 1.136 GB, free: 27.54 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.9439, allocations: 14.98 kB / 1.136 GB, free: 27.53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.9439, allocations: 3.812 kB / 1.136 GB, free: 27.53 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.9439, allocations: 0 / 1.136 GB, free: 27.53 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006818/0.9446, allocations: 0.5431 MB / 1.137 GB, free: 27.32 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.321e-05/0.9447, allocations: 116 kB / 1.137 GB, free: 27.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.407e-05/0.9447, allocations: 15.03 kB / 1.137 GB, free: 27.19 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/0.945, allocations: 54.03 kB / 1.137 GB, free: 27.18 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.9452, allocations: 71.02 kB / 1.137 GB, free: 27.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.959e-05/0.9452, allocations: 24.53 kB / 1.137 GB, free: 27.14 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001263/0.9453, allocations: 162.2 kB / 1.137 GB, free: 27.04 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9453, allocations: 0 / 1.137 GB, free: 27.04 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003572/0.9457, allocations: 98.53 kB / 1.137 GB, free: 27.04 MB / 0.698 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.0002014/0.9459, allocations: 151.7 kB / 1.138 GB, free: 26.94 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007779/0.9467, allocations: 0.5311 MB / 1.138 GB, free: 26.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.9467, allocations: 0 / 1.138 GB, free: 26.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003402/0.9471, allocations: 239.2 kB / 1.138 GB, free: 26.76 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.9474, allocations: 60.94 kB / 1.138 GB, free: 26.74 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.9485, allocations: 0.814 MB / 1.139 GB, free: 26.27 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004589/0.9489, allocations: 0.8158 MB / 1.14 GB, free: 25.52 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002501/0.9492, allocations: 57.97 kB / 1.14 GB, free: 25.49 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.9494, allocations: 46.39 kB / 1.14 GB, free: 25.48 MB / 0.698 GB Notification: Performance of SimCode: time 2.7e-07/0.9494, allocations: 0 / 1.14 GB, free: 25.48 MB / 0.698 GB Notification: Performance of Templates: time 0.009604/0.959, allocations: 4.398 MB / 1.144 GB, free: 23.38 MB / 0.698 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)