Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 99.95 kB / 16.38 MB, free: 6.438 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.001193/0.001193, allocations: 188.2 kB / 17.31 MB, free: 5.789 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.406/1.406, allocations: 205.1 MB / 223.2 MB, free: 12.11 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.734/1.734, allocations: 292.3 MB / 0.5496 GB, free: 17.47 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.21e-05/3.239e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.945 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006328/0.006376, allocations: 4.153 MB / 0.6769 GB, free: 1.766 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.4565/0.4629, allocations: 150.2 MB / 0.8236 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006021/0.4635, allocations: 15.62 kB / 0.8236 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005687/0.4641, allocations: 166.2 kB / 0.8238 GB, free: 43.68 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.001494/0.4656, allocations: 421.9 kB / 0.8242 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001714/0.4673, allocations: 0.7733 MB / 0.8249 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001355/0.4687, allocations: 1.14 MB / 0.826 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007803/0.4695, allocations: 0.6242 MB / 0.8266 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000503/0.47, allocations: 398.8 kB / 0.827 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004025/0.4704, allocations: 396.4 kB / 0.8274 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001202/0.4705, allocations: 86.78 kB / 0.8275 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006565/0.4712, allocations: 376.7 kB / 0.8278 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of combineBinaries: time 0.0007001/0.4719, allocations: 1.36 MB / 0.8292 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of replaceArrayConstructors: time 0.0003391/0.4722, allocations: 0.8529 MB / 0.83 GB, free: 41.96 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.4724, allocations: 150.8 kB / 0.8301 GB, free: 41.92 MB / 0.6544 GB Notification: Performance of FrontEnd: time 0.0001481/0.4725, allocations: 41.5 kB / 0.8302 GB, free: 41.9 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: 198 (171) * Number of variables: 198 (171) Notification: Performance of Bindings: time 0.002489/0.475, allocations: 3.897 MB / 0.834 GB, free: 40.24 MB / 0.6544 GB Notification: Performance of FunctionAlias: time 0.0003398/0.4754, allocations: 392.2 kB / 0.8344 GB, free: 40.17 MB / 0.6544 GB Notification: Performance of Early Inline: time 0.001747/0.4771, allocations: 2.187 MB / 0.8365 GB, free: 40.01 MB / 0.6544 GB Notification: Performance of simplify1: time 0.0001462/0.4773, allocations: 165.9 kB / 0.8367 GB, free: 40 MB / 0.6544 GB Notification: Performance of Alias: time 0.003735/0.481, allocations: 4.142 MB / 0.8407 GB, free: 38.72 MB / 0.6544 GB Notification: Performance of simplify2: time 0.0001079/0.4812, allocations: 105 kB / 0.8408 GB, free: 38.72 MB / 0.6544 GB Notification: Performance of Events: time 0.0002819/0.4814, allocations: 271.4 kB / 0.8411 GB, free: 38.66 MB / 0.6544 GB Notification: Performance of Detect States: time 0.0003271/0.4818, allocations: 393.9 kB / 0.8414 GB, free: 38.61 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.0004663/0.4823, allocations: 0.5502 MB / 0.842 GB, free: 38.36 MB / 0.6544 GB Notification: Performance of Causalize: time 0.002469/0.4847, allocations: 2.893 MB / 0.8448 GB, free: 37.82 MB / 0.6544 GB Notification: Performance of After Index Reduction Inline: time 0.000947/0.4857, allocations: 1.148 MB / 0.8459 GB, free: 37.69 MB / 0.6544 GB Notification: Performance of Inline: time 0.002151/0.4878, allocations: 2.513 MB / 0.8484 GB, free: 37.04 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.0001292/0.488, allocations: 123 kB / 0.8485 GB, free: 36.95 MB / 0.6544 GB Notification: Performance of Cleanup: time 9.163e-05/0.4881, allocations: 107.5 kB / 0.8486 GB, free: 36.9 MB / 0.6544 GB Notification: Performance of Causalize: time 0.003535/0.4916, allocations: 4.874 MB / 0.8533 GB, free: 34.81 MB / 0.6544 GB Notification: Performance of Tearing: time 0.0002278/0.4919, allocations: 332.6 kB / 0.8537 GB, free: 34.54 MB / 0.6544 GB Notification: Performance of Initialization: time 7.71e-07/0.4919, allocations: 0 / 0.8537 GB, free: 34.54 MB / 0.6544 GB Notification: Performance of Tearing: time 0.0001661/0.492, allocations: 333.4 kB / 0.854 GB, free: 34.28 MB / 0.6544 GB Notification: Performance of Categorize: time 2.659e-05/0.4921, allocations: 17.41 kB / 0.854 GB, free: 34.27 MB / 0.6544 GB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: min