Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.41/1.41, allocations: 251.5 MB / 267.4 MB, free: 11.08 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.001029/0.001029, allocations: 174.5 kB / 326.5 MB, free: 2.711 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.435/1.435, allocations: 205 MB / 0.5767 GB, free: 21.08 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.000709/0.000709, allocations: 90.34 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003028/0.0003029, allocations: 8.688 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1754, allocations: 105.4 MB / 0.8968 GB, free: 68.22 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode): time 0.004368/0.1798, allocations: 4.446 MB / 0.9011 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1365/0.3163, allocations: 148.3 MB / 1.046 GB, free: 10.84 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009244/0.3173, allocations: 23.88 kB / 1.046 GB, free: 10.81 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0008054/0.3181, allocations: 170.7 kB / 1.046 GB, free: 10.64 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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.00155/0.3197, allocations: 376.1 kB / 1.047 GB, free: 10.28 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002157/0.3218, allocations: 0.8587 MB / 1.047 GB, free: 9.426 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001802/0.3237, allocations: 1.589 MB / 1.049 GB, free: 7.828 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001474/0.3251, allocations: 1.134 MB / 1.05 GB, free: 6.656 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005242/0.3257, allocations: 422 kB / 1.05 GB, free: 6.242 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004862/0.3262, allocations: 477.3 kB / 1.051 GB, free: 5.773 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.3263, allocations: 40 kB / 1.051 GB, free: 5.734 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000676/0.327, allocations: 323.7 kB / 1.051 GB, free: 5.418 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002312/0.3272, allocations: 242.8 kB / 1.051 GB, free: 5.18 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004239/0.3276, allocations: 0.5278 MB / 1.052 GB, free: 4.648 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001621/0.3293, allocations: 1.787 MB / 1.054 GB, free: 2.855 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3293, allocations: 0 / 1.054 GB, free: 2.855 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3293, allocations: 3.938 kB / 1.054 GB, free: 2.852 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.59e-05/0.3293, allocations: 0 / 1.054 GB, free: 2.852 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.002244/0.3316, allocations: 1.363 MB / 1.055 GB, free: 1.426 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.3316, allocations: 8.031 kB / 1.055 GB, free: 1.418 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008899/0.3325, allocations: 235 kB / 1.055 GB, free: 1.188 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.3336, allocations: 0.8484 MB / 1.056 GB, free: 304 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-05/0.3337, allocations: 98.33 kB / 1.056 GB, free: 204 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.3339, allocations: 112 kB / 1.056 GB, free: 92 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3454/0.6793, allocations: 1.262 MB / 1.058 GB, free: 159.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.854e-05/0.6793, allocations: 1.156 kB / 1.058 GB, free: 159.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.954e-05/0.6794, allocations: 54.33 kB / 1.058 GB, free: 159.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.742e-05/0.6795, allocations: 44.06 kB / 1.058 GB, free: 159.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001911/0.6814, allocations: 1.429 MB / 1.059 GB, free: 159.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005107/0.6865, allocations: 3.495 MB / 1.062 GB, free: 159 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001662/0.6882, allocations: 1.053 MB / 1.063 GB, free: 159 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007195/0.6889, allocations: 445.9 kB / 1.064 GB, free: 159 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001105/0.6891, allocations: 39.33 kB / 1.064 GB, free: 159 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001049/0.6901, allocations: 0.6187 MB / 1.065 GB, free: 158.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=118): time 3.847e-06/0.6901, allocations: 0.7812 kB / 1.065 GB, free: 158.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=118): time 0.003608/0.6937, allocations: 1.498 MB / 1.066 GB, free: 158.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.298e-05/0.6938, allocations: 197 kB / 1.066 GB, free: 158.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009093/0.6947, allocations: 0.6891 MB / 1.067 GB, free: 158.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.905e-05/0.6948, allocations: 67.06 kB / 1.067 GB, free: 158.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003722/0.6952, allocations: 464.8 kB / 1.067 GB, free: 158 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002412/0.6955, allocations: 352.9 kB / 1.068 GB, free: 157.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001675/0.6956, allocations: 137.6 kB / 1.068 GB, free: 157.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.6958, allocations: 408.4 kB / 1.068 GB, free: 157.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007615/0.6966, allocations: 390.1 kB / 1.069 GB, free: 157.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009125/0.6975, allocations: 0.5397 MB / 1.069 GB, free: 157.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001465/0.699, allocations: 0.86 MB / 1.07 GB, free: 156.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/0.699, allocations: 0.75 kB / 1.07 GB, free: 156.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002487/0.7015, allocations: 1.187 MB / 1.071 GB, free: 156.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.7015, allocations: 9.75 kB / 1.071 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.7015, allocations: 2.844 kB / 1.071 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005736/0.7021, allocations: 89.31 kB / 1.071 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007251/0.7028, allocations: 199.4 kB / 1.071 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001608/0.7045, allocations: 1.522 MB / 1.073 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007894/0.7053, allocations: 161.2 kB / 1.073 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/0.7054, allocations: 58.61 kB / 1.073 GB, free: 154.6 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,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,cooModCon.swi.expr[3],cooModCon.swi.expr[2],cooModCon.swi.expr[1],weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,cooModCon.swi.firstActiveIndex,cooModCon.swi.y,$PRE.cooModCon.swi.y,cooModCon.stateGraphRoot.activeSteps,cooModCon.con4.t_start,$PRE.cooModCon.con4.t_start,cooModCon.con4.fire,cooModCon.con4.enableFire,cooModCon.con4.condition,cooModCon.con3.t_start,$PRE.cooModCon.con3.t_start,cooModCon.con3.fire,cooModCon.con3.enableFire,cooModCon.con3.condition,cooModCon.con2.t_start,$PRE.cooModCon.con2.t_start,cooModCon.con2.fire,cooModCon.con2.enableFire,cooModCon.con2.condition,cooModCon.fulMecCoo.active,cooModCon.fulMecCoo.oldActive,$PRE.cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.newActive,$PRE.cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.localActive,$PRE.cooModCon.fulMecCoo.localActive,cooModCon.freCoo.active,cooModCon.freCoo.oldActive,$PRE.cooModCon.freCoo.oldActive,cooModCon.freCoo.newActive,$PRE.cooModCon.freCoo.newActive,cooModCon.freCoo.localActive,$PRE.cooModCon.freCoo.localActive,cooModCon.parMecCoo.active,cooModCon.parMecCoo.oldActive,$PRE.cooModCon.parMecCoo.oldActive,cooModCon.parMecCoo.newActive,$PRE.cooModCon.parMecCoo.newActive,cooModCon.parMecCoo.outPort[2].available,cooModCon.parMecCoo.inPort[2].occupied,cooModCon.parMecCoo.localActive,$PRE.cooModCon.parMecCoo.localActive,cooModCon.con1.t_start,$PRE.cooModCon.con1.t_start,cooModCon.con1.fire,cooModCon.con1.enableFire,cooModCon.con1.condition,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005003/0.7059, allocations: 357.6 kB / 1.073 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001592/0.7061, allocations: 98.23 kB / 1.074 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002689/0.7088, allocations: 1.339 MB / 1.075 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-05/0.7088, allocations: 8.234 kB / 1.075 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.7088, allocations: 0.6094 kB / 1.075 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003905/0.7092, allocations: 311.6 kB / 1.075 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/0.7094, allocations: 32.06 kB / 1.075 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006672/0.7101, allocations: 108.3 kB / 1.075 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002476/0.7103, allocations: 112.3 kB / 1.075 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002351/0.7127, allocations: 1.264 MB / 1.077 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002394/0.7151, allocations: 1.805 MB / 1.078 GB, free: 152.2 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006764/0.7158, allocations: 0.5106 MB / 1.079 GB, free: 151.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005141/0.7163, allocations: 464.8 kB / 1.079 GB, free: 151.6 MB / 0.698 GB Notification: Performance of Backend: time 5.21e-07/0.7163, allocations: 0 / 1.079 GB, free: 151.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003258/0.7196, allocations: 1.409 MB / 1.081 GB, free: 151 MB / 0.698 GB Notification: Performance of SimCode: time 0.003482/0.7231, allocations: 2.809 MB / 1.083 GB, free: 148.9 MB / 0.698 GB Notification: Performance of Templates: time 0.02421/0.7473, allocations: 17.61 MB / 1.101 GB, free: 133 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.makefile (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.sim & ./Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe 2>&1)