Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Battery_NB_Battery.Examples.ElectricBattery_veryLarge.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.0007884/0.0007884, allocations: 76.17 kB / 9.923 MB, free: 0.7656 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001033/0.001821, 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.0007388/0.0007388, allocations: 153.2 kB / 11.25 MB, free: 2.926 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009991/0.001738, 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.3824/0.3824, allocations: 179.9 MB / 192.4 MB, free: 14.22 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07797/0.4603, allocations: 53.65 MB / 246 MB, free: 8.398 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.002305/0.002305, allocations: 0.593 MB / 247.3 MB, free: 7.105 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001156/0.003461, allocations: 0.6028 MB / 248 MB, free: 6.512 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_veryLarge,tolerance=0.0001,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Battery_NB_Battery.Examples.ElectricBattery_veryLarge") translateModel(Battery.Examples.ElectricBattery_veryLarge,tolerance=0.0001,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Battery_NB_Battery.Examples.ElectricBattery_veryLarge") [Timeout 400] "Notification: Performance of FrontEnd - Absyn->SCode: time 6.913e-06/6.913e-06, allocations: 6.25 kB / 249.2 MB, free: 5.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Battery.Examples.ElectricBattery_veryLarge): time 0.005404/0.005411, allocations: 5.974 MB / 255.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001628/0.007039, allocations: 1.481 MB / 256.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001703/0.007209, allocations: 15.94 kB / 256.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001976/0.007407, allocations: 130.9 kB / 256.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000307/0.007714, allocations: 230 kB / 257 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003274/0.008041, allocations: 235.7 kB / 257.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01192/0.01996, allocations: 7.147 MB / 264.4 MB, free: 6 MB / 266.7 MB Notification: Performance of NFFlatten.resolveArrayConnections: time 0.002916/0.02288, allocations: 3.201 MB / 267.6 MB, free: 2.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001545/0.02442, allocations: 1.384 MB / 269 MB, free: 1.383 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007653/0.02519, allocations: 0.9513 MB / 269.9 MB, free: 440 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006557/0.02584, allocations: 140 kB / 270.1 MB, free: 300 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008853/0.02673, allocations: 220 kB / 270.3 MB, free: 80 kB / 266.7 MB Notification: Performance of combineBinaries: time 0.001897/0.02862, allocations: 2.232 MB / 272.5 MB, free: 13.82 MB / 282.7 MB Notification: Performance of replaceArrayConstructors: time 0.001052/0.02968, allocations: 1.405 MB / 273.9 MB, free: 12.41 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000259/0.02993, allocations: 60 kB / 274 MB, free: 12.36 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.893e-05/0.02998, allocations: 19.88 kB / 274 MB, free: 12.34 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 808290 (153) * Number of variables: 808290 (147) Notification: Performance of [SIM] Bindings: time 0.1217/0.1517, allocations: 18.5 MB / 292.5 MB, free: 22.8 MB / 282.7 MB Notification: Performance of [SIM] Data Reconciliation: time 8.396e-06/0.1517, allocations: 0 / 292.5 MB, free: 22.8 MB / 282.7 MB Notification: Performance of [SIM] FunctionAlias: time 0.0006472/0.1524, allocations: 0.781 MB / 293.3 MB, free: 22.74 MB / 282.7 MB Notification: Performance of [SIM] Early Inline: time 0.004387/0.1567, allocations: 5.788 MB / 299 MB, free: 22.62 MB / 282.7 MB Notification: Performance of [SIM] Simplify: time 0.0006577/0.1574, allocations: 0.5321 MB / 299.6 MB, free: 22.52 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.007039/0.1644, allocations: 8.285 MB / 307.9 MB, free: 20.41 MB / 282.7 MB Notification: Performance of [SIM] Remove Stream: time 0.0001903/0.1646, allocations: 281.7 kB / 308.1 MB, free: 20.32 MB / 282.7 MB Notification: Performance of [SIM] Algorithm Locals: time 0.0003649/0.165, allocations: 496.4 kB / 308.6 MB, free: 20.24 MB / 282.7 MB Notification: Performance of [SIM] Detect States: time 0.0004794/0.1655, allocations: 0.7409 MB / 309.4 MB, free: 19.97 MB / 282.7 MB Notification: Performance of [SIM] Events: time 0.0001625/0.1656, allocations: 369.6 kB / 309.7 MB, free: 19.82 MB / 282.7 MB Notification: Performance of [SIM] Partitioning: time 0.000825/0.1665, allocations: 1.354 MB / 311.1 MB, free: 19.12 MB / 282.7 MB Notification: Performance of [SIM] Causalize: time 0.00766/0.1741, allocations: 12.95 MB / 324 MB, free: 7.59 MB / 282.7 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002425/0.1766, allocations: 4.527 MB / 328.6 MB, free: 3.543 MB / 282.7 MB Notification: Performance of [INI] Simplify: time 0.001791/0.1783, allocations: 1.786 MB / 330.3 MB, free: 1.828 MB / 282.7 MB Notification: Performance of [INI] Inline: time 0.004755/0.1831, allocations: 6.798 MB / 337.1 MB, free: 11.27 MB / 298.7 MB Notification: Performance of [INI] Partitioning: time 5.641e-05/0.1832, allocations: 39.94 kB / 337.2 MB, free: 11.23 MB / 298.7 MB Notification: Performance of [INI] Cleanup: time 0.0005509/0.1837, allocations: 0.5822 MB / 337.8 MB, free: 10.65 MB / 298.7 MB Notification: Performance of [INI] Causalize: time 0.01563/0.1993, allocations: 17.01 MB / 354.8 MB, free: 9.254 MB / 314.7 MB Notification: Performance of [INI] Tearing: time 0.006669/0.206, allocations: 6.297 MB / 361.1 MB, free: 2.898 MB / 314.7 MB Notification: Performance of [SIM] Initialization: time 9.21e-07/0.206, allocations: 0 / 361.1 MB, free: 2.898 MB / 314.7 MB Notification: Performance of [SIM] Remove Dummies: time 1.042e-05/0.206, allocations: 7.844 kB / 361.1 MB, free: 2.891 MB / 314.7 MB Notification: Performance of [SIM] Tearing: time 0.008315/0.2143, allocations: 7.631 MB / 368.7 MB, free: 11.18 MB / 330.7 MB Notification: Performance of [SIM] Categorize: time 0.001169/0.2155, allocations: 0.6765 MB / 369.4 MB, free: 10.5 MB / 330.7 MB Notification: Performance of [SIM] Solve: time 0.001235/0.2167, allocations: 1.093 MB / 370.5 MB, free: 9.488 MB / 330.7 MB Notification: Performance of [SIM] Jacobian: time 0.009155/0.2259, allocations: 8.982 MB / 379.5 MB, free: 324 kB / 330.7 MB Notification: Performance of [SIM] Minimize Homotopy System: time 6.11e-07/0.2259, allocations: 0 / 379.5 MB, free: 324 kB / 330.7 MB Notification: Performance of [SIM] Data Reconciliation Jacobian: time 5.31e-07/0.2259, allocations: 0 / 379.5 MB, free: 324 kB / 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: ............................. 27003 (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.897e-05/0.2259, allocations: 48.52 kB / 379.5 MB, free: 284 kB / 330.7 MB Notification: Performance of SimCode: time 0.01886/0.2448, allocations: 21.21 MB / 400.7 MB, free: 11.58 MB / 362.7 MB Notification: Performance of Templates: time 0.154/0.3988, allocations: 42.89 MB / 443.6 MB, free: 91.19 MB / 378.7 MB " [Timeout remaining time 400] make -j12 -f Battery_NB_Battery.Examples.ElectricBattery_veryLarge.makefile [Timeout 400] (rm -f Battery_NB_Battery.Examples.ElectricBattery_veryLarge.pipe ; mkfifo Battery_NB_Battery.Examples.ElectricBattery_veryLarge.pipe ; head -c 1048576 < Battery_NB_Battery.Examples.ElectricBattery_veryLarge.pipe >> ../files/Battery_NB_Battery.Examples.ElectricBattery_veryLarge.sim & ./Battery_NB_Battery.Examples.ElectricBattery_veryLarge -abortSlowSimulation -alarm=240 -lv LOG_STATS > Battery_NB_Battery.Examples.ElectricBattery_veryLarge.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 241.79747399874032]