Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.001381, allocations: 112.1 kB / 16.38 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 190.2 kB / 17.31 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.318/1.318, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.83/1.83, allocations: 292.3 MB / 0.5496 GB, free: 17.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 63.91 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2255, allocations: 114.6 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb): time 0.4533/0.6789, allocations: 86.4 MB / 0.8692 GB, free: 6.789 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.1962/0.8751, allocations: 166.9 MB / 1.032 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004943/0.8801, allocations: 95.44 kB / 1.032 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.004713/0.8849, allocations: 1.273 MB / 1.034 GB, free: 11.15 MB / 0.8262 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.01057/0.8955, allocations: 2.98 MB / 1.036 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.01185/0.9074, allocations: 4.193 MB / 1.041 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.009075/0.9165, allocations: 6.316 MB / 1.047 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004716/0.9212, allocations: 2.668 MB / 1.049 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005469/0.9267, allocations: 2.334 MB / 1.052 GB, free: 8.613 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003182/0.9299, allocations: 1.828 MB / 1.053 GB, free: 6.777 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0008198/0.9308, allocations: 280 kB / 1.054 GB, free: 6.504 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005392/0.9362, allocations: 2.168 MB / 1.056 GB, free: 4.332 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001244/0.9374, allocations: 0.7787 MB / 1.057 GB, free: 3.551 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002105/0.9395, allocations: 1.528 MB / 1.058 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.006869/0.9464, allocations: 4.864 MB / 1.063 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.9464, allocations: 0 / 1.063 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.793e-06/0.9465, allocations: 0 / 1.063 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.119e-05/0.9465, allocations: 0 / 1.063 GB, free: 13.14 MB / 0.8575 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.006008/0.9525, allocations: 3.424 MB / 1.066 GB, free: 9.641 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.9526, allocations: 8.75 kB / 1.066 GB, free: 9.633 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002107/0.9547, allocations: 475.9 kB / 1.067 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003598/0.9583, allocations: 2.218 MB / 1.069 GB, free: 6.871 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.9584, allocations: 151.7 kB / 1.069 GB, free: 6.723 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002531/0.9587, allocations: 200 kB / 1.069 GB, free: 6.527 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003436/0.9621, allocations: 2.106 MB / 1.071 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.319e-05/0.9622, allocations: 11.88 kB / 1.071 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001768/0.9624, allocations: 83.98 kB / 1.071 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.155e-05/0.9624, allocations: 55.98 kB / 1.071 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003371/0.9658, allocations: 1.962 MB / 1.073 GB, free: 2.211 MB / 0.8575 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.0109/0.9767, allocations: 8.194 MB / 1.081 GB, free: 9.676 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002271/0.979, allocations: 1.266 MB / 1.082 GB, free: 8.402 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001045/0.9801, allocations: 0.5871 MB / 1.083 GB, free: 7.812 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00436/0.9844, allocations: 3.094 MB / 1.086 GB, free: 4.562 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001291/0.9857, allocations: 0.7345 MB / 1.087 GB, free: 3.809 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=126): time 2.895e-06/0.9857, allocations: 0 / 1.087 GB, free: 3.809 MB / 0.8731 GB Notification: Performance of matching and sorting (n=126): time 0.004358/0.9901, allocations: 1.862 MB / 1.089 GB, free: 1.922 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.919e-05/0.9902, allocations: 248.3 kB / 1.089 GB, free: 1.625 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002285/0.9925, allocations: 1.924 MB / 1.091 GB, free: 15.67 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001062/0.9926, allocations: 53.7 kB / 1.091 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008729/0.9935, allocations: 1.113 MB / 1.092 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000345/0.9939, allocations: 441.8 kB / 1.092 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004501/0.9943, allocations: 335.3 kB / 1.093 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 8.394e-05/0.9944, allocations: 305.1 kB / 1.093 GB, free: 13.41 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/0.9954, allocations: 0.5356 MB / 1.093 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001323/0.9968, allocations: 0.9541 MB / 1.094 GB, free: 11.76 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002423/0.9992, allocations: 1.465 MB / 1.096 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.768e-06/0.9992, allocations: 7.984 kB / 1.096 GB, free: 10.15 MB / 0.8887 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003591/1.003, allocations: 1.819 MB / 1.098 GB, free: 8.316 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/1.003, allocations: 12 kB / 1.098 GB, free: 8.305 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-05/1.003, allocations: 13.48 kB / 1.098 GB, free: 8.293 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005981/1.004, allocations: 92.95 kB / 1.098 GB, free: 8.199 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/1.005, allocations: 363.4 kB / 1.098 GB, free: 7.844 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001998/1.007, allocations: 1.644 MB / 1.1 GB, free: 6.055 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/1.008, allocations: 213.7 kB / 1.1 GB, free: 5.844 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001393/1.008, allocations: 83.89 kB / 1.1 GB, free: 5.762 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001655/1.01, allocations: 0.9412 MB / 1.101 GB, free: 4.816 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001275/1.011, allocations: 0.9384 MB / 1.102 GB, free: 3.715 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002144/1.014, allocations: 1.411 MB / 1.103 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.342e-06/1.014, allocations: 4 kB / 1.103 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of matching and sorting (n=200) (initialization_lambda0): time 0.003525/1.017, allocations: 1.772 MB / 1.105 GB, free: 388 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/1.017, allocations: 15.94 kB / 1.105 GB, free: 372 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/1.017, allocations: 8 kB / 1.105 GB, free: 364 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005363/1.018, allocations: 97.41 kB / 1.105 GB, free: 264 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/1.019, allocations: 355.4 kB / 1.105 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001927/1.021, allocations: 1.652 MB / 1.107 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/1.022, allocations: 159.5 kB / 1.107 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/1.023, allocations: 79.97 kB / 1.107 GB, free: 13.88 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 10 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,onOffCon.y,$PRE.onOffCon.y,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004275/1.023, allocations: 283.8 kB / 1.107 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000367/1.023, allocations: 225.2 kB / 1.108 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003669/1.027, allocations: 1.701 MB / 1.109 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002788/1.03, allocations: 1.463 MB / 1.111 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/1.03, allocations: 2.125 kB / 1.111 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007862/1.031, allocations: 489.6 kB / 1.111 GB, free: 9.637 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002694/1.031, allocations: 28 kB / 1.111 GB, free: 9.609 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/1.032, allocations: 95.36 kB / 1.111 GB, free: 9.52 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001796/1.032, allocations: 101.1 kB / 1.111 GB, free: 9.422 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003339/1.036, allocations: 1.533 MB / 1.113 GB, free: 7.879 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003768/1.039, allocations: 2.336 MB / 1.115 GB, free: 5.523 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001/1.04, allocations: 0.6193 MB / 1.116 GB, free: 4.902 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001764/1.042, allocations: 1.29 MB / 1.117 GB, free: 3.598 MB / 0.9044 GB Notification: Performance of Backend: time 3.11e-07/1.042, allocations: 0 / 1.117 GB, free: 3.598 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.007091/1.049, allocations: 3.171 MB / 1.12 GB, free: 0.6562 MB / 0.9044 GB Notification: Performance of SimCode: time 0.009089/1.058, allocations: 5.208 MB / 1.125 GB, free: 11.48 MB / 0.92 GB Notification: Performance of Templates: time 0.429/1.488, allocations: 55.15 MB / 1.179 GB, free: 294.4 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe 2>&1)