Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Battery_NB_Battery.Examples.ElectricBattery.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.001152/0.001152, allocations: 72.75 kB / 22.31 MB, free: 2.172 MB / 18.57 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.001151/0.001151, allocations: 178.8 kB / 25.74 MB, free: 7.871 MB / 18.57 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 0.341/0.341, allocations: 179.9 MB / 208.9 MB, free: 14.28 MB / 202.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Battery main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Battery main/package.mo): time 0.002325/0.002325, allocations: 0.4977 MB / 265.9 MB, free: 444 kB / 234.7 MB " [Timeout remaining time 180] Using package Battery with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Battery main/package.mo) 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(Battery.Examples.ElectricBattery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Battery_NB_Battery.Examples.ElectricBattery") translateModel(Battery.Examples.ElectricBattery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Battery_NB_Battery.Examples.ElectricBattery") [Timeout 400] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.189e-05/1.189e-05, allocations: 3.297 kB / 282.4 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Battery.Examples.ElectricBattery): time 0.005334/0.005346, allocations: 5.965 MB / 288.4 MB, free: 9.887 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002046/0.007392, allocations: 1.481 MB / 289.9 MB, free: 8.398 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001805/0.007572, allocations: 15.94 kB / 289.9 MB, free: 8.383 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002407/0.007813, allocations: 130.9 kB / 290 MB, free: 8.254 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003481/0.008161, allocations: 222.1 kB / 290.2 MB, free: 8.035 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003494/0.00851, allocations: 243.6 kB / 290.5 MB, free: 7.777 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002423/0.01093, allocations: 3.239 MB / 293.7 MB, free: 4.523 MB / 266.7 MB Notification: Performance of NFFlatten.resolveArrayConnections: time 0.002503/0.01344, allocations: 3.249 MB / 297 MB, free: 1.258 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008038/0.01424, allocations: 1.046 MB / 298 MB, free: 216 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007648/0.015, allocations: 0.9513 MB / 299 MB, free: 15.24 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001347/0.01514, allocations: 140 kB / 299.1 MB, free: 15.11 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001968/0.01534, allocations: 219.9 kB / 299.3 MB, free: 14.89 MB / 282.7 MB Notification: Performance of combineBinaries: time 0.001757/0.01709, allocations: 2.648 MB / 302 MB, free: 12.23 MB / 282.7 MB Notification: Performance of replaceArrayConstructors: time 0.001261/0.01835, allocations: 1.751 MB / 303.7 MB, free: 10.48 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.88e-05/0.01844, allocations: 60 kB / 303.8 MB, free: 10.42 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.822e-05/0.01849, allocations: 23.88 kB / 303.8 MB, free: 10.39 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4415 (153) * Number of variables: 4415 (147) Notification: Performance of [SIM] Bindings: time 0.0143/0.03279, allocations: 18.45 MB / 322.2 MB, free: 7.699 MB / 298.7 MB Notification: Performance of [SIM] FunctionAlias: time 0.000641/0.03343, allocations: 0.8744 MB / 323.1 MB, free: 6.801 MB / 298.7 MB Notification: Performance of [SIM] Early Inline: time 0.004223/0.03766, allocations: 6.141 MB / 329.3 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of [SIM] Simplify 1: time 0.000491/0.03815, allocations: 0.5114 MB / 329.8 MB, free: 52 kB / 298.7 MB Notification: Performance of [SIM] Alias: time 0.003015/0.04116, allocations: 3.411 MB / 333.2 MB, free: 12.4 MB / 314.7 MB Notification: Performance of [SIM] Simplify 2: time 0.0004304/0.04159, allocations: 473.5 kB / 333.6 MB, free: 11.91 MB / 314.7 MB Notification: Performance of [SIM] Remove Stream: time 0.0002705/0.04186, allocations: 337.8 kB / 334 MB, free: 11.55 MB / 314.7 MB Notification: Performance of [SIM] Detect States: time 0.0008067/0.04267, allocations: 1.065 MB / 335 MB, free: 10.43 MB / 314.7 MB Notification: Performance of [SIM] Events: time 0.0002739/0.04294, allocations: 399.7 kB / 335.4 MB, free: 10.04 MB / 314.7 MB Notification: Performance of [SIM] Partitioning: time 0.001233/0.04418, allocations: 1.445 MB / 336.9 MB, free: 8.477 MB / 314.7 MB Notification: Performance of [SIM] Causalize: time 0.09886/0.143, allocations: 13.71 MB / 350.6 MB, free: 55.28 MB / 314.7 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.003985/0.147, allocations: 5.389 MB / 356 MB, free: 55.28 MB / 314.7 MB Notification: Performance of [INI] Simplify: time 0.002317/0.1493, allocations: 1.949 MB / 357.9 MB, free: 54.9 MB / 314.7 MB Notification: Performance of [INI] Inline: time 0.003957/0.1533, allocations: 8.118 MB / 366 MB, free: 53.47 MB / 314.7 MB Notification: Performance of [INI] Partitioning: time 5.232e-05/0.1533, allocations: 40.97 kB / 366.1 MB, free: 53.45 MB / 314.7 MB Notification: Performance of [INI] Cleanup: time 0.000368/0.1537, allocations: 0.8685 MB / 366.9 MB, free: 52.93 MB / 314.7 MB Notification: Performance of [INI] Causalize: time 0.009325/0.163, allocations: 15.3 MB / 382.2 MB, free: 41.02 MB / 314.7 MB Notification: Performance of [INI] Tearing: time 0.004795/0.1678, allocations: 8.201 MB / 390.4 MB, free: 32.88 MB / 314.7 MB Notification: Performance of [SIM] Initialization: time 1.011e-06/0.1678, allocations: 0 / 390.4 MB, free: 32.88 MB / 314.7 MB Notification: Performance of [SIM] Remove Dummies: time 9.738e-06/0.1678, allocations: 4.312 kB / 390.4 MB, free: 32.87 MB / 314.7 MB Notification: Performance of [SIM] Tearing: time 0.004696/0.1725, allocations: 7.728 MB / 398.2 MB, free: 25.08 MB / 314.7 MB Notification: Performance of [SIM] Categorize: time 1.617e-05/0.1726, allocations: 6.906 kB / 398.2 MB, free: 25.08 MB / 314.7 MB Notification: Performance of [SIM] Solve: time 0.001029/0.1736, allocations: 1.315 MB / 399.5 MB, free: 23.86 MB / 314.7 MB Notification: Performance of [SIM] Jacobian: time 0.006043/0.1796, allocations: 10.71 MB / 410.2 MB, free: 13.05 MB / 314.7 MB Notification: Performance of [SIM] Minimize Homotopy System: time 6.21e-07/0.1796, allocations: 0 / 410.2 MB, free: 13.05 MB / 314.7 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 1 * Number of algebraic partitions: ............... 9 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 0 * 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: ............................. 128 (4) {battery.electricalModel.capacitorC1.Q, battery.electricalModel.capacitorC2.Q, battery.electricalModel.SoC, battery.discreteElement.T} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 0 (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: ........... 42 (scalar:42, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 41 (resizable: 37, generic: 4, entwined:0) * Number of algebraic-loop strong components: ... 6 (linear: 6, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 45 (scalar:45, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 42 (resizable: 38, generic: 4, entwined:0) * Number of algebraic-loop strong components: ... 6 (linear: 6, nonlinear:0) Notification: Performance of backend: time 3.323e-05/0.1797, allocations: 57.22 kB / 410.3 MB, free: 13 MB / 314.7 MB Notification: Performance of SimCode: time 0.01164/0.1913, allocations: 18.08 MB / 428.3 MB, free: 11.48 MB / 330.7 MB Notification: Performance of Templates: time 0.05816/0.2495, allocations: 55.53 MB / 483.9 MB, free: 3.945 MB / 378.7 MB " [Timeout remaining time 400] make -j12 -f Battery_NB_Battery.Examples.ElectricBattery.makefile [Timeout 400] (rm -f Battery_NB_Battery.Examples.ElectricBattery.pipe ; mkfifo Battery_NB_Battery.Examples.ElectricBattery.pipe ; head -c 1048576 < Battery_NB_Battery.Examples.ElectricBattery.pipe >> ../files/Battery_NB_Battery.Examples.ElectricBattery.sim & ./Battery_NB_Battery.Examples.ElectricBattery -abortSlowSimulation -alarm=240 -lv LOG_STATS > Battery_NB_Battery.Examples.ElectricBattery.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.854961713775992]