Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.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.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.651/1.651, allocations: 288.4 MB / 304.3 MB, free: 8.176 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.001028/0.001028, allocations: 183.9 kB / 372.9 MB, free: 10.16 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.384/1.384, allocations: 205.4 MB / 0.6316 GB, free: 9.895 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.0007156/0.0007157, allocations: 98.11 kB / 0.745 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005902/0.0005903, allocations: 12.53 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2222, allocations: 115.3 MB / 0.9807 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb): time 0.07518/0.2974, allocations: 79.64 MB / 1.059 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.5729/0.8704, allocations: 152.2 MB / 1.207 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003494/0.8739, allocations: 79.5 kB / 1.207 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.003847/0.8778, allocations: 0.9436 MB / 1.208 GB, free: 10.75 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.008877/0.8867, allocations: 2.519 MB / 1.211 GB, free: 8.223 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.01101/0.8977, allocations: 3.145 MB / 1.214 GB, free: 5.113 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.009847/0.9076, allocations: 6.876 MB / 1.22 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005303/0.9129, allocations: 2.21 MB / 1.223 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004763/0.9177, allocations: 1.824 MB / 1.224 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003287/0.921, allocations: 1.608 MB / 1.226 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0008153/0.9219, allocations: 88 kB / 1.226 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004817/0.9267, allocations: 1.832 MB / 1.228 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.001182/0.9279, allocations: 0.5641 MB / 1.228 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.003525/0.9315, allocations: 1.245 MB / 1.23 GB, free: 4.773 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.008755/0.9403, allocations: 3.616 MB / 1.233 GB, free: 1.148 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.9403, allocations: 0 / 1.233 GB, free: 1.148 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.356e-06/0.9403, allocations: 0 / 1.233 GB, free: 1.148 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001927/0.9405, allocations: 0 / 1.233 GB, free: 1.148 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.008157/0.9487, allocations: 2.869 MB / 1.236 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 6.192e-05/0.9488, allocations: 12.03 kB / 1.236 GB, free: 14.2 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002761/0.9515, allocations: 496 kB / 1.236 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005702/0.9572, allocations: 2.196 MB / 1.238 GB, free: 11.44 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001766/0.9575, allocations: 159.7 kB / 1.239 GB, free: 11.28 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00048/0.9579, allocations: 200 kB / 1.239 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004712/0.9627, allocations: 2.121 MB / 1.241 GB, free: 8.871 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.533e-05/0.9627, allocations: 7.938 kB / 1.241 GB, free: 8.863 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002439/0.963, allocations: 83.94 kB / 1.241 GB, free: 8.781 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-05/0.9631, allocations: 48 kB / 1.241 GB, free: 8.734 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003873/0.9669, allocations: 2.016 MB / 1.243 GB, free: 6.715 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.01254/0.9795, allocations: 8.323 MB / 1.251 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002517/0.982, allocations: 1.335 MB / 1.252 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001158/0.9832, allocations: 0.6099 MB / 1.253 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005231/0.9885, allocations: 3.141 MB / 1.256 GB, free: 8.809 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001433/0.9899, allocations: 0.7628 MB / 1.257 GB, free: 8.027 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006519/0.9906, allocations: 138.6 kB / 1.257 GB, free: 7.891 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=127): time 3.216e-06/0.9906, allocations: 0 / 1.257 GB, free: 7.891 MB / 0.7761 GB Notification: Performance of matching and sorting (n=127): time 0.004643/0.9953, allocations: 1.938 MB / 1.259 GB, free: 5.926 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001279/0.9954, allocations: 282.3 kB / 1.259 GB, free: 5.59 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002634/0.998, allocations: 1.901 MB / 1.261 GB, free: 3.66 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001556/0.9982, allocations: 57.7 kB / 1.261 GB, free: 3.598 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009423/0.9992, allocations: 1.097 MB / 1.262 GB, free: 2.484 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003795/0.9996, allocations: 437.7 kB / 1.263 GB, free: 2.051 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.182e-05/0.9996, allocations: 32 kB / 1.263 GB, free: 2.02 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.9998, allocations: 369.9 kB / 1.263 GB, free: 1.652 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/1.001, allocations: 0.5309 MB / 1.263 GB, free: 1.121 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001444/1.002, allocations: 0.9788 MB / 1.264 GB, free: 15.97 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002484/1.005, allocations: 1.457 MB / 1.266 GB, free: 14.38 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.216e-06/1.005, allocations: 11.94 kB / 1.266 GB, free: 14.37 MB / 0.7917 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004026/1.009, allocations: 1.819 MB / 1.268 GB, free: 12.54 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002636/1.009, allocations: 400.1 kB / 1.268 GB, free: 12 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.809e-05/1.009, allocations: 12 kB / 1.268 GB, free: 11.99 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006262/1.01, allocations: 88.78 kB / 1.268 GB, free: 11.9 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/1.011, allocations: 379.4 kB / 1.268 GB, free: 11.53 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002015/1.013, allocations: 1.537 MB / 1.27 GB, free: 9.855 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001921/1.015, allocations: 160.4 kB / 1.27 GB, free: 9.699 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001599/1.015, allocations: 83.95 kB / 1.27 GB, free: 9.617 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/1.015, allocations: 4 kB / 1.27 GB, free: 9.613 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003066/1.019, allocations: 1.546 MB / 1.272 GB, free: 8.062 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.093e-05/1.019, allocations: 12 kB / 1.272 GB, free: 8.051 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005335/1.019, allocations: 97.41 kB / 1.272 GB, free: 7.953 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/1.02, allocations: 359.5 kB / 1.272 GB, free: 7.602 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001832/1.022, allocations: 1.55 MB / 1.274 GB, free: 5.918 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00179/1.024, allocations: 145.5 kB / 1.274 GB, free: 5.777 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001346/1.024, allocations: 79.97 kB / 1.274 GB, free: 5.699 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.001227/1.025, allocations: 0.6105 MB / 1.274 GB, free: 5.078 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003714/1.026, allocations: 229.2 kB / 1.275 GB, free: 4.852 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003892/1.03, allocations: 1.802 MB / 1.276 GB, free: 3.035 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002793/1.033, allocations: 1.51 MB / 1.278 GB, free: 1.453 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/1.033, allocations: 0 / 1.278 GB, free: 1.453 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009827/1.034, allocations: 0.4901 MB / 1.278 GB, free: 0.9414 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002701/1.034, allocations: 35.92 kB / 1.278 GB, free: 0.9062 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001327/1.035, allocations: 146.6 kB / 1.279 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001928/1.035, allocations: 105.2 kB / 1.279 GB, free: 0.6641 MB / 0.7917 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003574/1.039, allocations: 1.599 MB / 1.28 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004014/1.043, allocations: 2.403 MB / 1.283 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001055/1.044, allocations: 0.6349 MB / 1.283 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001882/1.046, allocations: 1.282 MB / 1.284 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of Backend: time 2.5e-07/1.046, allocations: 4 kB / 1.284 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.007154/1.053, allocations: 3.166 MB / 1.288 GB, free: 7.633 MB / 0.8073 GB Notification: Performance of SimCode: time 0.01005/1.063, allocations: 6.054 MB / 1.293 GB, free: 1.559 MB / 0.8073 GB Notification: Performance of Templates: time 0.08473/1.148, allocations: 52.5 MB / 1.345 GB, free: 13.42 MB / 0.8698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe 2>&1)