Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BikeTrailer_BikeTrailer.Examples.ChargeBattery.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.001917/0.001917, allocations: 77.22 kB / 20.67 MB, free: 3.832 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.002071/0.002071, allocations: 165 kB / 24.07 MB, free: 448 kB / 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 1.601/1.601, allocations: 177.1 MB / 204.5 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BikeTrailer 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BikeTrailer 1.3.0/package.mo): time 0.01131/0.01131, allocations: 1.319 MB / 262.4 MB, free: 11.6 MB / 250.7 MB " [Timeout remaining time 180] Using package BikeTrailer with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BikeTrailer 1.3.0/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(BikeTrailer.Examples.ChargeBattery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=72000,variableFilter="",fileNamePrefix="BikeTrailer_BikeTrailer.Examples.ChargeBattery") translateModel(BikeTrailer.Examples.ChargeBattery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=72000,variableFilter="",fileNamePrefix="BikeTrailer_BikeTrailer.Examples.ChargeBattery") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.491e-05/1.491e-05, allocations: 2.312 kB / 332.5 MB, free: 17.84 MB / 266.7 MB Notification: Performance of NFInst.instantiate(BikeTrailer.Examples.ChargeBattery): time 0.002899/0.002914, allocations: 2.65 MB / 335.1 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000871/0.003785, allocations: 0.6233 MB / 335.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.003902, allocations: 11.94 kB / 335.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.004053, allocations: 47.52 kB / 335.8 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001307/0.004183, allocations: 67.34 kB / 335.9 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001849/0.004368, allocations: 91.89 kB / 336 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002809/0.004649, allocations: 394.7 kB / 336.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001916/0.004841, allocations: 103.6 kB / 336.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001635/0.005004, allocations: 195.6 kB / 336.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.00516, allocations: 107.7 kB / 336.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.715e-05/0.005207, allocations: 40 kB / 336.8 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.831e-05/0.005246, allocations: 32 kB / 336.8 MB, free: 13.48 MB / 266.7 MB Notification: Performance of combineBinaries: time 0.0002327/0.005478, allocations: 461 kB / 337.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of replaceArrayConstructors: time 8.705e-05/0.005565, allocations: 261.8 kB / 337.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.7e-05/0.005592, allocations: 24 kB / 337.6 MB, free: 12.74 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.584e-05/0.005628, allocations: 15.88 kB / 337.6 MB, free: 12.73 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 (69) * Number of variables: 69 (69) Notification: Performance of [SIM] Bindings: time 0.0009082/0.006536, allocations: 1.335 MB / 338.9 MB, free: 11.26 MB / 266.7 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001036/0.00664, allocations: 155.8 kB / 339.1 MB, free: 11.11 MB / 266.7 MB Notification: Performance of [SIM] Early Inline: time 0.0005485/0.007189, allocations: 0.9137 MB / 340 MB, free: 10.17 MB / 266.7 MB Notification: Performance of [SIM] Simplify 1: time 0.0001575/0.007346, allocations: 140 kB / 340.1 MB, free: 10 MB / 266.7 MB Notification: Performance of [SIM] Alias: time 0.001513/0.008859, allocations: 1.504 MB / 341.6 MB, free: 8.336 MB / 266.7 MB Notification: Performance of [SIM] Simplify 2: time 7.92e-05/0.008938, allocations: 84.31 kB / 341.7 MB, free: 8.227 MB / 266.7 MB Notification: Performance of [SIM] Remove Stream: time 4.915e-05/0.008987, allocations: 88.38 kB / 341.8 MB, free: 8.113 MB / 266.7 MB Notification: Performance of [SIM] Detect States: time 0.0001715/0.009159, allocations: 188.9 kB / 342 MB, free: 7.863 MB / 266.7 MB Notification: Performance of [SIM] Events: time 9.219e-05/0.009251, allocations: 83.73 kB / 342.1 MB, free: 7.781 MB / 266.7 MB Notification: Performance of [SIM] Partitioning: time 0.0001869/0.009438, allocations: 205.7 kB / 342.3 MB, free: 7.547 MB / 266.7 MB Notification: Performance of [SIM] Causalize: time 0.0002626/0.009701, allocations: 217.6 kB / 342.5 MB, free: 7.332 MB / 266.7 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001936/0.009894, allocations: 363.6 kB / 342.8 MB, free: 6.977 MB / 266.7 MB Notification: Performance of [INI] Simplify: time 0.0003609/0.01026, allocations: 309.2 kB / 343.1 MB, free: 6.625 MB / 266.7 MB Notification: Performance of [INI] Inline: time 0.000289/0.01054, allocations: 0.5308 MB / 343.7 MB, free: 6.09 MB / 266.7 MB Notification: Performance of [INI] Partitioning: time 1.547e-05/0.01056, allocations: 16.12 kB / 343.7 MB, free: 6.066 MB / 266.7 MB Notification: Performance of [INI] Cleanup: time 5.718e-05/0.01062, allocations: 95.91 kB / 343.8 MB, free: 5.973 MB / 266.7 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) $SEV_1 = cccvCharger.v >= cccvCharger.Vend; ($RES_EVT_113) Notification: Performance of [INI] Causalize: time 0.0005844/0.0112, allocations: 0.4983 MB / 344.3 MB, free: 5.48 MB / 266.7 MB Notification: Performance of [INI] Tearing: time 0.000214/0.01142, allocations: 176 kB / 344.4 MB, free: 5.305 MB / 266.7 MB Notification: Performance of [SIM] Initialization: time 6.01e-07/0.01142, allocations: 0 / 344.4 MB, free: 5.305 MB / 266.7 MB Notification: Performance of [SIM] Remove Dummies: time 3.046e-06/0.01142, allocations: 0 / 344.4 MB, free: 5.305 MB / 266.7 MB Notification: Performance of [SIM] Tearing: time 0.0002016/0.01162, allocations: 203.9 kB / 344.6 MB, free: 5.09 MB / 266.7 MB Notification: Performance of [SIM] Categorize: time 5.401e-06/0.01163, allocations: 0 / 344.6 MB, free: 5.09 MB / 266.7 MB Notification: Performance of [SIM] Solve: time 0.0002225/0.01185, allocations: 216 kB / 344.9 MB, free: 4.879 MB / 266.7 MB Notification: Performance of [SIM] Jacobian: time 0.0005359/0.01238, allocations: 0.5715 MB / 345.4 MB, free: 4.168 MB / 266.7 MB Notification: Performance of [SIM] Minimize Homotopy System: time 6.31e-07/0.01238, allocations: 0 / 345.4 MB, free: 4.168 MB / 266.7 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: ......... 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: ............................. 2 (2) {battery.SOC, energy.y} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 4 (4) {cccvCharger.CV, $SEV_2, $SEV_1, $SEV_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: ........... 12 (scalar:12, 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: 0, nonlinear:1) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 16 (scalar:16, 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: 0, nonlinear:1) Notification: Performance of backend: time 3.059e-05/0.01242, allocations: 40.38 kB / 345.5 MB, free: 4.129 MB / 266.7 MB Notification: Performance of SimCode: time 0.0007293/0.01314, allocations: 0.7267 MB / 346.2 MB, free: 3.387 MB / 266.7 MB Notification: Performance of Templates: time 0.005014/0.01816, allocations: 2.27 MB / 348.5 MB, free: 1.137 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f BikeTrailer_BikeTrailer.Examples.ChargeBattery.makefile [Timeout 660] (rm -f BikeTrailer_BikeTrailer.Examples.ChargeBattery.pipe ; mkfifo BikeTrailer_BikeTrailer.Examples.ChargeBattery.pipe ; head -c 1048576 < BikeTrailer_BikeTrailer.Examples.ChargeBattery.pipe >> ../files/BikeTrailer_BikeTrailer.Examples.ChargeBattery.sim & ./BikeTrailer_BikeTrailer.Examples.ChargeBattery -abortSlowSimulation -alarm=240 -lv LOG_STATS > BikeTrailer_BikeTrailer.Examples.ChargeBattery.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.437531327828765]