Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 105.7 kB / 16.42 MB, free: 6.484 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.001312/0.001312, allocations: 189.9 kB / 17.35 MB, free: 5.754 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.584/1.584, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.364/1.364, allocations: 251.7 MB / 0.51 GB, free: 408 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.652e-05/2.653e-05, allocations: 2.281 kB / 0.7263 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006308/0.006345, allocations: 4.507 MB / 0.7307 GB, free: 264 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.7241/0.7304, allocations: 150.4 MB / 0.8776 GB, free: 2.699 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001231/0.7317, allocations: 15.94 kB / 0.8776 GB, free: 2.684 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00092/0.7327, allocations: 182.2 kB / 0.8778 GB, free: 2.504 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.002303/0.735, allocations: 442.9 kB / 0.8782 GB, free: 2.086 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002495/0.7375, allocations: 0.7981 MB / 0.879 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001989/0.7395, allocations: 1.285 MB / 0.8802 GB, free: 28 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001649/0.7411, allocations: 0.9457 MB / 0.8811 GB, free: 15.04 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009919/0.7422, allocations: 498 kB / 0.8816 GB, free: 14.55 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00091/0.7431, allocations: 0.517 MB / 0.8821 GB, free: 14.04 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003227/0.7434, allocations: 124 kB / 0.8822 GB, free: 13.91 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009925/0.7444, allocations: 416.7 kB / 0.8826 GB, free: 13.52 MB / 0.67 GB Notification: Performance of combineBinaries: time 0.002088/0.7465, allocations: 1.811 MB / 0.8844 GB, free: 11.69 MB / 0.67 GB Notification: Performance of replaceArrayConstructors: time 0.0009604/0.7475, allocations: 1.158 MB / 0.8855 GB, free: 10.51 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004501/0.748, allocations: 199.3 kB / 0.8857 GB, free: 10.32 MB / 0.67 GB Notification: Performance of FrontEnd: time 0.0002825/0.7482, allocations: 55.56 kB / 0.8858 GB, free: 10.26 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: 285 (258) * Number of variables: 285 (258) Notification: Performance of Bindings: time 0.006712/0.755, allocations: 5.4 MB / 0.8911 GB, free: 4.66 MB / 0.67 GB Notification: Performance of FunctionAlias: time 0.0008744/0.7558, allocations: 0.8294 MB / 0.8919 GB, free: 3.777 MB / 0.67 GB Notification: Performance of Early Inline: time 0.002947/0.7588, allocations: 3.065 MB / 0.8949 GB, free: 0.6484 MB / 0.67 GB Notification: Performance of simplify1: time 0.0002571/0.7591, allocations: 227.7 kB / 0.8951 GB, free: 436 kB / 0.67 GB Notification: Performance of Alias: time 0.007084/0.7662, allocations: 6.187 MB / 0.9011 GB, free: 9.824 MB / 0.6856 GB Notification: Performance of simplify2: time 0.0001453/0.7663, allocations: 115.8 kB / 0.9012 GB, free: 9.711 MB / 0.6856 GB Notification: Performance of Events: time 0.0003709/0.7667, allocations: 279.2 kB / 0.9015 GB, free: 9.445 MB / 0.6856 GB Notification: Performance of Detect States: time 0.0007652/0.7675, allocations: 428.6 kB / 0.9019 GB, free: 9.012 MB / 0.6856 GB Notification: Performance of Partitioning: time 0.0006791/0.7682, allocations: 0.614 MB / 0.9025 GB, free: 8.297 MB / 0.6856 GB Notification: Performance of Causalize: time 0.003674/0.7718, allocations: 3.235 MB / 0.9057 GB, free: 5.012 MB / 0.6856 GB Notification: Performance of After Index Reduction Inline: time 0.001424/0.7733, allocations: 1.268 MB / 0.9069 GB, free: 3.719 MB / 0.6856 GB Notification: Performance of Inline: time 0.003748/0.777, allocations: 3.161 MB / 0.91 GB, free: 0.4922 MB / 0.6856 GB Notification: Performance of Partitioning: time 0.0001799/0.7772, allocations: 159.6 kB / 0.9101 GB, free: 328 kB / 0.6856 GB Notification: Performance of Cleanup: time 0.0001186/0.7774, allocations: 119.8 kB / 0.9102 GB, free: 208 kB / 0.6856 GB Notification: Performance of Causalize: time 0.006236/0.7836, allocations: 5.863 MB / 0.916 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of Tearing: time 0.0003666/0.784, allocations: 334.1 kB / 0.9163 GB, free: 10.24 MB / 0.7012 GB Notification: Performance of Initialization: time 5.11e-07/0.784, allocations: 4 kB / 0.9163 GB, free: 10.24 MB / 0.7012 GB Notification: Performance of Tearing: time 0.0002929/0.7843, allocations: 338.1 kB / 0.9166 GB, free: 9.859 MB / 0.7012 GB Notification: Performance of Categorize: time 2.736e-05/0.7843, allocations: 4 kB / 0.9166 GB, free: 9.855 MB / 0.7012 GB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: min