Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001289/0.001289, allocations: 108.1 kB / 16.38 MB, free: 5.969 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.001187/0.001188, allocations: 190.7 kB / 17.32 MB, free: 5.582 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.418/1.418, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.73/1.73, allocations: 292.3 MB / 0.5496 GB, free: 17.66 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.158e-05/3.159e-05, allocations: 6.219 kB / 0.6729 GB, free: 5.957 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor): time 0.02224/0.02229, allocations: 23.55 MB / 0.6959 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01371/0.03604, allocations: 9.594 MB / 0.7052 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00141/0.0375, allocations: 35.69 kB / 0.7053 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001078/0.03859, allocations: 385.4 kB / 0.7056 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002814/0.04141, allocations: 1.104 MB / 0.7067 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002706/0.04418, allocations: 1.082 MB / 0.7078 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002318/0.0465, allocations: 1.889 MB / 0.7096 GB, free: 212 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001011/0.04753, allocations: 0.7846 MB / 0.7104 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001302/0.04884, allocations: 0.7706 MB / 0.7111 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007506/0.0496, allocations: 0.6381 MB / 0.7117 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.04971, allocations: 68 kB / 0.7118 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001731/0.05145, allocations: 0.9983 MB / 0.7128 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of combineBinaries: time 0.001173/0.05264, allocations: 1.576 MB / 0.7143 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of replaceArrayConstructors: time 0.0006359/0.05328, allocations: 0.9936 MB / 0.7153 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002066/0.0535, allocations: 159.4 kB / 0.7155 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of FrontEnd: time 0.0002085/0.05371, allocations: 43.81 kB / 0.7155 GB, free: 10.12 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.003541/0.05726, allocations: 3.908 MB / 0.7193 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of FunctionAlias: time 0.0003806/0.05765, allocations: 330.1 kB / 0.7196 GB, free: 5.742 MB / 0.5919 GB Notification: Performance of Early Inline: time 0.0027/0.06036, allocations: 2.979 MB / 0.7225 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of simplify1: time 0.0002287/0.0606, allocations: 255.7 kB / 0.7228 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of Alias: time 0.00288/0.06349, allocations: 2.782 MB / 0.7255 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of simplify2: time 0.0002065/0.06371, allocations: 239.7 kB / 0.7257 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of Events: time 0.0004434/0.06416, allocations: 440.5 kB / 0.7261 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of Detect States: time 0.0005317/0.0647, allocations: 0.6059 MB / 0.7267 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of Partitioning: time 0.0006725/0.06538, allocations: 0.7063 MB / 0.7274 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of Causalize: time 0.003709/0.0691, allocations: 3.897 MB / 0.7312 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of After Index Reduction Inline: time 0.001814/0.07093, allocations: 2.102 MB / 0.7333 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of Inline: time 0.003762/0.0747, allocations: 4.176 MB / 0.7374 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of Partitioning: time 0.0001698/0.07488, allocations: 143.7 kB / 0.7375 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of Cleanup: time 0.0003639/0.07525, allocations: 447.3 kB / 0.7379 GB, free: 2.383 MB / 0.6075 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.02224/0.09751, allocations: 25.15 MB / 0.7625 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of Tearing: time 2.145e-05/0.09756, allocations: 0 / 0.7625 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of Initialization: time 3.156e-06/0.09757, allocations: 0 / 0.7625 GB, free: 10.29 MB / 0.6387 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)