Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_Stack.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001502/0.001502, allocations: 99.64 kB / 21.25 MB, free: 424 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001833/0.001833, allocations: 214.5 kB / 24.55 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.524/1.524, allocations: 230.5 MB / 258.2 MB, free: 7.723 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Batteries.Examples.CCCV_Stack,tolerance=1e-06,outputFormat="mat",numberOfIntervals=12000,variableFilter="time|energy.y|stack.cell.1, 1..cell.limIntegrator.y|stack.cell.1, 1..limIntegrator.y|stack.cell.1, 2..cell.limIntegrator.y|stack.cell.1, 2..limIntegrator.y|stack.cell.2, 1..cell.limIntegrator.y|stack.cell.2, 1..limIntegrator.y|stack.cell.2, 2..cell.limIntegrator.y|stack.cell.2, 2..limIntegrator.y|stack.cell.3, 1..cell.limIntegrator.y|stack.cell.3, 1..limIntegrator.y|stack.cell.3, 2..cell.limIntegrator.y|stack.cell.3, 2..limIntegrator.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_Stack") translateModel(Modelica.Electrical.Batteries.Examples.CCCV_Stack,tolerance=1e-06,outputFormat="mat",numberOfIntervals=12000,variableFilter="time|energy.y|stack.cell.1, 1..cell.limIntegrator.y|stack.cell.1, 1..limIntegrator.y|stack.cell.1, 2..cell.limIntegrator.y|stack.cell.1, 2..limIntegrator.y|stack.cell.2, 1..cell.limIntegrator.y|stack.cell.2, 1..limIntegrator.y|stack.cell.2, 2..cell.limIntegrator.y|stack.cell.2, 2..limIntegrator.y|stack.cell.3, 1..cell.limIntegrator.y|stack.cell.3, 1..limIntegrator.y|stack.cell.3, 2..cell.limIntegrator.y|stack.cell.3, 2..limIntegrator.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_Stack") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.347e-05/2.347e-05, allocations: 6.219 kB / 379 MB, free: 2.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCV_Stack): time 0.2358/0.2358, allocations: 8.753 MB / 387.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005667/0.2415, allocations: 3.361 MB / 391.1 MB, free: 8.039 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009822/0.2425, allocations: 34.06 kB / 391.2 MB, free: 8.023 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00301/0.2455, allocations: 1.146 MB / 392.3 MB, free: 7.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002022/0.2475, allocations: 0.6857 MB / 393 MB, free: 7.375 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.2487, allocations: 499.8 kB / 393.5 MB, free: 7.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00692/0.2556, allocations: 6.914 MB / 400.4 MB, free: 4.172 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001958/0.2575, allocations: 1.317 MB / 401.7 MB, free: 3.219 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008341/0.2659, allocations: 6.054 MB / 407.8 MB, free: 416 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004374/0.2702, allocations: 2.156 MB / 409.9 MB, free: 14.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006457/0.2709, allocations: 292 kB / 410.2 MB, free: 13.96 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003261/0.2742, allocations: 1.034 MB / 411.3 MB, free: 12.93 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.005571/0.2797, allocations: 4.712 MB / 416 MB, free: 8.188 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.002919/0.2826, allocations: 2.478 MB / 418.4 MB, free: 5.691 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004881/0.2831, allocations: 136 kB / 418.6 MB, free: 5.559 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0003286/0.2835, allocations: 55.66 kB / 418.6 MB, free: 5.504 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 837 (412) * Number of variables: 837 (187) Notification: Performance of [SIM] Bindings: time 0.02221/0.3057, allocations: 18.84 MB / 437.5 MB, free: 2.289 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002233/0.3079, allocations: 1.446 MB / 438.9 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.008201/0.3161, allocations: 6.576 MB / 445.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of [SIM] Simplify 1: time 0.002794/0.3189, allocations: 1.189 MB / 446.7 MB, free: 8.895 MB / 350.1 MB Notification: Performance of [SIM] Alias: time 0.00959/0.3285, allocations: 6.742 MB / 453.4 MB, free: 1.828 MB / 350.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001771/0.3303, allocations: 1.102 MB / 454.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0009113/0.3312, allocations: 0.649 MB / 455.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.001545/0.3327, allocations: 1.444 MB / 456.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of [SIM] Events: time 0.0007401/0.3335, allocations: 0.515 MB / 457.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 0.003187/0.3366, allocations: 2.771 MB / 459.9 MB, free: 11.02 MB / 366.1 MB Error: Internal error NBSlice.locationToIndex failed because value of 3 is too large for size 2. Error: Internal error NBSlice.resolveDependency failed for: stack.cell[$i1, $i2].i. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [FOR-] (6) ($RES_BND_470) [----] for {$i1 in 1:2, $i2 in 1:3} loop [----] [SCAL] (1) stack.cell[$i1, $i2].i = stack.cell[$i2, $i1].p.i ($RES_BND_471) [----] end for; " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.728731534036342] Failed to read output from testmodel.py, exit status != 0: ['time', 'energy.y', 'stack.cell[1, 1].cell.limIntegrator.y', 'stack.cell[1, 1].limIntegrator.y', 'stack.cell[1, 2].cell.limIntegrator.y', 'stack.cell[1, 2].limIntegrator.y', 'stack.cell[2, 1].cell.limIntegrator.y', 'stack.cell[2, 1].limIntegrator.y', 'stack.cell[2, 2].cell.limIntegrator.y', 'stack.cell[2, 2].limIntegrator.y', 'stack.cell[3, 1].cell.limIntegrator.y', 'stack.cell[3, 1].limIntegrator.y', 'stack.cell[3, 2].cell.limIntegrator.y', 'stack.cell[3, 2].limIntegrator.y'] 0.34728814504342154 0.36146389100000004 0.074917809 Calling exit ...