Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery.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.002229/0.002229, allocations: 80.88 kB / 21.56 MB, free: 2.934 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.001953/0.001953, allocations: 162.9 kB / 24.97 MB, free: 9.199 MB / 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.599/1.599, allocations: 177.1 MB / 205.4 MB, free: 5.074 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.319/3.319, allocations: 389.5 MB / 0.6361 GB, free: 12.31 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery") translateModel(Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.458e-05/2.458e-05, allocations: 6.25 kB / 0.7759 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery): time 0.006136/0.006161, allocations: 3.501 MB / 0.7793 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.003779/0.00994, allocations: 1.622 MB / 0.7809 GB, free: 280 kB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002898/0.01023, allocations: 17.66 kB / 0.7809 GB, free: 264 kB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0006096/0.01084, allocations: 142.9 kB / 0.7811 GB, free: 120 kB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0008254/0.01166, allocations: 275 kB / 0.7813 GB, free: 15.85 MB / 0.7449 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009823/0.01265, allocations: 410 kB / 0.7817 GB, free: 15.45 MB / 0.7449 GB Notification: Performance of NFFlatten.flatten: time 0.001361/0.01401, allocations: 1.085 MB / 0.7828 GB, free: 14.38 MB / 0.7449 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007856/0.01479, allocations: 450.5 kB / 0.7832 GB, free: 13.93 MB / 0.7449 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009202/0.01571, allocations: 0.5856 MB / 0.7838 GB, free: 13.34 MB / 0.7449 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000513/0.01623, allocations: 292 kB / 0.7841 GB, free: 13.06 MB / 0.7449 GB Notification: Performance of NFPackage.collectConstants: time 0.0001201/0.01635, allocations: 60 kB / 0.7841 GB, free: 13 MB / 0.7449 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005435/0.01689, allocations: 232.6 kB / 0.7844 GB, free: 12.77 MB / 0.7449 GB Notification: Performance of combineBinaries: time 0.001154/0.01804, allocations: 0.9938 MB / 0.7853 GB, free: 11.77 MB / 0.7449 GB Notification: Performance of replaceArrayConstructors: time 0.0005836/0.01863, allocations: 0.5788 MB / 0.7859 GB, free: 11.2 MB / 0.7449 GB Notification: Performance of NFVerifyModel.verify: time 9.883e-05/0.01873, allocations: 44 kB / 0.7859 GB, free: 11.16 MB / 0.7449 GB Notification: Performance of FrontEnd: time 9.796e-05/0.01882, allocations: 27.75 kB / 0.786 GB, free: 11.13 MB / 0.7449 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 (110) * Number of variables: 127 (103) Notification: Performance of [SIM] Bindings: time 0.003984/0.02281, allocations: 2.896 MB / 0.7888 GB, free: 8.109 MB / 0.7449 GB Notification: Performance of [SIM] FunctionAlias: time 0.0007592/0.02357, allocations: 468.9 kB / 0.7892 GB, free: 7.648 MB / 0.7449 GB Notification: Performance of [SIM] Early Inline: time 0.00358/0.02715, allocations: 2.729 MB / 0.7919 GB, free: 4.887 MB / 0.7449 GB Notification: Performance of [SIM] Simplify 1: time 0.0005616/0.02771, allocations: 264.8 kB / 0.7922 GB, free: 4.598 MB / 0.7449 GB Notification: Performance of [SIM] Alias: time 0.004785/0.03249, allocations: 2.894 MB / 0.795 GB, free: 1.457 MB / 0.7449 GB Notification: Performance of [SIM] Simplify 2: time 0.0005082/0.033, allocations: 202.4 kB / 0.7952 GB, free: 1.234 MB / 0.7449 GB Notification: Performance of [SIM] Remove Stream: time 0.0002586/0.03326, allocations: 182 kB / 0.7953 GB, free: 1.031 MB / 0.7449 GB Notification: Performance of [SIM] Detect States: time 0.0007973/0.03406, allocations: 0.5406 MB / 0.7959 GB, free: 444 kB / 0.7449 GB Notification: Performance of [SIM] Events: time 0.0004051/0.03446, allocations: 279.8 kB / 0.7961 GB, free: 176 kB / 0.7449 GB Notification: Performance of [SIM] Partitioning: time 0.001068/0.03553, allocations: 0.7155 MB / 0.7968 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of [SIM] Causalize: time 0.001683/0.03721, allocations: 0.991 MB / 0.7978 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001849/0.03906, allocations: 1.507 MB / 0.7993 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of [INI] Simplify: time 0.001881/0.04094, allocations: 0.9451 MB / 0.8002 GB, free: 11.94 MB / 0.7605 GB Notification: Performance of [INI] Inline: time 0.003294/0.04424, allocations: 2.644 MB / 0.8028 GB, free: 9.289 MB / 0.7605 GB Notification: Performance of [INI] Partitioning: time 8.14e-05/0.04432, allocations: 39.92 kB / 0.8028 GB, free: 9.242 MB / 0.7605 GB Notification: Performance of [INI] Cleanup: time 0.0007024/0.04502, allocations: 0.5873 MB / 0.8034 GB, free: 8.648 MB / 0.7605 GB Notification: Performance of [INI] Causalize: time 0.003606/0.04863, allocations: 2.165 MB / 0.8055 GB, free: 6.48 MB / 0.7605 GB Notification: Performance of [INI] Tearing: time 8.448e-05/0.04871, allocations: 91.94 kB / 0.8056 GB, free: 6.391 MB / 0.7605 GB Notification: Performance of [SIM] Initialization: time 9.62e-07/0.04871, allocations: 0 / 0.8056 GB, free: 6.391 MB / 0.7605 GB Notification: Performance of [SIM] Remove Dummies: time 1.174e-05/0.04873, allocations: 4.656 kB / 0.8056 GB, free: 6.387 MB / 0.7605 GB Notification: Performance of [SIM] Tearing: time 3e-05/0.04876, allocations: 32.62 kB / 0.8056 GB, free: 6.355 MB / 0.7605 GB Notification: Performance of [SIM] Categorize: time 1.632e-05/0.04877, allocations: 15.92 kB / 0.8056 GB, free: 6.34 MB / 0.7605 GB Notification: Performance of [SIM] Solve: time 0.001639/0.05041, allocations: 0.8495 MB / 0.8065 GB, free: 5.488 MB / 0.7605 GB Notification: Performance of [SIM] Jacobian: time 0.0009944/0.05141, allocations: 0.5424 MB / 0.807 GB, free: 4.906 MB / 0.7605 GB Notification: Performance of [SIM] Minimize Homotopy System: time 7.073e-06/0.05141, allocations: 4 kB / 0.807 GB, free: 4.902 MB / 0.7605 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * 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: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 3 (3) {bat_ideal.SOC, bat_loss_acdc.SOC, bat.SOC} * Number of discrete states: .................... 2 (2) {pow.T_start, pow.count} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 21 (21) {bat_ideal.cha.underCharged, bat_ideal.cha.overCharged, bat_loss_acdc.cha.underCharged, bat_loss_acdc.cha.overCharged, bat.cha.underCharged, bat.cha.overCharged, $WC_2, $WC_1, $WC_0, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $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: ........... 70 (scalar:70, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 3 (resizable: 3, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 81 (scalar:81, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 3 (resizable: 3, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 81 (scalar:81, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 3 (resizable: 3, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 9.404e-05/0.05151, allocations: 61.14 kB / 0.8071 GB, free: 4.852 MB / 0.7605 GB Notification: Performance of SimCode: time 0.004024/0.05553, allocations: 2.015 MB / 0.809 GB, free: 2.77 MB / 0.7605 GB Notification: Performance of Templates: time 0.01567/0.0712, allocations: 7.012 MB / 0.8159 GB, free: 11.8 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery.sim & ./Buildings_13_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.841361159458756]