Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Battery_NB_Battery.Examples.ElectricBattery_large.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.0007667/0.0007667, allocations: 76.17 kB / 9.923 MB, free: 0.7656 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000994/0.001761, allocations: 449.6 kB / 10.36 MB, free: 336 kB / 10.45 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.0007416/0.0007416, allocations: 153.2 kB / 11.25 MB, free: 2.926 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009377/0.001679, allocations: 467.6 kB / 11.7 MB, free: 2.465 MB / 13.93 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.3848/0.3848, allocations: 179.9 MB / 192.4 MB, free: 14.24 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0777/0.4625, allocations: 53.66 MB / 246 MB, free: 8.398 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Battery main/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Battery main/Examples/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: ElectricBattery Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Battery main/package.mo): time 0.002218/0.002218, allocations: 0.5923 MB / 247.4 MB, free: 7.109 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001122/0.00334, allocations: 0.6082 MB / 248 MB, free: 6.512 MB / 250.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_large,tolerance=0.0001,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Battery_NB_Battery.Examples.ElectricBattery_large") translateModel(Battery.Examples.ElectricBattery_large,tolerance=0.0001,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Battery_NB_Battery.Examples.ElectricBattery_large") [Timeout 400] "Notification: Performance of FrontEnd - Absyn->SCode: time 5.941e-06/5.941e-06, allocations: 2.312 kB / 249.2 MB, free: 5.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Battery.Examples.ElectricBattery_large): time 0.005324/0.00533, allocations: 5.97 MB / 255.2 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001715/0.007045, allocations: 1.485 MB / 256.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001719/0.007217, allocations: 15.94 kB / 256.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000199/0.007416, allocations: 130.9 kB / 256.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003051/0.007721, allocations: 230 kB / 257 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003301/0.008051, allocations: 235.7 kB / 257.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005578/0.01363, allocations: 4.56 MB / 261.8 MB, free: 8.602 MB / 266.7 MB Notification: Performance of NFFlatten.resolveArrayConnections: time 0.002675/0.0163, allocations: 3.197 MB / 265 MB, free: 5.355 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.0174, allocations: 1.2 MB / 266.2 MB, free: 4.152 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008477/0.01824, allocations: 0.9513 MB / 267.2 MB, free: 3.199 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002908/0.01853, allocations: 144 kB / 267.3 MB, free: 3.059 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003984/0.01893, allocations: 216 kB / 267.5 MB, free: 2.848 MB / 266.7 MB Notification: Performance of combineBinaries: time 0.001664/0.0206, allocations: 2.235 MB / 269.8 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of replaceArrayConstructors: time 0.001067/0.02166, allocations: 1.401 MB / 271.2 MB, free: 15.18 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001382/0.0218, allocations: 60 kB / 271.2 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.764e-05/0.02185, allocations: 23.88 kB / 271.2 MB, free: 15.1 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: 243290 (153) * Number of variables: 243290 (147) Notification: Performance of [SIM] Bindings: time 0.1218/0.1437, allocations: 18.49 MB / 289.7 MB, free: 23.44 MB / 282.7 MB Notification: Performance of [SIM] Data Reconciliation: time 8.726e-06/0.1437, allocations: 0.5312 kB / 289.7 MB, free: 23.44 MB / 282.7 MB Notification: Performance of [SIM] FunctionAlias: time 0.0008082/0.1445, allocations: 0.7947 MB / 290.5 MB, free: 23.38 MB / 282.7 MB Notification: Performance of [SIM] Early Inline: time 0.003729/0.1482, allocations: 5.792 MB / 296.3 MB, free: 23.26 MB / 282.7 MB Notification: Performance of [SIM] Simplify: time 0.0005796/0.1488, allocations: 0.5287 MB / 296.8 MB, free: 23.15 MB / 282.7 MB Warning: NBAlias.selectStartByConfidence: Alias set with conflicting unfixed start values of equal confidence detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.006469/0.1553, allocations: 7.007 MB / 303.9 MB, free: 21.67 MB / 282.7 MB Notification: Performance of [SIM] Remove Stream: time 0.000241/0.1555, allocations: 282.4 kB / 304.1 MB, free: 21.59 MB / 282.7 MB Notification: Performance of [SIM] Algorithm Locals: time 0.0004506/0.156, allocations: 497.8 kB / 304.6 MB, free: 21.57 MB / 282.7 MB Notification: Performance of [SIM] Detect States: time 0.0005555/0.1565, allocations: 0.7294 MB / 305.3 MB, free: 21.41 MB / 282.7 MB Notification: Performance of [SIM] Events: time 0.0001979/0.1567, allocations: 369.9 kB / 305.7 MB, free: 21.27 MB / 282.7 MB Notification: Performance of [SIM] Partitioning: time 0.000862/0.1576, allocations: 1.357 MB / 307.1 MB, free: 20.57 MB / 282.7 MB Notification: Performance of [SIM] Causalize: time 0.007821/0.1654, allocations: 12.94 MB / 320 MB, free: 11.16 MB / 282.7 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002322/0.1677, allocations: 4.533 MB / 324.5 MB, free: 7.461 MB / 282.7 MB Notification: Performance of [INI] Simplify: time 0.001601/0.1693, allocations: 1.771 MB / 326.3 MB, free: 5.934 MB / 282.7 MB Notification: Performance of [INI] Inline: time 0.003817/0.1731, allocations: 6.813 MB / 333.1 MB, free: 15.36 MB / 298.7 MB Notification: Performance of [INI] Partitioning: time 5.334e-05/0.1732, allocations: 38.89 kB / 333.2 MB, free: 15.32 MB / 298.7 MB Notification: Performance of [INI] Cleanup: time 0.0006087/0.1738, allocations: 0.5806 MB / 333.7 MB, free: 14.75 MB / 298.7 MB Notification: Performance of [INI] Causalize: time 0.01572/0.1895, allocations: 17.01 MB / 350.7 MB, free: 13.35 MB / 314.7 MB Notification: Performance of [INI] Tearing: time 0.006746/0.1963, allocations: 6.298 MB / 357 MB, free: 6.992 MB / 314.7 MB Notification: Performance of [SIM] Initialization: time 7.72e-07/0.1963, allocations: 0 / 357 MB, free: 6.992 MB / 314.7 MB Notification: Performance of [SIM] Remove Dummies: time 1.104e-05/0.1963, allocations: 7.609 kB / 357.1 MB, free: 6.984 MB / 314.7 MB Notification: Performance of [SIM] Tearing: time 0.007943/0.2042, allocations: 7.633 MB / 364.7 MB, free: 15.28 MB / 330.7 MB Notification: Performance of [SIM] Categorize: time 0.0008781/0.2051, allocations: 0.6796 MB / 365.4 MB, free: 14.59 MB / 330.7 MB Notification: Performance of [SIM] Solve: time 0.001186/0.2063, allocations: 1.089 MB / 366.5 MB, free: 13.58 MB / 330.7 MB Notification: Performance of [SIM] Jacobian: time 0.008863/0.2152, allocations: 8.972 MB / 375.4 MB, free: 4.41 MB / 330.7 MB Notification: Performance of [SIM] Minimize Homotopy System: time 5.91e-07/0.2152, allocations: 0 / 375.4 MB, free: 4.41 MB / 330.7 MB Notification: Performance of [SIM] Data Reconciliation Jacobian: time 7.62e-07/0.2152, allocations: 0 / 375.4 MB, free: 4.41 MB / 330.7 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 1 * Number of algebraic partitions: ............... 10 * 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: ............................. 8003 (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 algorithm local 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: ........... 36 (scalar:36, 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: ........... 39 (scalar:39, 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: ... 5 (linear: 5, nonlinear:0) Notification: Performance of backend: time 4.96e-05/0.2152, allocations: 65.7 kB / 375.5 MB, free: 4.359 MB / 330.7 MB Notification: Performance of SimCode: time 0.01711/0.2323, allocations: 19.94 MB / 395.4 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of Templates: time 0.1519/0.3842, allocations: 41.86 MB / 437.3 MB, free: 91.91 MB / 378.7 MB " [Timeout remaining time 400] make -j12 -f Battery_NB_Battery.Examples.ElectricBattery_large.makefile [Timeout 400] (rm -f Battery_NB_Battery.Examples.ElectricBattery_large.pipe ; mkfifo Battery_NB_Battery.Examples.ElectricBattery_large.pipe ; head -c 1048576 < Battery_NB_Battery.Examples.ElectricBattery_large.pipe >> ../files/Battery_NB_Battery.Examples.ElectricBattery_large.sim & ./Battery_NB_Battery.Examples.ElectricBattery_large -abortSlowSimulation -alarm=240 -lv LOG_STATS > Battery_NB_Battery.Examples.ElectricBattery_large.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 105.40561438724399]