Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Battery_NB_Battery.Examples.ElectricBattery_medium.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.000767/0.000767, allocations: 76.17 kB / 9.923 MB, free: 0.7656 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001027/0.001794, 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.0007389/0.0007389, allocations: 153.2 kB / 11.25 MB, free: 2.926 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009698/0.001709, 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.3844/0.3844, allocations: 179.9 MB / 192.4 MB, free: 14.22 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07811/0.4625, allocations: 53.66 MB / 246 MB, free: 8.379 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.002382/0.002382, allocations: 0.5906 MB / 247.4 MB, free: 7.09 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001226/0.003609, allocations: 0.6043 MB / 248 MB, free: 6.496 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_medium,tolerance=0.0001,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Battery_NB_Battery.Examples.ElectricBattery_medium") translateModel(Battery.Examples.ElectricBattery_medium,tolerance=0.0001,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Battery_NB_Battery.Examples.ElectricBattery_medium") [Timeout 400] "Notification: Performance of FrontEnd - Absyn->SCode: time 8.676e-06/8.676e-06, allocations: 6.25 kB / 249.2 MB, free: 5.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Battery.Examples.ElectricBattery_medium): time 0.005441/0.00545, allocations: 5.978 MB / 255.2 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001807/0.007256, allocations: 1.481 MB / 256.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001716/0.007428, allocations: 12 kB / 256.7 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001947/0.007623, allocations: 134.9 kB / 256.8 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003019/0.007924, allocations: 226.1 kB / 257 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003223/0.008247, allocations: 243.6 kB / 257.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002816/0.01106, allocations: 3.397 MB / 260.6 MB, free: 9.734 MB / 266.7 MB Notification: Performance of NFFlatten.resolveArrayConnections: time 0.002886/0.01395, allocations: 3.197 MB / 263.8 MB, free: 6.508 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009268/0.01488, allocations: 1.119 MB / 265 MB, free: 5.387 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000764/0.01564, allocations: 0.9552 MB / 265.9 MB, free: 4.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001523/0.01579, allocations: 144 kB / 266.1 MB, free: 4.289 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002189/0.01601, allocations: 216 kB / 266.3 MB, free: 4.078 MB / 266.7 MB Notification: Performance of combineBinaries: time 0.00167/0.01768, allocations: 2.232 MB / 268.5 MB, free: 1.82 MB / 266.7 MB Notification: Performance of replaceArrayConstructors: time 0.001058/0.01874, allocations: 1.401 MB / 269.9 MB, free: 424 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.675e-05/0.01884, allocations: 63.94 kB / 270 MB, free: 360 kB / 266.7 MB Notification: Performance of FrontEnd: time 4.313e-05/0.01888, allocations: 19.94 kB / 270 MB, free: 340 kB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31890 (153) * Number of variables: 31890 (147) Notification: Performance of [SIM] Bindings: time 0.09698/0.1159, allocations: 18.5 MB / 288.5 MB, free: 23.68 MB / 282.7 MB Notification: Performance of [SIM] Data Reconciliation: time 9.277e-06/0.1159, allocations: 2.656 kB / 288.5 MB, free: 23.68 MB / 282.7 MB Notification: Performance of [SIM] FunctionAlias: time 0.0008264/0.1167, allocations: 0.7791 MB / 289.3 MB, free: 23.62 MB / 282.7 MB Notification: Performance of [SIM] Early Inline: time 0.003684/0.1204, allocations: 5.797 MB / 295.1 MB, free: 23.51 MB / 282.7 MB Notification: Performance of [SIM] Simplify: time 0.0004611/0.1208, allocations: 0.5341 MB / 295.6 MB, free: 23.4 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.004477/0.1253, allocations: 6.298 MB / 301.9 MB, free: 22.26 MB / 282.7 MB Notification: Performance of [SIM] Remove Stream: time 0.0001728/0.1255, allocations: 283.7 kB / 302.2 MB, free: 22.18 MB / 282.7 MB Notification: Performance of [SIM] Algorithm Locals: time 0.0003321/0.1258, allocations: 488.7 kB / 302.6 MB, free: 22.16 MB / 282.7 MB Notification: Performance of [SIM] Detect States: time 0.0004597/0.1263, allocations: 0.7346 MB / 303.4 MB, free: 22 MB / 282.7 MB Notification: Performance of [SIM] Events: time 0.0001964/0.1265, allocations: 378.6 kB / 303.8 MB, free: 21.88 MB / 282.7 MB Notification: Performance of [SIM] Partitioning: time 0.001066/0.1275, allocations: 1.348 MB / 305.1 MB, free: 21.18 MB / 282.7 MB Notification: Performance of [SIM] Causalize: time 0.008767/0.1363, allocations: 12.95 MB / 318.1 MB, free: 12.84 MB / 282.7 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002867/0.1392, allocations: 4.529 MB / 322.6 MB, free: 9.125 MB / 282.7 MB Notification: Performance of [INI] Simplify: time 0.001525/0.1407, allocations: 1.777 MB / 324.4 MB, free: 7.707 MB / 282.7 MB Notification: Performance of [INI] Inline: time 0.003858/0.1446, allocations: 6.806 MB / 331.2 MB, free: 1.375 MB / 282.7 MB Notification: Performance of [INI] Partitioning: time 4.262e-05/0.1446, allocations: 39.94 kB / 331.2 MB, free: 1.328 MB / 282.7 MB Notification: Performance of [INI] Cleanup: time 0.0004195/0.145, allocations: 0.5848 MB / 331.8 MB, free: 0.75 MB / 282.7 MB Notification: Performance of [INI] Causalize: time 0.01541/0.1604, allocations: 17 MB / 348.8 MB, free: 15.35 MB / 314.7 MB Notification: Performance of [INI] Tearing: time 0.006856/0.1673, allocations: 6.288 MB / 355.1 MB, free: 9.008 MB / 314.7 MB Notification: Performance of [SIM] Initialization: time 9.42e-07/0.1673, allocations: 4.766 kB / 355.1 MB, free: 9.004 MB / 314.7 MB Notification: Performance of [SIM] Remove Dummies: time 1.036e-05/0.1673, allocations: 7.938 kB / 355.1 MB, free: 8.996 MB / 314.7 MB Notification: Performance of [SIM] Tearing: time 0.008182/0.1755, allocations: 7.627 MB / 362.7 MB, free: 1.285 MB / 314.7 MB Notification: Performance of [SIM] Categorize: time 0.0009581/0.1764, allocations: 0.6803 MB / 363.4 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of [SIM] Solve: time 0.001223/0.1777, allocations: 1.1 MB / 364.5 MB, free: 15.58 MB / 330.7 MB Notification: Performance of [SIM] Jacobian: time 0.009269/0.1869, allocations: 9.178 MB / 373.7 MB, free: 6.207 MB / 330.7 MB Notification: Performance of [SIM] Minimize Homotopy System: time 6.42e-07/0.1869, allocations: 4 kB / 373.7 MB, free: 6.203 MB / 330.7 MB Notification: Performance of [SIM] Data Reconciliation Jacobian: time 5.31e-07/0.1869, allocations: 0 / 373.7 MB, free: 6.203 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: ............................. 1003 (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.379e-05/0.187, allocations: 46.28 kB / 373.7 MB, free: 6.168 MB / 330.7 MB Notification: Performance of SimCode: time 0.01712/0.2041, allocations: 19.47 MB / 393.2 MB, free: 3.215 MB / 346.7 MB Notification: Performance of Templates: time 0.1345/0.3386, allocations: 41.45 MB / 434.6 MB, free: 91.8 MB / 378.7 MB " [Timeout remaining time 400] make -j12 -f Battery_NB_Battery.Examples.ElectricBattery_medium.makefile [Timeout 400] (rm -f Battery_NB_Battery.Examples.ElectricBattery_medium.pipe ; mkfifo Battery_NB_Battery.Examples.ElectricBattery_medium.pipe ; head -c 1048576 < Battery_NB_Battery.Examples.ElectricBattery_medium.pipe >> ../files/Battery_NB_Battery.Examples.ElectricBattery_medium.sim & ./Battery_NB_Battery.Examples.ElectricBattery_medium -abortSlowSimulation -alarm=240 -lv LOG_STATS > Battery_NB_Battery.Examples.ElectricBattery_medium.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.873723406344652]