Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 105 kB / 16.42 MB, free: 6.52 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.001725/0.001725, allocations: 192.3 kB / 17.35 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.295/1.295, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.4322/0.4322, allocations: 95.49 MB / 366.1 MB, free: 12.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.492e-05/2.491e-05, allocations: 6.219 kB / 0.5042 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001187/0.001221, allocations: 0.5682 MB / 0.5048 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001582/0.002813, allocations: 1.42 MB / 0.5062 GB, free: 9.867 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.038e-05/0.002844, allocations: 0 / 0.5062 GB, free: 9.867 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.137e-05/0.002891, allocations: 3.938 kB / 0.5062 GB, free: 9.863 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.498e-05/0.002931, allocations: 0 / 0.5062 GB, free: 9.863 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005238/0.003464, allocations: 183 kB / 0.5064 GB, free: 9.688 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.00358, allocations: 55.83 kB / 0.5064 GB, free: 9.633 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.753e-05/0.003624, allocations: 11.94 kB / 0.5064 GB, free: 9.621 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.214e-05/0.003661, allocations: 15.98 kB / 0.5064 GB, free: 9.605 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.841e-05/0.003714, allocations: 27.89 kB / 0.5065 GB, free: 9.578 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.003732, allocations: 4 kB / 0.5065 GB, free: 9.574 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002639/0.004, allocations: 195.7 kB / 0.5067 GB, free: 9.383 MB / 398.1 MB Notification: Performance of combineBinaries: time 6.218e-05/0.004071, allocations: 59.45 kB / 0.5067 GB, free: 9.324 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 2.579e-05/0.004103, allocations: 31.56 kB / 0.5067 GB, free: 9.293 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.645e-05/0.004124, allocations: 3.938 kB / 0.5068 GB, free: 9.289 MB / 398.1 MB Notification: Performance of FrontEnd: time 7.294e-06/0.004137, allocations: 4 kB / 0.5068 GB, free: 9.285 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: 4 (1) * Number of variables: 4 (4) Notification: Performance of Bindings: time 0.0003414/0.004482, allocations: 296.6 kB / 0.507 GB, free: 8.895 MB / 398.1 MB Notification: Performance of FunctionAlias: time 0.0001169/0.004605, allocations: 75.58 kB / 0.5071 GB, free: 8.824 MB / 398.1 MB Notification: Performance of Early Inline: time 0.0001725/0.004784, allocations: 180.2 kB / 0.5073 GB, free: 8.621 MB / 398.1 MB Notification: Performance of simplify1: time 1.74e-05/0.00481, allocations: 16 kB / 0.5073 GB, free: 8.605 MB / 398.1 MB Notification: Performance of Alias: time 5.844e-05/0.004873, allocations: 68.58 kB / 0.5074 GB, free: 8.5 MB / 398.1 MB Notification: Performance of simplify2: time 1.022e-05/0.004888, allocations: 11.98 kB / 0.5074 GB, free: 8.488 MB / 398.1 MB Notification: Performance of Events: time 3.574e-05/0.004928, allocations: 11.98 kB / 0.5074 GB, free: 8.477 MB / 398.1 MB Notification: Performance of Detect States: time 9.766e-05/0.00503, allocations: 72.94 kB / 0.5075 GB, free: 8.391 MB / 398.1 MB Notification: Performance of Partitioning: time 6.714e-05/0.005104, allocations: 48.05 kB / 0.5075 GB, free: 8.336 MB / 398.1 MB Notification: Performance of Causalize: time 0.0002103/0.005321, allocations: 140 kB / 0.5076 GB, free: 8.191 MB / 398.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001576/0.005487, allocations: 176.3 kB / 0.5078 GB, free: 7.992 MB / 398.1 MB Notification: Performance of Inline: time 0.0002482/0.005741, allocations: 272.3 kB / 0.5081 GB, free: 7.691 MB / 398.1 MB Notification: Performance of Partitioning: time 1.514e-05/0.005763, allocations: 12.12 kB / 0.5081 GB, free: 7.672 MB / 398.1 MB Notification: Performance of Cleanup: time 1.605e-05/0.005784, allocations: 15.94 kB / 0.5081 GB, free: 7.656 MB / 398.1 MB Notification: Performance of Causalize: time 0.000432/0.00622, allocations: 393.7 kB / 0.5085 GB, free: 7.273 MB / 398.1 MB Error: Internal error NBEquation.Equation.getResidualExp failed for: [ALGO] (4) ($RES_SIM_1) [----] x := (1.2 * time * (xd[4] - xd[1]) + xd[1]) - 0.5; [----] i := 1; [----] for j in 1:3 loop [----] if x > xd[j] then [----] i := j; [----] end if; [----] end for; [----] y := $FUN_1; [----] yMonotone := $FUN_2; Error: Internal error NBInitialization.main failed to apply modules!