Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.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.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 106.5 kB / 16.37 MB, free: 6.355 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.001355/0.001355, allocations: 190.8 kB / 17.3 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.119/1.119, allocations: 205.1 MB / 223.2 MB, free: 12.31 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.519/1.519, allocations: 292.3 MB / 0.5496 GB, free: 17.64 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.495e-05/1.496e-05, allocations: 2.281 kB / 0.6728 GB, free: 5.918 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005319/0.005344, allocations: 4.892 MB / 0.6776 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.3644/0.3698, allocations: 150.5 MB / 0.8246 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007621/0.3706, allocations: 22.28 kB / 0.8246 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008071/0.3714, allocations: 335.5 kB / 0.8249 GB, free: 44.51 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.001415/0.3728, allocations: 438.5 kB / 0.8253 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001582/0.3744, allocations: 0.7945 MB / 0.8261 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001056/0.3755, allocations: 1.333 MB / 0.8274 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007881/0.3763, allocations: 0.7698 MB / 0.8281 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004234/0.3767, allocations: 450.3 kB / 0.8286 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003827/0.3771, allocations: 459.9 kB / 0.829 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001197/0.3772, allocations: 101.8 kB / 0.8291 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005367/0.3778, allocations: 392.2 kB / 0.8295 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of combineBinaries: time 0.0007259/0.3785, allocations: 1.726 MB / 0.8312 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of replaceArrayConstructors: time 0.0003457/0.3788, allocations: 1.133 MB / 0.8323 GB, free: 42.14 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001432/0.379, allocations: 192.4 kB / 0.8325 GB, free: 42.1 MB / 0.6544 GB Notification: Performance of FrontEnd: time 0.0001556/0.3792, allocations: 68.41 kB / 0.8325 GB, free: 42.06 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: 235 (208) * Number of variables: 235 (208) Notification: Performance of Bindings: time 0.00281/0.382, allocations: 4.787 MB / 0.8372 GB, free: 40.1 MB / 0.6544 GB Notification: Performance of FunctionAlias: time 0.0002942/0.3823, allocations: 396.8 kB / 0.8376 GB, free: 40.05 MB / 0.6544 GB Notification: Performance of Early Inline: time 0.001775/0.3841, allocations: 2.492 MB / 0.84 GB, free: 39.86 MB / 0.6544 GB Notification: Performance of simplify1: time 0.0001333/0.3842, allocations: 178.6 kB / 0.8402 GB, free: 39.86 MB / 0.6544 GB Notification: Performance of Alias: time 0.004259/0.3885, allocations: 5.107 MB / 0.8452 GB, free: 38.47 MB / 0.6544 GB Notification: Performance of simplify2: time 8.647e-05/0.3886, allocations: 95.98 kB / 0.8453 GB, free: 38.47 MB / 0.6544 GB Notification: Performance of Events: time 0.0003355/0.3889, allocations: 391.2 kB / 0.8456 GB, free: 38.36 MB / 0.6544 GB Notification: Performance of Detect States: time 0.0003019/0.3892, allocations: 376.6 kB / 0.846 GB, free: 38.3 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.0004093/0.3896, allocations: 0.5264 MB / 0.8465 GB, free: 38.06 MB / 0.6544 GB Notification: Performance of Causalize: time 0.002212/0.3918, allocations: 2.77 MB / 0.8492 GB, free: 37.35 MB / 0.6544 GB Notification: Performance of After Index Reduction Inline: time 0.0008012/0.3927, allocations: 1.087 MB / 0.8503 GB, free: 36.71 MB / 0.6544 GB Notification: Performance of Inline: time 0.00194/0.3946, allocations: 2.533 MB / 0.8527 GB, free: 35.22 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.0001082/0.3947, allocations: 132.6 kB / 0.8529 GB, free: 35.13 MB / 0.6544 GB Notification: Performance of Cleanup: time 6.557e-05/0.3948, allocations: 98.81 kB / 0.853 GB, free: 35.07 MB / 0.6544 GB Notification: Performance of Causalize: time 0.003172/0.398, allocations: 4.975 MB / 0.8578 GB, free: 32.93 MB / 0.6544 GB Notification: Performance of Tearing: time 0.0002066/0.3982, allocations: 337.7 kB / 0.8581 GB, free: 32.66 MB / 0.6544 GB Notification: Performance of Initialization: time 8.11e-07/0.3982, allocations: 2.719 kB / 0.8582 GB, free: 32.66 MB / 0.6544 GB Notification: Performance of Tearing: time 0.0001373/0.3983, allocations: 329.8 kB / 0.8585 GB, free: 32.39 MB / 0.6544 GB Notification: Performance of Categorize: time 1.59e-05/0.3984, allocations: 11.72 kB / 0.8585 GB, free: 32.39 MB / 0.6544 GB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: min