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.001769/0.001769, allocations: 95.66 kB / 21.25 MB, free: 428 kB / 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.001806/0.001806, allocations: 207.2 kB / 24.55 MB, free: 3.727 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.515/1.515, allocations: 230.6 MB / 258.3 MB, free: 7.75 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.76e-05/2.76e-05, allocations: 2.281 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge): time 0.2486/0.2486, allocations: 5.208 MB / 384.2 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005346/0.254, allocations: 2.604 MB / 386.9 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000654/0.2546, allocations: 30.44 kB / 386.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001966/0.2566, allocations: 0.7437 MB / 387.6 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00138/0.2579, allocations: 0.5701 MB / 388.2 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.2592, allocations: 0.5073 MB / 388.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0026/0.2618, allocations: 2.028 MB / 390.7 MB, free: 9.391 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008355/0.2627, allocations: 337.5 kB / 391.1 MB, free: 9.195 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001516/0.2642, allocations: 0.7404 MB / 391.8 MB, free: 8.875 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001047/0.2652, allocations: 0.7059 MB / 392.5 MB, free: 8.605 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001951/0.2654, allocations: 119.8 kB / 392.6 MB, free: 8.605 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001488/0.2669, allocations: 0.5578 MB / 393.2 MB, free: 8.547 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.002013/0.2689, allocations: 2.487 MB / 395.7 MB, free: 6.93 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001116/0.2701, allocations: 1.507 MB / 397.2 MB, free: 5.898 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003095/0.2704, allocations: 94.25 kB / 397.3 MB, free: 5.898 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0002871/0.2707, allocations: 50.36 kB / 397.3 MB, free: 5.879 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.006784/0.2774, allocations: 6.875 MB / 404.2 MB, free: 1.43 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0006775/0.2781, allocations: 0.5423 MB / 404.7 MB, free: 1.078 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.003212/0.2813, allocations: 2.963 MB / 407.7 MB, free: 14.71 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001064/0.2824, allocations: 0.521 MB / 408.2 MB, free: 14.38 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.00699/0.2894, allocations: 4.378 MB / 412.6 MB, free: 11.17 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0006234/0.29, allocations: 378.2 kB / 413 MB, free: 10.74 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002566/0.2903, allocations: 220 kB / 413.2 MB, free: 10.5 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.0005785/0.2908, allocations: 0.4939 MB / 413.7 MB, free: 9.949 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.000621/0.2915, allocations: 424.3 kB / 414.1 MB, free: 9.539 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.001138/0.2926, allocations: 0.9739 MB / 415.1 MB, free: 8.418 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.002904/0.2955, allocations: 2.015 MB / 417.1 MB, free: 6.246 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001921/0.2974, allocations: 1.842 MB / 418.9 MB, free: 4.402 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.005495/0.3029, allocations: 1.703 MB / 420.6 MB, free: 2.664 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.003379/0.3063, allocations: 3.269 MB / 423.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of [INI] Partitioning: time 0.0001531/0.3064, allocations: 68.03 kB / 424 MB, free: 15.3 MB / 334.1 MB Notification: Performance of [INI] Cleanup: time 0.0004496/0.3069, allocations: 451.5 kB / 424.4 MB, free: 14.86 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.7176898010075092] 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.320655605988577 0.334017703 0.060082278 Calling exit ...