Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001249/0.001249, allocations: 106.3 kB / 16.42 MB, free: 6.512 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.001369/0.001369, 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.493/1.493, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.372/1.372, allocations: 251.7 MB / 0.51 GB, free: 424 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.636e-05/2.637e-05, allocations: 2.281 kB / 0.7263 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.008046/0.008081, allocations: 6.068 MB / 0.7323 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.694/0.7021, allocations: 151.2 MB / 0.8799 GB, free: 284 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001989/0.7041, allocations: 23.88 kB / 0.8799 GB, free: 260 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001304/0.7055, allocations: 236.5 kB / 0.8801 GB, free: 24 kB / 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.003501/0.7091, allocations: 0.5783 MB / 0.8807 GB, free: 15.46 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004045/0.7131, allocations: 1.234 MB / 0.8819 GB, free: 14.26 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004495/0.7176, allocations: 2.43 MB / 0.8843 GB, free: 11.82 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002954/0.7206, allocations: 1.581 MB / 0.8858 GB, free: 10.18 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002285/0.7229, allocations: 0.9837 MB / 0.8868 GB, free: 9.195 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002273/0.7252, allocations: 1.105 MB / 0.8879 GB, free: 8.086 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0011/0.7263, allocations: 272 kB / 0.8881 GB, free: 7.82 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001621/0.7279, allocations: 0.5699 MB / 0.8887 GB, free: 7.25 MB / 0.67 GB Notification: Performance of combineBinaries: time 0.002826/0.7308, allocations: 3.334 MB / 0.8919 GB, free: 3.875 MB / 0.67 GB Notification: Performance of replaceArrayConstructors: time 0.001463/0.7323, allocations: 2.001 MB / 0.8939 GB, free: 1.848 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0006473/0.7329, allocations: 354.8 kB / 0.8942 GB, free: 1.5 MB / 0.67 GB Notification: Performance of FrontEnd: time 0.0005205/0.7334, allocations: 91.31 kB / 0.8943 GB, free: 1.41 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: 534 (507) * Number of variables: 534 (507) Notification: Performance of Bindings: time 0.009708/0.7432, allocations: 10.24 MB / 0.9043 GB, free: 6.93 MB / 0.6856 GB Notification: Performance of FunctionAlias: time 0.002124/0.7453, allocations: 2.079 MB / 0.9063 GB, free: 4.855 MB / 0.6856 GB Notification: Performance of Early Inline: time 0.01104/0.7564, allocations: 9.718 MB / 0.9158 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of simplify1: time 0.001451/0.7579, allocations: 0.7881 MB / 0.9166 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of Alias: time 0.01884/0.7767, allocations: 12.58 MB / 0.9289 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of simplify2: time 0.00162/0.7784, allocations: 0.601 MB / 0.9295 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of Events: time 0.002396/0.7808, allocations: 1.685 MB / 0.9311 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of Detect States: time 0.001833/0.7827, allocations: 1.537 MB / 0.9326 GB, free: 8.934 MB / 0.7169 GB Notification: Performance of Partitioning: time 0.003092/0.7858, allocations: 2.094 MB / 0.9347 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of Causalize: time 0.01788/0.8037, allocations: 14.42 MB / 0.9487 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of After Index Reduction Inline: time 0.006713/0.8104, allocations: 5.29 MB / 0.9539 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of Inline: time 0.01744/0.8279, allocations: 10.17 MB / 0.9638 GB, free: 9.285 MB / 0.7481 GB Notification: Performance of Partitioning: time 0.00113/0.8291, allocations: 352.1 kB / 0.9642 GB, free: 8.918 MB / 0.7481 GB Notification: Performance of Cleanup: time 0.002053/0.8312, allocations: 491.3 kB / 0.9646 GB, free: 8.438 MB / 0.7481 GB Notification: Performance of Causalize: time 0.03264/0.8639, allocations: 17.9 MB / 0.9821 GB, free: 8.055 MB / 0.7637 GB Notification: Performance of Tearing: time 0.0007244/0.8647, allocations: 330.1 kB / 0.9824 GB, free: 7.684 MB / 0.7637 GB Notification: Performance of Initialization: time 3.417e-06/0.8648, allocations: 0 / 0.9824 GB, free: 7.684 MB / 0.7637 GB Notification: Performance of Tearing: time 0.000552/0.8653, allocations: 346.1 kB / 0.9828 GB, free: 7.297 MB / 0.7637 GB Notification: Performance of Categorize: time 0.0001581/0.8655, allocations: 15.94 kB / 0.9828 GB, free: 7.281 MB / 0.7637 GB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: min