Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001091/0.001091, allocations: 109.7 kB / 16.37 MB, free: 5.891 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.001041/0.001041, allocations: 186.2 kB / 17.3 MB, free: 5.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.135/1.135, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001912/0.001912, allocations: 291.4 kB / 291.4 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8158/0.8158, allocations: 169.3 MB / 0.4989 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.896e-05/2.907e-05, allocations: 2.281 kB / 0.5966 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002624/0.002668, allocations: 1.606 MB / 0.5981 GB, free: 12.88 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.003764, allocations: 0.6451 MB / 0.5988 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.512e-05/0.003842, allocations: 1.375 kB / 0.5988 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001462/0.003994, allocations: 73.17 kB / 0.5988 GB, free: 12.16 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002552/0.004256, allocations: 104.9 kB / 0.5989 GB, free: 12.06 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003183/0.004605, allocations: 101 kB / 0.599 GB, free: 11.96 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000193/0.004806, allocations: 145.4 kB / 0.5992 GB, free: 11.82 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.182e-05/0.004906, allocations: 8.672 kB / 0.5992 GB, free: 11.81 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001501/0.005061, allocations: 72.47 kB / 0.5993 GB, free: 11.74 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.005217, allocations: 88.72 kB / 0.5993 GB, free: 11.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.005242, allocations: 4 kB / 0.5993 GB, free: 11.65 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.005374, allocations: 79.92 kB / 0.5994 GB, free: 11.57 MB / 414.1 MB Notification: Performance of combineBinaries: time 0.0001235/0.005506, allocations: 131.2 kB / 0.5995 GB, free: 11.45 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 4.132e-05/0.005554, allocations: 74.94 kB / 0.5996 GB, free: 11.37 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.334e-05/0.005605, allocations: 24.58 kB / 0.5996 GB, free: 11.35 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.678e-05/0.005628, allocations: 4.625 kB / 0.5996 GB, free: 11.34 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 (9) * Number of variables: 13 (13) Notification: Performance of Bindings: time 0.0004621/0.006094, allocations: 456 kB / 0.6001 GB, free: 10.8 MB / 414.1 MB Notification: Performance of FunctionAlias: time 9.033e-05/0.006191, allocations: 52.56 kB / 0.6001 GB, free: 10.76 MB / 414.1 MB Notification: Performance of Early Inline: time 0.0001977/0.006397, allocations: 236.5 kB / 0.6004 GB, free: 10.51 MB / 414.1 MB Notification: Performance of simplify1: time 1.813e-05/0.006423, allocations: 11.98 kB / 0.6004 GB, free: 10.5 MB / 414.1 MB Notification: Performance of Alias: time 0.0003288/0.006757, allocations: 284.1 kB / 0.6006 GB, free: 10.17 MB / 414.1 MB Notification: Performance of simplify2: time 1.169e-05/0.006778, allocations: 7.984 kB / 0.6006 GB, free: 10.16 MB / 414.1 MB Notification: Performance of Events: time 8.26e-05/0.006865, allocations: 51.89 kB / 0.6007 GB, free: 10.11 MB / 414.1 MB Notification: Performance of Detect States: time 0.0002254/0.007098, allocations: 111.4 kB / 0.6008 GB, free: 9.988 MB / 414.1 MB Notification: Performance of Partitioning: time 9.553e-05/0.007201, allocations: 78.31 kB / 0.6009 GB, free: 9.898 MB / 414.1 MB Notification: Performance of Causalize: time 0.0003703/0.007578, allocations: 386.3 kB / 0.6012 GB, free: 9.516 MB / 414.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001759/0.007763, allocations: 227.5 kB / 0.6015 GB, free: 9.27 MB / 414.1 MB Notification: Performance of Inline: time 0.0003424/0.008112, allocations: 387.7 kB / 0.6018 GB, free: 8.867 MB / 414.1 MB Notification: Performance of Partitioning: time 2.675e-05/0.008149, allocations: 20.75 kB / 0.6019 GB, free: 8.84 MB / 414.1 MB Notification: Performance of Cleanup: time 2.502e-05/0.008179, allocations: 24.55 kB / 0.6019 GB, free: 8.816 MB / 414.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) = BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.solDecNOAA.getInterpolationCoefficients(solDecNOAA.table, solDecNOAA.offset, solDecNOAA.startTime, time, solDecNOAA.last, 1e-13, solDecNOAA.shiftTime) ($RES_$AUX_9) slice: {3}; Notification: Performance of Causalize: time 0.001001/0.009185, allocations: 1.1 MB / 0.6029 GB, free: 7.703 MB / 414.1 MB Notification: Performance of Tearing: time 4.469e-06/0.009199, allocations: 384 / 0.6029 GB, free: 7.703 MB / 414.1 MB Notification: Performance of Initialization: time 2.91e-07/0.009204, allocations: 0 / 0.6029 GB, free: 7.703 MB / 414.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;