Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 2.136e-05/2.137e-05, allocations: 2.281 kB / 0.5922 GB, free: 18.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002103/0.002132, allocations: 1.484 MB / 0.5937 GB, free: 17.31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009131/0.003059, allocations: 0.6327 MB / 0.5943 GB, free: 16.79 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.384e-05/0.003144, allocations: 5.906 kB / 0.5943 GB, free: 16.79 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001214/0.003271, allocations: 67.84 kB / 0.5944 GB, free: 16.72 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001597/0.003437, allocations: 77.91 kB / 0.5944 GB, free: 16.64 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003487/0.003803, allocations: 95.7 kB / 0.5945 GB, free: 16.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.003939, allocations: 110.3 kB / 0.5946 GB, free: 16.45 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.53e-05/0.004021, allocations: 8 kB / 0.5947 GB, free: 16.44 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.004133, allocations: 63.86 kB / 0.5947 GB, free: 16.38 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.716e-05/0.004238, allocations: 63.81 kB / 0.5948 GB, free: 16.31 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.00426, allocations: 4 kB / 0.5948 GB, free: 16.31 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.788e-05/0.004363, allocations: 83.86 kB / 0.5949 GB, free: 16.23 MB / 446.1 MB Notification: Performance of combineBinaries: time 6.827e-05/0.004437, allocations: 91.06 kB / 0.5949 GB, free: 16.14 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 1.596e-05/0.004458, allocations: 51.22 kB / 0.595 GB, free: 16.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.431e-05/0.004487, allocations: 11.94 kB / 0.595 GB, free: 16.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.201e-05/0.004504, allocations: 0 / 0.595 GB, free: 16.07 MB / 446.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.0003027/0.00481, allocations: 371.7 kB / 0.5954 GB, free: 15.61 MB / 446.1 MB Notification: Performance of FunctionAlias: time 8.773e-05/0.004905, allocations: 60.89 kB / 0.5954 GB, free: 15.55 MB / 446.1 MB Notification: Performance of Early Inline: time 0.0001178/0.00503, allocations: 172.3 kB / 0.5956 GB, free: 15.36 MB / 446.1 MB Notification: Performance of simplify1: time 1.611e-05/0.005053, allocations: 15.84 kB / 0.5956 GB, free: 15.34 MB / 446.1 MB Notification: Performance of Alias: time 0.0002422/0.005299, allocations: 217.6 kB / 0.5958 GB, free: 15.07 MB / 446.1 MB Notification: Performance of simplify2: time 6.733e-06/0.005315, allocations: 0 / 0.5958 GB, free: 15.07 MB / 446.1 MB Notification: Performance of Events: time 6.653e-05/0.005386, allocations: 47.88 kB / 0.5959 GB, free: 15.02 MB / 446.1 MB Notification: Performance of Detect States: time 8.066e-05/0.005473, allocations: 84.11 kB / 0.5959 GB, free: 14.92 MB / 446.1 MB Notification: Performance of Partitioning: time 6.198e-05/0.005542, allocations: 75.45 kB / 0.596 GB, free: 14.84 MB / 446.1 MB Notification: Performance of Causalize: time 0.0002269/0.005774, allocations: 278.9 kB / 0.5963 GB, free: 14.55 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 9.292e-05/0.005875, allocations: 160.6 kB / 0.5964 GB, free: 14.37 MB / 446.1 MB Notification: Performance of Inline: time 0.0001968/0.006078, allocations: 279.4 kB / 0.5967 GB, free: 14.06 MB / 446.1 MB Notification: Performance of Partitioning: time 1.473e-05/0.006101, allocations: 16.12 kB / 0.5967 GB, free: 14.04 MB / 446.1 MB Notification: Performance of Cleanup: time 1.903e-05/0.006124, allocations: 16.14 kB / 0.5967 GB, free: 14.02 MB / 446.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) = 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.0005448/0.006675, allocations: 0.6997 MB / 0.5974 GB, free: 13.29 MB / 446.1 MB Notification: Performance of Tearing: time 5.73e-06/0.00669, allocations: 3.938 kB / 0.5974 GB, free: 13.29 MB / 446.1 MB Notification: Performance of Initialization: time 1.342e-06/0.006696, allocations: 0 / 0.5974 GB, free: 13.29 MB / 446.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;