Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedCellPulseCurrent.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.0013/0.0013, allocations: 104.3 kB / 19.76 MB, free: 1.906 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.00155/0.00155, allocations: 212.6 kB / 23.06 MB, free: 4.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.429/1.429, allocations: 207.7 MB / 233.9 MB, free: 9.77 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage master/package.mo): time 0.05544/0.05544, allocations: 7.145 MB / 293.3 MB, free: 14.44 MB / 238.1 MB " [Timeout remaining time 180] Using package ElectricalEnergyStorage with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ElectricalEnergyStorage.Examples.AdvancedCellPulseCurrent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=14100,variableFilter="",fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedCellPulseCurrent") translateModel(ElectricalEnergyStorage.Examples.AdvancedCellPulseCurrent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=14100,variableFilter="",fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.AdvancedCellPulseCurrent") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.896e-05/1.896e-05, allocations: 5.938 kB / 410.4 MB, free: 47.27 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ElectricalEnergyStorage.Examples.AdvancedCellPulseCurrent): time 0.006896/0.006915, allocations: 6.008 MB / 416.4 MB, free: 42.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005254/0.01217, allocations: 4.218 MB / 420.6 MB, free: 38.28 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006787/0.01285, allocations: 43.69 kB / 420.6 MB, free: 38.24 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00182/0.01467, allocations: 1.007 MB / 421.6 MB, free: 37.23 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0008144/0.01548, allocations: 401 kB / 422 MB, free: 36.83 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008341/0.01632, allocations: 0.6937 MB / 422.7 MB, free: 36.14 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002784/0.0191, allocations: 4.711 MB / 427.4 MB, free: 31.43 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008298/0.01993, allocations: 0.6022 MB / 428 MB, free: 30.8 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001005/0.02094, allocations: 1.149 MB / 429.2 MB, free: 29.64 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007703/0.02171, allocations: 1.152 MB / 430.3 MB, free: 28.49 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000191/0.0219, allocations: 232 kB / 430.6 MB, free: 28.26 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009791/0.02288, allocations: 0.6832 MB / 431.2 MB, free: 27.58 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.001725/0.0246, allocations: 3.912 MB / 435.1 MB, free: 23.63 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0008774/0.02548, allocations: 2.421 MB / 437.6 MB, free: 21.18 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001986/0.02568, allocations: 112 kB / 437.7 MB, free: 21.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0002942/0.02597, allocations: 79.41 kB / 437.8 MB, free: 21 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 266 (266) * Number of variables: 266 (266) Notification: Performance of [SIM] Bindings: time 0.009082/0.03505, allocations: 14.28 MB / 452 MB, free: 6.352 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0007134/0.03577, allocations: 0.9118 MB / 452.9 MB, free: 5.418 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.002374/0.03814, allocations: 3.628 MB / 456.6 MB, free: 1.719 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0009613/0.0391, allocations: 0.7103 MB / 457.3 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.008295/0.0474, allocations: 5.863 MB / 463.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0008768/0.04827, allocations: 0.5086 MB / 463.7 MB, free: 9.953 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0003559/0.04863, allocations: 312 kB / 464 MB, free: 9.617 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.0009441/0.04957, allocations: 0.8137 MB / 464.8 MB, free: 8.734 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.000291/0.04986, allocations: 162.4 kB / 464.9 MB, free: 8.57 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.001318/0.05118, allocations: 1.138 MB / 466.1 MB, free: 7.375 MB / 334.1 MB Notification: Performance of [SIM] Causalize: time 0.003421/0.0546, allocations: 2.38 MB / 468.4 MB, free: 4.914 MB / 334.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002243/0.05685, allocations: 2.256 MB / 470.7 MB, free: 2.656 MB / 334.1 MB Notification: Performance of [INI] Simplify: time 0.004862/0.06171, allocations: 1.916 MB / 472.6 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of [INI] Inline: time 0.003874/0.06558, allocations: 3.752 MB / 476.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of [INI] Partitioning: time 0.0001861/0.06577, allocations: 68.06 kB / 476.4 MB, free: 12.76 MB / 350.1 MB Notification: Performance of [INI] Cleanup: time 0.0006228/0.06639, allocations: 0.6597 MB / 477.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of [INI] Causalize: time 0.01229/0.07868, allocations: 8.512 MB / 485.6 MB, free: 3.441 MB / 350.1 MB Notification: Performance of [INI] Tearing: time 0.0002835/0.07896, allocations: 239.7 kB / 485.8 MB, free: 3.207 MB / 350.1 MB Notification: Performance of [SIM] Initialization: time 1.542e-06/0.07897, allocations: 0 / 485.8 MB, free: 3.207 MB / 350.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.001308/0.08027, allocations: 0.9139 MB / 486.8 MB, free: 2.23 MB / 350.1 MB Notification: Performance of [SIM] Remove Dummies: time 8.947e-06/0.08028, allocations: 1 kB / 486.8 MB, free: 2.23 MB / 350.1 MB Notification: Performance of [SIM] Tearing: time 0.0002339/0.08052, allocations: 259.7 kB / 487 MB, free: 1.977 MB / 350.1 MB Notification: Performance of [SIM] Categorize: time 2.601e-05/0.08054, allocations: 11.94 kB / 487 MB, free: 1.965 MB / 350.1 MB Notification: Performance of [SIM] Solve: time 0.005625/0.08617, allocations: 4.352 MB / 491.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 0.00506/0.09123, allocations: 4.204 MB / 495.6 MB, free: 9.156 MB / 366.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 2 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 5 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 8 (8) {batteryCell.calculator.SOC, batteryCell.calculator.c.Qabs, batteryCell.calculator.cycles, batteryCell.cellImpedance.rcseriesLinear.rclinear.capacitor.impedanceValue.qabs.absInt.y, batteryCell.cellImpedance.rcseriesLinear.rclinear.capacitor.variableCapacitor.Q, batteryCell.cellImpedance.rcseriesLinear.rclinear.resistor.impedanceValue.qabs.absInt.y, batteryCell.cellImpedance.rs.impedanceValue.qabs.Qabs, batteryCell.selfDischarge.linearDependency.u1} * Number of discrete states: .................... 2 (2) {pulseCurrent.signalSource.T_start, pulseCurrent.signalSource.count} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 11 (11) {batteryCell.cellImpedance.rcseriesLinear.rclinear.capacitor.impedanceValue.qabs.absInt.local_reset, batteryCell.cellImpedance.rcseriesLinear.rclinear.resistor.impedanceValue.qabs.absInt.local_reset, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 106 (scalar:106, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 196 (scalar:190, array:6, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:10) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 0.0001232/0.09135, allocations: 73.59 kB / 495.7 MB, free: 9.086 MB / 366.1 MB Notification: Performance of SimCode: time 0.01505/0.1064, allocations: 10.68 MB / 0.4945 GB, free: 14.22 MB / 382.1 MB [CodegenC.tpl:6270:16-6270:16:writable] Error: Template error: No runtime support for this sort of array call: batteryCell.cellParameters.RC. [CodegenC.tpl:6270:16-6270:16:writable] Error: Template error: No runtime support for this sort of array call: batteryCell.cellImpedance.RC. [CodegenC.tpl:6270:16-6270:16:writable] Error: Template error: No runtime support for this sort of array call: batteryCell.cellParameters.RC. [CodegenC.tpl:6270:16-6270:16:writable] Error: Template error: No runtime support for this sort of array call: batteryCell.cellImpedance.RC. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.4597902219975367] Failed to read output from testmodel.py, exit status != 0: 0.1469613859662786 0.16186665900000002 0.132882296 Calling exit ...