Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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(Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001193/0.001193, allocations: 107.3 kB / 16.42 MB, free: 5.973 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.001064/0.001064, allocations: 191.3 kB / 17.36 MB, free: 5.566 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.155/1.155, 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/Annex60 1.0.0/package.mo): time 0.2511/0.2511, allocations: 54.95 MB / 325.6 MB, free: 4.844 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/1.869e-05, allocations: 9.016 kB / 456.8 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002168/0.002196, allocations: 1.471 MB / 458.3 MB, free: 1.246 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.003288, allocations: 0.6441 MB / 458.9 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.177e-05/0.003361, allocations: 4 kB / 458.9 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.003498, allocations: 71.83 kB / 459 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001834/0.003687, allocations: 83.75 kB / 459.1 MB, free: 448 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003607/0.004064, allocations: 91.7 kB / 459.2 MB, free: 356 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.004245, allocations: 107.8 kB / 459.3 MB, free: 248 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.897e-05/0.004331, allocations: 7.984 kB / 459.3 MB, free: 240 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.004475, allocations: 71.75 kB / 459.4 MB, free: 168 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.00461, allocations: 55.89 kB / 459.4 MB, free: 112 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.004637, allocations: 4 kB / 459.4 MB, free: 108 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.004787, allocations: 83.84 kB / 459.5 MB, free: 24 kB / 334.1 MB Notification: Performance of combineBinaries: time 9.828e-05/0.004892, allocations: 91.16 kB / 459.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 2.714e-05/0.004926, allocations: 51.2 kB / 459.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.854e-05/0.004961, allocations: 15.94 kB / 459.6 MB, free: 15.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.278e-05/0.004978, allocations: 0 / 459.6 MB, free: 15.87 MB / 350.1 MB 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.0003827/0.005365, allocations: 367.7 kB / 460 MB, free: 15.41 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.000101/0.005472, allocations: 40.7 kB / 460 MB, free: 15.37 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0001634/0.005643, allocations: 176.3 kB / 460.2 MB, free: 15.17 MB / 350.1 MB Notification: Performance of simplify1: time 1.961e-05/0.005668, allocations: 11.98 kB / 460.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of Alias: time 0.0003083/0.005982, allocations: 229.5 kB / 460.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of simplify2: time 1.03e-05/0.006001, allocations: 3.984 kB / 460.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of Events: time 7.863e-05/0.006085, allocations: 39.89 kB / 460.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of Detect States: time 0.0001048/0.006196, allocations: 76.2 kB / 460.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of Partitioning: time 8.403e-05/0.006288, allocations: 68.23 kB / 460.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of Causalize: time 0.000317/0.006611, allocations: 292.6 kB / 460.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001771/0.006797, allocations: 164.5 kB / 461.1 MB, free: 14.17 MB / 350.1 MB Notification: Performance of Inline: time 0.0002923/0.007096, allocations: 268.9 kB / 461.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of Partitioning: time 2.379e-05/0.007128, allocations: 24.05 kB / 461.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of Cleanup: time 2.251e-05/0.007157, allocations: 19.86 kB / 461.4 MB, free: 13.82 MB / 350.1 MB 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) = Annex60.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.0008487/0.008011, allocations: 0.7022 MB / 462.1 MB, free: 13.1 MB / 350.1 MB Notification: Performance of Tearing: time 8.105e-06/0.008029, allocations: 3.938 kB / 462.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of Initialization: time 6.01e-07/0.008034, allocations: 0 / 462.1 MB, free: 13.09 MB / 350.1 MB 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;