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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 106.3 kB / 16.36 MB, free: 6.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001856/0.001857, allocations: 193.1 kB / 17.3 MB, free: 5.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.468/1.468, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.801/1.801, allocations: 292.3 MB / 0.5496 GB, free: 17.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002633/0.002633, allocations: 63.91 kB / 0.6729 GB, free: 5.762 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.259, allocations: 114.6 MB / 0.7848 GB, free: 3.09 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode): time 0.4565/0.7156, allocations: 4.697 MB / 0.7894 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.1896/0.9053, allocations: 150.6 MB / 0.9365 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001159/0.9065, allocations: 27.88 kB / 0.9365 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006551/0.9072, allocations: 210 kB / 0.9367 GB, free: 14.37 MB / 0.7325 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001831/0.909, allocations: 464.6 kB / 0.9372 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002482/0.9115, allocations: 0.9673 MB / 0.9381 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002069/0.9136, allocations: 1.722 MB / 0.9398 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001784/0.9154, allocations: 1.353 MB / 0.9411 GB, free: 9.859 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007195/0.9161, allocations: 0.5839 MB / 0.9417 GB, free: 9.273 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006695/0.9168, allocations: 0.6223 MB / 0.9423 GB, free: 8.648 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001769/0.917, allocations: 160 kB / 0.9424 GB, free: 8.492 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009155/0.9179, allocations: 463.7 kB / 0.9429 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003288/0.9183, allocations: 382.8 kB / 0.9433 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000563/0.9188, allocations: 0.6801 MB / 0.9439 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002031/0.9209, allocations: 2.007 MB / 0.9459 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.9209, allocations: 0 / 0.9459 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.256e-06/0.9209, allocations: 4 kB / 0.9459 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.789e-05/0.9209, allocations: 0 / 0.9459 GB, free: 4.965 MB / 0.7325 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.002752/0.9237, allocations: 1.639 MB / 0.9475 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.9237, allocations: 12.03 kB / 0.9475 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009595/0.9247, allocations: 211 kB / 0.9477 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/0.9259, allocations: 0.8834 MB / 0.9486 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.838e-05/0.926, allocations: 102.3 kB / 0.9487 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/0.9262, allocations: 116 kB / 0.9488 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002006/0.9282, allocations: 1.256 MB / 0.95 GB, free: 0.582 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.9282, allocations: 0 / 0.95 GB, free: 0.582 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/0.9283, allocations: 51.98 kB / 0.95 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.876e-05/0.9284, allocations: 38.25 kB / 0.9501 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002121/0.9305, allocations: 1.425 MB / 0.9515 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00492/0.9354, allocations: 3.406 MB / 0.9548 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/0.9372, allocations: 1.038 MB / 0.9558 GB, free: 10.53 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007087/0.9379, allocations: 449.2 kB / 0.9562 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001002/0.938, allocations: 37.03 kB / 0.9563 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009938/0.939, allocations: 0.61 MB / 0.9569 GB, free: 9.43 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=118): time 3.106e-06/0.939, allocations: 0 / 0.9569 GB, free: 9.43 MB / 0.7481 GB Notification: Performance of matching and sorting (n=118): time 0.003591/0.9426, allocations: 1.489 MB / 0.9583 GB, free: 7.91 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001344/0.9428, allocations: 200.9 kB / 0.9585 GB, free: 7.672 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.9438, allocations: 0.6915 MB / 0.9592 GB, free: 6.973 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001366/0.9439, allocations: 61.7 kB / 0.9592 GB, free: 6.906 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005383/0.9445, allocations: 460.9 kB / 0.9597 GB, free: 6.449 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003845/0.9449, allocations: 351 kB / 0.96 GB, free: 6.102 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004483/0.9453, allocations: 266.8 kB / 0.9603 GB, free: 5.832 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002511/0.9456, allocations: 406.7 kB / 0.9607 GB, free: 5.426 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007624/0.9464, allocations: 382.4 kB / 0.961 GB, free: 5.055 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009654/0.9474, allocations: 0.5395 MB / 0.9616 GB, free: 4.477 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001503/0.9489, allocations: 0.8464 MB / 0.9624 GB, free: 3.602 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.9489, allocations: 8 kB / 0.9624 GB, free: 3.594 MB / 0.7481 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.00243/0.9513, allocations: 1.176 MB / 0.9635 GB, free: 2.406 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.9514, allocations: 4 kB / 0.9635 GB, free: 2.402 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.9514, allocations: 7.984 kB / 0.9636 GB, free: 2.395 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006038/0.952, allocations: 85.62 kB / 0.9636 GB, free: 2.309 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007337/0.9527, allocations: 203.6 kB / 0.9638 GB, free: 2.109 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002073/0.9548, allocations: 1.633 MB / 0.9654 GB, free: 340 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008907/0.9557, allocations: 139 kB / 0.9656 GB, free: 200 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.9559, allocations: 56.86 kB / 0.9656 GB, free: 144 kB / 0.7481 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.localCondition,cooModCon.con3.t_start,$PRE.cooModCon.con3.t_start,cooModCon.con3.fire,cooModCon.con3.enableFire,cooModCon.con3.localCondition,cooModCon.con2.t_start,$PRE.cooModCon.con2.t_start,cooModCon.con2.fire,cooModCon.con2.enableFire,cooModCon.con2.localCondition,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.localCondition,$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.0007048/0.9566, allocations: 365.4 kB / 0.966 GB, free: 15.78 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001933/0.9568, allocations: 100.8 kB / 0.9661 GB, free: 15.68 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002621/0.9594, allocations: 1.262 MB / 0.9673 GB, free: 14.41 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.9e-05/0.9594, allocations: 7.969 kB / 0.9673 GB, free: 14.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.9594, allocations: 4 kB / 0.9673 GB, free: 14.39 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004652/0.9599, allocations: 303.5 kB / 0.9676 GB, free: 14.08 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/0.9601, allocations: 35.84 kB / 0.9676 GB, free: 14.04 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000668/0.9607, allocations: 85.03 kB / 0.9677 GB, free: 13.96 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000225/0.961, allocations: 117.2 kB / 0.9678 GB, free: 13.85 MB / 0.7637 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002366/0.9633, allocations: 1.217 MB / 0.969 GB, free: 12.62 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002721/0.9661, allocations: 1.807 MB / 0.9708 GB, free: 10.8 MB / 0.7637 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007673/0.9669, allocations: 0.4983 MB / 0.9713 GB, free: 10.3 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0005913/0.9675, allocations: 467 kB / 0.9717 GB, free: 9.84 MB / 0.7637 GB Notification: Performance of Backend: time 8.82e-07/0.9675, allocations: 0 / 0.9717 GB, free: 9.84 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003551/0.971, allocations: 1.401 MB / 0.9731 GB, free: 8.695 MB / 0.7637 GB Notification: Performance of SimCode: time 0.003412/0.9744, allocations: 2.347 MB / 0.9754 GB, free: 6.328 MB / 0.7637 GB Notification: Performance of Templates: time 0.03016/1.005, allocations: 18.83 MB / 0.9937 GB, free: 3.762 MB / 0.7794 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)