Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge.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.001455/0.001455, 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.001518/0.001518, 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.588/1.588, 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.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.0.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.0.0_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3e-05/3e-05, allocations: 2.281 kB / 371.7 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge): time 0.01075/0.01078, allocations: 5.148 MB / 376.9 MB, free: 3.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006723/0.01751, allocations: 2.466 MB / 379.3 MB, free: 1.504 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001258/0.01876, allocations: 27.81 kB / 379.4 MB, free: 1.477 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002647/0.02141, allocations: 0.7272 MB / 380.1 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002185/0.0236, allocations: 0.5205 MB / 380.6 MB, free: 228 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2287/0.2523, allocations: 0.5111 MB / 381.1 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003507/0.2558, allocations: 2.011 MB / 383.1 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008566/0.2567, allocations: 350 kB / 383.5 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001453/0.2581, allocations: 0.7311 MB / 384.2 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001091/0.2592, allocations: 0.7058 MB / 384.9 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001982/0.2594, allocations: 121.7 kB / 385 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001304/0.2607, allocations: 0.5561 MB / 385.6 MB, free: 13.48 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001982/0.2627, allocations: 2.454 MB / 388 MB, free: 12.41 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.000989/0.2637, allocations: 1.49 MB / 389.5 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003069/0.264, allocations: 93.97 kB / 389.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0002659/0.2643, allocations: 48.23 kB / 389.7 MB, free: 11.44 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.006197/0.2704, allocations: 6.824 MB / 396.5 MB, free: 7.332 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0006954/0.2711, allocations: 0.5423 MB / 397 MB, free: 7.02 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.003276/0.2744, allocations: 2.965 MB / 400 MB, free: 5.199 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.00123/0.2757, allocations: 0.5246 MB / 400.5 MB, free: 4.969 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.006804/0.2825, allocations: 4.367 MB / 404.9 MB, free: 2.812 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0007344/0.2832, allocations: 391.2 kB / 405.3 MB, free: 2.57 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002279/0.2834, allocations: 222.5 kB / 405.5 MB, free: 2.375 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.000541/0.284, allocations: 0.5099 MB / 406 MB, free: 1.895 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0005365/0.2845, allocations: 399.4 kB / 406.4 MB, free: 1.652 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0009012/0.2854, allocations: 0.9629 MB / 407.3 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.002613/0.288, allocations: 2.032 MB / 409.4 MB, free: 15.91 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002102/0.2901, allocations: 1.84 MB / 411.2 MB, free: 14.08 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.006255/0.2964, allocations: 1.67 MB / 412.9 MB, free: 12.41 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.004025/0.3004, allocations: 3.259 MB / 416.1 MB, free: 9.18 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 0.0001874/0.3006, allocations: 68.05 kB / 416.2 MB, free: 9.094 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 0.0005881/0.3012, allocations: 442.5 kB / 416.6 MB, free: 8.668 MB / 318.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.793502878048457] 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.3138237160164863 0.32801548699999994 0.06043655299999994 Calling exit ...