Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.00126, allocations: 106.6 kB / 16.37 MB, free: 6.32 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.001288/0.001288, allocations: 189.5 kB / 17.3 MB, free: 5.891 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.39/1.39, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.749/1.749, allocations: 292.3 MB / 0.5496 GB, free: 17.54 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.84e-05/2.853e-05, allocations: 6.219 kB / 0.6728 GB, free: 5.871 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005874/0.005918, allocations: 4.091 MB / 0.6768 GB, free: 1.75 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.4944/0.5004, allocations: 150.2 MB / 0.8235 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007616/0.5012, allocations: 19.28 kB / 0.8235 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005177/0.5017, allocations: 164.8 kB / 0.8237 GB, free: 43.9 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.001383/0.5031, allocations: 412.4 kB / 0.8241 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00193/0.505, allocations: 0.7663 MB / 0.8248 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001296/0.5063, allocations: 1.11 MB / 0.8259 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008671/0.5072, allocations: 0.6319 MB / 0.8265 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005899/0.5078, allocations: 386.8 kB / 0.8269 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004865/0.5083, allocations: 391.1 kB / 0.8273 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001261/0.5084, allocations: 89.45 kB / 0.8273 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007802/0.5092, allocations: 376.2 kB / 0.8277 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of combineBinaries: time 0.0008504/0.5101, allocations: 1.33 MB / 0.829 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of replaceArrayConstructors: time 0.0003696/0.5105, allocations: 0.8341 MB / 0.8298 GB, free: 42.22 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001606/0.5106, allocations: 148 kB / 0.83 GB, free: 42.18 MB / 0.6544 GB Notification: Performance of FrontEnd: time 0.0001778/0.5108, allocations: 50.7 kB / 0.83 GB, free: 42.16 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: 193 (166) * Number of variables: 193 (166) Notification: Performance of Bindings: time 0.002779/0.5136, allocations: 3.854 MB / 0.8338 GB, free: 40.53 MB / 0.6544 GB Notification: Performance of FunctionAlias: time 0.0003614/0.514, allocations: 384.4 kB / 0.8341 GB, free: 40.46 MB / 0.6544 GB Notification: Performance of Early Inline: time 0.001796/0.5158, allocations: 2.156 MB / 0.8362 GB, free: 40.3 MB / 0.6544 GB Notification: Performance of simplify1: time 0.0001484/0.5159, allocations: 164.6 kB / 0.8364 GB, free: 40.29 MB / 0.6544 GB Notification: Performance of Alias: time 0.003867/0.5198, allocations: 4.069 MB / 0.8404 GB, free: 39.06 MB / 0.6544 GB Notification: Performance of simplify2: time 0.000117/0.5199, allocations: 104.6 kB / 0.8405 GB, free: 39.05 MB / 0.6544 GB Notification: Performance of Events: time 0.0003024/0.5203, allocations: 276.3 kB / 0.8407 GB, free: 39 MB / 0.6544 GB Notification: Performance of Detect States: time 0.000375/0.5206, allocations: 394.1 kB / 0.8411 GB, free: 38.95 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.0005002/0.5211, allocations: 0.564 MB / 0.8417 GB, free: 38.68 MB / 0.6544 GB Notification: Performance of Causalize: time 0.002717/0.5239, allocations: 2.916 MB / 0.8445 GB, free: 38.14 MB / 0.6544 GB Notification: Performance of After Index Reduction Inline: time 0.001063/0.5249, allocations: 1.154 MB / 0.8456 GB, free: 38.02 MB / 0.6544 GB Notification: Performance of Inline: time 0.002324/0.5273, allocations: 2.551 MB / 0.8481 GB, free: 37.2 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.0001284/0.5274, allocations: 126.7 kB / 0.8482 GB, free: 37.11 MB / 0.6544 GB Notification: Performance of Cleanup: time 0.0001024/0.5275, allocations: 105.5 kB / 0.8483 GB, free: 37.06 MB / 0.6544 GB Notification: Performance of Causalize: time 0.003788/0.5313, allocations: 4.953 MB / 0.8532 GB, free: 34.92 MB / 0.6544 GB Notification: Performance of Tearing: time 0.0002525/0.5316, allocations: 336 kB / 0.8535 GB, free: 34.65 MB / 0.6544 GB Notification: Performance of Initialization: time 1.914e-06/0.5316, allocations: 2.812 kB / 0.8535 GB, free: 34.65 MB / 0.6544 GB Notification: Performance of Tearing: time 0.0001743/0.5318, allocations: 338.3 kB / 0.8538 GB, free: 34.38 MB / 0.6544 GB Notification: Performance of Categorize: time 2.413e-05/0.5318, allocations: 3 kB / 0.8538 GB, free: 34.38 MB / 0.6544 GB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: min