Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.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.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") 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: 107.1 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.00133/0.00133, allocations: 191.5 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.501/1.501, 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.686/1.686, allocations: 292.3 MB / 0.5496 GB, free: 17.47 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.003e-05/3.006e-05, allocations: 2.281 kB / 0.6728 GB, free: 5.918 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.6603/0.6604, allocations: 175.8 MB / 0.8445 GB, free: 42 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01592/0.6763, allocations: 12.42 MB / 0.8566 GB, free: 40.8 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0021/0.6785, allocations: 31.69 kB / 0.8566 GB, free: 40.79 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001604/0.6801, allocations: 437.6 kB / 0.857 GB, free: 40.6 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.003695/0.6839, allocations: 0.876 MB / 0.8579 GB, free: 40.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00604/0.69, allocations: 1.791 MB / 0.8597 GB, free: 40.1 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00339/0.6934, allocations: 2.347 MB / 0.8619 GB, free: 39.71 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002115/0.6955, allocations: 1.591 MB / 0.8635 GB, free: 39.27 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004169/0.6997, allocations: 1.356 MB / 0.8648 GB, free: 38.75 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00145/0.7011, allocations: 0.7584 MB / 0.8656 GB, free: 38.41 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0005372/0.7017, allocations: 145.2 kB / 0.8657 GB, free: 38.4 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003633/0.7053, allocations: 1.281 MB / 0.867 GB, free: 38.07 MB / 0.6544 GB Notification: Performance of combineBinaries: time 0.001939/0.7073, allocations: 2.335 MB / 0.8692 GB, free: 36.58 MB / 0.6544 GB Notification: Performance of replaceArrayConstructors: time 0.001044/0.7083, allocations: 1.48 MB / 0.8707 GB, free: 35.55 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000634/0.709, allocations: 254.4 kB / 0.8709 GB, free: 35.42 MB / 0.6544 GB Notification: Performance of FrontEnd: time 0.0004025/0.7094, allocations: 68.39 kB / 0.871 GB, free: 35.39 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: 328 (299) * Number of variables: 328 (293) Notification: Performance of Bindings: time 0.004726/0.7141, allocations: 6.638 MB / 0.8775 GB, free: 30.85 MB / 0.6544 GB Notification: Performance of FunctionAlias: time 0.0006716/0.7148, allocations: 0.844 MB / 0.8783 GB, free: 30.28 MB / 0.6544 GB Notification: Performance of Early Inline: time 0.003382/0.7182, allocations: 4.046 MB / 0.8822 GB, free: 27.5 MB / 0.6544 GB Notification: Performance of simplify1: time 0.0003118/0.7185, allocations: 313.1 kB / 0.8825 GB, free: 27.29 MB / 0.6544 GB Notification: Performance of Alias: time 0.006338/0.7248, allocations: 6.589 MB / 0.889 GB, free: 23.04 MB / 0.6544 GB Notification: Performance of simplify2: time 0.0002869/0.7251, allocations: 233.3 kB / 0.8892 GB, free: 22.92 MB / 0.6544 GB Notification: Performance of Events: time 0.0006912/0.7258, allocations: 0.6065 MB / 0.8898 GB, free: 22.5 MB / 0.6544 GB Notification: Performance of Detect States: time 0.0007917/0.7266, allocations: 0.7212 MB / 0.8905 GB, free: 21.93 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.0009267/0.7276, allocations: 1.04 MB / 0.8915 GB, free: 21.16 MB / 0.6544 GB Notification: Performance of Causalize: time 0.005477/0.7331, allocations: 6.313 MB / 0.8977 GB, free: 18.15 MB / 0.6544 GB Notification: Performance of After Index Reduction Inline: time 0.001923/0.735, allocations: 2.248 MB / 0.8999 GB, free: 16.52 MB / 0.6544 GB Notification: Performance of Inline: time 0.004667/0.7397, allocations: 5.119 MB / 0.9049 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.0002426/0.7399, allocations: 204.5 kB / 0.9051 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of Cleanup: time 0.0002283/0.7402, allocations: 229 kB / 0.9053 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of Causalize: time 0.006377/0.7466, allocations: 9.071 MB / 0.9141 GB, free: 4.434 MB / 0.6544 GB Notification: Performance of Tearing: time 0.0002818/0.7469, allocations: 338 kB / 0.9145 GB, free: 4.055 MB / 0.6544 GB Notification: Performance of Initialization: time 9.32e-07/0.7469, allocations: 0 / 0.9145 GB, free: 4.055 MB / 0.6544 GB Notification: Performance of Tearing: time 0.000186/0.7471, allocations: 341.9 kB / 0.9148 GB, free: 3.676 MB / 0.6544 GB Notification: Performance of Categorize: time 4.252e-05/0.7471, allocations: 8 kB / 0.9148 GB, free: 3.668 MB / 0.6544 GB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: min