Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001056/0.001056, allocations: 100.4 kB / 16.37 MB, free: 6.367 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.001056/0.001056, allocations: 194.9 kB / 17.31 MB, free: 5.91 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.092/1.092, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.493/1.493, allocations: 292.3 MB / 0.5496 GB, free: 17.71 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.65e-05/1.653e-05, allocations: 2.281 kB / 0.6728 GB, free: 5.938 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001333/0.001361, allocations: 0.5974 MB / 0.6734 GB, free: 5.336 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001873/0.001558, allocations: 39.88 kB / 0.6735 GB, free: 5.297 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.479e-05/0.001583, allocations: 0 / 0.6735 GB, free: 5.297 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.968e-05/0.001609, allocations: 0 / 0.6735 GB, free: 5.297 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.7e-05/0.00164, allocations: 7.938 kB / 0.6735 GB, free: 5.289 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001439/0.001793, allocations: 7.984 kB / 0.6735 GB, free: 5.281 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.864e-05/0.00187, allocations: 15.98 kB / 0.6735 GB, free: 5.266 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.3e-05/0.001908, allocations: 0 / 0.6735 GB, free: 5.266 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.425e-05/0.001927, allocations: 7.922 kB / 0.6735 GB, free: 5.258 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.438e-05/0.001955, allocations: 4 kB / 0.6735 GB, free: 5.254 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.156e-06/0.001967, allocations: 0 / 0.6735 GB, free: 5.254 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.82e-05/0.002029, allocations: 19.98 kB / 0.6735 GB, free: 5.234 MB / 0.545 GB Notification: Performance of combineBinaries: time 2.604e-05/0.00206, allocations: 3.906 kB / 0.6735 GB, free: 5.23 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 2.505e-06/0.002068, allocations: 7.938 kB / 0.6735 GB, free: 5.223 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.565e-06/0.002079, allocations: 0 / 0.6735 GB, free: 5.223 MB / 0.545 GB Notification: Performance of FrontEnd: time 6.142e-06/0.002089, allocations: 0 / 0.6735 GB, free: 5.223 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: 8 (2) * Number of variables: 8 (2) Notification: Performance of Bindings: time 0.0002181/0.002311, allocations: 180.2 kB / 0.6737 GB, free: 4.949 MB / 0.545 GB Notification: Performance of FunctionAlias: time 4.067e-05/0.002357, allocations: 15.94 kB / 0.6737 GB, free: 4.934 MB / 0.545 GB Notification: Performance of Early Inline: time 5.251e-05/0.002417, allocations: 60.3 kB / 0.6738 GB, free: 4.848 MB / 0.545 GB Notification: Performance of simplify1: time 2.896e-06/0.002425, allocations: 0 / 0.6738 GB, free: 4.848 MB / 0.545 GB Notification: Performance of Alias: time 5.116e-05/0.00248, allocations: 56.61 kB / 0.6738 GB, free: 4.754 MB / 0.545 GB Notification: Performance of simplify2: time 1.453e-06/0.002486, allocations: 0 / 0.6738 GB, free: 4.754 MB / 0.545 GB Notification: Performance of Events: time 2.895e-05/0.002518, allocations: 4 kB / 0.6738 GB, free: 4.75 MB / 0.545 GB Notification: Performance of Detect States: time 4.336e-05/0.002567, allocations: 42.53 kB / 0.6739 GB, free: 4.695 MB / 0.545 GB Notification: Performance of Partitioning: time 4.319e-05/0.002616, allocations: 24.06 kB / 0.6739 GB, free: 4.664 MB / 0.545 GB 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: {}