Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_Cell.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002098/0.002098, allocations: 99.64 kB / 21.25 MB, free: 424 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002514/0.002514, allocations: 215.3 kB / 24.55 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.54/1.54, allocations: 230.5 MB / 258.2 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Batteries.Examples.CCCV_Cell") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.57e-05/2.57e-05, allocations: 4.531 kB / 379 MB, free: 2.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCV_Cell): time 0.201/0.201, allocations: 4.956 MB / 384 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00334/0.2043, allocations: 1.8 MB / 385.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003874/0.2047, allocations: 18.06 kB / 385.8 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001368/0.2061, allocations: 0.5074 MB / 386.3 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009873/0.2071, allocations: 401 kB / 386.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009217/0.208, allocations: 376.4 kB / 387.1 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001229/0.2092, allocations: 1.127 MB / 388.2 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004129/0.2096, allocations: 195.1 kB / 388.4 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005337/0.2102, allocations: 430.4 kB / 388.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004842/0.2107, allocations: 375.8 kB / 389.2 MB, free: 9.977 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001135/0.2108, allocations: 75.38 kB / 389.2 MB, free: 9.977 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007979/0.2116, allocations: 382.9 kB / 389.6 MB, free: 9.945 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001008/0.2126, allocations: 1.369 MB / 391 MB, free: 9.012 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004761/0.2131, allocations: 0.8515 MB / 391.8 MB, free: 8.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001267/0.2132, allocations: 55.81 kB / 391.9 MB, free: 8.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001625/0.2133, allocations: 31.77 kB / 391.9 MB, free: 8.398 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.00304/0.2164, allocations: 3.59 MB / 395.5 MB, free: 5.91 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003748/0.2168, allocations: 324 kB / 395.8 MB, free: 5.695 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001321/0.2181, allocations: 1.407 MB / 397.2 MB, free: 4.766 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0005195/0.2186, allocations: 306.6 kB / 397.5 MB, free: 4.602 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.004532/0.2231, allocations: 2.804 MB / 400.3 MB, free: 3.078 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003199/0.2235, allocations: 198.1 kB / 400.5 MB, free: 2.945 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001089/0.2236, allocations: 128 kB / 400.7 MB, free: 2.832 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002456/0.2238, allocations: 270.6 kB / 400.9 MB, free: 2.594 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0002278/0.224, allocations: 165.3 kB / 401.1 MB, free: 2.512 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0004118/0.2245, allocations: 463 kB / 401.5 MB, free: 2.195 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.001051/0.2255, allocations: 0.7945 MB / 402.3 MB, free: 1.887 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0006711/0.2262, allocations: 0.8025 MB / 403.1 MB, free: 1.422 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.002739/0.2289, allocations: 0.8616 MB / 404 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0009952/0.2299, allocations: 1.229 MB / 405.2 MB, free: 15.83 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 8.937e-05/0.23, allocations: 36.94 kB / 405.3 MB, free: 15.8 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 0.0002131/0.2302, allocations: 210.5 kB / 405.5 MB, free: 15.62 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.01137/0.2416, allocations: 7.963 MB / 413.4 MB, free: 9.797 MB / 318.1 MB Notification: Performance of [INI] Tearing: time 0.0006329/0.2422, allocations: 358 kB / 413.8 MB, free: 9.465 MB / 318.1 MB Notification: Performance of [SIM] Initialization: time 1.753e-06/0.2422, allocations: 4 kB / 413.8 MB, free: 9.461 MB / 318.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0004657/0.2427, allocations: 292.2 kB / 414.1 MB, free: 9.105 MB / 318.1 MB Notification: Performance of [SIM] Remove Dummies: time 8.075e-06/0.2427, allocations: 3.984 kB / 414.1 MB, free: 9.102 MB / 318.1 MB Notification: Performance of [SIM] Tearing: time 0.0002515/0.2429, allocations: 173.6 kB / 414.2 MB, free: 8.934 MB / 318.1 MB Notification: Performance of [SIM] Categorize: time 2.442e-05/0.243, allocations: 11.92 kB / 414.3 MB, free: 8.922 MB / 318.1 MB Notification: Performance of [SIM] Solve: time 0.001605/0.2446, allocations: 1.08 MB / 415.3 MB, free: 7.84 MB / 318.1 MB Notification: Performance of [SIM] Jacobian: time 0.001922/0.2465, allocations: 1.625 MB / 417 MB, free: 6.074 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.512e-05/0.2466, allocations: 41.23 kB / 417 MB, free: 6.043 MB / 318.1 MB Notification: Performance of SimCode: time 0.008686/0.2553, allocations: 6.006 MB / 423 MB, free: 112 kB / 318.1 MB Notification: Performance of Templates: time 0.02526/0.2805, allocations: 7.968 MB / 431 MB, free: 8.16 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_Cell.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_Cell.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_Cell.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_Cell.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_Cell.sim & ./Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_Cell -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_Cell.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.217039058974478] Failed to read output from testmodel.py, exit status != 0: ['time', 'cell.cell.limIntegrator.y', 'cell.limIntegrator.y', 'energy.y'] 0.2902121140505187 0.30998119900000004 0.09355142100000001 Calling exit ...