Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001144/0.001144, allocations: 105.5 kB / 16.42 MB, free: 6.477 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.001183/0.001183, allocations: 190 kB / 17.36 MB, free: 5.707 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.159/1.159, 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.207/1.207, allocations: 251.7 MB / 0.51 GB, free: 408 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.549e-05/1.55e-05, allocations: 2.281 kB / 0.7264 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001141/0.001165, allocations: 0.5952 MB / 0.727 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002031/0.001378, allocations: 47.81 kB / 0.727 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.919e-05/0.001406, allocations: 0 / 0.727 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.255e-05/0.001435, allocations: 0 / 0.727 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.968e-05/0.001468, allocations: 0 / 0.727 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000162/0.001648, allocations: 19.97 kB / 0.7271 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.266e-05/0.001727, allocations: 4 kB / 0.7271 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.164e-05/0.001764, allocations: 0 / 0.7271 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.65e-05/0.001785, allocations: 7.938 kB / 0.7271 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.563e-05/0.001815, allocations: 3.984 kB / 0.7271 GB, free: 4 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.077e-06/0.001828, allocations: 0 / 0.7271 GB, free: 4 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.318e-05/0.001895, allocations: 19.98 kB / 0.7271 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of combineBinaries: time 2.999e-05/0.001931, allocations: 7.938 kB / 0.7271 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 2.595e-06/0.001938, allocations: 3.906 kB / 0.7271 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.844e-06/0.001949, allocations: 0 / 0.7271 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of FrontEnd: time 6.061e-06/0.001962, allocations: 8 kB / 0.7271 GB, free: 3.961 MB / 0.5606 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.0002268/0.002192, allocations: 165.2 kB / 0.7273 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 4.468e-05/0.002243, allocations: 15.95 kB / 0.7273 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of Early Inline: time 6.471e-05/0.002313, allocations: 56.36 kB / 0.7273 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of simplify1: time 3.737e-06/0.002322, allocations: 0 / 0.7273 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of Alias: time 5.667e-05/0.002383, allocations: 60.55 kB / 0.7274 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of simplify2: time 1.593e-06/0.002389, allocations: 0 / 0.7274 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of Events: time 3.454e-05/0.002427, allocations: 7.953 kB / 0.7274 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of Detect States: time 5.259e-05/0.002485, allocations: 36.16 kB / 0.7274 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of Partitioning: time 4.02e-05/0.002531, allocations: 20.12 kB / 0.7275 GB, free: 3.418 MB / 0.5606 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: {}