Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 104.3 kB / 16.42 MB, free: 6.512 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.001218/0.001218, allocations: 188.3 kB / 17.36 MB, free: 5.73 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.285/1.285, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.442/0.442, allocations: 95.48 MB / 366.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.995e-05/1.995e-05, allocations: 2.281 kB / 0.5042 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001358/0.001388, allocations: 0.5409 MB / 0.5048 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002212/0.001621, allocations: 43.88 kB / 0.5048 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.176e-05/0.001652, allocations: 0 / 0.5048 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.65e-05/0.001684, allocations: 0 / 0.5048 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.717e-05/0.001725, allocations: 11.94 kB / 0.5048 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.001944, allocations: 11.98 kB / 0.5048 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 8.362e-05/0.002036, allocations: 7.938 kB / 0.5048 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.58e-05/0.002077, allocations: 0 / 0.5048 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.638e-05/0.002098, allocations: 0 / 0.5048 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.269e-05/0.002134, allocations: 7.984 kB / 0.5048 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.00215, allocations: 0 / 0.5048 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.816e-05/0.002232, allocations: 19.98 kB / 0.5049 GB, free: 11.25 MB / 398.1 MB Notification: Performance of combineBinaries: time 3.227e-05/0.00227, allocations: 7.891 kB / 0.5049 GB, free: 11.25 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 4.618e-06/0.002282, allocations: 11.84 kB / 0.5049 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.789e-06/0.002297, allocations: 4 kB / 0.5049 GB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 8.506e-06/0.002309, allocations: 0 / 0.5049 GB, free: 11.23 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 (2) * Number of variables: 8 (2) Notification: Performance of Bindings: time 0.0002544/0.002568, allocations: 165.2 kB / 0.505 GB, free: 10.97 MB / 398.1 MB Notification: Performance of FunctionAlias: time 5.058e-05/0.002627, allocations: 16 kB / 0.5051 GB, free: 10.95 MB / 398.1 MB Notification: Performance of Early Inline: time 7.285e-05/0.002706, allocations: 60.31 kB / 0.5051 GB, free: 10.87 MB / 398.1 MB Notification: Performance of simplify1: time 3.717e-06/0.002716, allocations: 0 / 0.5051 GB, free: 10.87 MB / 398.1 MB Notification: Performance of Alias: time 5.13e-05/0.002774, allocations: 60.55 kB / 0.5052 GB, free: 10.77 MB / 398.1 MB Notification: Performance of simplify2: time 1.563e-06/0.002781, allocations: 0 / 0.5052 GB, free: 10.77 MB / 398.1 MB Notification: Performance of Events: time 4.191e-05/0.002826, allocations: 11.98 kB / 0.5052 GB, free: 10.76 MB / 398.1 MB Notification: Performance of Detect States: time 6.677e-05/0.002899, allocations: 40.11 kB / 0.5052 GB, free: 10.7 MB / 398.1 MB Notification: Performance of Partitioning: time 4.837e-05/0.002953, allocations: 20.12 kB / 0.5052 GB, free: 10.68 MB / 398.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (1|1) Unmatched Variables *************************** [ALGB] (1) Real y slice: {} (1|1) Unmatched Equations *************************** [ALGO] (1) ($RES_SIM_0) [----] y := $FUN_1; [----] assert(y - 286.0 < 1e-4, "Error. Function should have returned 286.", AssertionLevel.error); slice: {}