Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.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.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 110.6 kB / 16.42 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.001099/0.001099, allocations: 189.9 kB / 17.35 MB, free: 5.754 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.262/1.262, 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.24/1.24, allocations: 251.7 MB / 0.51 GB, free: 412 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.459e-05/2.459e-05, allocations: 5.938 kB / 0.7264 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor): time 0.02368/0.02371, allocations: 23.55 MB / 0.7494 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0133/0.03706, allocations: 9.567 MB / 0.7587 GB, free: 3.492 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001519/0.03864, allocations: 35.69 kB / 0.7588 GB, free: 3.457 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001188/0.03984, allocations: 393.4 kB / 0.7591 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00281/0.04267, allocations: 1.107 MB / 0.7602 GB, free: 1.961 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002372/0.04505, allocations: 1.08 MB / 0.7613 GB, free: 0.8906 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.3186/0.3637, allocations: 1.887 MB / 0.7631 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00109/0.3648, allocations: 0.782 MB / 0.7639 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/0.366, allocations: 0.7666 MB / 0.7646 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007059/0.3667, allocations: 0.6388 MB / 0.7652 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001014/0.3668, allocations: 68.34 kB / 0.7653 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001561/0.3684, allocations: 1 MB / 0.7663 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of combineBinaries: time 0.0008951/0.3693, allocations: 1.573 MB / 0.7678 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of replaceArrayConstructors: time 0.0004042/0.3697, allocations: 0.9869 MB / 0.7688 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001588/0.3699, allocations: 157.8 kB / 0.7689 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of FrontEnd: time 0.0001517/0.37, allocations: 45.05 kB / 0.769 GB, free: 10.97 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 (124) * Number of variables: 139 (121) Notification: Performance of Bindings: time 0.002804/0.3728, allocations: 3.907 MB / 0.7728 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of FunctionAlias: time 0.0003375/0.3732, allocations: 312.5 kB / 0.7731 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of Early Inline: time 0.002837/0.376, allocations: 2.974 MB / 0.776 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of simplify1: time 0.0002694/0.3763, allocations: 258.4 kB / 0.7762 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of Alias: time 0.002862/0.3792, allocations: 2.768 MB / 0.7789 GB, free: 8.141 MB / 0.5919 GB Notification: Performance of simplify2: time 0.0002554/0.3794, allocations: 231.6 kB / 0.7792 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of Events: time 0.000467/0.3799, allocations: 437.1 kB / 0.7796 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of Detect States: time 0.0006148/0.3805, allocations: 0.6072 MB / 0.7802 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.0006663/0.3812, allocations: 0.7028 MB / 0.7809 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of Causalize: time 0.003745/0.385, allocations: 3.924 MB / 0.7847 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of After Index Reduction Inline: time 0.001809/0.3868, allocations: 2.073 MB / 0.7867 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of Inline: time 0.003756/0.3905, allocations: 4.225 MB / 0.7908 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.0001446/0.3907, allocations: 145.9 kB / 0.791 GB, free: 2.379 MB / 0.5919 GB Notification: Performance of Cleanup: time 0.0003872/0.3911, allocations: 456.3 kB / 0.7914 GB, free: 2.148 MB / 0.5919 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [TUPL] (4) ($FUN_1, $FUN_2, $FUN_3, $FUN_4) = Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.ySet.getInterpolationCoefficients(ySet.table, ySet.offset, ySet.startTime, time, ySet.last, 1e-13, ySet.shiftTime) ($RES_$AUX_158) slice: {3}; Notification: Performance of Causalize: time 0.02177/0.4129, allocations: 24.87 MB / 0.8157 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of Tearing: time 2.072e-05/0.4129, allocations: 0 / 0.8157 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of Initialization: time 1.924e-06/0.4129, allocations: 6.812 kB / 0.8157 GB, free: 7.668 MB / 0.6075 GB Error: Internal error NBEquation.Equation.getResidualExp failed for: [TUPL] (4) ($FUN_1, $FUN_2, $FUN_3, $FUN_4) = Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.ySet.getInterpolationCoefficients(ySet.table, ySet.offset, ySet.startTime, time, ySet.last, 1e-13, ySet.shiftTime) ($RES_$AUX_158)