Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 108.4 kB / 16.38 MB, free: 6.387 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.001048/0.001048, allocations: 195.6 kB / 17.32 MB, free: 5.766 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.453/1.453, 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.688/1.688, allocations: 292.3 MB / 0.5496 GB, free: 17.51 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.817e-05/2.819e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.949 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.007584/0.007627, allocations: 6.201 MB / 0.6789 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.6885/0.6961, allocations: 152.9 MB / 0.8282 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001793/0.698, allocations: 33.03 kB / 0.8283 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0009257/0.6989, allocations: 304.1 kB / 0.8286 GB, free: 43.41 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.002403/0.7013, allocations: 0.5993 MB / 0.8291 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003343/0.7047, allocations: 1.259 MB / 0.8304 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003076/0.7078, allocations: 2.195 MB / 0.8325 GB, free: 42.81 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001501/0.7093, allocations: 1.097 MB / 0.8336 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001368/0.7106, allocations: 0.697 MB / 0.8343 GB, free: 42.57 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007655/0.7114, allocations: 0.6855 MB / 0.8349 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002512/0.7117, allocations: 153.7 kB / 0.8351 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001793/0.7135, allocations: 0.8304 MB / 0.8359 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of combineBinaries: time 0.001588/0.7151, allocations: 2.425 MB / 0.8383 GB, free: 41.06 MB / 0.6544 GB Notification: Performance of replaceArrayConstructors: time 0.0008076/0.7159, allocations: 1.523 MB / 0.8398 GB, free: 40.01 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004358/0.7163, allocations: 268 kB / 0.84 GB, free: 39.95 MB / 0.6544 GB Notification: Performance of FrontEnd: time 0.0004009/0.7168, allocations: 95.81 kB / 0.8401 GB, free: 39.9 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: 335 (281) * Number of variables: 335 (281) Notification: Performance of Bindings: time 0.006056/0.7228, allocations: 6.873 MB / 0.8468 GB, free: 37.06 MB / 0.6544 GB Notification: Performance of FunctionAlias: time 0.001007/0.7238, allocations: 0.9779 MB / 0.8478 GB, free: 36.86 MB / 0.6544 GB Notification: Performance of Early Inline: time 0.003653/0.7275, allocations: 3.752 MB / 0.8514 GB, free: 36.2 MB / 0.6544 GB Notification: Performance of simplify1: time 0.0003725/0.7279, allocations: 281.7 kB / 0.8517 GB, free: 36.09 MB / 0.6544 GB Notification: Performance of Alias: time 0.007675/0.7356, allocations: 6.938 MB / 0.8585 GB, free: 31.79 MB / 0.6544 GB Notification: Performance of simplify2: time 0.0003618/0.736, allocations: 193.1 kB / 0.8587 GB, free: 31.74 MB / 0.6544 GB Notification: Performance of Events: time 0.0009168/0.7369, allocations: 0.6953 MB / 0.8593 GB, free: 31.34 MB / 0.6544 GB Notification: Performance of Detect States: time 0.0008996/0.7378, allocations: 0.7406 MB / 0.8601 GB, free: 30.9 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.001036/0.7388, allocations: 1.086 MB / 0.8611 GB, free: 30.08 MB / 0.6544 GB Notification: Performance of Causalize: time 0.004838/0.7437, allocations: 5.65 MB / 0.8666 GB, free: 27.57 MB / 0.6544 GB Notification: Performance of After Index Reduction Inline: time 0.001944/0.7456, allocations: 2.197 MB / 0.8688 GB, free: 26.31 MB / 0.6544 GB Notification: Performance of Inline: time 0.004778/0.7504, allocations: 5.017 MB / 0.8737 GB, free: 23.39 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.00027/0.7507, allocations: 248.1 kB / 0.8739 GB, free: 23.22 MB / 0.6544 GB Notification: Performance of Cleanup: time 0.0002221/0.7509, allocations: 203 kB / 0.8741 GB, free: 23.12 MB / 0.6544 GB Notification: Performance of Causalize: time 0.009269/0.7602, allocations: 10.01 MB / 0.8839 GB, free: 18.82 MB / 0.6544 GB Notification: Performance of Tearing: time 0.0005143/0.7608, allocations: 0.6543 MB / 0.8845 GB, free: 18.24 MB / 0.6544 GB Notification: Performance of Initialization: time 1.272e-06/0.7608, allocations: 0 / 0.8845 GB, free: 18.24 MB / 0.6544 GB Notification: Performance of Tearing: time 0.0004323/0.7612, allocations: 0.6619 MB / 0.8852 GB, free: 17.64 MB / 0.6544 GB Notification: Performance of Categorize: time 5.833e-05/0.7613, allocations: 8.812 kB / 0.8852 GB, free: 17.64 MB / 0.6544 GB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: min