Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.558/1.558, allocations: 297.8 MB / 313.7 MB, free: 128 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008942/0.0008942, allocations: 182.3 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 223.2 MB / 0.6626 GB, free: 4.262 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007249/0.0007248, allocations: 91.11 kB / 0.7808 GB, free: 50.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000395/0.0003953, allocations: 8 kB / 0.9088 GB, free: 2.852 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5855/0.586, allocations: 120.3 MB / 1.026 GB, free: 55.82 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.99/3.576, allocations: 1.726 GB / 2.752 GB, free: 115.1 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/3.577, allocations: 114 kB / 2.752 GB, free: 115 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 0.1307/3.707, allocations: 65.85 MB / 2.816 GB, free: 49.46 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.515e-06/3.708, allocations: 0 / 2.816 GB, free: 49.46 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0001117/3.708, allocations: 32 kB / 2.816 GB, free: 49.43 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.002927/3.711, allocations: 1.459 MB / 2.818 GB, free: 47.89 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/3.711, allocations: 8.031 kB / 2.818 GB, free: 47.89 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/3.712, allocations: 227 kB / 2.818 GB, free: 47.66 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001291/3.713, allocations: 0.7852 MB / 2.819 GB, free: 46.84 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.639e-05/3.713, allocations: 98.73 kB / 2.819 GB, free: 46.74 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000204/3.713, allocations: 116.4 kB / 2.819 GB, free: 46.62 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002006/3.715, allocations: 1.273 MB / 2.82 GB, free: 45.29 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.873e-05/3.715, allocations: 4.125 kB / 2.82 GB, free: 45.28 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/3.715, allocations: 51.94 kB / 2.82 GB, free: 45.23 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.066e-05/3.715, allocations: 48.27 kB / 2.82 GB, free: 45.18 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002065/3.718, allocations: 1.426 MB / 2.822 GB, free: 43.75 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004728/3.722, allocations: 3.533 MB / 2.825 GB, free: 40.15 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/3.724, allocations: 1.044 MB / 2.826 GB, free: 39.11 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006094/3.724, allocations: 448.1 kB / 2.827 GB, free: 38.66 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/3.725, allocations: 45.02 kB / 2.827 GB, free: 38.62 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008646/3.725, allocations: 0.6022 MB / 2.827 GB, free: 37.99 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=118): time 3.226e-06/3.725, allocations: 0 / 2.827 GB, free: 37.99 MB / 0.9792 GB Notification: Performance of matching and sorting (n=118): time 0.003085/3.729, allocations: 1.508 MB / 2.829 GB, free: 36.46 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.291e-05/3.729, allocations: 252.3 kB / 2.829 GB, free: 36.16 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008834/3.73, allocations: 0.7676 MB / 2.83 GB, free: 35.38 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001048/3.73, allocations: 61.7 kB / 2.83 GB, free: 35.32 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003203/3.73, allocations: 464.8 kB / 2.83 GB, free: 34.86 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002405/3.73, allocations: 351.2 kB / 2.831 GB, free: 34.51 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.72e-05/3.73, allocations: 20 kB / 2.831 GB, free: 34.49 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001464/3.73, allocations: 410.7 kB / 2.831 GB, free: 34.08 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006403/3.731, allocations: 370.4 kB / 2.831 GB, free: 33.72 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000764/3.732, allocations: 0.5359 MB / 2.832 GB, free: 33.13 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/3.733, allocations: 0.8255 MB / 2.833 GB, free: 32.28 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/3.733, allocations: 0 / 2.833 GB, free: 32.28 MB / 0.9792 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002197/3.735, allocations: 1.129 MB / 2.834 GB, free: 31.14 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/3.736, allocations: 8.156 kB / 2.834 GB, free: 31.13 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/3.736, allocations: 4 kB / 2.834 GB, free: 31.12 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005764/3.736, allocations: 88.77 kB / 2.834 GB, free: 31.04 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006562/3.737, allocations: 191.6 kB / 2.834 GB, free: 30.85 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001829/3.739, allocations: 1.531 MB / 2.836 GB, free: 29.18 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008868/3.74, allocations: 147.1 kB / 2.836 GB, free: 29.04 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/3.74, allocations: 43.98 kB / 2.836 GB, free: 29 MB / 0.9792 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.0007463/3.74, allocations: 353.6 kB / 2.836 GB, free: 28.65 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002247/3.741, allocations: 102.7 kB / 2.836 GB, free: 28.55 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00256/3.743, allocations: 1.339 MB / 2.837 GB, free: 27.21 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/3.743, allocations: 12 kB / 2.837 GB, free: 27.2 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/3.743, allocations: 0 / 2.837 GB, free: 27.2 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/3.743, allocations: 9.094 kB / 2.837 GB, free: 27.19 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004006/3.747, allocations: 2.646 MB / 2.84 GB, free: 24.48 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/3.747, allocations: 0 / 2.84 GB, free: 24.48 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005689/3.748, allocations: 171.7 kB / 2.84 GB, free: 24.31 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004319/3.748, allocations: 88.77 kB / 2.84 GB, free: 24.22 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.459e-05/3.748, allocations: 29.98 kB / 2.84 GB, free: 24.19 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001342/3.75, allocations: 1.551 MB / 2.842 GB, free: 22.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/3.75, allocations: 3.938 kB / 2.842 GB, free: 22.5 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/3.752, allocations: 1.231 MB / 2.843 GB, free: 21.25 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004495/3.752, allocations: 331.3 kB / 2.843 GB, free: 20.91 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001628/3.752, allocations: 33.92 kB / 2.843 GB, free: 20.88 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006942/3.753, allocations: 111.8 kB / 2.844 GB, free: 20.77 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002236/3.753, allocations: 122 kB / 2.844 GB, free: 20.65 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.899e-05/3.753, allocations: 47.97 kB / 2.844 GB, free: 20.6 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0006116/3.754, allocations: 0.5185 MB / 2.844 GB, free: 20.08 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.1e-07/3.754, allocations: 0 / 2.844 GB, free: 20.08 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.00124/3.755, allocations: 431.2 kB / 2.845 GB, free: 19.66 MB / 0.9792 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.002107/3.757, allocations: 1.11 MB / 2.846 GB, free: 18.8 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001847/3.759, allocations: 1.105 MB / 2.847 GB, free: 17.68 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/3.759, allocations: 0 / 2.847 GB, free: 17.68 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0009475/3.76, allocations: 0.6738 MB / 2.847 GB, free: 17 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/3.761, allocations: 298.2 kB / 2.848 GB, free: 16.73 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004151/3.766, allocations: 2.68 MB / 2.85 GB, free: 14.02 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005214/3.766, allocations: 1.119 MB / 2.851 GB, free: 12.87 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0009148/3.767, allocations: 306.8 kB / 2.852 GB, free: 12.59 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003021/3.767, allocations: 127.4 kB / 2.852 GB, free: 12.47 MB / 0.9792 GB Notification: Performance of SimCode: time 4.41e-07/3.767, allocations: 0 / 2.852 GB, free: 12.47 MB / 0.9792 GB Notification: Performance of Templates: time 0.4388/4.206, allocations: 23.9 MB / 2.875 GB, free: 250.6 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.makefile (rm -f Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.sim & ./Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe 2>&1)