Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001148/0.001148, allocations: 102.3 kB / 16.38 MB, free: 6.441 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.001081/0.001081, allocations: 190.4 kB / 17.31 MB, free: 5.789 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.464/1.464, 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 8.1.4-maint.8.1.x/package.mo): time 1.713/1.713, allocations: 292.3 MB / 0.5496 GB, free: 17.46 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.082e-05/3.083e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.914 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.006409/0.006456, allocations: 4.446 MB / 0.6772 GB, free: 1.441 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.5845/0.591, allocations: 150.6 MB / 0.8243 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009706/0.592, allocations: 19 kB / 0.8243 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008468/0.5928, allocations: 208.9 kB / 0.8245 GB, free: 43.78 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.002157/0.595, allocations: 485.8 kB / 0.825 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002346/0.5974, allocations: 0.7842 MB / 0.8257 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001866/0.5992, allocations: 1.188 MB / 0.8269 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001093/0.6003, allocations: 0.6512 MB / 0.8275 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007602/0.6011, allocations: 405.6 kB / 0.8279 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006219/0.6017, allocations: 425.3 kB / 0.8283 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000189/0.6019, allocations: 91 kB / 0.8284 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001352/0.6033, allocations: 435.9 kB / 0.8288 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of combineBinaries: time 0.001043/0.6044, allocations: 1.456 MB / 0.8302 GB, free: 42.51 MB / 0.6544 GB Notification: Performance of replaceArrayConstructors: time 0.0004795/0.6049, allocations: 0.924 MB / 0.8311 GB, free: 41.86 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002045/0.6051, allocations: 165.7 kB / 0.8313 GB, free: 41.82 MB / 0.6544 GB Notification: Performance of FrontEnd: time 0.0002605/0.6053, allocations: 46.06 kB / 0.8313 GB, free: 41.8 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: 200 (173) * Number of variables: 200 (173) Notification: Performance of Bindings: time 0.003815/0.6092, allocations: 4.304 MB / 0.8356 GB, free: 39.93 MB / 0.6544 GB Notification: Performance of FunctionAlias: time 0.0004401/0.6096, allocations: 374.8 kB / 0.8359 GB, free: 39.87 MB / 0.6544 GB Notification: Performance of Early Inline: time 0.002376/0.612, allocations: 2.284 MB / 0.8381 GB, free: 39.7 MB / 0.6544 GB Notification: Performance of simplify1: time 0.0002178/0.6122, allocations: 171.1 kB / 0.8383 GB, free: 39.7 MB / 0.6544 GB Notification: Performance of Alias: time 0.005337/0.6176, allocations: 4.225 MB / 0.8424 GB, free: 38.39 MB / 0.6544 GB Notification: Performance of simplify2: time 0.0001766/0.6178, allocations: 115 kB / 0.8425 GB, free: 38.39 MB / 0.6544 GB Notification: Performance of Events: time 0.0004089/0.6182, allocations: 288.8 kB / 0.8428 GB, free: 38.33 MB / 0.6544 GB Notification: Performance of Detect States: time 0.0006862/0.6189, allocations: 417.8 kB / 0.8432 GB, free: 38.27 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.0006354/0.6195, allocations: 0.5487 MB / 0.8437 GB, free: 38.04 MB / 0.6544 GB Notification: Performance of Causalize: time 0.003404/0.6229, allocations: 3.013 MB / 0.8467 GB, free: 37.49 MB / 0.6544 GB Notification: Performance of After Index Reduction Inline: time 0.001336/0.6243, allocations: 1.228 MB / 0.8479 GB, free: 37.36 MB / 0.6544 GB Notification: Performance of Inline: time 0.002864/0.6271, allocations: 2.688 MB / 0.8505 GB, free: 36.07 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.0001585/0.6273, allocations: 146.6 kB / 0.8507 GB, free: 35.97 MB / 0.6544 GB Notification: Performance of Cleanup: time 0.000117/0.6274, allocations: 108.5 kB / 0.8508 GB, free: 35.92 MB / 0.6544 GB Notification: Performance of Causalize: time 0.004551/0.632, allocations: 5.107 MB / 0.8557 GB, free: 33.69 MB / 0.6544 GB Notification: Performance of Tearing: time 0.0003112/0.6323, allocations: 335.2 kB / 0.8561 GB, free: 33.43 MB / 0.6544 GB Notification: Performance of Initialization: time 1.011e-06/0.6323, allocations: 0 / 0.8561 GB, free: 33.43 MB / 0.6544 GB Notification: Performance of Tearing: time 0.0002201/0.6326, allocations: 333.6 kB / 0.8564 GB, free: 33.16 MB / 0.6544 GB Notification: Performance of Categorize: time 3.995e-05/0.6326, allocations: 2.562 kB / 0.8564 GB, free: 33.16 MB / 0.6544 GB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: min