Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.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.FixedApproachDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.632/1.632, allocations: 287.4 MB / 303.2 MB, free: 8.262 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.0009591/0.0009591, allocations: 186.5 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.37/1.37, allocations: 205.4 MB / 0.6304 GB, free: 10.56 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.0007736/0.0007734, allocations: 91.11 kB / 0.7438 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003552/0.0003552, allocations: 11.97 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.175, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb): time 0.0675/0.2425, allocations: 79.63 MB / 1.057 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.5324/0.775, allocations: 152.2 MB / 1.206 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003096/0.7781, allocations: 79.5 kB / 1.206 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.003349/0.7815, allocations: 0.8773 MB / 1.207 GB, free: 12.08 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.007353/0.7889, allocations: 2.376 MB / 1.209 GB, free: 9.703 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.00912/0.798, allocations: 3.11 MB / 1.212 GB, free: 6.625 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.009132/0.8072, allocations: 6.87 MB / 1.219 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004299/0.8115, allocations: 2.213 MB / 1.221 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003904/0.8155, allocations: 1.797 MB / 1.223 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002801/0.8183, allocations: 1.61 MB / 1.224 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0006636/0.819, allocations: 88 kB / 1.224 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004171/0.8232, allocations: 1.513 MB / 1.226 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0009833/0.8242, allocations: 0.5563 MB / 1.226 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.001083/0.8253, allocations: 0.5432 MB / 1.227 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.005009/0.8303, allocations: 3.554 MB / 1.23 GB, free: 3.793 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/0.8303, allocations: 4 kB / 1.23 GB, free: 3.789 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8303, allocations: 0 / 1.23 GB, free: 3.789 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001359/0.8305, allocations: 0 / 1.23 GB, free: 3.789 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.005889/0.8364, allocations: 2.869 MB / 1.233 GB, free: 0.8477 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.8364, allocations: 15.97 kB / 1.233 GB, free: 0.832 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002107/0.8385, allocations: 496 kB / 1.234 GB, free: 352 kB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003833/0.8424, allocations: 2.202 MB / 1.236 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.8425, allocations: 155.8 kB / 1.236 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002699/0.8428, allocations: 196 kB / 1.236 GB, free: 13.72 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00357/0.8464, allocations: 2.123 MB / 1.238 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.183e-05/0.8464, allocations: 4 kB / 1.238 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001626/0.8466, allocations: 87.94 kB / 1.238 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.938e-05/0.8467, allocations: 52 kB / 1.238 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003387/0.8501, allocations: 2.004 MB / 1.24 GB, free: 9.355 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.01147/0.8615, allocations: 8.331 MB / 1.248 GB, free: 0.6875 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002358/0.8639, allocations: 1.332 MB / 1.25 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001111/0.865, allocations: 0.6174 MB / 1.25 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004907/0.87, allocations: 3.156 MB / 1.253 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001351/0.8713, allocations: 0.7589 MB / 1.254 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000633/0.872, allocations: 138.6 kB / 1.254 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=127): time 3.767e-06/0.872, allocations: 0 / 1.254 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of matching and sorting (n=127): time 0.004427/0.8764, allocations: 1.942 MB / 1.256 GB, free: 8.547 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.8766, allocations: 270.3 kB / 1.256 GB, free: 8.223 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002399/0.879, allocations: 1.901 MB / 1.258 GB, free: 6.293 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001207/0.8791, allocations: 61.7 kB / 1.258 GB, free: 6.227 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008946/0.88, allocations: 1.105 MB / 1.259 GB, free: 5.105 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003278/0.8803, allocations: 433.7 kB / 1.26 GB, free: 4.676 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.075e-05/0.8804, allocations: 35.98 kB / 1.26 GB, free: 4.641 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.8806, allocations: 365.9 kB / 1.26 GB, free: 4.277 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/0.8816, allocations: 0.5387 MB / 1.261 GB, free: 3.738 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001348/0.883, allocations: 0.9632 MB / 1.262 GB, free: 2.605 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002325/0.8853, allocations: 1.465 MB / 1.263 GB, free: 1.004 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.8853, allocations: 4 kB / 1.263 GB, free: 1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003676/0.889, allocations: 1.823 MB / 1.265 GB, free: 15.16 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002178/0.8893, allocations: 395.1 kB / 1.265 GB, free: 14.64 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.82e-05/0.8893, allocations: 15.98 kB / 1.265 GB, free: 14.62 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005695/0.8899, allocations: 96.72 kB / 1.265 GB, free: 14.52 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/0.8912, allocations: 371.5 kB / 1.266 GB, free: 14.16 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001833/0.8931, allocations: 1.539 MB / 1.267 GB, free: 12.48 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001809/0.8949, allocations: 160.4 kB / 1.267 GB, free: 12.33 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/0.895, allocations: 79.97 kB / 1.267 GB, free: 12.25 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 7.023e-06/0.8951, allocations: 4 kB / 1.267 GB, free: 12.25 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002925/0.898, allocations: 1.542 MB / 1.269 GB, free: 10.7 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.516e-05/0.898, allocations: 19.92 kB / 1.269 GB, free: 10.68 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005154/0.8986, allocations: 93.47 kB / 1.269 GB, free: 10.59 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/0.8998, allocations: 359.5 kB / 1.269 GB, free: 10.23 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001835/0.9017, allocations: 1.543 MB / 1.271 GB, free: 8.555 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/0.9034, allocations: 156.4 kB / 1.271 GB, free: 8.402 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/0.9035, allocations: 75.97 kB / 1.271 GB, free: 8.328 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.001144/0.9047, allocations: 0.6149 MB / 1.272 GB, free: 7.703 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003371/0.905, allocations: 229.2 kB / 1.272 GB, free: 7.477 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003742/0.9088, allocations: 1.792 MB / 1.274 GB, free: 5.684 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002686/0.9115, allocations: 1.518 MB / 1.275 GB, free: 4.094 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.9115, allocations: 0 / 1.275 GB, free: 4.094 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009475/0.9125, allocations: 0.4901 MB / 1.276 GB, free: 3.582 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002721/0.9127, allocations: 31.94 kB / 1.276 GB, free: 3.551 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001297/0.914, allocations: 156.1 kB / 1.276 GB, free: 3.398 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001821/0.9142, allocations: 101.2 kB / 1.276 GB, free: 3.301 MB / 0.7917 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003457/0.9177, allocations: 1.599 MB / 1.277 GB, free: 1.691 MB / 0.7917 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003829/0.9215, allocations: 2.406 MB / 1.28 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001019/0.9226, allocations: 0.6388 MB / 1.28 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001762/0.9243, allocations: 1.271 MB / 1.282 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of Backend: time 3.51e-07/0.9244, allocations: 0 / 1.282 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.00664/0.931, allocations: 3.144 MB / 1.285 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of SimCode: time 0.009122/0.9401, allocations: 6.056 MB / 1.291 GB, free: 4.297 MB / 0.8073 GB Notification: Performance of Templates: time 0.08157/1.022, allocations: 51.91 MB / 1.341 GB, free: 0.7539 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe 2>&1)