Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.DC.Storage.Examples.Battery.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.001874/0.001874, 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.001941/0.001941, allocations: 162.1 kB / 24.97 MB, free: 8.672 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.618/1.618, allocations: 177.1 MB / 205.4 MB, free: 5.465 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.149/3.149, allocations: 389.5 MB / 0.6361 GB, free: 12.34 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.DC.Storage.Examples.Battery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Storage.Examples.Battery") translateModel(Buildings.Electrical.DC.Storage.Examples.Battery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Storage.Examples.Battery") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.02e-05/2.02e-05, allocations: 6.25 kB / 0.7759 GB, free: 5.414 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Storage.Examples.Battery): time 0.00602/0.00604, allocations: 3.577 MB / 0.7794 GB, free: 1.863 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.003263/0.009303, allocations: 1.577 MB / 0.7809 GB, free: 288 kB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002349/0.009538, allocations: 22.66 kB / 0.781 GB, free: 268 kB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0005537/0.01009, allocations: 162.7 kB / 0.7811 GB, free: 104 kB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0005205/0.01061, allocations: 211.6 kB / 0.7813 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009709/0.01158, allocations: 445.8 kB / 0.7818 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001439/0.01302, allocations: 1.235 MB / 0.783 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001321/0.01434, allocations: 0.9673 MB / 0.7839 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000862/0.01521, allocations: 0.6667 MB / 0.7846 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005561/0.01576, allocations: 315 kB / 0.7849 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001214/0.01588, allocations: 73.22 kB / 0.7849 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002758/0.01616, allocations: 131.8 kB / 0.7851 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of combineBinaries: time 0.001127/0.01729, allocations: 1.106 MB / 0.7861 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of replaceArrayConstructors: time 0.0005821/0.01787, allocations: 0.6592 MB / 0.7868 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.044e-05/0.01796, allocations: 52.56 kB / 0.7868 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of FrontEnd: time 0.0001466/0.0181, allocations: 80.42 kB / 0.7869 GB, free: 10.19 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 (178) * Number of variables: 191 (172) Notification: Performance of [SIM] Bindings: time 0.003956/0.02206, allocations: 3.175 MB / 0.79 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of [SIM] FunctionAlias: time 0.0007424/0.0228, allocations: 0.5582 MB / 0.7905 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of [SIM] Early Inline: time 0.003834/0.02664, allocations: 3.137 MB / 0.7936 GB, free: 3.137 MB / 0.7448 GB Notification: Performance of [SIM] Simplify 1: time 0.000725/0.02736, allocations: 398.8 kB / 0.794 GB, free: 2.68 MB / 0.7448 GB Notification: Performance of [SIM] Alias: time 0.005759/0.03312, allocations: 3.8 MB / 0.7977 GB, free: 14.49 MB / 0.7605 GB Notification: Performance of [SIM] Simplify 2: time 0.000482/0.0336, allocations: 269.7 kB / 0.798 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of [SIM] Remove Stream: time 0.0002604/0.03386, allocations: 188 kB / 0.7981 GB, free: 13.96 MB / 0.7605 GB Notification: Performance of [SIM] Detect States: time 0.0009238/0.03479, allocations: 0.6355 MB / 0.7988 GB, free: 13.26 MB / 0.7605 GB Notification: Performance of [SIM] Events: time 0.0003486/0.03514, allocations: 243 kB / 0.799 GB, free: 13.02 MB / 0.7605 GB Notification: Performance of [SIM] Partitioning: time 0.001189/0.03633, allocations: 0.8 MB / 0.7998 GB, free: 12.16 MB / 0.7605 GB Notification: Performance of [SIM] Causalize: time 0.001917/0.03824, allocations: 1.207 MB / 0.801 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001612/0.03986, allocations: 1.394 MB / 0.8023 GB, free: 9.57 MB / 0.7605 GB Notification: Performance of [INI] Simplify: time 0.001556/0.04141, allocations: 0.9028 MB / 0.8032 GB, free: 8.566 MB / 0.7605 GB Notification: Performance of [INI] Inline: time 0.002989/0.0444, allocations: 2.553 MB / 0.8057 GB, free: 6 MB / 0.7605 GB Notification: Performance of [INI] Partitioning: time 0.0001152/0.04452, allocations: 59.97 kB / 0.8057 GB, free: 5.922 MB / 0.7605 GB Notification: Performance of [INI] Cleanup: time 0.0006597/0.04518, allocations: 0.5777 MB / 0.8063 GB, free: 5.336 MB / 0.7605 GB Notification: Performance of [INI] Causalize: time 0.00782/0.053, allocations: 4.971 MB / 0.8112 GB, free: 240 kB / 0.7605 GB Notification: Performance of [INI] Tearing: time 0.0001077/0.0531, allocations: 128 kB / 0.8113 GB, free: 112 kB / 0.7605 GB Notification: Performance of [SIM] Initialization: time 1.112e-06/0.0531, allocations: 0 / 0.8113 GB, free: 112 kB / 0.7605 GB Notification: Performance of [SIM] Remove Dummies: time 1.222e-05/0.05312, allocations: 1 kB / 0.8113 GB, free: 112 kB / 0.7605 GB Notification: Performance of [SIM] Tearing: time 4.071e-05/0.05316, allocations: 56 kB / 0.8113 GB, free: 56 kB / 0.7605 GB Notification: Performance of [SIM] Categorize: time 1.219e-05/0.05317, allocations: 8.875 kB / 0.8113 GB, free: 48 kB / 0.7605 GB Notification: Performance of [SIM] Solve: time 0.001481/0.05465, allocations: 0.8055 MB / 0.8121 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of [SIM] Jacobian: time 0.0009284/0.05558, allocations: 0.567 MB / 0.8127 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of [SIM] Minimize Homotopy System: time 4.588e-06/0.05558, allocations: 0 / 0.8127 GB, free: 14.62 MB / 0.7761 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: ............................. 1 (1) {greaterEqualThreshold.u} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 69 (69) {bat.cha.underCharged, bat.cha.overCharged, off.active, off.localActive, off.inPort.occupied, off.inPort.set, off.outPort.available, off.outPort.reset, off.newActive, toOn.localCondition, toOn.enableFire, toOn.fire, toOn.inPort.available, toOn.outPort.occupied, charge.localActive, charge.inPort.occupied, charge.inPort.set, charge.outPort.available, charge.outPort.reset, charge.newActive, toHold.localCondition, toHold.enableFire, toHold.fire, toHold.inPort.available, toHold.outPort.occupied, hold.active, hold.localActive, hold.inPort.occupied, hold.inPort.set, hold.outPort.available, hold.outPort.reset, hold.newActive, toDischarge.localCondition, toDischarge.enableFire, toDischarge.fire, toDischarge.inPort.available, toDischarge.outPort.occupied, discharge.localActive, discharge.inPort.occupied, discharge.inPort.set, discharge.outPort.available, discharge.outPort.reset, discharge.newActive, toOff.localCondition, toOff.enableFire, toOff.fire, toOff.inPort.available, toOff.outPort.occupied, stateGraphRoot.activeSteps, $FUN_9, $FUN_10, $FUN_11, $FUN_12, $FUN_13, $FUN_14, $FUN_15, $FUN_16, $WC_0, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_5, $TEV_4, $TEV_3, $TEV_2, $TEV_1, $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: ........... 101 (scalar:98, array:3, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 124 (scalar:121, array:3, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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: ........... 124 (scalar:121, array:3, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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 0.0001267/0.05571, allocations: 99.84 kB / 0.8128 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of SimCode: time 0.003223/0.05893, allocations: 1.929 MB / 0.8147 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of Templates: time 0.01597/0.0749, allocations: 5.869 MB / 0.8204 GB, free: 6.695 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.DC.Storage.Examples.Battery.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.DC.Storage.Examples.Battery.pipe ; mkfifo Buildings_13_Buildings.Electrical.DC.Storage.Examples.Battery.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.DC.Storage.Examples.Battery.pipe >> ../files/Buildings_13_Buildings.Electrical.DC.Storage.Examples.Battery.sim & ./Buildings_13_Buildings.Electrical.DC.Storage.Examples.Battery -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.DC.Storage.Examples.Battery.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.049076355993748]