Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.CCCV_Cell.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.002183/0.002183, allocations: 103.6 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.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.002363/0.002363, allocations: 211 kB / 24.55 MB, free: 3.824 MB / 14.72 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 1.612/1.612, allocations: 230.6 MB / 258.3 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] 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(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.1.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.1.0_Modelica.Electrical.Batteries.Examples.CCCV_Cell") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.436e-05/2.436e-05, allocations: 2.281 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCV_Cell): time 0.2079/0.208, allocations: 4.953 MB / 384 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00327/0.2112, allocations: 1.812 MB / 385.8 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005062/0.2117, allocations: 18.88 kB / 385.8 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001369/0.2131, allocations: 0.5038 MB / 386.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001122/0.2142, allocations: 396.8 kB / 386.7 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001135/0.2154, allocations: 369.1 kB / 387.1 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001604/0.217, allocations: 1.137 MB / 388.2 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005475/0.2175, allocations: 192.9 kB / 388.4 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007487/0.2183, allocations: 428.4 kB / 388.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005749/0.2188, allocations: 375.1 kB / 389.2 MB, free: 9.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001264/0.219, allocations: 78.94 kB / 389.3 MB, free: 9.926 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008935/0.2199, allocations: 387 kB / 389.6 MB, free: 9.891 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001097/0.221, allocations: 1.364 MB / 391 MB, free: 8.961 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005267/0.2215, allocations: 0.857 MB / 391.9 MB, free: 8.355 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.2216, allocations: 58.59 kB / 391.9 MB, free: 8.352 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001693/0.2218, allocations: 27.84 kB / 391.9 MB, free: 8.344 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.003931/0.2257, allocations: 3.59 MB / 395.5 MB, free: 5.855 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0004223/0.2261, allocations: 323.3 kB / 395.8 MB, free: 5.645 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001858/0.228, allocations: 1.411 MB / 397.3 MB, free: 4.711 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0007731/0.2288, allocations: 304.7 kB / 397.6 MB, free: 4.547 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.005891/0.2347, allocations: 2.803 MB / 400.4 MB, free: 3.023 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0004337/0.2351, allocations: 206.2 kB / 400.6 MB, free: 2.887 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001837/0.2353, allocations: 118.1 kB / 400.7 MB, free: 2.781 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0005434/0.2358, allocations: 273.8 kB / 400.9 MB, free: 2.535 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0003583/0.2362, allocations: 168.7 kB / 401.1 MB, free: 2.453 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0006717/0.2369, allocations: 458.4 kB / 401.6 MB, free: 2.141 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.001401/0.2383, allocations: 0.8007 MB / 402.4 MB, free: 1.828 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0008091/0.2391, allocations: 0.8011 MB / 403.2 MB, free: 1.363 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.003191/0.2423, allocations: 0.8582 MB / 404 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001116/0.2434, allocations: 1.237 MB / 405.3 MB, free: 15.81 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 9.95e-05/0.2435, allocations: 37.44 kB / 405.3 MB, free: 15.79 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 0.0002011/0.2437, allocations: 210.2 kB / 405.5 MB, free: 15.61 MB / 318.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.01141/0.2551, allocations: 7.968 MB / 413.5 MB, free: 9.852 MB / 318.1 MB Notification: Performance of [INI] Tearing: time 0.0006328/0.2557, allocations: 346 kB / 413.8 MB, free: 9.531 MB / 318.1 MB Notification: Performance of [SIM] Initialization: time 2.535e-06/0.2557, allocations: 4 kB / 413.8 MB, free: 9.527 MB / 318.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0004606/0.2562, allocations: 288.5 kB / 414.1 MB, free: 9.172 MB / 318.1 MB Notification: Performance of [SIM] Remove Dummies: time 7.594e-06/0.2562, allocations: 0 / 414.1 MB, free: 9.172 MB / 318.1 MB Notification: Performance of [SIM] Tearing: time 0.0002733/0.2565, allocations: 181.6 kB / 414.3 MB, free: 8.996 MB / 318.1 MB Notification: Performance of [SIM] Categorize: time 2.684e-05/0.2565, allocations: 4 kB / 414.3 MB, free: 8.992 MB / 318.1 MB Notification: Performance of [SIM] Solve: time 0.001657/0.2581, allocations: 1.091 MB / 415.4 MB, free: 7.902 MB / 318.1 MB Notification: Performance of [SIM] Jacobian: time 0.00205/0.2602, allocations: 1.624 MB / 417 MB, free: 6.137 MB / 318.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: ........... 77 (scalar:75, 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.945e-05/0.2603, allocations: 47.89 kB / 417 MB, free: 6.098 MB / 318.1 MB Notification: Performance of SimCode: time 0.009428/0.2697, allocations: 6.018 MB / 423 MB, free: 196 kB / 318.1 MB Notification: Performance of Templates: time 0.01893/0.2886, allocations: 7.961 MB / 431 MB, free: 8.246 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.CCCV_Cell.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.CCCV_Cell.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.CCCV_Cell.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.CCCV_Cell.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.CCCV_Cell.sim & ./Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.CCCV_Cell -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.CCCV_Cell.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.3619140009977855] Failed to read output from testmodel.py, exit status != 0: ['time', 'cell.cell.limIntegrator.y', 'cell.limIntegrator.y', 'energy.y'] 0.2972420980222523 0.312503358 0.087583089 Calling exit ...