Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.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.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 110.9 kB / 16.42 MB, free: 6.5 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.001068/0.001069, allocations: 189.9 kB / 17.35 MB, free: 5.754 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.145/1.145, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.218/1.218, allocations: 251.7 MB / 0.51 GB, free: 424 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.508e-05/1.509e-05, allocations: 5.938 kB / 0.7264 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.004895/0.004917, allocations: 4.43 MB / 0.7307 GB, free: 312 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4074/0.4123, allocations: 150.7 MB / 0.8778 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006341/0.413, allocations: 15.94 kB / 0.8778 GB, free: 2.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006349/0.4137, allocations: 202 kB / 0.878 GB, free: 2.234 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 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.001448/0.4152, allocations: 490.5 kB / 0.8785 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001596/0.4168, allocations: 0.7846 MB / 0.8793 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001239/0.418, allocations: 1.185 MB / 0.8804 GB, free: 15.83 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008336/0.4188, allocations: 0.6471 MB / 0.8811 GB, free: 15.16 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005883/0.4194, allocations: 410.4 kB / 0.8814 GB, free: 14.76 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004828/0.4199, allocations: 421.5 kB / 0.8818 GB, free: 14.35 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001298/0.4201, allocations: 92 kB / 0.8819 GB, free: 14.26 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000732/0.4208, allocations: 441.5 kB / 0.8824 GB, free: 13.84 MB / 0.67 GB Notification: Performance of combineBinaries: time 0.001017/0.4218, allocations: 1.452 MB / 0.8838 GB, free: 12.37 MB / 0.67 GB Notification: Performance of replaceArrayConstructors: time 0.0005978/0.4224, allocations: 0.9282 MB / 0.8847 GB, free: 11.43 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002013/0.4227, allocations: 159.5 kB / 0.8848 GB, free: 11.27 MB / 0.67 GB Notification: Performance of FrontEnd: time 0.0001474/0.4228, allocations: 47.56 kB / 0.8849 GB, free: 11.23 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: 200 (173) * Number of variables: 200 (173) Notification: Performance of Bindings: time 0.003268/0.4261, allocations: 4.308 MB / 0.8891 GB, free: 6.75 MB / 0.67 GB Notification: Performance of FunctionAlias: time 0.0003414/0.4264, allocations: 373.8 kB / 0.8894 GB, free: 6.383 MB / 0.67 GB Notification: Performance of Early Inline: time 0.001913/0.4284, allocations: 2.294 MB / 0.8917 GB, free: 4.047 MB / 0.67 GB Notification: Performance of simplify1: time 0.0001517/0.4285, allocations: 171.8 kB / 0.8918 GB, free: 3.879 MB / 0.67 GB Notification: Performance of Alias: time 0.003857/0.4324, allocations: 4.208 MB / 0.896 GB, free: 15.31 MB / 0.6856 GB Notification: Performance of simplify2: time 0.0001076/0.4325, allocations: 115.9 kB / 0.8961 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of Events: time 0.0003299/0.4328, allocations: 289.8 kB / 0.8963 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of Detect States: time 0.0003759/0.4332, allocations: 412.7 kB / 0.8967 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of Partitioning: time 0.0005015/0.4337, allocations: 0.5539 MB / 0.8973 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of Causalize: time 0.002764/0.4365, allocations: 3.032 MB / 0.9002 GB, free: 10.78 MB / 0.6856 GB Notification: Performance of After Index Reduction Inline: time 0.001059/0.4376, allocations: 1.228 MB / 0.9014 GB, free: 9.527 MB / 0.6856 GB Notification: Performance of Inline: time 0.00232/0.4399, allocations: 2.813 MB / 0.9042 GB, free: 6.66 MB / 0.6856 GB Notification: Performance of Partitioning: time 0.000124/0.44, allocations: 139.6 kB / 0.9043 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of Cleanup: time 8.545e-05/0.4401, allocations: 111.8 kB / 0.9044 GB, free: 6.398 MB / 0.6856 GB Notification: Performance of Causalize: time 0.003962/0.4441, allocations: 5.124 MB / 0.9094 GB, free: 1.473 MB / 0.6856 GB Notification: Performance of Tearing: time 0.0002732/0.4444, allocations: 330.1 kB / 0.9097 GB, free: 1.102 MB / 0.6856 GB Notification: Performance of Initialization: time 4.8e-07/0.4444, allocations: 0 / 0.9097 GB, free: 1.102 MB / 0.6856 GB Notification: Performance of Tearing: time 0.0002035/0.4446, allocations: 342.2 kB / 0.9101 GB, free: 0.7188 MB / 0.6856 GB Notification: Performance of Categorize: time 1.715e-05/0.4446, allocations: 3.938 kB / 0.9101 GB, free: 0.7148 MB / 0.6856 GB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: min