Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.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.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.244/2.244, allocations: 251.1 MB / 266.7 MB, free: 11.57 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.001369/0.001369, allocations: 183.9 kB / 326.3 MB, free: 2.867 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.51/2.51, allocations: 205.4 MB / 0.5772 GB, free: 21.14 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.0008408/0.0008408, allocations: 93.84 kB / 0.6817 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007232/0.0007235, allocations: 17.64 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2047, allocations: 106.3 MB / 0.8995 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel): time 1.143/1.348, allocations: 215 MB / 1.109 GB, free: 17.23 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.04699/1.395, allocations: 25.18 MB / 1.134 GB, free: 15.31 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004691/1.399, allocations: 85.28 kB / 1.134 GB, free: 15.27 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.005092/1.404, allocations: 0.9905 MB / 1.135 GB, free: 14.95 MB / 0.698 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.01386/1.418, allocations: 3.17 MB / 1.138 GB, free: 14.15 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01418/1.433, allocations: 3.199 MB / 1.141 GB, free: 13.9 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01669/1.449, allocations: 7.479 MB / 1.149 GB, free: 11.71 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007495/1.457, allocations: 2.462 MB / 1.151 GB, free: 10.8 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005866/1.463, allocations: 1.97 MB / 1.153 GB, free: 10.06 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004339/1.467, allocations: 1.784 MB / 1.155 GB, free: 9.328 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001116/1.468, allocations: 110.9 kB / 1.155 GB, free: 9.324 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008842/1.477, allocations: 2.396 MB / 1.157 GB, free: 8.641 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001634/1.479, allocations: 0.6612 MB / 1.158 GB, free: 8.348 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001592/1.48, allocations: 0.6317 MB / 1.158 GB, free: 8.203 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.008885/1.489, allocations: 4.436 MB / 1.163 GB, free: 5.887 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/1.489, allocations: 0 / 1.163 GB, free: 5.887 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.415e-06/1.489, allocations: 1.969 kB / 1.163 GB, free: 5.887 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.00017/1.49, allocations: 4 kB / 1.163 GB, free: 5.883 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: 552 * Number of variables: 552 Notification: Performance of Generate backend data structure: time 0.01041/1.5, allocations: 3.488 MB / 1.166 GB, free: 3.66 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/1.5, allocations: 8.156 kB / 1.166 GB, free: 3.66 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00502/1.505, allocations: 0.6233 MB / 1.167 GB, free: 3.375 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007286/1.513, allocations: 2.444 MB / 1.169 GB, free: 2.293 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000197/1.513, allocations: 175.7 kB / 1.169 GB, free: 2.281 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006936/1.513, allocations: 225.3 kB / 1.17 GB, free: 2.281 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007498/1.521, allocations: 2.479 MB / 1.172 GB, free: 1.422 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.252e-05/1.521, allocations: 10.75 kB / 1.172 GB, free: 1.414 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003423/1.521, allocations: 96.25 kB / 1.172 GB, free: 1.41 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.066e-05/1.522, allocations: 56.81 kB / 1.172 GB, free: 1.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008101/1.53, allocations: 2.407 MB / 1.174 GB, free: 0.8984 MB / 0.698 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.03127/1.561, allocations: 9.718 MB / 1.184 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01323/1.574, allocations: 1.832 MB / 1.186 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003882/1.578, allocations: 0.8291 MB / 1.187 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01485/1.593, allocations: 5.795 MB / 1.192 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003597/1.597, allocations: 0.9715 MB / 1.193 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001455/1.598, allocations: 156.2 kB / 1.193 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=157): time 7.975e-06/1.598, allocations: 0 / 1.193 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of matching and sorting (n=157): time 0.01735/1.616, allocations: 3.071 MB / 1.196 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001749/1.616, allocations: 303.8 kB / 1.197 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00513/1.621, allocations: 2.375 MB / 1.199 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0005065/1.622, allocations: 62.02 kB / 1.199 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.00178/1.623, allocations: 1.296 MB / 1.2 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009937/1.624, allocations: 0.5293 MB / 1.201 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002006/1.625, allocations: 40 kB / 1.201 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000242/1.625, allocations: 385.8 kB / 1.201 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002946/1.628, allocations: 0.734 MB / 1.202 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003713/1.632, allocations: 1.302 MB / 1.203 GB, free: 9.539 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003551/1.635, allocations: 0.8765 MB / 1.204 GB, free: 8.668 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.657e-05/1.635, allocations: 7.984 kB / 1.204 GB, free: 8.66 MB / 0.7292 GB Notification: Performance of matching and sorting (n=248) (initialization): time 0.009894/1.645, allocations: 2.461 MB / 1.206 GB, free: 6.184 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003805/1.646, allocations: 415.5 kB / 1.207 GB, free: 5.633 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.976e-05/1.646, allocations: 12 kB / 1.207 GB, free: 5.621 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.475/4.12, allocations: 193.6 MB / 1.396 GB, free: 3.781 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003599/4.124, allocations: 443.3 kB / 1.396 GB, free: 3.348 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005251/4.129, allocations: 2.827 MB / 1.399 GB, free: 344 kB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004429/4.134, allocations: 201.4 kB / 1.399 GB, free: 144 kB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005197/4.134, allocations: 94.77 kB / 1.399 GB, free: 52 kB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/4.134, allocations: 4 kB / 1.399 GB, free: 48 kB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6431/4.777, allocations: 2.119 MB / 1.401 GB, free: 244.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.309e-05/4.777, allocations: 15.17 kB / 1.401 GB, free: 244.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.464/7.241, allocations: 193.6 MB / 1.59 GB, free: 83.06 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003167/7.244, allocations: 415.6 kB / 1.591 GB, free: 82.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004242/7.249, allocations: 2.829 MB / 1.594 GB, free: 79.94 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003892/7.253, allocations: 187.8 kB / 1.594 GB, free: 79.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004159/7.253, allocations: 90.78 kB / 1.594 GB, free: 79.72 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.onOffCon.y,onOffCon.y,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,conFan.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (236): * Single equations (assignments): 230 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 6,1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001916/7.255, allocations: 0.6892 MB / 1.595 GB, free: 79.3 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007819/7.256, allocations: 278.3 kB / 1.595 GB, free: 79.17 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009159/7.265, allocations: 2.369 MB / 1.597 GB, free: 77.54 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00676/7.272, allocations: 1.992 MB / 1.599 GB, free: 75.99 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/7.272, allocations: 0 / 1.599 GB, free: 75.99 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001982/7.274, allocations: 0.5707 MB / 1.6 GB, free: 75.64 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008579/7.275, allocations: 35.5 kB / 1.6 GB, free: 75.63 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003548/7.278, allocations: 191.4 kB / 1.6 GB, free: 75.48 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004331/7.279, allocations: 113.1 kB / 1.6 GB, free: 75.38 MB / 0.9167 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01022/7.289, allocations: 2.257 MB / 1.602 GB, free: 73.7 MB / 0.9167 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.009152/7.298, allocations: 3.088 MB / 1.605 GB, free: 71.49 MB / 0.9167 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002494/7.301, allocations: 0.8276 MB / 1.606 GB, free: 70.95 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.003332/7.304, allocations: 1.595 MB / 1.608 GB, free: 69.81 MB / 0.9167 GB Notification: Performance of Backend: time 9.62e-07/7.304, allocations: 0 / 1.608 GB, free: 69.81 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01375/7.318, allocations: 4.016 MB / 1.612 GB, free: 67.01 MB / 0.9167 GB Notification: Performance of SimCode: time 0.01746/7.336, allocations: 7.066 MB / 1.618 GB, free: 60.44 MB / 0.9167 GB Notification: Performance of Templates: time 0.1524/7.488, allocations: 65.6 MB / 1.682 GB, free: 11.74 MB / 0.9323 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe 2>&1)