Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 103.1 kB / 16.38 MB, free: 6.441 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.00111/0.00111, 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.368/1.368, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.727/1.727, allocations: 292.3 MB / 0.5496 GB, free: 17.59 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.272e-05/2.274e-05, allocations: 2.281 kB / 0.6728 GB, free: 5.883 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.009835/0.009875, allocations: 6.068 MB / 0.6788 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4833/0.4933, allocations: 151.1 MB / 0.8264 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00113/0.4944, allocations: 23.97 kB / 0.8264 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007367/0.4952, allocations: 241.7 kB / 0.8266 GB, free: 43.57 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.00191/0.4971, allocations: 0.57 MB / 0.8272 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002657/0.4998, allocations: 1.244 MB / 0.8284 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00281/0.5026, allocations: 2.423 MB / 0.8308 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001968/0.5046, allocations: 1.588 MB / 0.8323 GB, free: 42.69 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001775/0.5063, allocations: 0.9859 MB / 0.8333 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001248/0.5076, allocations: 1.103 MB / 0.8343 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004251/0.508, allocations: 273.3 kB / 0.8346 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001343/0.5094, allocations: 0.5742 MB / 0.8352 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of combineBinaries: time 0.002234/0.5116, allocations: 3.332 MB / 0.8384 GB, free: 40.64 MB / 0.6544 GB Notification: Performance of replaceArrayConstructors: time 0.001202/0.5128, allocations: 1.996 MB / 0.8404 GB, free: 39.24 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0008177/0.5137, allocations: 352.1 kB / 0.8407 GB, free: 39.17 MB / 0.6544 GB Notification: Performance of FrontEnd: time 0.0004444/0.5141, allocations: 95.05 kB / 0.8408 GB, free: 39.12 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: 534 (507) * Number of variables: 534 (507) Notification: Performance of Bindings: time 0.00929/0.5234, allocations: 10.24 MB / 0.8508 GB, free: 35.24 MB / 0.6544 GB Notification: Performance of FunctionAlias: time 0.001892/0.5253, allocations: 2.063 MB / 0.8528 GB, free: 34.41 MB / 0.6544 GB Notification: Performance of Early Inline: time 0.008239/0.5336, allocations: 9.721 MB / 0.8623 GB, free: 28.83 MB / 0.6544 GB Notification: Performance of simplify1: time 0.001051/0.5347, allocations: 0.7973 MB / 0.8631 GB, free: 28.55 MB / 0.6544 GB Notification: Performance of Alias: time 0.0139/0.5486, allocations: 12.58 MB / 0.8754 GB, free: 21.36 MB / 0.6544 GB Notification: Performance of simplify2: time 0.001114/0.5497, allocations: 0.5985 MB / 0.8759 GB, free: 21.21 MB / 0.6544 GB Notification: Performance of Events: time 0.001958/0.5517, allocations: 1.668 MB / 0.8776 GB, free: 20.23 MB / 0.6544 GB Notification: Performance of Detect States: time 0.001349/0.553, allocations: 1.549 MB / 0.8791 GB, free: 19.11 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.002443/0.5555, allocations: 2.097 MB / 0.8811 GB, free: 17.84 MB / 0.6544 GB Notification: Performance of Causalize: time 0.01219/0.5677, allocations: 14.27 MB / 0.8951 GB, free: 9.547 MB / 0.6544 GB Notification: Performance of After Index Reduction Inline: time 0.004153/0.5719, allocations: 5.293 MB / 0.9002 GB, free: 4.242 MB / 0.6544 GB Notification: Performance of Inline: time 0.01061/0.5825, allocations: 10 MB / 0.91 GB, free: 10.29 MB / 0.67 GB Notification: Performance of Partitioning: time 0.0006397/0.5832, allocations: 348.1 kB / 0.9103 GB, free: 9.918 MB / 0.67 GB Notification: Performance of Cleanup: time 0.0008359/0.5841, allocations: 487.1 kB / 0.9108 GB, free: 9.453 MB / 0.67 GB Notification: Performance of Causalize: time 0.01834/0.6024, allocations: 17.8 MB / 0.9282 GB, free: 9.316 MB / 0.6856 GB Notification: Performance of Tearing: time 0.0003742/0.6029, allocations: 335.3 kB / 0.9285 GB, free: 8.941 MB / 0.6856 GB Notification: Performance of Initialization: time 9.31e-07/0.6029, allocations: 0 / 0.9285 GB, free: 8.941 MB / 0.6856 GB Notification: Performance of Tearing: time 0.0002771/0.6031, allocations: 338.1 kB / 0.9288 GB, free: 8.566 MB / 0.6856 GB Notification: Performance of Categorize: time 5.533e-05/0.6032, allocations: 16 kB / 0.9288 GB, free: 8.551 MB / 0.6856 GB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: min