Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.CCCV_Cell.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.002079/0.002079, 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.002196/0.002196, allocations: 190.1 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.543/1.543, allocations: 225.7 MB / 253.4 MB, free: 12.81 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.CCCV_Cell,tolerance=1e-06,outputFormat="mat",numberOfIntervals=12000,variableFilter="time|cell.cell.limIntegrator.y|cell.limIntegrator.y|energy.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.CCCV_Cell") translateModel(Modelica.Electrical.Batteries.Examples.CCCV_Cell,tolerance=1e-06,outputFormat="mat",numberOfIntervals=12000,variableFilter="time|cell.cell.limIntegrator.y|cell.limIntegrator.y|energy.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.CCCV_Cell") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/1.886e-05, allocations: 2.281 kB / 371.7 MB, free: 9.203 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCV_Cell): time 0.008351/0.00837, allocations: 4.904 MB / 376.6 MB, free: 4.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003997/0.01237, allocations: 1.629 MB / 378.2 MB, free: 2.637 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007808/0.01315, allocations: 19.88 kB / 378.3 MB, free: 2.617 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001857/0.015, allocations: 0.5097 MB / 378.8 MB, free: 2.105 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001807/0.01681, allocations: 358.1 kB / 379.1 MB, free: 1.754 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001532/0.01834, allocations: 376 kB / 379.5 MB, free: 1.391 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001903/0.02025, allocations: 1.123 MB / 380.6 MB, free: 268 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006388/0.02088, allocations: 201.8 kB / 380.8 MB, free: 60 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2316/0.2525, allocations: 423.3 kB / 381.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006278/0.2532, allocations: 374.2 kB / 381.6 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001422/0.2533, allocations: 74.19 kB / 381.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008298/0.2541, allocations: 383.6 kB / 382 MB, free: 14.46 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001127/0.2553, allocations: 1.349 MB / 383.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005073/0.2558, allocations: 0.8349 MB / 384.2 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.2559, allocations: 56.22 kB / 384.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.000169/0.2561, allocations: 37.77 kB / 384.3 MB, free: 13.33 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: 120 (120) * Number of variables: 120 (120) Notification: Performance of [SIM] Bindings: time 0.003222/0.2593, allocations: 3.561 MB / 387.9 MB, free: 11.81 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003908/0.2597, allocations: 325 kB / 388.2 MB, free: 11.77 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001298/0.261, allocations: 1.415 MB / 389.6 MB, free: 11.13 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0005266/0.2615, allocations: 306.3 kB / 389.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.004328/0.2658, allocations: 2.796 MB / 392.7 MB, free: 9.59 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003145/0.2662, allocations: 201.2 kB / 392.9 MB, free: 9.461 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001251/0.2663, allocations: 116.1 kB / 393 MB, free: 9.359 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0003182/0.2666, allocations: 275.7 kB / 393.3 MB, free: 9.117 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0002721/0.2669, allocations: 171.9 kB / 393.4 MB, free: 9.043 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0005321/0.2674, allocations: 451.8 kB / 393.9 MB, free: 8.738 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.001217/0.2686, allocations: 0.8186 MB / 394.7 MB, free: 8.422 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0009107/0.2695, allocations: 0.8057 MB / 395.5 MB, free: 7.953 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.003263/0.2728, allocations: 0.8253 MB / 396.3 MB, free: 7.512 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001292/0.2741, allocations: 1.22 MB / 397.6 MB, free: 6.789 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 8.609e-05/0.2742, allocations: 41.41 kB / 397.6 MB, free: 6.758 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0002064/0.2744, allocations: 214.7 kB / 397.8 MB, free: 6.621 MB / 302.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) cccvCharger.CV = $START.cccvCharger.CV ($RES_SRT_150); Notification: Performance of [INI] Causalize: time 0.009906/0.2843, allocations: 7.939 MB / 405.7 MB, free: 3.898 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0005135/0.2848, allocations: 350.8 kB / 406.1 MB, free: 3.617 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 2.685e-06/0.2848, allocations: 0 / 406.1 MB, free: 3.617 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0003475/0.2851, allocations: 306.3 kB / 406.4 MB, free: 3.293 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.277e-06/0.2852, allocations: 4 kB / 406.4 MB, free: 3.289 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 0.0001894/0.2853, allocations: 178.5 kB / 406.6 MB, free: 3.145 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 2.292e-05/0.2854, allocations: 0 / 406.6 MB, free: 3.145 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.001196/0.2866, allocations: 1.077 MB / 407.6 MB, free: 2.23 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.001274/0.2878, allocations: 1.622 MB / 409.3 MB, free: 0.5 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 8 * 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: ............................. 3 (3) {cell.cell.displaySOC, cell.displaySOC, energy.y} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 15 (15) {cccvCharger.CV, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $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: ........... 37 (scalar:37, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, 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: ........... 76 (scalar:74, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:2) * 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 8.038e-05/0.2879, allocations: 52.59 kB / 409.3 MB, free: 468 kB / 302.1 MB Notification: Performance of SimCode: time 0.009107/0.297, allocations: 6.001 MB / 415.3 MB, free: 10.64 MB / 318.1 MB Notification: Performance of Templates: time 0.0182/0.3152, allocations: 7.91 MB / 423.2 MB, free: 2.789 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.CCCV_Cell.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.CCCV_Cell.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.CCCV_Cell.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.CCCV_Cell.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.CCCV_Cell.sim & ./Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.CCCV_Cell -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.CCCV_Cell.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.294979758968111] Failed to read output from testmodel.py, exit status != 0: ['time', 'cell.cell.limIntegrator.y', 'cell.limIntegrator.y', 'energy.y'] 0.3243334289873019 0.338599315 0.079244322 Calling exit ...