Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.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.Fluid.Chillers.Examples.ElectricEIR_AirCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.656/1.656, allocations: 288.4 MB / 304.3 MB, free: 7.996 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.001026/0.001026, allocations: 170.8 kB / 372.9 MB, free: 10.14 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.783/1.783, allocations: 205.4 MB / 0.6316 GB, free: 9.914 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.0008662/0.0008661, allocations: 82.42 kB / 0.745 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004437/0.0004438, allocations: 12.38 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2319, allocations: 115.3 MB / 0.9807 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled): time 0.6947/0.9266, allocations: 207 MB / 1.183 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.02622/0.9529, allocations: 18.87 MB / 1.201 GB, free: 2.117 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003267/0.9562, allocations: 71.72 kB / 1.201 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.003921/0.9601, allocations: 0.9825 MB / 1.202 GB, free: 1.293 MB / 0.7292 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.009153/0.9693, allocations: 2.809 MB / 1.205 GB, free: 15.13 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Fluid/Chillers/BaseClasses/warnIfPerformanceOutOfBounds.mo:2:1-41:33:writable] Warning: Pure function ‘Buildings.Fluid.Chillers.BaseClasses.warnIfPerformanceOutOfBounds‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.006292/0.9756, allocations: 1.922 MB / 1.207 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.00877/0.9844, allocations: 6.324 MB / 1.213 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003756/0.9882, allocations: 2.076 MB / 1.215 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005349/0.9936, allocations: 1.931 MB / 1.217 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00313/0.9968, allocations: 1.574 MB / 1.219 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0005249/0.9973, allocations: 91.62 kB / 1.219 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006287/1.004, allocations: 2.783 MB / 1.221 GB, free: 4.047 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.001034/1.005, allocations: 0.6226 MB / 1.222 GB, free: 3.422 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.002188/1.007, allocations: 1.261 MB / 1.223 GB, free: 2.148 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.005669/1.013, allocations: 3.565 MB / 1.227 GB, free: 14.58 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/1.013, allocations: 0 / 1.227 GB, free: 14.58 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.166e-06/1.013, allocations: 0 / 1.227 GB, free: 14.58 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001189/1.013, allocations: 4 kB / 1.227 GB, free: 14.57 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 477 * Number of variables: 477 Notification: Performance of Generate backend data structure: time 0.00774/1.021, allocations: 2.895 MB / 1.23 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/1.021, allocations: 8.031 kB / 1.23 GB, free: 11.6 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006462/1.027, allocations: 1.031 MB / 1.231 GB, free: 10.56 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004543/1.032, allocations: 1.964 MB / 1.233 GB, free: 8.523 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002324/1.032, allocations: 219.1 kB / 1.233 GB, free: 8.297 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003501/1.032, allocations: 192 kB / 1.233 GB, free: 8.109 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00539/1.038, allocations: 2.414 MB / 1.235 GB, free: 5.637 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.034e-05/1.038, allocations: 4 kB / 1.235 GB, free: 5.633 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002095/1.038, allocations: 76 kB / 1.235 GB, free: 5.559 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-05/1.038, allocations: 71.64 kB / 1.235 GB, free: 5.488 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005903/1.044, allocations: 2.727 MB / 1.238 GB, free: 2.758 MB / 0.7605 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01467/1.059, allocations: 8.724 MB / 1.247 GB, free: 9.586 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007108/1.066, allocations: 2.361 MB / 1.249 GB, free: 7.184 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002474/1.068, allocations: 1.036 MB / 1.25 GB, free: 6.152 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009251/1.069, allocations: 0.8831 MB / 1.251 GB, free: 5.086 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002833/1.072, allocations: 1.255 MB / 1.252 GB, free: 3.812 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=161): time 4.288e-06/1.072, allocations: 0 / 1.252 GB, free: 3.812 MB / 0.7761 GB Notification: Performance of matching and sorting (n=161): time 0.009236/1.081, allocations: 3.168 MB / 1.255 GB, free: 0.6133 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/1.082, allocations: 209.2 kB / 1.255 GB, free: 376 kB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003007/1.085, allocations: 1.785 MB / 1.257 GB, free: 14.54 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.000395/1.085, allocations: 65.64 kB / 1.257 GB, free: 14.47 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.00105/1.086, allocations: 1.02 MB / 1.258 GB, free: 13.44 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007161/1.087, allocations: 0.5313 MB / 1.259 GB, free: 12.9 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.774e-05/1.087, allocations: 32 kB / 1.259 GB, free: 12.87 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001701/1.087, allocations: 361.9 kB / 1.259 GB, free: 12.51 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002423/1.089, allocations: 0.8822 MB / 1.26 GB, free: 11.63 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00256/1.092, allocations: 1.19 MB / 1.261 GB, free: 10.35 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00453/1.097, allocations: 1.939 MB / 1.263 GB, free: 8.367 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/1.097, allocations: 4 kB / 1.263 GB, free: 8.363 MB / 0.7917 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.006829/1.103, allocations: 2.426 MB / 1.265 GB, free: 5.918 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001732/1.104, allocations: 214.1 kB / 1.265 GB, free: 5.66 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/1.104, allocations: 4 kB / 1.265 GB, free: 5.656 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005986/1.104, allocations: 92.72 kB / 1.266 GB, free: 5.562 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002363/1.107, allocations: 471.4 kB / 1.266 GB, free: 5.102 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002428/1.109, allocations: 2.13 MB / 1.268 GB, free: 2.805 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003079/1.112, allocations: 344.1 kB / 1.268 GB, free: 2.469 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001939/1.112, allocations: 75.95 kB / 1.269 GB, free: 2.395 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/1.112, allocations: 0 / 1.269 GB, free: 2.395 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005676/1.118, allocations: 2.216 MB / 1.271 GB, free: 172 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/1.118, allocations: 4 kB / 1.271 GB, free: 168 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005528/1.119, allocations: 100.7 kB / 1.271 GB, free: 64 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002189/1.121, allocations: 447.4 kB / 1.271 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001927/1.123, allocations: 1.547 MB / 1.273 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002836/1.126, allocations: 337.4 kB / 1.273 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001733/1.126, allocations: 75.95 kB / 1.273 GB, free: 13.54 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,chi.on,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 (196): * Single equations (assignments): 192 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.001231/1.127, allocations: 0.5983 MB / 1.274 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004149/1.128, allocations: 229.2 kB / 1.274 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006385/1.134, allocations: 2.706 MB / 1.277 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005172/1.139, allocations: 2.367 MB / 1.279 GB, free: 7.523 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/1.139, allocations: 0 / 1.279 GB, free: 7.523 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001372/1.141, allocations: 0.5678 MB / 1.279 GB, free: 6.934 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000305/1.141, allocations: 32 kB / 1.279 GB, free: 6.902 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002051/1.143, allocations: 259.6 kB / 1.28 GB, free: 6.648 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002523/1.143, allocations: 129.8 kB / 1.28 GB, free: 6.523 MB / 0.8073 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006872/1.15, allocations: 2.511 MB / 1.282 GB, free: 3.996 MB / 0.8073 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00827/1.158, allocations: 3.71 MB / 1.286 GB, free: 276 kB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00232/1.161, allocations: 1.038 MB / 1.287 GB, free: 15.23 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001973/1.163, allocations: 1.221 MB / 1.288 GB, free: 13.99 MB / 0.823 GB Notification: Performance of Backend: time 4.41e-07/1.163, allocations: 4 kB / 1.288 GB, free: 13.99 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.009937/1.173, allocations: 4.001 MB / 1.292 GB, free: 10.11 MB / 0.823 GB Notification: Performance of SimCode: time 0.01075/1.183, allocations: 5.94 MB / 1.298 GB, free: 4.121 MB / 0.823 GB Notification: Performance of Templates: time 0.1002/1.284, allocations: 57.91 MB / 1.354 GB, free: 10.54 MB / 0.8855 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe 2>&1)