Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000988/0.000988, allocations: 105.8 kB / 16.42 MB, free: 6.461 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.001059/0.001059, allocations: 189.9 kB / 17.36 MB, free: 5.73 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.151/1.151, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.2/1.2, allocations: 251.7 MB / 0.51 GB, free: 412 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.097e-05/1.098e-05, allocations: 2.281 kB / 0.7264 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.4438/0.4438, allocations: 175.9 MB / 0.8982 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01412/0.458, allocations: 12.48 MB / 0.9103 GB, free: 1.293 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008081/0.4588, allocations: 27.88 kB / 0.9104 GB, free: 1.266 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.4599, allocations: 444.7 kB / 0.9108 GB, free: 0.8281 MB / 0.6856 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 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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'. [/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.002137/0.462, allocations: 0.9242 MB / 0.9117 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003561/0.4656, allocations: 1.819 MB / 0.9135 GB, free: 14.1 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002134/0.4678, allocations: 2.439 MB / 0.9159 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001677/0.4694, allocations: 1.623 MB / 0.9174 GB, free: 9.988 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002884/0.4723, allocations: 1.387 MB / 0.9188 GB, free: 8.641 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000807/0.4731, allocations: 0.7779 MB / 0.9196 GB, free: 7.859 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001669/0.4733, allocations: 144 kB / 0.9197 GB, free: 7.719 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002099/0.4754, allocations: 1.283 MB / 0.9209 GB, free: 6.434 MB / 0.7012 GB Notification: Performance of combineBinaries: time 0.001568/0.477, allocations: 2.372 MB / 0.9233 GB, free: 4.035 MB / 0.7012 GB Notification: Performance of replaceArrayConstructors: time 0.0008015/0.4778, allocations: 1.494 MB / 0.9247 GB, free: 2.52 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0002792/0.4781, allocations: 259.2 kB / 0.925 GB, free: 2.266 MB / 0.7012 GB Notification: Performance of FrontEnd: time 0.0002826/0.4784, allocations: 71.5 kB / 0.925 GB, free: 2.195 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 (303) * Number of variables: 332 (297) Notification: Performance of Bindings: time 0.005476/0.4839, allocations: 6.73 MB / 0.9316 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of FunctionAlias: time 0.00076/0.4846, allocations: 0.9077 MB / 0.9325 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of Early Inline: time 0.003623/0.4883, allocations: 4.086 MB / 0.9365 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of simplify1: time 0.0002803/0.4886, allocations: 315.6 kB / 0.9368 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of Alias: time 0.006323/0.4949, allocations: 6.624 MB / 0.9433 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of simplify2: time 0.0002065/0.4951, allocations: 227.7 kB / 0.9435 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of Events: time 0.0006522/0.4958, allocations: 0.6225 MB / 0.9441 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of Detect States: time 0.0006796/0.4965, allocations: 0.7384 MB / 0.9448 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of Partitioning: time 0.0009886/0.4975, allocations: 1.073 MB / 0.9458 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of Causalize: time 0.005877/0.5033, allocations: 6.559 MB / 0.9523 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of After Index Reduction Inline: time 0.002009/0.5054, allocations: 2.329 MB / 0.9545 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of Inline: time 0.004915/0.5103, allocations: 5.335 MB / 0.9597 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of Partitioning: time 0.0002129/0.5105, allocations: 203.6 kB / 0.9599 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of Cleanup: time 0.0002016/0.5107, allocations: 227.6 kB / 0.9602 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of Causalize: time 0.007527/0.5183, allocations: 9.216 MB / 0.9691 GB, free: 4.445 MB / 0.7481 GB Notification: Performance of Tearing: time 0.0002976/0.5186, allocations: 326.1 kB / 0.9695 GB, free: 4.078 MB / 0.7481 GB Notification: Performance of Initialization: time 1.723e-06/0.5186, allocations: 4 kB / 0.9695 GB, free: 4.074 MB / 0.7481 GB Notification: Performance of Tearing: time 0.0002254/0.5188, allocations: 330.2 kB / 0.9698 GB, free: 3.703 MB / 0.7481 GB Notification: Performance of Categorize: time 2.691e-05/0.5188, allocations: 15.94 kB / 0.9698 GB, free: 3.688 MB / 0.7481 GB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: min