Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.DXCooled.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.DXCooled.Controls.Validation.CoolingMode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode") translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.DXCooled.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.724/1.724, allocations: 292.6 MB / 307.5 MB, free: 5.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.001542/0.001542, allocations: 190.8 kB / 377.1 MB, free: 1.523 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.059/2.059, allocations: 205.4 MB / 0.6367 GB, free: 8.625 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.00102/0.00102, allocations: 93.05 kB / 0.751 GB, free: 62.92 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006161/0.0006161, allocations: 8 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3717, allocations: 116.3 MB / 0.9884 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.815/6.187, allocations: 2.075 GB / 3.064 GB, free: 144.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003782/6.187, allocations: 99.94 kB / 3.064 GB, free: 144.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1332/6.321, allocations: 65.56 MB / 3.128 GB, free: 78.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.294e-06/6.321, allocations: 0 / 3.128 GB, free: 78.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.147e-05/6.321, allocations: 31.94 kB / 3.128 GB, free: 78.47 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.002322/6.323, allocations: 1.438 MB / 3.129 GB, free: 76.96 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/6.323, allocations: 15.95 kB / 3.129 GB, free: 76.94 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008541/6.324, allocations: 230.1 kB / 3.13 GB, free: 76.71 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/6.325, allocations: 0.7485 MB / 3.13 GB, free: 75.92 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.857e-05/6.325, allocations: 90.33 kB / 3.13 GB, free: 75.83 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001368/6.325, allocations: 124 kB / 3.131 GB, free: 75.71 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001921/6.327, allocations: 1.252 MB / 3.132 GB, free: 74.39 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/6.327, allocations: 4 kB / 3.132 GB, free: 74.39 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/6.327, allocations: 48 kB / 3.132 GB, free: 74.34 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.696e-05/6.328, allocations: 42.25 kB / 3.132 GB, free: 74.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001921/6.329, allocations: 1.418 MB / 3.133 GB, free: 72.87 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004888/6.334, allocations: 3.485 MB / 3.137 GB, free: 69.31 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001456/6.336, allocations: 1.063 MB / 3.138 GB, free: 68.24 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.871e-05/6.336, allocations: 36.95 kB / 3.138 GB, free: 68.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008712/6.337, allocations: 0.6061 MB / 3.138 GB, free: 67.58 MB / 0.948 GB Notification: Performance of pre-optimization done (n=118): time 3.416e-06/6.337, allocations: 3.938 kB / 3.138 GB, free: 67.57 MB / 0.948 GB Notification: Performance of matching and sorting (n=118): time 0.003267/6.34, allocations: 1.502 MB / 3.14 GB, free: 66.05 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.398e-05/6.34, allocations: 252.3 kB / 3.14 GB, free: 65.75 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007672/6.341, allocations: 0.6712 MB / 3.141 GB, free: 65.07 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.88e-05/6.341, allocations: 61.7 kB / 3.141 GB, free: 65 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002744/6.341, allocations: 464.8 kB / 3.141 GB, free: 64.54 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000221/6.342, allocations: 351.1 kB / 3.142 GB, free: 64.19 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/6.342, allocations: 24 kB / 3.142 GB, free: 64.17 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001277/6.342, allocations: 402.7 kB / 3.142 GB, free: 63.77 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005869/6.342, allocations: 366.4 kB / 3.142 GB, free: 63.41 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006719/6.343, allocations: 0.5359 MB / 3.143 GB, free: 62.82 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006245/6.344, allocations: 414.4 kB / 3.143 GB, free: 62.42 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/6.344, allocations: 0 / 3.143 GB, free: 62.42 MB / 0.948 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.00204/6.346, allocations: 1.129 MB / 3.144 GB, free: 61.28 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/6.346, allocations: 7.938 kB / 3.144 GB, free: 61.27 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/6.346, allocations: 4 kB / 3.144 GB, free: 61.27 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006517/6.346, allocations: 88.86 kB / 3.144 GB, free: 61.18 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006892/6.347, allocations: 183.7 kB / 3.145 GB, free: 61 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001786/6.349, allocations: 1.544 MB / 3.146 GB, free: 59.31 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008148/6.35, allocations: 135.3 kB / 3.146 GB, free: 59.18 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/6.35, allocations: 47.97 kB / 3.146 GB, free: 59.13 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 66 ($PRE.cooModCon.con1.enableFire,$PRE.cooModCon.con2.enableFire,$PRE.cooModCon.con3.enableFire,$PRE.cooModCon.con4.enableFire,cooModCon.stateGraphRoot.resume,cooModCon.stateGraphRoot.suspend,$whenCondition6,$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.con3.condition,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.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,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 (144): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006584/6.351, allocations: 357.5 kB / 3.147 GB, free: 58.78 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/6.351, allocations: 98.86 kB / 3.147 GB, free: 58.68 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002398/6.353, allocations: 1.344 MB / 3.148 GB, free: 57.32 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/6.353, allocations: 15.94 kB / 3.148 GB, free: 57.31 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.706e-06/6.353, allocations: 0 / 3.148 GB, free: 57.31 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/6.353, allocations: 11.97 kB / 3.148 GB, free: 57.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003733/6.357, allocations: 2.63 MB / 3.151 GB, free: 54.61 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/6.357, allocations: 0 / 3.151 GB, free: 54.61 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000608/6.358, allocations: 179.7 kB / 3.151 GB, free: 54.43 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005203/6.358, allocations: 84.7 kB / 3.151 GB, free: 54.34 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.476e-05/6.358, allocations: 35.98 kB / 3.151 GB, free: 54.31 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0015/6.36, allocations: 1.559 MB / 3.152 GB, free: 52.61 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/6.36, allocations: 0 / 3.152 GB, free: 52.61 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002028/6.362, allocations: 1.235 MB / 3.154 GB, free: 51.36 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004807/6.362, allocations: 331.4 kB / 3.154 GB, free: 51.01 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/6.362, allocations: 31.92 kB / 3.154 GB, free: 50.98 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006888/6.363, allocations: 107.9 kB / 3.154 GB, free: 50.88 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002191/6.363, allocations: 125.1 kB / 3.154 GB, free: 50.75 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.393e-05/6.363, allocations: 39.98 kB / 3.154 GB, free: 50.71 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006042/6.364, allocations: 0.5107 MB / 3.155 GB, free: 50.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.91e-07/6.364, allocations: 0 / 3.155 GB, free: 50.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001283/6.365, allocations: 415.2 kB / 3.155 GB, free: 49.79 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 47 (cooModCon.con3.enableFire,cooModCon.con4.enableFire,cooModCon.con1.enableFire,cooModCon.con2.enableFire,cooModCon.fulMecCoo.localActive,cooModCon.freCoo.localActive,cooModCon.parMecCoo.localActive,$cse18,$cse19,$cse20,$cse21,$cse22,$cse23,$whenCondition6,$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.con3.condition,cooModCon.con4.fire,cooModCon.con4.t_start,cooModCon.con4.condition,cooModCon.stateGraphRoot.activeSteps,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 6 (cooModCon.parMecCoo.newActive,cooModCon.freCoo.newActive,cooModCon.fulMecCoo.newActive,cooModCon.swi.y,weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (135): * Single equations (assignments): 125 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001865/6.367, allocations: 1.065 MB / 3.156 GB, free: 48.83 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001904/6.369, allocations: 1.101 MB / 3.157 GB, free: 47.72 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/6.369, allocations: 0 / 3.157 GB, free: 47.72 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009695/6.37, allocations: 0.6779 MB / 3.158 GB, free: 47.03 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/6.371, allocations: 263.9 kB / 3.158 GB, free: 46.78 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004675/6.376, allocations: 2.66 MB / 3.161 GB, free: 44.09 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005534/6.376, allocations: 1.143 MB / 3.162 GB, free: 42.92 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001027/6.378, allocations: 312.5 kB / 3.162 GB, free: 42.61 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003185/6.378, allocations: 123.4 kB / 3.162 GB, free: 42.49 MB / 0.948 GB Notification: Performance of SimCode: time 1.573e-06/6.378, allocations: 0 / 3.162 GB, free: 42.49 MB / 0.948 GB Notification: Performance of Templates: time 0.03371/6.412, allocations: 23.29 MB / 3.185 GB, free: 19.31 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.makefile (rm -f Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.sim & ./Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe 2>&1)