Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 104 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.001424/0.001424, allocations: 195.4 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.425/1.425, 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.719/1.719, allocations: 292.3 MB / 0.5496 GB, free: 17.59 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.689e-05/2.697e-05, allocations: 2.281 kB / 0.6728 GB, free: 5.934 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006265/0.006304, allocations: 4.045 MB / 0.6768 GB, free: 1.859 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.6356/0.6419, allocations: 150.2 MB / 0.8234 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009497/0.6429, allocations: 19.75 kB / 0.8235 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006076/0.6435, allocations: 159.1 kB / 0.8236 GB, free: 43.96 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.001704/0.6452, allocations: 414.7 kB / 0.824 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002291/0.6475, allocations: 0.7535 MB / 0.8247 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001831/0.6494, allocations: 1.093 MB / 0.8258 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001065/0.6505, allocations: 0.6141 MB / 0.8264 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007685/0.6512, allocations: 381.9 kB / 0.8268 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005418/0.6518, allocations: 377.7 kB / 0.8271 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001457/0.6519, allocations: 84.66 kB / 0.8272 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009913/0.6529, allocations: 375.3 kB / 0.8276 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of combineBinaries: time 0.001027/0.654, allocations: 1.31 MB / 0.8289 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of replaceArrayConstructors: time 0.0004582/0.6544, allocations: 0.8208 MB / 0.8297 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002081/0.6547, allocations: 143.7 kB / 0.8298 GB, free: 42.27 MB / 0.6544 GB Notification: Performance of FrontEnd: time 0.0002403/0.6549, allocations: 45.94 kB / 0.8298 GB, free: 42.25 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: 191 (164) * Number of variables: 191 (164) Notification: Performance of Bindings: time 0.003344/0.6583, allocations: 3.769 MB / 0.8335 GB, free: 40.64 MB / 0.6544 GB Notification: Performance of FunctionAlias: time 0.0003713/0.6586, allocations: 330.3 kB / 0.8338 GB, free: 40.59 MB / 0.6544 GB Notification: Performance of Early Inline: time 0.002058/0.6607, allocations: 2.068 MB / 0.8359 GB, free: 40.42 MB / 0.6544 GB Notification: Performance of simplify1: time 0.0002186/0.6609, allocations: 155.6 kB / 0.836 GB, free: 40.42 MB / 0.6544 GB Notification: Performance of Alias: time 0.005084/0.666, allocations: 3.969 MB / 0.8399 GB, free: 39.21 MB / 0.6544 GB Notification: Performance of simplify2: time 0.0001633/0.6662, allocations: 100.8 kB / 0.84 GB, free: 39.21 MB / 0.6544 GB Notification: Performance of Events: time 0.0003793/0.6666, allocations: 273.8 kB / 0.8402 GB, free: 39.14 MB / 0.6544 GB Notification: Performance of Detect States: time 0.0004331/0.667, allocations: 373 kB / 0.8406 GB, free: 39.09 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.0005825/0.6676, allocations: 0.5205 MB / 0.8411 GB, free: 38.84 MB / 0.6544 GB Notification: Performance of Causalize: time 0.003294/0.6709, allocations: 2.737 MB / 0.8438 GB, free: 38.31 MB / 0.6544 GB Notification: Performance of After Index Reduction Inline: time 0.001237/0.6722, allocations: 1.077 MB / 0.8448 GB, free: 38.2 MB / 0.6544 GB Notification: Performance of Inline: time 0.002768/0.675, allocations: 2.399 MB / 0.8472 GB, free: 37.87 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.0001466/0.6751, allocations: 120.3 kB / 0.8473 GB, free: 37.8 MB / 0.6544 GB Notification: Performance of Cleanup: time 0.0001085/0.6752, allocations: 94.64 kB / 0.8474 GB, free: 37.75 MB / 0.6544 GB Notification: Performance of Causalize: time 0.00447/0.6797, allocations: 4.671 MB / 0.8519 GB, free: 35.77 MB / 0.6544 GB Notification: Performance of Tearing: time 0.0002779/0.68, allocations: 340.8 kB / 0.8523 GB, free: 35.49 MB / 0.6544 GB Notification: Performance of Initialization: time 1.563e-06/0.68, allocations: 2.875 kB / 0.8523 GB, free: 35.49 MB / 0.6544 GB Notification: Performance of Tearing: time 0.0002123/0.6802, allocations: 342 kB / 0.8526 GB, free: 35.21 MB / 0.6544 GB Notification: Performance of Categorize: time 2.758e-05/0.6803, allocations: 7.031 kB / 0.8526 GB, free: 35.21 MB / 0.6544 GB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: min