Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.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.Merkel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 109.3 kB / 16.38 MB, free: 6.484 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.001195/0.001195, allocations: 190.7 kB / 17.32 MB, free: 5.82 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.327/1.327, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.791/1.791, allocations: 292.3 MB / 0.5496 GB, free: 17.44 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.001677/0.001677, allocations: 64.47 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2225, allocations: 114.6 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel): time 0.6122/0.8347, allocations: 235.4 MB / 1.015 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.03899/0.8738, allocations: 26.87 MB / 1.041 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00347/0.8773, allocations: 99.44 kB / 1.041 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.004024/0.8814, allocations: 1.432 MB / 1.042 GB, free: 2.062 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.01293/0.8943, allocations: 4.061 MB / 1.046 GB, free: 14 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.01095/0.9053, allocations: 4.355 MB / 1.051 GB, free: 9.691 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.009459/0.9147, allocations: 6.992 MB / 1.057 GB, free: 2.672 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005047/0.9198, allocations: 3.007 MB / 1.06 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005969/0.9258, allocations: 2.552 MB / 1.063 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003951/0.9298, allocations: 2.065 MB / 1.065 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001036/0.9308, allocations: 332 kB / 1.065 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007588/0.9384, allocations: 3.381 MB / 1.069 GB, free: 7.273 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001218/0.9397, allocations: 0.9344 MB / 1.069 GB, free: 6.336 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002655/0.9423, allocations: 1.788 MB / 1.071 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.008971/0.9513, allocations: 6.161 MB / 1.077 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.9513, allocations: 0 / 1.077 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.166e-06/0.9513, allocations: 0 / 1.077 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001444/0.9515, allocations: 3.938 kB / 1.077 GB, free: 14.36 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 552 * Number of variables: 552 Notification: Performance of Generate backend data structure: time 0.008109/0.9596, allocations: 4.059 MB / 1.081 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.9596, allocations: 12.75 kB / 1.081 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002677/0.9623, allocations: 0.5929 MB / 1.082 GB, free: 9.605 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003898/0.9662, allocations: 2.559 MB / 1.084 GB, free: 6.973 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/0.9664, allocations: 172.3 kB / 1.084 GB, free: 6.801 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002908/0.9667, allocations: 224 kB / 1.085 GB, free: 6.582 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003858/0.9705, allocations: 2.455 MB / 1.087 GB, free: 3.977 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.946e-05/0.9706, allocations: 11.91 kB / 1.087 GB, free: 3.965 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001799/0.9708, allocations: 95.98 kB / 1.087 GB, free: 3.871 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.737e-05/0.9708, allocations: 56 kB / 1.087 GB, free: 3.816 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004024/0.9748, allocations: 2.338 MB / 1.089 GB, free: 1.461 MB / 0.8731 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.01224/0.9871, allocations: 9.387 MB / 1.099 GB, free: 7.719 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003332/0.9904, allocations: 1.761 MB / 1.1 GB, free: 5.949 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001486/0.9919, allocations: 0.7998 MB / 1.101 GB, free: 5.148 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008142/1, allocations: 5.739 MB / 1.107 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001928/1.002, allocations: 0.9544 MB / 1.108 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=156): time 4.218e-06/1.002, allocations: 0 / 1.108 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of matching and sorting (n=156): time 0.009206/1.011, allocations: 2.904 MB / 1.11 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/1.011, allocations: 274.3 kB / 1.111 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003984/1.015, allocations: 2.385 MB / 1.113 GB, free: 8.145 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001982/1.016, allocations: 61.7 kB / 1.113 GB, free: 8.078 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001433/1.017, allocations: 1.291 MB / 1.114 GB, free: 6.773 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006391/1.018, allocations: 0.5315 MB / 1.115 GB, free: 6.234 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007599/1.018, allocations: 415.1 kB / 1.115 GB, free: 5.824 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001183/1.019, allocations: 309.1 kB / 1.116 GB, free: 5.52 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001631/1.02, allocations: 0.7309 MB / 1.116 GB, free: 4.785 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00203/1.022, allocations: 1.286 MB / 1.118 GB, free: 3.305 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00334/1.026, allocations: 1.886 MB / 1.119 GB, free: 1.27 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-05/1.026, allocations: 4 kB / 1.119 GB, free: 1.266 MB / 0.9044 GB Notification: Performance of matching and sorting (n=248) (initialization): time 0.006503/1.032, allocations: 2.547 MB / 1.122 GB, free: 14.7 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.593e-05/1.032, allocations: 11.98 kB / 1.122 GB, free: 14.68 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.63e-05/1.032, allocations: 12 kB / 1.122 GB, free: 14.67 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376/2.408, allocations: 146.2 MB / 1.265 GB, free: 216.4 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00171/2.41, allocations: 431.1 kB / 1.265 GB, free: 216 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002674/2.413, allocations: 2.917 MB / 1.268 GB, free: 213.2 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002272/2.415, allocations: 254.4 kB / 1.268 GB, free: 213.1 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003034/2.416, allocations: 98.08 kB / 1.268 GB, free: 213 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002239/2.418, allocations: 1.187 MB / 1.269 GB, free: 212.3 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001578/2.419, allocations: 1.262 MB / 1.271 GB, free: 211.1 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002734/2.422, allocations: 1.807 MB / 1.272 GB, free: 209.8 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.133e-05/2.422, allocations: 4 kB / 1.272 GB, free: 209.8 MB / 0.92 GB Notification: Performance of matching and sorting (n=248) (initialization_lambda0): time 0.005674/2.428, allocations: 2.481 MB / 1.275 GB, free: 208.1 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/2.428, allocations: 8 kB / 1.275 GB, free: 208.1 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-05/2.428, allocations: 12 kB / 1.275 GB, free: 208.1 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9919/3.42, allocations: 146.2 MB / 1.418 GB, free: 61.76 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00174/3.422, allocations: 418.8 kB / 1.418 GB, free: 61.39 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002824/3.424, allocations: 2.917 MB / 1.421 GB, free: 58.32 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002597/3.427, allocations: 223.3 kB / 1.421 GB, free: 58.17 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003307/3.427, allocations: 91.97 kB / 1.421 GB, free: 58.08 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 11 (conFan.con1.y,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 (236): * Single equations (assignments): 230 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,6), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005791/3.428, allocations: 311.1 kB / 1.422 GB, free: 57.8 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000844/3.429, allocations: 270.8 kB / 1.422 GB, free: 57.68 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005872/3.435, allocations: 2.225 MB / 1.424 GB, free: 55.47 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003526/3.438, allocations: 1.905 MB / 1.426 GB, free: 53.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/3.438, allocations: 4 kB / 1.426 GB, free: 53.5 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001231/3.44, allocations: 0.5617 MB / 1.426 GB, free: 52.94 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007157/3.44, allocations: 32 kB / 1.426 GB, free: 52.91 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001855/3.442, allocations: 118.8 kB / 1.427 GB, free: 52.8 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000217/3.442, allocations: 117.8 kB / 1.427 GB, free: 52.68 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005276/3.448, allocations: 2.137 MB / 1.429 GB, free: 50.57 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005037/3.453, allocations: 2.99 MB / 1.432 GB, free: 47.56 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001254/3.454, allocations: 0.8051 MB / 1.432 GB, free: 46.76 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002537/3.457, allocations: 1.602 MB / 1.434 GB, free: 45.16 MB / 0.92 GB Notification: Performance of Backend: time 5.11e-07/3.457, allocations: 4 kB / 1.434 GB, free: 45.15 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01053/3.467, allocations: 4.056 MB / 1.438 GB, free: 41.7 MB / 0.92 GB Notification: Performance of SimCode: time 0.00998/3.477, allocations: 6.059 MB / 1.444 GB, free: 35.75 MB / 0.92 GB Notification: Performance of Templates: time 0.6096/4.087, allocations: 67.81 MB / 1.51 GB, free: 310.8 MB / 0.9356 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe 2>&1)