Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.TanksWithOverflow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 104 kB / 21.25 MB, free: 0.5664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 192.2 kB / 24.53 MB, free: 3.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.562/1.562, allocations: 225.7 MB / 253.4 MB, free: 12.78 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(Modelica.Fluid.Examples.Tanks.TanksWithOverflow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lowerTank.level|lowerTank.medium.h|upperTank.level|upperTank.medium.h|hysteresis.y",fileNamePrefix="Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.TanksWithOverflow") translateModel(Modelica.Fluid.Examples.Tanks.TanksWithOverflow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lowerTank.level|lowerTank.medium.h|upperTank.level|upperTank.medium.h|hysteresis.y",fileNamePrefix="Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.TanksWithOverflow") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.75e-05/2.75e-05, allocations: 2.281 kB / 371.7 MB, free: 9.176 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.TanksWithOverflow): time 0.3033/0.3034, allocations: 27.52 MB / 399.2 MB, free: 5.035 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01595/0.3193, allocations: 9.335 MB / 408.6 MB, free: 14.69 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002101/0.3214, allocations: 48.69 kB / 408.6 MB, free: 14.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002166/0.3236, allocations: 475.2 kB / 409.1 MB, free: 14.26 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007726/0.3313, allocations: 1.926 MB / 411 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01196/0.3433, allocations: 2.819 MB / 413.8 MB, free: 10.85 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.009494/0.3528, allocations: 4.797 MB / 418.6 MB, free: 8.094 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003722/0.3565, allocations: 1.133 MB / 419.7 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006803/0.3633, allocations: 2.096 MB / 421.8 MB, free: 4.949 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00408/0.3674, allocations: 1.335 MB / 423.2 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008118/0.3682, allocations: 132 kB / 423.3 MB, free: 3.48 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006471/0.3746, allocations: 1.642 MB / 425 MB, free: 1.836 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.005902/0.3805, allocations: 3.163 MB / 428.1 MB, free: 14.65 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.002723/0.3833, allocations: 1.762 MB / 429.9 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008346/0.3841, allocations: 116 kB / 430 MB, free: 12.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0003629/0.3845, allocations: 43.75 kB / 430 MB, free: 12.71 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 271 (203) * Number of variables: 271 (189) Notification: Performance of [SIM] Bindings: time 0.01156/0.396, allocations: 7.684 MB / 437.7 MB, free: 4.824 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001679/0.3977, allocations: 1.042 MB / 438.8 MB, free: 3.77 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.01035/0.4081, allocations: 7.152 MB / 445.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of [SIM] Simplify 1: time 0.002922/0.411, allocations: 1.41 MB / 447.3 MB, free: 11.15 MB / 350.1 MB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.009026/0.42, allocations: 4.683 MB / 452 MB, free: 6.078 MB / 350.1 MB Notification: Performance of [SIM] Simplify 2: time 0.002546/0.4225, allocations: 1.383 MB / 453.4 MB, free: 4.656 MB / 350.1 MB Notification: Performance of [SIM] Remove Stream: time 0.000743/0.4233, allocations: 491.8 kB / 453.9 MB, free: 4.137 MB / 350.1 MB Notification: Performance of [SIM] Detect States: time 0.001528/0.4248, allocations: 1.209 MB / 455.1 MB, free: 2.867 MB / 350.1 MB Notification: Performance of [SIM] Events: time 0.00122/0.426, allocations: 0.7874 MB / 455.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of [SIM] Partitioning: time 0.002971/0.429, allocations: 2.327 MB / 458.2 MB, free: 15.67 MB / 366.1 MB Error: Internal error NBResolveSingularities.indexReduction failed because slicing during index reduction is not yet supported. needed sliced dummy: [STAT] (2) Real[2] lowerTank.ports.p (start = {1e5 for $f2 in 1:2}, min = {0.0 for $f4 in 1:2}, max = {1e8 for $f3 in 1:2}, nominal = {1e5 for $f1 in 1:2}) slice: {0} " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.8358013380202465] Failed to read output from testmodel.py, exit status != 0: ['time', 'lowerTank.level', 'lowerTank.medium.h', 'upperTank.level', 'upperTank.medium.h', 'hysteresis.y'] 0.47197357402183115 0.48911112999999995 0.10108076099999995 Calling exit ...