Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001276/0.001276, allocations: 104.2 kB / 16.37 MB, free: 6.363 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.001297/0.001297, allocations: 195.1 kB / 17.31 MB, free: 5.91 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.427/1.427, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.719/1.719, allocations: 292.3 MB / 0.5496 GB, free: 17.5 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.811e-05/3.862e-05, allocations: 2.281 kB / 0.6728 GB, free: 5.965 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.007125/0.007183, allocations: 4.5 MB / 0.6772 GB, free: 1.438 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.6044/0.6117, allocations: 150.3 MB / 0.824 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006753/0.6124, allocations: 17.03 kB / 0.8241 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005607/0.613, allocations: 188.9 kB / 0.8242 GB, free: 43.77 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.001272/0.6142, allocations: 436.6 kB / 0.8247 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00168/0.6159, allocations: 0.8039 MB / 0.8254 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001327/0.6173, allocations: 1.278 MB / 0.8267 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00116/0.6184, allocations: 0.9452 MB / 0.8276 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006832/0.6191, allocations: 0.4947 MB / 0.8281 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005563/0.6197, allocations: 0.5175 MB / 0.8286 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001503/0.6199, allocations: 124.6 kB / 0.8287 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006826/0.6205, allocations: 412.5 kB / 0.8291 GB, free: 43.17 MB / 0.6544 GB Notification: Performance of combineBinaries: time 0.0008848/0.6214, allocations: 1.813 MB / 0.8309 GB, free: 42.17 MB / 0.6544 GB Notification: Performance of replaceArrayConstructors: time 0.0003924/0.6218, allocations: 1.151 MB / 0.832 GB, free: 41.36 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001658/0.622, allocations: 202.1 kB / 0.8322 GB, free: 41.31 MB / 0.6544 GB Notification: Performance of FrontEnd: time 0.0001662/0.6222, allocations: 63.08 kB / 0.8323 GB, free: 41.28 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: 285 (258) * Number of variables: 285 (258) Notification: Performance of Bindings: time 0.003876/0.6261, allocations: 5.398 MB / 0.8375 GB, free: 39.02 MB / 0.6544 GB Notification: Performance of FunctionAlias: time 0.0006453/0.6267, allocations: 0.8299 MB / 0.8383 GB, free: 38.79 MB / 0.6544 GB Notification: Performance of Early Inline: time 0.002526/0.6292, allocations: 3.07 MB / 0.8413 GB, free: 38.54 MB / 0.6544 GB Notification: Performance of simplify1: time 0.0002034/0.6295, allocations: 225.5 kB / 0.8416 GB, free: 38.54 MB / 0.6544 GB Notification: Performance of Alias: time 0.005805/0.6353, allocations: 6.185 MB / 0.8476 GB, free: 36.82 MB / 0.6544 GB Notification: Performance of simplify2: time 0.0001182/0.6354, allocations: 114.7 kB / 0.8477 GB, free: 36.82 MB / 0.6544 GB Notification: Performance of Events: time 0.000289/0.6357, allocations: 287.3 kB / 0.848 GB, free: 36.73 MB / 0.6544 GB Notification: Performance of Detect States: time 0.0003379/0.636, allocations: 428.5 kB / 0.8484 GB, free: 36.47 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.0004767/0.6365, allocations: 0.5987 MB / 0.849 GB, free: 36.05 MB / 0.6544 GB Notification: Performance of Causalize: time 0.002557/0.6391, allocations: 3.228 MB / 0.8521 GB, free: 34.66 MB / 0.6544 GB Notification: Performance of After Index Reduction Inline: time 0.0009274/0.64, allocations: 1.257 MB / 0.8533 GB, free: 33.92 MB / 0.6544 GB Notification: Performance of Inline: time 0.002178/0.6422, allocations: 3.033 MB / 0.8563 GB, free: 32.11 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.0001267/0.6424, allocations: 164.2 kB / 0.8565 GB, free: 32 MB / 0.6544 GB Notification: Performance of Cleanup: time 7.548e-05/0.6424, allocations: 110.8 kB / 0.8566 GB, free: 31.94 MB / 0.6544 GB Notification: Performance of Causalize: time 0.004044/0.6465, allocations: 5.84 MB / 0.8623 GB, free: 29.44 MB / 0.6544 GB Notification: Performance of Tearing: time 0.0002425/0.6467, allocations: 329.9 kB / 0.8626 GB, free: 29.17 MB / 0.6544 GB Notification: Performance of Initialization: time 7.11e-07/0.6468, allocations: 0 / 0.8626 GB, free: 29.17 MB / 0.6544 GB Notification: Performance of Tearing: time 0.0001621/0.6469, allocations: 343.9 kB / 0.8629 GB, free: 28.89 MB / 0.6544 GB Notification: Performance of Categorize: time 2.236e-05/0.647, allocations: 10.22 kB / 0.8629 GB, free: 28.89 MB / 0.6544 GB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: min