Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.CCCVcharging.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 99.59 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 222.7 kB / 24.5 MB, free: 3.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.448/1.448, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Batteries.Examples.CCCVcharging") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.805e-05/2.805e-05, allocations: 2.281 kB / 378.9 MB, free: 2.523 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCVcharging): time 0.2047/0.2048, allocations: 3.69 MB / 382.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003496/0.2082, allocations: 1.946 MB / 384.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002999/0.2085, allocations: 13.09 kB / 384.6 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001517/0.2101, allocations: 0.5761 MB / 385.2 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008277/0.2109, allocations: 395.7 kB / 385.5 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007622/0.2117, allocations: 289.8 kB / 385.8 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001466/0.2131, allocations: 1.254 MB / 387.1 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004156/0.2135, allocations: 209.3 kB / 387.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005703/0.2141, allocations: 464.5 kB / 387.7 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000596/0.2147, allocations: 0.4973 MB / 388.2 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001082/0.2148, allocations: 68.78 kB / 388.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009883/0.2158, allocations: 463.8 kB / 388.7 MB, free: 10.85 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001225/0.217, allocations: 1.414 MB / 390.2 MB, free: 9.961 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004674/0.2175, allocations: 0.8481 MB / 391 MB, free: 9.391 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.2176, allocations: 53.62 kB / 391.1 MB, free: 9.391 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001242/0.2177, allocations: 27.73 kB / 391.1 MB, free: 9.379 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.004052/0.2218, allocations: 4.26 MB / 395.4 MB, free: 6.648 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003477/0.2221, allocations: 324.2 kB / 395.7 MB, free: 6.441 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001698/0.2238, allocations: 1.472 MB / 397.1 MB, free: 5.543 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0006856/0.2245, allocations: 366.1 kB / 397.5 MB, free: 5.344 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.003502/0.228, allocations: 2.236 MB / 399.7 MB, free: 4.062 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003347/0.2283, allocations: 279.4 kB / 400 MB, free: 3.891 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001348/0.2285, allocations: 145.1 kB / 400.1 MB, free: 3.777 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.000355/0.2288, allocations: 348.7 kB / 400.5 MB, free: 3.496 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0003532/0.2292, allocations: 223 kB / 400.7 MB, free: 3.383 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0006875/0.2299, allocations: 0.607 MB / 401.3 MB, free: 2.977 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.001827/0.2317, allocations: 1.245 MB / 402.6 MB, free: 2.441 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0009233/0.2326, allocations: 1.136 MB / 403.7 MB, free: 1.605 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.003111/0.2357, allocations: 1.003 MB / 404.7 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001709/0.2374, allocations: 1.785 MB / 406.5 MB, free: 15.57 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 9.992e-05/0.2375, allocations: 47.48 kB / 406.5 MB, free: 15.55 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 0.0003222/0.2379, allocations: 280.7 kB / 406.8 MB, free: 15.32 MB / 318.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.4416200569830835] 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.24774474976584315 0.262242723 0.041368682000000004 Calling exit ...