Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.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.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 102.4 kB / 16.37 MB, free: 6.316 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.001232/0.001233, allocations: 193.8 kB / 17.31 MB, free: 5.891 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.438/1.438, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.729/1.729, allocations: 292.3 MB / 0.5496 GB, free: 17.49 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.277e-05/3.284e-05, allocations: 6.219 kB / 0.6728 GB, free: 5.953 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.00278/0.002829, allocations: 1.496 MB / 0.6743 GB, free: 4.441 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.003902, allocations: 0.6203 MB / 0.6749 GB, free: 3.812 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.033e-05/0.003974, allocations: 11.94 kB / 0.6749 GB, free: 3.801 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001435/0.004124, allocations: 71.83 kB / 0.675 GB, free: 3.73 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000168/0.004298, allocations: 79.81 kB / 0.6751 GB, free: 3.652 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000338/0.004654, allocations: 95.7 kB / 0.6752 GB, free: 3.559 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001556/0.00482, allocations: 107.7 kB / 0.6753 GB, free: 3.453 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.573e-05/0.004922, allocations: 11.98 kB / 0.6753 GB, free: 3.441 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.005056, allocations: 55.88 kB / 0.6753 GB, free: 3.387 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.005181, allocations: 63.81 kB / 0.6754 GB, free: 3.324 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.005204, allocations: 4 kB / 0.6754 GB, free: 3.32 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.005335, allocations: 83.86 kB / 0.6755 GB, free: 3.238 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.0001307/0.005473, allocations: 99.05 kB / 0.6756 GB, free: 3.141 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 3.062e-05/0.005509, allocations: 47.3 kB / 0.6756 GB, free: 3.094 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.105e-05/0.005547, allocations: 12 kB / 0.6756 GB, free: 3.082 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.392e-05/0.005566, allocations: 0 / 0.6756 GB, free: 3.082 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 (6) * Number of variables: 10 (10) Notification: Performance of Bindings: time 0.0006275/0.0062, allocations: 367.6 kB / 0.676 GB, free: 2.621 MB / 0.545 GB Notification: Performance of FunctionAlias: time 0.0001412/0.006347, allocations: 56.84 kB / 0.676 GB, free: 2.566 MB / 0.545 GB Notification: Performance of Early Inline: time 0.0003332/0.00669, allocations: 176.2 kB / 0.6762 GB, free: 2.367 MB / 0.545 GB Notification: Performance of simplify1: time 2.122e-05/0.006722, allocations: 8 kB / 0.6762 GB, free: 2.359 MB / 0.545 GB Notification: Performance of Alias: time 0.0004618/0.00719, allocations: 221.5 kB / 0.6764 GB, free: 2.082 MB / 0.545 GB Notification: Performance of simplify2: time 1.14e-05/0.007211, allocations: 7.969 kB / 0.6764 GB, free: 2.074 MB / 0.545 GB Notification: Performance of Events: time 9.449e-05/0.00731, allocations: 43.86 kB / 0.6765 GB, free: 2.031 MB / 0.545 GB Notification: Performance of Detect States: time 0.0001288/0.007446, allocations: 74.55 kB / 0.6765 GB, free: 1.945 MB / 0.545 GB Notification: Performance of Partitioning: time 0.0001092/0.007564, allocations: 76.23 kB / 0.6766 GB, free: 1.855 MB / 0.545 GB Notification: Performance of Causalize: time 0.0003661/0.007937, allocations: 280.6 kB / 0.6769 GB, free: 1.566 MB / 0.545 GB Notification: Performance of After Index Reduction Inline: time 0.0001637/0.00811, allocations: 160.3 kB / 0.677 GB, free: 1.383 MB / 0.545 GB Notification: Performance of Inline: time 0.0002964/0.008415, allocations: 273.3 kB / 0.6773 GB, free: 1.082 MB / 0.545 GB Notification: Performance of Partitioning: time 2.098e-05/0.008445, allocations: 20.06 kB / 0.6773 GB, free: 1.055 MB / 0.545 GB Notification: Performance of Cleanup: time 1.876e-05/0.008471, allocations: 15.98 kB / 0.6773 GB, free: 1.039 MB / 0.545 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [TUPL] (4) ($FUN_3, $FUN_4, $FUN_5, $FUN_6) = Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.solDecNOAA.getInterpolationCoefficients(solDecNOAA.table, solDecNOAA.offset, solDecNOAA.startTime, time, solDecNOAA.last, 1e-13, solDecNOAA.shiftTime) ($RES_$AUX_6) slice: {3}; Notification: Performance of Causalize: time 0.0007589/0.009235, allocations: 0.7042 MB / 0.678 GB, free: 312 kB / 0.545 GB Notification: Performance of Tearing: time 6.712e-06/0.009253, allocations: 4.062 kB / 0.678 GB, free: 308 kB / 0.545 GB Notification: Performance of Initialization: time 3.01e-07/0.009258, allocations: 0 / 0.678 GB, free: 308 kB / 0.545 GB Error: Internal error NBEquation.Equation.getResidualExp failed for: [ALGO] (5) ($RES_SIM_0) [----] assert(not (solDecNOAA.table[1, 1] > 0.0 or solDecNOAA.table[1, 1] < 0.0), "The first point in time has to be set to 0, but is table[1,1] = " + String(solDecNOAA.table[1, 1], 6, 0, true), AssertionLevel.error); [----] when {time >= $PRE.solDecNOAA.nextEvent, initial()} then [----] (solDecNOAA.a, solDecNOAA.b, solDecNOAA.nextEventScaled, solDecNOAA.last) := ($FUN_3, $FUN_4, $FUN_5, $FUN_6); [----] solDecNOAA.nextEvent := solDecNOAA.nextEventScaled; [----] end when;