Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.28/2.28, allocations: 251.1 MB / 266.7 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001315/0.001315, allocations: 187.3 kB / 326.3 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.332/2.332, allocations: 205.4 MB / 0.5772 GB, free: 20.73 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008954/0.0008954, allocations: 102.5 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004968/0.000497, allocations: 13.16 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2081, allocations: 106.3 MB / 0.8995 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode): time 0.006266/0.2144, allocations: 4.114 MB / 0.9035 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2387/0.4532, allocations: 136.9 MB / 1.037 GB, free: 4.078 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009185/0.4542, allocations: 23.88 kB / 1.037 GB, free: 4.055 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 0.0006844/0.4549, allocations: 154.7 kB / 1.037 GB, free: 3.902 MB / 0.6824 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1/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 7.0.1/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 7.0.1/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.001801/0.4567, allocations: 370.7 kB / 1.038 GB, free: 3.543 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.003022/0.4597, allocations: 0.7236 MB / 1.038 GB, free: 2.824 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 0.002791/0.4625, allocations: 1.511 MB / 1.04 GB, free: 1.305 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002323/0.4649, allocations: 1.092 MB / 1.041 GB, free: 200 kB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009411/0.4659, allocations: 410.1 kB / 1.041 GB, free: 15.79 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008282/0.4667, allocations: 451.6 kB / 1.042 GB, free: 15.35 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001738/0.4669, allocations: 40 kB / 1.042 GB, free: 15.31 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001071/0.468, allocations: 303.7 kB / 1.042 GB, free: 15.02 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000349/0.4683, allocations: 235 kB / 1.042 GB, free: 14.79 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003614/0.4687, allocations: 237 kB / 1.043 GB, free: 14.55 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002468/0.4712, allocations: 1.446 MB / 1.044 GB, free: 13.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.4712, allocations: 0 / 1.044 GB, free: 13.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.053e-06/0.4713, allocations: 0 / 1.044 GB, free: 13.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.444e-05/0.4713, allocations: 0 / 1.044 GB, free: 13.1 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.00385/0.4751, allocations: 1.379 MB / 1.045 GB, free: 11.66 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.4752, allocations: 12.03 kB / 1.045 GB, free: 11.65 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001546/0.4768, allocations: 231 kB / 1.046 GB, free: 11.42 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002111/0.4789, allocations: 0.8177 MB / 1.046 GB, free: 10.56 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001431/0.4791, allocations: 98.31 kB / 1.046 GB, free: 10.46 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002779/0.4794, allocations: 120 kB / 1.047 GB, free: 10.34 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003999/0.4834, allocations: 1.245 MB / 1.048 GB, free: 9.031 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.218e-05/0.4835, allocations: 7.938 kB / 1.048 GB, free: 9.023 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002014/0.4837, allocations: 52 kB / 1.048 GB, free: 8.973 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.853e-05/0.4838, allocations: 46.23 kB / 1.048 GB, free: 8.926 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004405/0.4882, allocations: 1.41 MB / 1.049 GB, free: 7.508 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009699/0.4979, allocations: 3.506 MB / 1.053 GB, free: 3.922 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003132/0.5011, allocations: 1.031 MB / 1.054 GB, free: 2.887 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001351/0.5025, allocations: 448.1 kB / 1.054 GB, free: 2.445 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001705/0.5027, allocations: 40.97 kB / 1.054 GB, free: 2.406 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001902/0.5046, allocations: 0.5983 MB / 1.055 GB, free: 1.789 MB / 0.698 GB Notification: Performance of pre-optimization done (n=118): time 4.238e-06/0.5046, allocations: 0 / 1.055 GB, free: 1.789 MB / 0.698 GB Notification: Performance of matching and sorting (n=118): time 0.006265/0.5109, allocations: 1.501 MB / 1.056 GB, free: 268 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001392/0.5111, allocations: 192.9 kB / 1.056 GB, free: 28 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6216/1.133, allocations: 0.6778 MB / 1.057 GB, free: 156.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002909/1.133, allocations: 64.88 kB / 1.057 GB, free: 156.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004571/1.134, allocations: 461.1 kB / 1.058 GB, free: 156.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000431/1.134, allocations: 352.2 kB / 1.058 GB, free: 156 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.606e-05/1.134, allocations: 26.47 kB / 1.058 GB, free: 156 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001605/1.134, allocations: 408 kB / 1.058 GB, free: 155.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/1.135, allocations: 386.7 kB / 1.059 GB, free: 155.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00135/1.137, allocations: 0.5342 MB / 1.059 GB, free: 155.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/1.138, allocations: 421.9 kB / 1.06 GB, free: 155.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/1.138, allocations: 0 / 1.06 GB, free: 155.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003892/1.142, allocations: 1.178 MB / 1.061 GB, free: 155.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/1.142, allocations: 11.19 kB / 1.061 GB, free: 155.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/1.142, allocations: 3.375 kB / 1.061 GB, free: 155.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/1.143, allocations: 85.73 kB / 1.061 GB, free: 155.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002325/1.146, allocations: 204.1 kB / 1.061 GB, free: 155.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004741/1.15, allocations: 1.517 MB / 1.063 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002818/1.153, allocations: 157.2 kB / 1.063 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002952/1.154, allocations: 52.78 kB / 1.063 GB, free: 154.1 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.001616/1.155, allocations: 364.1 kB / 1.063 GB, free: 154 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004598/1.156, allocations: 101.5 kB / 1.063 GB, free: 153.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005311/1.161, allocations: 1.336 MB / 1.064 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.899e-05/1.161, allocations: 10.92 kB / 1.064 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/1.161, allocations: 0 / 1.064 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008206/1.162, allocations: 331.1 kB / 1.065 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002405/1.162, allocations: 28.06 kB / 1.065 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001407/1.164, allocations: 115.2 kB / 1.065 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004382/1.164, allocations: 120.5 kB / 1.065 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004481/1.169, allocations: 1.25 MB / 1.066 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005356/1.174, allocations: 1.8 MB / 1.068 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001665/1.176, allocations: 0.4973 MB / 1.069 GB, free: 153.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000988/1.177, allocations: 464.7 kB / 1.069 GB, free: 153 MB / 0.698 GB Notification: Performance of Backend: time 6.81e-07/1.177, allocations: 0 / 1.069 GB, free: 153 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005325/1.182, allocations: 1.4 MB / 1.07 GB, free: 152.7 MB / 0.698 GB Notification: Performance of SimCode: time 0.006315/1.188, allocations: 2.723 MB / 1.073 GB, free: 151.1 MB / 0.698 GB Notification: Performance of Templates: time 0.04809/1.237, allocations: 17.14 MB / 1.09 GB, free: 142.6 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.makefile (rm -f Buildings_7.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_7.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_7.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.sim & ./Buildings_7.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe 2>&1)