Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 104.4 kB / 16.37 MB, free: 6.371 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.001303/0.001303, allocations: 186.9 kB / 17.3 MB, free: 5.914 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.502/1.502, allocations: 205.1 MB / 223.2 MB, free: 12.3 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.739/1.739, allocations: 292.3 MB / 0.5496 GB, free: 17.45 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.726e-05, allocations: 2.281 kB / 0.6728 GB, free: 5.922 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.006989/0.007033, allocations: 4.974 MB / 0.6777 GB, free: 0.918 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.5712/0.5783, allocations: 150.6 MB / 0.8248 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009206/0.5792, allocations: 26.28 kB / 0.8248 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007483/0.58, allocations: 196.3 kB / 0.825 GB, free: 43.81 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.00209/0.5822, allocations: 0.5286 MB / 0.8255 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00224/0.5844, allocations: 0.8666 MB / 0.8264 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002379/0.5868, allocations: 1.577 MB / 0.8279 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001496/0.5883, allocations: 1.081 MB / 0.829 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001146/0.5895, allocations: 0.6369 MB / 0.8296 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007488/0.5902, allocations: 0.6817 MB / 0.8302 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002111/0.5904, allocations: 156.1 kB / 0.8304 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009036/0.5914, allocations: 444.4 kB / 0.8308 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of combineBinaries: time 0.001331/0.5927, allocations: 2.242 MB / 0.833 GB, free: 41.8 MB / 0.6544 GB Notification: Performance of replaceArrayConstructors: time 0.0006806/0.5934, allocations: 1.405 MB / 0.8344 GB, free: 40.83 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003851/0.5938, allocations: 241.9 kB / 0.8346 GB, free: 40.77 MB / 0.6544 GB Notification: Performance of FrontEnd: time 0.0003252/0.5941, allocations: 69.53 kB / 0.8347 GB, free: 40.74 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: 351 (324) * Number of variables: 351 (324) Notification: Performance of Bindings: time 0.005702/0.5998, allocations: 6.952 MB / 0.8415 GB, free: 37.93 MB / 0.6544 GB Notification: Performance of FunctionAlias: time 0.001568/0.6014, allocations: 1.344 MB / 0.8428 GB, free: 37.58 MB / 0.6544 GB Notification: Performance of Early Inline: time 0.005573/0.607, allocations: 4.383 MB / 0.8471 GB, free: 37.29 MB / 0.6544 GB Notification: Performance of simplify1: time 0.0006995/0.6077, allocations: 341.4 kB / 0.8474 GB, free: 37.28 MB / 0.6544 GB Notification: Performance of Alias: time 0.009741/0.6175, allocations: 8.461 MB / 0.8556 GB, free: 32.46 MB / 0.6544 GB Notification: Performance of simplify2: time 0.000362/0.6179, allocations: 199 kB / 0.8558 GB, free: 32.41 MB / 0.6544 GB Notification: Performance of Events: time 0.000472/0.6184, allocations: 465 kB / 0.8563 GB, free: 32.13 MB / 0.6544 GB Notification: Performance of Detect States: time 0.0005383/0.6189, allocations: 0.5974 MB / 0.8569 GB, free: 31.77 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.0008501/0.6198, allocations: 0.8998 MB / 0.8577 GB, free: 31.21 MB / 0.6544 GB Notification: Performance of Causalize: time 0.004516/0.6243, allocations: 4.869 MB / 0.8625 GB, free: 29.2 MB / 0.6544 GB Notification: Performance of After Index Reduction Inline: time 0.001676/0.626, allocations: 1.905 MB / 0.8644 GB, free: 28.09 MB / 0.6544 GB Notification: Performance of Inline: time 0.004096/0.6301, allocations: 4.16 MB / 0.8684 GB, free: 25.73 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.0002286/0.6303, allocations: 211.9 kB / 0.8686 GB, free: 25.6 MB / 0.6544 GB Notification: Performance of Cleanup: time 0.0001913/0.6305, allocations: 172.8 kB / 0.8688 GB, free: 25.51 MB / 0.6544 GB Notification: Performance of Causalize: time 0.006675/0.6372, allocations: 8.002 MB / 0.8766 GB, free: 22.18 MB / 0.6544 GB Notification: Performance of Tearing: time 0.0003193/0.6376, allocations: 331.9 kB / 0.8769 GB, free: 21.91 MB / 0.6544 GB Notification: Performance of Initialization: time 1.443e-06/0.6376, allocations: 4 kB / 0.8769 GB, free: 21.91 MB / 0.6544 GB Notification: Performance of Tearing: time 0.0002173/0.6378, allocations: 332.5 kB / 0.8772 GB, free: 21.64 MB / 0.6544 GB Notification: Performance of Categorize: time 4.125e-05/0.6378, allocations: 8.906 kB / 0.8772 GB, free: 21.64 MB / 0.6544 GB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: min