Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.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.DXCooled.Controls.Validation.CoolingMode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.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.699/1.699, allocations: 288.4 MB / 304.3 MB, free: 8.043 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.0009939/0.000994, allocations: 176.5 kB / 372.9 MB, free: 10.13 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.323/1.323, allocations: 205.4 MB / 0.6316 GB, free: 9.91 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.0007663/0.0007664, allocations: 94.19 kB / 0.745 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003668/0.000367, allocations: 11.72 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1887, allocations: 115.3 MB / 0.9807 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode): time 0.004248/0.193, allocations: 4.11 MB / 0.9848 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5544/0.7475, allocations: 136.9 MB / 1.118 GB, free: 2.324 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009722/0.7485, allocations: 24.91 kB / 1.118 GB, free: 2.316 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.000643/0.7492, allocations: 162.2 kB / 1.119 GB, free: 2.234 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeBindings: time 0.001697/0.7509, allocations: 367.5 kB / 1.119 GB, free: 2.137 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002431/0.7533, allocations: 0.7235 MB / 1.12 GB, free: 2.078 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001594/0.7549, allocations: 1.499 MB / 1.121 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001424/0.7564, allocations: 1.165 MB / 1.122 GB, free: 1.645 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004614/0.7568, allocations: 407.4 kB / 1.123 GB, free: 1.547 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004296/0.7573, allocations: 447.5 kB / 1.123 GB, free: 1.426 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 9.302e-05/0.7574, allocations: 39.69 kB / 1.123 GB, free: 1.426 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007126/0.7581, allocations: 316.3 kB / 1.123 GB, free: 1.406 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002035/0.7583, allocations: 237.7 kB / 1.124 GB, free: 1.355 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004201/0.7588, allocations: 0.5213 MB / 1.124 GB, free: 17.14 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00117/0.7599, allocations: 1.448 MB / 1.126 GB, free: 17.05 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.7599, allocations: 1.969 kB / 1.126 GB, free: 17.05 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.853e-06/0.76, allocations: 0 / 1.126 GB, free: 17.05 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.826e-05/0.76, allocations: 0 / 1.126 GB, free: 17.05 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: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.002127/0.7621, allocations: 1.364 MB / 1.127 GB, free: 16.23 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.7622, allocations: 8.438 kB / 1.127 GB, free: 16.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008207/0.763, allocations: 226.2 kB / 1.127 GB, free: 16.15 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.764, allocations: 0.852 MB / 1.128 GB, free: 15.79 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.473e-05/0.7641, allocations: 96.44 kB / 1.128 GB, free: 15.79 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/0.7643, allocations: 123.5 kB / 1.128 GB, free: 15.78 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001959/0.7662, allocations: 1.255 MB / 1.129 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/0.7663, allocations: 8.969 kB / 1.129 GB, free: 15.58 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.296e-05/0.7664, allocations: 47.53 kB / 1.129 GB, free: 15.58 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.056e-05/0.7664, allocations: 46.66 kB / 1.129 GB, free: 15.57 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002307/0.7687, allocations: 1.416 MB / 1.131 GB, free: 15.55 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005227/0.774, allocations: 3.508 MB / 1.134 GB, free: 14.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00172/0.7757, allocations: 1.036 MB / 1.135 GB, free: 14.04 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007527/0.7765, allocations: 450.8 kB / 1.136 GB, free: 13.97 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000106/0.7766, allocations: 36.91 kB / 1.136 GB, free: 13.96 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001031/0.7776, allocations: 0.6103 MB / 1.136 GB, free: 13.75 MB / 0.698 GB Notification: Performance of pre-optimization done (n=118): time 5.841e-06/0.7776, allocations: 4 kB / 1.136 GB, free: 13.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=118): time 0.00354/0.7812, allocations: 1.482 MB / 1.138 GB, free: 13.36 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.546e-05/0.7813, allocations: 211.3 kB / 1.138 GB, free: 13.12 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000919/0.7822, allocations: 0.6815 MB / 1.139 GB, free: 12.88 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001069/0.7824, allocations: 66.08 kB / 1.139 GB, free: 12.84 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003212/0.7827, allocations: 454.5 kB / 1.139 GB, free: 12.59 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002472/0.7829, allocations: 353.5 kB / 1.14 GB, free: 12.35 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.87e-05/0.783, allocations: 26.28 kB / 1.14 GB, free: 12.35 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.7832, allocations: 408.1 kB / 1.14 GB, free: 12 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006934/0.7839, allocations: 382.9 kB / 1.14 GB, free: 11.95 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009019/0.7848, allocations: 0.533 MB / 1.141 GB, free: 11.77 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00143/0.7862, allocations: 0.8552 MB / 1.142 GB, free: 11.59 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.7862, allocations: 0 / 1.142 GB, free: 11.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002451/0.7887, allocations: 1.182 MB / 1.143 GB, free: 11.32 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.7887, allocations: 9.875 kB / 1.143 GB, free: 11.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.7887, allocations: 3.375 kB / 1.143 GB, free: 11.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005987/0.7893, allocations: 84.41 kB / 1.143 GB, free: 11.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008101/0.7902, allocations: 202.8 kB / 1.143 GB, free: 11.24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001877/0.7921, allocations: 1.525 MB / 1.145 GB, free: 9.867 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009959/0.7931, allocations: 157.8 kB / 1.145 GB, free: 9.793 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.7932, allocations: 52.44 kB / 1.145 GB, free: 9.785 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 68 ($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.condition,cooModCon.con1.enableFire,cooModCon.con1.fire,$PRE.cooModCon.con1.t_start,cooModCon.con1.t_start,$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.condition,cooModCon.con2.enableFire,cooModCon.con2.fire,$PRE.cooModCon.con2.t_start,cooModCon.con2.t_start,cooModCon.con3.condition,cooModCon.con3.enableFire,cooModCon.con3.fire,$PRE.cooModCon.con3.t_start,cooModCon.con3.t_start,cooModCon.con4.condition,cooModCon.con4.enableFire,cooModCon.con4.fire,$PRE.cooModCon.con4.t_start,cooModCon.con4.t_start,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],weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 152 * 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.0006154/0.7938, allocations: 368.8 kB / 1.145 GB, free: 9.629 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/0.794, allocations: 101.9 kB / 1.145 GB, free: 9.574 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002769/0.7968, allocations: 1.328 MB / 1.147 GB, free: 9.23 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.627e-05/0.7968, allocations: 3.984 kB / 1.147 GB, free: 9.227 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.7968, allocations: 0 / 1.147 GB, free: 9.227 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004747/0.7973, allocations: 333.2 kB / 1.147 GB, free: 9.008 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/0.7974, allocations: 26.72 kB / 1.147 GB, free: 9.008 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007041/0.7981, allocations: 108.9 kB / 1.147 GB, free: 8.977 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002395/0.7984, allocations: 121.3 kB / 1.147 GB, free: 8.93 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002462/0.8009, allocations: 1.257 MB / 1.148 GB, free: 8.602 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002695/0.8036, allocations: 1.8 MB / 1.15 GB, free: 8.117 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007986/0.8044, allocations: 0.4949 MB / 1.151 GB, free: 8.035 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006075/0.805, allocations: 460.9 kB / 1.151 GB, free: 7.867 MB / 0.698 GB Notification: Performance of Backend: time 4.61e-07/0.805, allocations: 0 / 1.151 GB, free: 7.867 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003489/0.8085, allocations: 1.391 MB / 1.152 GB, free: 7.383 MB / 0.698 GB Notification: Performance of SimCode: time 0.003645/0.8122, allocations: 2.724 MB / 1.155 GB, free: 5.559 MB / 0.698 GB Notification: Performance of Templates: time 0.0277/0.8399, allocations: 17.34 MB / 1.172 GB, free: 12.96 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.makefile (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.sim & ./Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe 2>&1)