Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 99.97 kB / 16.37 MB, free: 6.367 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.001222/0.001222, allocations: 195.3 kB / 17.31 MB, free: 5.91 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.438/1.438, allocations: 205.1 MB / 223.2 MB, free: 12.3 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.786/1.786, allocations: 292.3 MB / 0.5496 GB, free: 17.59 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.35e-05/2.353e-05, allocations: 2.281 kB / 0.6728 GB, free: 5.918 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005547/0.005586, allocations: 4.142 MB / 0.6769 GB, free: 1.746 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.5041/0.5098, allocations: 150.2 MB / 0.8236 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006358/0.5104, allocations: 15.91 kB / 0.8236 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005142/0.511, allocations: 166.5 kB / 0.8237 GB, free: 43.81 MB / 0.6544 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.001338/0.5123, allocations: 426.8 kB / 0.8241 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001685/0.514, allocations: 0.7637 MB / 0.8249 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001338/0.5153, allocations: 1.136 MB / 0.826 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009074/0.5163, allocations: 0.63 MB / 0.8266 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006632/0.5169, allocations: 395.6 kB / 0.827 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004453/0.5174, allocations: 394.8 kB / 0.8274 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001234/0.5175, allocations: 89.5 kB / 0.8275 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006623/0.5182, allocations: 376.9 kB / 0.8278 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of combineBinaries: time 0.0007132/0.5189, allocations: 1.351 MB / 0.8291 GB, free: 42.69 MB / 0.6544 GB Notification: Performance of replaceArrayConstructors: time 0.0003033/0.5192, allocations: 0.8429 MB / 0.83 GB, free: 42.1 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001574/0.5194, allocations: 149.7 kB / 0.8301 GB, free: 42.07 MB / 0.6544 GB Notification: Performance of FrontEnd: time 0.0001474/0.5195, allocations: 46.34 kB / 0.8301 GB, free: 42.05 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 (170) * Number of variables: 197 (170) Notification: Performance of Bindings: time 0.00259/0.5221, allocations: 3.916 MB / 0.834 GB, free: 40.39 MB / 0.6544 GB Notification: Performance of FunctionAlias: time 0.0003365/0.5225, allocations: 390 kB / 0.8343 GB, free: 40.32 MB / 0.6544 GB Notification: Performance of Early Inline: time 0.001718/0.5242, allocations: 2.249 MB / 0.8365 GB, free: 40.16 MB / 0.6544 GB Notification: Performance of simplify1: time 0.0001542/0.5244, allocations: 173.2 kB / 0.8367 GB, free: 40.15 MB / 0.6544 GB Notification: Performance of Alias: time 0.003722/0.5281, allocations: 4.161 MB / 0.8408 GB, free: 38.89 MB / 0.6544 GB Notification: Performance of simplify2: time 0.0001227/0.5282, allocations: 113.2 kB / 0.8409 GB, free: 38.88 MB / 0.6544 GB Notification: Performance of Events: time 0.0003045/0.5285, allocations: 288 kB / 0.8411 GB, free: 38.82 MB / 0.6544 GB Notification: Performance of Detect States: time 0.0004929/0.5291, allocations: 423.1 kB / 0.8416 GB, free: 38.77 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.000493/0.5296, allocations: 0.5738 MB / 0.8421 GB, free: 38.52 MB / 0.6544 GB Notification: Performance of Causalize: time 0.002724/0.5323, allocations: 3.075 MB / 0.8451 GB, free: 37.95 MB / 0.6544 GB Notification: Performance of After Index Reduction Inline: time 0.001018/0.5333, allocations: 1.216 MB / 0.8463 GB, free: 37.83 MB / 0.6544 GB Notification: Performance of Inline: time 0.002256/0.5356, allocations: 2.643 MB / 0.8489 GB, free: 36.85 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.0001355/0.5357, allocations: 132 kB / 0.849 GB, free: 36.76 MB / 0.6544 GB Notification: Performance of Cleanup: time 0.0001004/0.5358, allocations: 112.4 kB / 0.8491 GB, free: 36.7 MB / 0.6544 GB Notification: Performance of Causalize: time 0.003699/0.5395, allocations: 5.138 MB / 0.8541 GB, free: 34.5 MB / 0.6544 GB Notification: Performance of Tearing: time 0.0002267/0.5398, allocations: 330.5 kB / 0.8544 GB, free: 34.23 MB / 0.6544 GB Notification: Performance of Initialization: time 6.21e-07/0.5398, allocations: 0 / 0.8544 GB, free: 34.23 MB / 0.6544 GB Notification: Performance of Tearing: time 0.0001619/0.54, allocations: 338 kB / 0.8548 GB, free: 33.96 MB / 0.6544 GB Notification: Performance of Categorize: time 2.301e-05/0.54, allocations: 10.22 kB / 0.8548 GB, free: 33.96 MB / 0.6544 GB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: min