Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.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.FixedApproachWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 113.9 kB / 16.38 MB, free: 6.008 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.001309/0.001309, allocations: 187.4 kB / 17.31 MB, free: 5.621 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.343/1.343, allocations: 205.1 MB / 223.2 MB, free: 12.14 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.86/1.86, allocations: 292.3 MB / 0.5496 GB, free: 17.62 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.001489/0.001489, allocations: 63.91 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2026, allocations: 114.6 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb): time 0.4617/0.6643, allocations: 86.41 MB / 0.8692 GB, free: 6.641 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.1949/0.8593, allocations: 166.9 MB / 1.032 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004068/0.8634, allocations: 95.44 kB / 1.032 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.004127/0.8676, allocations: 1.273 MB / 1.034 GB, free: 11.23 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.009746/0.8774, allocations: 2.986 MB / 1.036 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.01181/0.8892, allocations: 4.194 MB / 1.041 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.008628/0.8979, allocations: 6.319 MB / 1.047 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004448/0.9023, allocations: 2.668 MB / 1.049 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005568/0.9079, allocations: 2.325 MB / 1.052 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003179/0.9111, allocations: 1.825 MB / 1.053 GB, free: 6.855 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0007965/0.9119, allocations: 276 kB / 1.054 GB, free: 6.586 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005129/0.917, allocations: 2.172 MB / 1.056 GB, free: 4.41 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001249/0.9183, allocations: 0.7865 MB / 1.057 GB, free: 3.621 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002589/0.9209, allocations: 1.524 MB / 1.058 GB, free: 2.09 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.008062/0.929, allocations: 4.864 MB / 1.063 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.929, allocations: 0 / 1.063 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.864e-06/0.929, allocations: 0 / 1.063 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001604/0.9292, allocations: 0 / 1.063 GB, free: 13.21 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.007239/0.9364, allocations: 3.424 MB / 1.066 GB, free: 9.715 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.9365, allocations: 8.75 kB / 1.066 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002238/0.9387, allocations: 476 kB / 1.067 GB, free: 9.238 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003919/0.9427, allocations: 2.228 MB / 1.069 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/0.9428, allocations: 155.8 kB / 1.069 GB, free: 6.789 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002764/0.9431, allocations: 192 kB / 1.069 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003538/0.9466, allocations: 2.106 MB / 1.071 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.41e-05/0.9467, allocations: 7.938 kB / 1.071 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001776/0.9469, allocations: 83.98 kB / 1.071 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-05/0.9469, allocations: 48 kB / 1.071 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003477/0.9504, allocations: 1.969 MB / 1.073 GB, free: 2.289 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.01119/0.9616, allocations: 8.193 MB / 1.081 GB, free: 9.754 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002397/0.964, allocations: 1.266 MB / 1.082 GB, free: 8.48 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001118/0.9652, allocations: 0.5948 MB / 1.083 GB, free: 7.883 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004753/0.9699, allocations: 3.082 MB / 1.086 GB, free: 4.645 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001385/0.9713, allocations: 0.7439 MB / 1.087 GB, free: 3.879 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=126): time 2.765e-06/0.9713, allocations: 0 / 1.087 GB, free: 3.879 MB / 0.8731 GB Notification: Performance of matching and sorting (n=126): time 0.004661/0.976, allocations: 1.855 MB / 1.089 GB, free: 2 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.9761, allocations: 252.3 kB / 1.089 GB, free: 1.699 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00244/0.9786, allocations: 1.916 MB / 1.091 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001374/0.9787, allocations: 65.69 kB / 1.091 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001365/0.9801, allocations: 1.113 MB / 1.092 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006548/0.9808, allocations: 433.8 kB / 1.092 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006484/0.9814, allocations: 339.2 kB / 1.093 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.9816, allocations: 305.1 kB / 1.093 GB, free: 13.49 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/0.9827, allocations: 0.5357 MB / 1.093 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00145/0.9842, allocations: 0.958 MB / 1.094 GB, free: 11.83 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002418/0.9866, allocations: 1.465 MB / 1.096 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/0.9867, allocations: 0 / 1.096 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004001/0.9907, allocations: 1.819 MB / 1.098 GB, free: 8.395 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.9907, allocations: 8 kB / 1.098 GB, free: 8.387 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.498e-05/0.9907, allocations: 19.97 kB / 1.098 GB, free: 8.367 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006276/0.9914, allocations: 93.12 kB / 1.098 GB, free: 8.273 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/0.9928, allocations: 363.4 kB / 1.098 GB, free: 7.918 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002056/0.9948, allocations: 1.648 MB / 1.1 GB, free: 6.125 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/0.9966, allocations: 200.2 kB / 1.1 GB, free: 5.926 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001502/0.9967, allocations: 83.95 kB / 1.1 GB, free: 5.844 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001771/0.9985, allocations: 0.9451 MB / 1.101 GB, free: 4.895 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001366/0.9999, allocations: 0.9345 MB / 1.102 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002277/1.002, allocations: 1.415 MB / 1.103 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.084e-06/1.002, allocations: 4 kB / 1.103 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of matching and sorting (n=200) (initialization_lambda0): time 0.003675/1.006, allocations: 1.772 MB / 1.105 GB, free: 468 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/1.006, allocations: 15.94 kB / 1.105 GB, free: 452 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.287e-05/1.006, allocations: 14.75 kB / 1.105 GB, free: 440 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005565/1.007, allocations: 97.36 kB / 1.105 GB, free: 340 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/1.008, allocations: 351.5 kB / 1.105 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001968/1.01, allocations: 1.651 MB / 1.107 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001599/1.011, allocations: 163.5 kB / 1.107 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/1.012, allocations: 79.95 kB / 1.107 GB, free: 13.95 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.0004028/1.012, allocations: 287.8 kB / 1.107 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003858/1.012, allocations: 225.2 kB / 1.108 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003764/1.016, allocations: 1.7 MB / 1.109 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00277/1.019, allocations: 1.467 MB / 1.111 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/1.019, allocations: 0 / 1.111 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009378/1.02, allocations: 481.7 kB / 1.111 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000306/1.02, allocations: 28 kB / 1.111 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/1.021, allocations: 98.84 kB / 1.111 GB, free: 9.59 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001984/1.022, allocations: 93.17 kB / 1.111 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003582/1.025, allocations: 1.533 MB / 1.113 GB, free: 7.957 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004203/1.029, allocations: 2.336 MB / 1.115 GB, free: 5.602 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001089/1.031, allocations: 0.6197 MB / 1.116 GB, free: 4.984 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002234/1.033, allocations: 1.294 MB / 1.117 GB, free: 3.676 MB / 0.9044 GB Notification: Performance of Backend: time 7.21e-07/1.033, allocations: 0 / 1.117 GB, free: 3.676 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00833/1.041, allocations: 3.171 MB / 1.12 GB, free: 0.7383 MB / 0.9044 GB Notification: Performance of SimCode: time 0.009637/1.051, allocations: 5.202 MB / 1.125 GB, free: 11.57 MB / 0.92 GB Notification: Performance of Templates: time 0.6034/1.654, allocations: 55.16 MB / 1.179 GB, free: 294.1 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe 2>&1)