Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001462/0.001462, allocations: 113.1 kB / 16.42 MB, free: 6.465 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.001424/0.001424, allocations: 188.9 kB / 17.35 MB, free: 5.707 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.536/1.536, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.346/1.346, allocations: 251.7 MB / 0.51 GB, free: 404 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.799e-05/2.8e-05, allocations: 2.281 kB / 0.7263 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.008304/0.00834, allocations: 6.188 MB / 0.7324 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.7152/0.7236, allocations: 153 MB / 0.8818 GB, free: 14.38 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00239/0.726, allocations: 35.81 kB / 0.8818 GB, free: 14.34 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001258/0.7273, allocations: 304.1 kB / 0.8821 GB, free: 14.04 MB / 0.67 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.003354/0.7307, allocations: 0.5958 MB / 0.8827 GB, free: 13.46 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004208/0.735, allocations: 1.273 MB / 0.8839 GB, free: 12.22 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003891/0.7389, allocations: 2.19 MB / 0.886 GB, free: 10.02 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002045/0.7409, allocations: 1.093 MB / 0.8871 GB, free: 8.891 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00119/0.7421, allocations: 0.6966 MB / 0.8878 GB, free: 8.191 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007959/0.7429, allocations: 0.6841 MB / 0.8885 GB, free: 7.504 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002082/0.7431, allocations: 152 kB / 0.8886 GB, free: 7.355 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001702/0.7449, allocations: 0.831 MB / 0.8894 GB, free: 6.523 MB / 0.67 GB Notification: Performance of combineBinaries: time 0.001715/0.7466, allocations: 2.425 MB / 0.8918 GB, free: 4.066 MB / 0.67 GB Notification: Performance of replaceArrayConstructors: time 0.0009778/0.7476, allocations: 1.524 MB / 0.8933 GB, free: 2.52 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0003618/0.7479, allocations: 267.1 kB / 0.8935 GB, free: 2.258 MB / 0.67 GB Notification: Performance of FrontEnd: time 0.0003915/0.7483, allocations: 95.25 kB / 0.8936 GB, free: 2.164 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: 335 (281) * Number of variables: 335 (281) Notification: Performance of Bindings: time 0.006481/0.7548, allocations: 6.882 MB / 0.9003 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of FunctionAlias: time 0.001002/0.7558, allocations: 0.9668 MB / 0.9013 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of Early Inline: time 0.003921/0.7598, allocations: 3.76 MB / 0.905 GB, free: 6.215 MB / 0.6856 GB Notification: Performance of simplify1: time 0.0003354/0.7601, allocations: 275.6 kB / 0.9052 GB, free: 5.945 MB / 0.6856 GB Notification: Performance of Alias: time 0.008398/0.7685, allocations: 6.929 MB / 0.912 GB, free: 14.37 MB / 0.7012 GB Notification: Performance of simplify2: time 0.0003157/0.7689, allocations: 195.8 kB / 0.9122 GB, free: 14.18 MB / 0.7012 GB Notification: Performance of Events: time 0.0009067/0.7698, allocations: 0.6887 MB / 0.9128 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of Detect States: time 0.0008848/0.7707, allocations: 0.7386 MB / 0.9136 GB, free: 12.72 MB / 0.7012 GB Notification: Performance of Partitioning: time 0.001247/0.7719, allocations: 1.085 MB / 0.9146 GB, free: 11.42 MB / 0.7012 GB Notification: Performance of Causalize: time 0.006237/0.7782, allocations: 5.714 MB / 0.9202 GB, free: 5.578 MB / 0.7012 GB Notification: Performance of After Index Reduction Inline: time 0.002568/0.7808, allocations: 2.2 MB / 0.9223 GB, free: 3.34 MB / 0.7012 GB Notification: Performance of Inline: time 0.006222/0.787, allocations: 5.239 MB / 0.9275 GB, free: 13.99 MB / 0.7169 GB Notification: Performance of Partitioning: time 0.0003098/0.7873, allocations: 247.9 kB / 0.9277 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of Cleanup: time 0.0002488/0.7876, allocations: 191.6 kB / 0.9279 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of Causalize: time 0.009963/0.7975, allocations: 10.06 MB / 0.9377 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of Tearing: time 0.0007904/0.7984, allocations: 0.6645 MB / 0.9384 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of Initialization: time 1.803e-06/0.7984, allocations: 0 / 0.9384 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of Tearing: time 0.0006808/0.7991, allocations: 0.6565 MB / 0.939 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of Categorize: time 6.082e-05/0.7991, allocations: 11.94 kB / 0.939 GB, free: 2.555 MB / 0.7169 GB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: min