Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.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.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 104.8 kB / 16.38 MB, free: 6.5 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.001063/0.001063, allocations: 190.5 kB / 17.31 MB, free: 5.809 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.1/1.1, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.505/1.505, allocations: 292.3 MB / 0.5496 GB, free: 17.48 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.683e-05/1.686e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.887 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.00138/0.00141, allocations: 0.6284 MB / 0.6735 GB, free: 5.254 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001518/0.002938, allocations: 1.475 MB / 0.6749 GB, free: 3.762 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.852e-05/0.002967, allocations: 3.938 kB / 0.6749 GB, free: 3.758 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.742e-05/0.003009, allocations: 7.922 kB / 0.6749 GB, free: 3.75 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.361e-05/0.003037, allocations: 0 / 0.6749 GB, free: 3.75 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005158/0.003564, allocations: 211.5 kB / 0.6751 GB, free: 3.543 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.542e-05/0.003648, allocations: 39.97 kB / 0.6752 GB, free: 3.504 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.195e-05/0.003686, allocations: 3.984 kB / 0.6752 GB, free: 3.5 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.136e-05/0.003712, allocations: 11.98 kB / 0.6752 GB, free: 3.488 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.278e-05/0.003759, allocations: 23.91 kB / 0.6752 GB, free: 3.465 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.003775, allocations: 4 kB / 0.6752 GB, free: 3.461 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002888/0.004069, allocations: 251.6 kB / 0.6754 GB, free: 3.215 MB / 0.545 GB Notification: Performance of combineBinaries: time 4.688e-05/0.004124, allocations: 47.52 kB / 0.6755 GB, free: 3.168 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 1.064e-05/0.00414, allocations: 27.56 kB / 0.6755 GB, free: 3.141 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.188e-05/0.004156, allocations: 0 / 0.6755 GB, free: 3.141 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.177e-06/0.004169, allocations: 7.984 kB / 0.6755 GB, free: 3.133 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: 7 (1) * Number of variables: 7 (7) Notification: Performance of Bindings: time 0.0002795/0.004452, allocations: 264.5 kB / 0.6758 GB, free: 2.773 MB / 0.545 GB Notification: Performance of FunctionAlias: time 9.529e-05/0.004553, allocations: 59.73 kB / 0.6758 GB, free: 2.715 MB / 0.545 GB Notification: Performance of Early Inline: time 0.0001369/0.004696, allocations: 164.3 kB / 0.676 GB, free: 2.527 MB / 0.545 GB Notification: Performance of simplify1: time 1.065e-05/0.004713, allocations: 7.984 kB / 0.676 GB, free: 2.52 MB / 0.545 GB Notification: Performance of Alias: time 6.124e-05/0.004778, allocations: 68.62 kB / 0.6761 GB, free: 2.414 MB / 0.545 GB Notification: Performance of simplify2: time 7.935e-06/0.004791, allocations: 19.86 kB / 0.6761 GB, free: 2.395 MB / 0.545 GB Notification: Performance of Events: time 1.933e-05/0.004814, allocations: 19.92 kB / 0.6761 GB, free: 2.375 MB / 0.545 GB Notification: Performance of Detect States: time 7.278e-05/0.004891, allocations: 55.36 kB / 0.6762 GB, free: 2.309 MB / 0.545 GB Notification: Performance of Partitioning: time 6.993e-05/0.004967, allocations: 48.11 kB / 0.6762 GB, free: 2.254 MB / 0.545 GB Notification: Performance of Causalize: time 0.0002828/0.005256, allocations: 256.5 kB / 0.6764 GB, free: 2 MB / 0.545 GB Notification: Performance of After Index Reduction Inline: time 0.0001245/0.00539, allocations: 160.2 kB / 0.6766 GB, free: 1.816 MB / 0.545 GB Notification: Performance of Inline: time 0.0001894/0.005586, allocations: 228.5 kB / 0.6768 GB, free: 1.559 MB / 0.545 GB Notification: Performance of Partitioning: time 1.233e-05/0.005604, allocations: 16.06 kB / 0.6768 GB, free: 1.535 MB / 0.545 GB Notification: Performance of Cleanup: time 1.774e-05/0.005626, allocations: 19.91 kB / 0.6768 GB, free: 1.516 MB / 0.545 GB Notification: Performance of Causalize: time 0.0002537/0.005884, allocations: 281 kB / 0.6771 GB, free: 1.234 MB / 0.545 GB Error: Internal error NBEquation.Equation.getResidualExp failed for: [ALGO] (7) ($RES_SIM_0) [----] x := (1.2 * time * (xSup[4] - xSup[1]) + xSup[1]) - 0.5; [----] y := $FUN_1; [----] yMonotone := $FUN_2; [----] y2 := $FUN_3; [----] y2Monotone := $FUN_4; [----] y1 := $FUN_5; [----] y1Monotone := $FUN_6; Error: Internal error NBInitialization.main failed to apply modules!