Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.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.FixedApproachWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.596/1.596, allocations: 288.4 MB / 304.3 MB, free: 8.082 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.00101/0.001011, allocations: 184.5 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.432/1.432, allocations: 205.4 MB / 0.6316 GB, free: 9.887 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.0007656/0.0007656, allocations: 94.25 kB / 0.745 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004799/0.00048, allocations: 16.52 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1907, allocations: 115.3 MB / 0.9807 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb): time 0.06777/0.2585, allocations: 79.64 MB / 1.059 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.5889/0.8475, allocations: 152.2 MB / 1.207 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003949/0.8515, allocations: 83.5 kB / 1.207 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.003862/0.8554, allocations: 0.9514 MB / 1.208 GB, free: 10.69 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.009108/0.8645, allocations: 2.511 MB / 1.211 GB, free: 8.172 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.01186/0.8764, allocations: 3.137 MB / 1.214 GB, free: 5.07 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.01089/0.8873, allocations: 6.875 MB / 1.22 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004918/0.8922, allocations: 2.216 MB / 1.223 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00565/0.8979, allocations: 1.832 MB / 1.224 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004185/0.9022, allocations: 1.598 MB / 1.226 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0009373/0.9031, allocations: 88 kB / 1.226 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005323/0.9085, allocations: 1.836 MB / 1.228 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.001126/0.9096, allocations: 0.5602 MB / 1.228 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.002658/0.9123, allocations: 1.253 MB / 1.23 GB, free: 4.723 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.005137/0.9175, allocations: 3.608 MB / 1.233 GB, free: 1.105 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.9175, allocations: 4 kB / 1.233 GB, free: 1.102 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9175, allocations: 0 / 1.233 GB, free: 1.102 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001243/0.9176, allocations: 0 / 1.233 GB, free: 1.102 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.006163/0.9238, allocations: 2.869 MB / 1.236 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.9238, allocations: 8.031 kB / 1.236 GB, free: 14.15 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002251/0.9261, allocations: 500 kB / 1.236 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003941/0.9301, allocations: 2.206 MB / 1.238 GB, free: 11.38 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/0.9302, allocations: 147.8 kB / 1.239 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002723/0.9305, allocations: 200 kB / 1.239 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003554/0.934, allocations: 2.127 MB / 1.241 GB, free: 8.816 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.596e-05/0.9341, allocations: 0 / 1.241 GB, free: 8.816 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001635/0.9343, allocations: 83.94 kB / 1.241 GB, free: 8.734 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.814e-05/0.9343, allocations: 55.94 kB / 1.241 GB, free: 8.68 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003521/0.9379, allocations: 2.008 MB / 1.243 GB, free: 6.668 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.01168/0.9496, allocations: 8.322 MB / 1.251 GB, free: 14 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002436/0.952, allocations: 1.334 MB / 1.252 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001157/0.9532, allocations: 0.606 MB / 1.253 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004972/0.9582, allocations: 3.141 MB / 1.256 GB, free: 8.766 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001375/0.9596, allocations: 0.7668 MB / 1.257 GB, free: 7.98 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006026/0.9602, allocations: 138.6 kB / 1.257 GB, free: 7.844 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=127): time 3.056e-06/0.9602, allocations: 0 / 1.257 GB, free: 7.844 MB / 0.7761 GB Notification: Performance of matching and sorting (n=127): time 0.004632/0.9648, allocations: 1.942 MB / 1.259 GB, free: 5.875 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/0.965, allocations: 278.3 kB / 1.259 GB, free: 5.543 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002458/0.9674, allocations: 1.901 MB / 1.261 GB, free: 3.613 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001106/0.9676, allocations: 53.7 kB / 1.261 GB, free: 3.555 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009247/0.9685, allocations: 1.101 MB / 1.262 GB, free: 2.438 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003674/0.9689, allocations: 441.7 kB / 1.263 GB, free: 2 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.576e-05/0.969, allocations: 28 kB / 1.263 GB, free: 1.973 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.9691, allocations: 365.9 kB / 1.263 GB, free: 1.609 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00111/0.9702, allocations: 0.5349 MB / 1.263 GB, free: 1.074 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001423/0.9717, allocations: 0.9749 MB / 1.264 GB, free: 15.93 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002442/0.9741, allocations: 1.464 MB / 1.266 GB, free: 14.33 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.9741, allocations: 8 kB / 1.266 GB, free: 14.32 MB / 0.7917 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003723/0.9779, allocations: 1.819 MB / 1.268 GB, free: 12.49 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.000237/0.9781, allocations: 392.2 kB / 1.268 GB, free: 11.96 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.989e-05/0.9782, allocations: 11.98 kB / 1.268 GB, free: 11.95 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000583/0.9788, allocations: 100.7 kB / 1.268 GB, free: 11.85 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001388/0.9802, allocations: 367.5 kB / 1.268 GB, free: 11.49 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00195/0.9821, allocations: 1.547 MB / 1.27 GB, free: 9.805 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001757/0.9839, allocations: 169.9 kB / 1.27 GB, free: 9.641 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/0.984, allocations: 79.95 kB / 1.27 GB, free: 9.562 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 6.993e-06/0.984, allocations: 4 kB / 1.27 GB, free: 9.559 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003091/0.9871, allocations: 1.55 MB / 1.272 GB, free: 8.004 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/0.9872, allocations: 8 kB / 1.272 GB, free: 7.996 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005499/0.9877, allocations: 101.5 kB / 1.272 GB, free: 7.895 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/0.989, allocations: 355.5 kB / 1.272 GB, free: 7.547 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001845/0.9909, allocations: 1.548 MB / 1.274 GB, free: 5.863 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/0.9925, allocations: 146 kB / 1.274 GB, free: 5.723 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/0.9927, allocations: 79.97 kB / 1.274 GB, free: 5.645 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.00115/0.9938, allocations: 0.6102 MB / 1.274 GB, free: 5.027 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002971/0.9941, allocations: 233.1 kB / 1.275 GB, free: 4.797 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003913/0.9981, allocations: 1.796 MB / 1.276 GB, free: 2.988 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002956/1.001, allocations: 1.51 MB / 1.278 GB, free: 1.406 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/1.001, allocations: 0 / 1.278 GB, free: 1.406 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009088/1.002, allocations: 0.4939 MB / 1.278 GB, free: 0.8906 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002633/1.002, allocations: 31.94 kB / 1.278 GB, free: 0.8594 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001294/1.004, allocations: 151.1 kB / 1.279 GB, free: 0.7148 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001923/1.004, allocations: 105.2 kB / 1.279 GB, free: 0.6133 MB / 0.7917 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003648/1.007, allocations: 1.603 MB / 1.28 GB, free: 15 MB / 0.8073 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004143/1.012, allocations: 2.406 MB / 1.283 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001094/1.013, allocations: 0.631 MB / 1.283 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001933/1.015, allocations: 1.278 MB / 1.284 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of Backend: time 2.004e-06/1.015, allocations: 8 kB / 1.284 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.007166/1.022, allocations: 3.156 MB / 1.288 GB, free: 7.59 MB / 0.8073 GB Notification: Performance of SimCode: time 0.009909/1.032, allocations: 6.053 MB / 1.293 GB, free: 1.516 MB / 0.8073 GB Notification: Performance of Templates: time 0.08251/1.114, allocations: 52.51 MB / 1.345 GB, free: 13.37 MB / 0.8698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe 2>&1)