Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.CCCVcharging.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.001343/0.001343, 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.001443/0.001443, allocations: 190.7 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.55/1.55, allocations: 225.7 MB / 253.4 MB, free: 12.79 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.Electrical.Batteries.Examples.CCCVcharging,tolerance=1e-06,outputFormat="mat",numberOfIntervals=12000,variableFilter="time|battery.capacitor.1..v|battery.capacitor.2..v|battery.limIntegrator.y|energy.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.CCCVcharging") translateModel(Modelica.Electrical.Batteries.Examples.CCCVcharging,tolerance=1e-06,outputFormat="mat",numberOfIntervals=12000,variableFilter="time|battery.capacitor.1..v|battery.capacitor.2..v|battery.limIntegrator.y|energy.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.CCCVcharging") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.446e-05, allocations: 2.281 kB / 371.7 MB, free: 9.18 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCVcharging): time 0.006149/0.006174, allocations: 3.643 MB / 375.4 MB, free: 5.516 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003392/0.009566, allocations: 1.788 MB / 377.1 MB, free: 3.711 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003227/0.009889, allocations: 15.88 kB / 377.2 MB, free: 3.695 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001383/0.01127, allocations: 0.572 MB / 377.7 MB, free: 3.121 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00066/0.01193, allocations: 350.2 kB / 378.1 MB, free: 2.777 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006872/0.01262, allocations: 291.5 kB / 378.4 MB, free: 2.492 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001486/0.0141, allocations: 1.256 MB / 379.6 MB, free: 1.234 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004123/0.01452, allocations: 196.8 kB / 379.8 MB, free: 1.039 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005807/0.0151, allocations: 462.8 kB / 380.3 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005743/0.01567, allocations: 478.3 kB / 380.7 MB, free: 120 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.01577, allocations: 71.94 kB / 380.8 MB, free: 48 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2497/0.2655, allocations: 446.7 kB / 381.2 MB, free: 14.57 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001648/0.2671, allocations: 1.4 MB / 382.6 MB, free: 14.1 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0007208/0.2678, allocations: 0.8314 MB / 383.5 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001659/0.268, allocations: 51.66 kB / 383.5 MB, free: 13.65 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0002072/0.2682, allocations: 27.86 kB / 383.5 MB, free: 13.64 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 (111) * Number of variables: 123 (106) Notification: Performance of [SIM] Bindings: time 0.006008/0.2742, allocations: 4.243 MB / 387.8 MB, free: 12.04 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0004401/0.2747, allocations: 323.9 kB / 388.1 MB, free: 11.98 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001911/0.2766, allocations: 1.474 MB / 389.6 MB, free: 11.31 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0007615/0.2773, allocations: 341.8 kB / 389.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.004425/0.2818, allocations: 2.287 MB / 392.2 MB, free: 10.01 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0004879/0.2822, allocations: 258.8 kB / 392.4 MB, free: 9.859 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002111/0.2824, allocations: 151.8 kB / 392.6 MB, free: 9.742 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0004781/0.2829, allocations: 332.2 kB / 392.9 MB, free: 9.477 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0004449/0.2834, allocations: 237.7 kB / 393.2 MB, free: 9.359 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.001081/0.2845, allocations: 0.5975 MB / 393.7 MB, free: 8.977 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.002811/0.2873, allocations: 1.248 MB / 395 MB, free: 8.531 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001602/0.2889, allocations: 1.137 MB / 396.1 MB, free: 7.922 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.004653/0.2935, allocations: 0.9691 MB / 397.1 MB, free: 7.43 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.002231/0.2958, allocations: 1.781 MB / 398.9 MB, free: 6.469 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 0.0001339/0.2959, allocations: 39.47 kB / 398.9 MB, free: 6.441 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0003079/0.2962, allocations: 283.8 kB / 399.2 MB, free: 6.273 MB / 302.1 MB Error: Internal error NBSlice.resolveSkips failed because skip of 8 is too large for record elements {cellData.rcData.CellType, cellData.rcData.R, cellData.rcData.T_ref, cellData.rcData.alpha, cellData.rcData.C}. Error: Internal error NBSlice.resolveDependency failed for: cellData.rcData.C. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [RECD] (140) battery.cellData = cellData ($RES_BND_198) Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.7135600830079056] Failed to read output from testmodel.py, exit status != 0: ['time', 'battery.capacitor[1].v', 'battery.capacitor[2].v', 'battery.limIntegrator.y', 'energy.y'] 0.3083470599958673 0.325362443 0.05375987300000001 Calling exit ...