Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge.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.001418/0.001418, 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.001758/0.001758, allocations: 217.1 kB / 24.5 MB, free: 3.926 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.517/1.517, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.BatteryDischargeCharge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=36000,variableFilter="time|battery1.limIntegrator.y|battery2.capacitor.1..v|battery2.capacitor.2..v|battery2.limIntegrator.y|energy1.y|energy2.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge") translateModel(Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=36000,variableFilter="time|battery1.limIntegrator.y|battery2.capacitor.1..v|battery2.capacitor.2..v|battery2.limIntegrator.y|energy1.y|energy2.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.477e-05/2.477e-05, allocations: 2.281 kB / 378.9 MB, free: 2.496 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge): time 0.1734/0.1735, allocations: 5.219 MB / 384.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004985/0.1784, allocations: 2.598 MB / 386.7 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008045/0.1793, allocations: 29.78 kB / 386.8 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001822/0.1811, allocations: 0.7427 MB / 387.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001342/0.1824, allocations: 0.5709 MB / 388.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001302/0.1837, allocations: 0.5141 MB / 388.6 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002439/0.1862, allocations: 2.024 MB / 390.6 MB, free: 9.176 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006245/0.1868, allocations: 366.3 kB / 391 MB, free: 8.953 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009339/0.1877, allocations: 0.7391 MB / 391.7 MB, free: 8.633 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008845/0.1886, allocations: 0.7668 MB / 392.5 MB, free: 8.297 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001907/0.1888, allocations: 120.5 kB / 392.6 MB, free: 8.297 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00123/0.19, allocations: 0.566 MB / 393.2 MB, free: 8.23 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001953/0.192, allocations: 2.483 MB / 395.7 MB, free: 6.617 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0008856/0.1929, allocations: 1.506 MB / 397.2 MB, free: 5.586 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002055/0.1931, allocations: 93.09 kB / 397.3 MB, free: 5.586 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001952/0.1933, allocations: 50.98 kB / 397.3 MB, free: 5.566 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: 215 (203) * Number of variables: 215 (198) Notification: Performance of [SIM] Bindings: time 0.00598/0.1992, allocations: 6.849 MB / 404.1 MB, free: 1.137 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0005798/0.1998, allocations: 0.5497 MB / 404.7 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.00282/0.2026, allocations: 2.952 MB / 407.7 MB, free: 14.46 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0009431/0.2036, allocations: 0.5748 MB / 408.2 MB, free: 14.08 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.006298/0.2099, allocations: 4.305 MB / 412.5 MB, free: 10.96 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0006037/0.2105, allocations: 413.4 kB / 412.9 MB, free: 10.51 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002465/0.2107, allocations: 208.1 kB / 413.1 MB, free: 10.28 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.0005909/0.2113, allocations: 0.4932 MB / 413.6 MB, free: 9.727 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0006007/0.2119, allocations: 429.6 kB / 414.1 MB, free: 9.316 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.00112/0.213, allocations: 0.9622 MB / 415 MB, free: 8.203 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.002793/0.2158, allocations: 2.027 MB / 417 MB, free: 6.023 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0018/0.2176, allocations: 1.847 MB / 418.9 MB, free: 4.176 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.005175/0.2228, allocations: 1.75 MB / 420.6 MB, free: 2.383 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.003241/0.2261, allocations: 3.28 MB / 423.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of [INI] Partitioning: time 0.0001409/0.2262, allocations: 64.06 kB / 424 MB, free: 15.01 MB / 334.1 MB Notification: Performance of [INI] Cleanup: time 0.0004213/0.2266, allocations: 439.6 kB / 424.4 MB, free: 14.58 MB / 334.1 MB Error: Internal error NBSlice.resolveSkips failed because skip of 7 is too large for record elements {cellData2.rcData.CellType, cellData2.rcData.R, cellData2.rcData.T_ref, cellData2.rcData.alpha, cellData2.rcData.C}. Error: Internal error NBSlice.resolveDependency failed for: cellData2.rcData.alpha. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [RECD] (140) battery2.cellData = cellData2 ($RES_BND_353) Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.6285519408993423] Failed to read output from testmodel.py, exit status != 0: ['time', 'battery1.limIntegrator.y', 'battery2.capacitor[1].v', 'battery2.capacitor[2].v', 'battery2.limIntegrator.y', 'energy1.y', 'energy2.y'] 0.2378223859705031 0.250814378 0.054578800000000004 Calling exit ...