Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001935/0.001935, allocations: 104.7 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.001873/0.001874, allocations: 192.2 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.639/1.639, 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.504/1.504, allocations: 251.7 MB / 0.51 GB, free: 408 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.691e-05/2.692e-05, allocations: 2.281 kB / 0.7264 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005837/0.005872, allocations: 4.052 MB / 0.7303 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.6347/0.6406, allocations: 150.2 MB / 0.877 GB, free: 3.332 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000942/0.6416, allocations: 15.94 kB / 0.877 GB, free: 3.316 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000588/0.6422, allocations: 166.5 kB / 0.8772 GB, free: 3.152 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 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.001505/0.6438, allocations: 414.2 kB / 0.8775 GB, free: 2.766 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00183/0.6456, allocations: 0.7534 MB / 0.8783 GB, free: 2.039 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001004/0.6466, allocations: 1.097 MB / 0.8794 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007684/0.6474, allocations: 0.6137 MB / 0.88 GB, free: 320 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004411/0.6478, allocations: 376.6 kB / 0.8803 GB, free: 15.95 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004051/0.6483, allocations: 382.1 kB / 0.8807 GB, free: 15.57 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.6484, allocations: 84 kB / 0.8808 GB, free: 15.49 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006714/0.649, allocations: 368.8 kB / 0.8811 GB, free: 15.14 MB / 0.67 GB Notification: Performance of combineBinaries: time 0.001035/0.6501, allocations: 1.313 MB / 0.8824 GB, free: 13.81 MB / 0.67 GB Notification: Performance of replaceArrayConstructors: time 0.0005989/0.6507, allocations: 0.8235 MB / 0.8832 GB, free: 12.97 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001623/0.6509, allocations: 139.5 kB / 0.8833 GB, free: 12.84 MB / 0.67 GB Notification: Performance of FrontEnd: time 0.0002061/0.6511, allocations: 51.62 kB / 0.8834 GB, free: 12.79 MB / 0.67 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.00347/0.6546, allocations: 3.769 MB / 0.8871 GB, free: 8.871 MB / 0.67 GB Notification: Performance of FunctionAlias: time 0.0003704/0.6549, allocations: 324.7 kB / 0.8874 GB, free: 8.551 MB / 0.67 GB Notification: Performance of Early Inline: time 0.002108/0.6571, allocations: 2.069 MB / 0.8894 GB, free: 6.441 MB / 0.67 GB Notification: Performance of simplify1: time 0.000173/0.6572, allocations: 163.7 kB / 0.8895 GB, free: 6.281 MB / 0.67 GB Notification: Performance of Alias: time 0.004823/0.6621, allocations: 3.969 MB / 0.8934 GB, free: 1.988 MB / 0.67 GB Notification: Performance of simplify2: time 0.0001264/0.6622, allocations: 103.9 kB / 0.8935 GB, free: 1.887 MB / 0.67 GB Notification: Performance of Events: time 0.0003545/0.6626, allocations: 266.1 kB / 0.8938 GB, free: 1.629 MB / 0.67 GB Notification: Performance of Detect States: time 0.0004903/0.6631, allocations: 376.7 kB / 0.8941 GB, free: 1.246 MB / 0.67 GB Notification: Performance of Partitioning: time 0.0006233/0.6637, allocations: 0.5189 MB / 0.8946 GB, free: 0.625 MB / 0.67 GB Notification: Performance of Causalize: time 0.003158/0.6669, allocations: 2.745 MB / 0.8973 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of After Index Reduction Inline: time 0.001301/0.6682, allocations: 1.084 MB / 0.8984 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of Inline: time 0.003001/0.6712, allocations: 2.505 MB / 0.9008 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of Partitioning: time 0.0001691/0.6714, allocations: 127.5 kB / 0.9009 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of Cleanup: time 0.0001287/0.6715, allocations: 99.77 kB / 0.901 GB, free: 9.938 MB / 0.6856 GB Notification: Performance of Causalize: time 0.005204/0.6767, allocations: 4.701 MB / 0.9056 GB, free: 5.43 MB / 0.6856 GB Notification: Performance of Tearing: time 0.0004701/0.6772, allocations: 334.1 kB / 0.9059 GB, free: 5.055 MB / 0.6856 GB Notification: Performance of Initialization: time 9.12e-07/0.6772, allocations: 0 / 0.9059 GB, free: 5.055 MB / 0.6856 GB Notification: Performance of Tearing: time 0.0003314/0.6776, allocations: 330.2 kB / 0.9063 GB, free: 4.684 MB / 0.6856 GB Notification: Performance of Categorize: time 3.807e-05/0.6776, allocations: 7.938 kB / 0.9063 GB, free: 4.676 MB / 0.6856 GB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: min