Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.569/1.569, allocations: 287.4 MB / 303.2 MB, free: 8.238 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.000983/0.0009829, allocations: 192.7 kB / 371.8 MB, free: 10.82 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.337/1.337, allocations: 205.4 MB / 0.6305 GB, free: 10.57 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.0007608/0.0007608, allocations: 96.91 kB / 0.7438 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003445/0.0003445, allocations: 15.5 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1758, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb): time 0.07392/0.2498, allocations: 79.64 MB / 1.057 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.5156/0.7654, allocations: 152.2 MB / 1.206 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003288/0.7687, allocations: 79.5 kB / 1.206 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.003259/0.772, allocations: 0.8734 MB / 1.207 GB, free: 12.14 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0/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.0/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.0/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.007547/0.7796, allocations: 2.393 MB / 1.209 GB, free: 9.746 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.009232/0.7888, allocations: 3.102 MB / 1.212 GB, free: 6.672 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.008272/0.7971, allocations: 6.87 MB / 1.219 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003744/0.8009, allocations: 2.216 MB / 1.221 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003502/0.8044, allocations: 1.805 MB / 1.223 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002557/0.807, allocations: 1.598 MB / 1.224 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0005249/0.8075, allocations: 88 kB / 1.224 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00378/0.8113, allocations: 1.509 MB / 1.226 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0007918/0.8121, allocations: 0.5641 MB / 1.226 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000849/0.813, allocations: 0.5432 MB / 1.227 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.004265/0.8172, allocations: 3.546 MB / 1.23 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.8173, allocations: 0 / 1.23 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.974e-06/0.8173, allocations: 3.938 kB / 1.23 GB, free: 3.84 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001967/0.8175, allocations: 4 kB / 1.23 GB, free: 3.836 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 482 * Number of variables: 482 Notification: Performance of Generate backend data structure: time 0.006519/0.824, allocations: 2.881 MB / 1.233 GB, free: 0.8828 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.8241, allocations: 11.97 kB / 1.233 GB, free: 0.8711 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002281/0.8263, allocations: 492 kB / 1.234 GB, free: 396 kB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00442/0.8308, allocations: 2.209 MB / 1.236 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001497/0.831, allocations: 147.8 kB / 1.236 GB, free: 13.96 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004262/0.8314, allocations: 200 kB / 1.236 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004113/0.8355, allocations: 2.123 MB / 1.238 GB, free: 11.55 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.524e-05/0.8356, allocations: 0 / 1.238 GB, free: 11.55 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000206/0.8358, allocations: 91.91 kB / 1.238 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.887e-05/0.8359, allocations: 59.92 kB / 1.238 GB, free: 11.4 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003663/0.8395, allocations: 2.008 MB / 1.24 GB, free: 9.387 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.01198/0.8515, allocations: 8.323 MB / 1.248 GB, free: 0.7227 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002427/0.854, allocations: 1.324 MB / 1.25 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001156/0.8552, allocations: 0.6174 MB / 1.25 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005003/0.8602, allocations: 3.148 MB / 1.253 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001464/0.8617, allocations: 0.7628 MB / 1.254 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006656/0.8623, allocations: 142.6 kB / 1.254 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=127): time 4.128e-06/0.8624, allocations: 0 / 1.254 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of matching and sorting (n=127): time 0.004653/0.867, allocations: 1.938 MB / 1.256 GB, free: 8.594 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/0.8672, allocations: 274.3 kB / 1.256 GB, free: 8.266 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002764/0.8699, allocations: 1.897 MB / 1.258 GB, free: 6.34 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001186/0.8701, allocations: 61.7 kB / 1.258 GB, free: 6.273 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009381/0.871, allocations: 1.113 MB / 1.259 GB, free: 5.145 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003475/0.8714, allocations: 437.7 kB / 1.26 GB, free: 4.711 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.705e-05/0.8715, allocations: 28 kB / 1.26 GB, free: 4.684 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.8716, allocations: 365.9 kB / 1.26 GB, free: 4.32 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/0.8727, allocations: 0.531 MB / 1.261 GB, free: 3.789 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001444/0.8742, allocations: 0.971 MB / 1.262 GB, free: 2.648 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002408/0.8766, allocations: 1.464 MB / 1.263 GB, free: 1.047 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.8766, allocations: 4 kB / 1.263 GB, free: 1.043 MB / 0.7761 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00381/0.8804, allocations: 1.823 MB / 1.265 GB, free: 15.21 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002275/0.8807, allocations: 392.8 kB / 1.265 GB, free: 14.68 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.299e-05/0.8807, allocations: 12 kB / 1.265 GB, free: 14.67 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000594/0.8813, allocations: 100.8 kB / 1.265 GB, free: 14.57 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/0.8827, allocations: 367.5 kB / 1.266 GB, free: 14.21 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001892/0.8846, allocations: 1.54 MB / 1.267 GB, free: 12.53 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001994/0.8866, allocations: 166.1 kB / 1.267 GB, free: 12.38 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001808/0.8868, allocations: 83.95 kB / 1.267 GB, free: 12.29 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.8868, allocations: 6.5 kB / 1.267 GB, free: 12.29 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003078/0.8899, allocations: 1.546 MB / 1.269 GB, free: 10.74 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.386e-05/0.89, allocations: 12 kB / 1.269 GB, free: 10.73 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005495/0.8905, allocations: 105.2 kB / 1.269 GB, free: 10.62 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/0.8918, allocations: 351.4 kB / 1.269 GB, free: 10.28 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001845/0.8936, allocations: 1.541 MB / 1.271 GB, free: 8.602 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001735/0.8954, allocations: 148.4 kB / 1.271 GB, free: 8.457 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001597/0.8956, allocations: 83.89 kB / 1.271 GB, free: 8.375 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 10 ($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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 191 * 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: 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.001171/0.8967, allocations: 0.611 MB / 1.272 GB, free: 7.754 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004955/0.8972, allocations: 229.2 kB / 1.272 GB, free: 7.527 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004083/0.9013, allocations: 1.8 MB / 1.274 GB, free: 5.727 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002859/0.9042, allocations: 1.51 MB / 1.275 GB, free: 4.145 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.9042, allocations: 0 / 1.275 GB, free: 4.145 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/0.9053, allocations: 0.5017 MB / 1.276 GB, free: 3.621 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005352/0.9058, allocations: 31.94 kB / 1.276 GB, free: 3.59 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001547/0.9074, allocations: 151.7 kB / 1.276 GB, free: 3.441 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001947/0.9076, allocations: 101.2 kB / 1.276 GB, free: 3.344 MB / 0.7917 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003864/0.9115, allocations: 1.595 MB / 1.277 GB, free: 1.738 MB / 0.7917 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004336/0.9158, allocations: 2.406 MB / 1.28 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00112/0.917, allocations: 0.631 MB / 1.28 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.00242/0.9194, allocations: 1.275 MB / 1.282 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of Backend: time 3.71e-07/0.9194, allocations: 0 / 1.282 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.008523/0.928, allocations: 3.142 MB / 1.285 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of SimCode: time 0.01164/0.9396, allocations: 6.055 MB / 1.291 GB, free: 4.348 MB / 0.8073 GB Notification: Performance of Templates: time 0.08876/1.028, allocations: 51.92 MB / 1.341 GB, free: 0.7969 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe 2>&1)