Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.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.001527/0.001527, allocations: 104.3 kB / 19.76 MB, free: 1.906 MB / 14.72 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.001642/0.001642, allocations: 215.4 kB / 23.07 MB, free: 4.98 MB / 14.72 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.339/1.339, allocations: 230.7 MB / 256.9 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.003/3.003, allocations: 0.5108 GB / 0.8167 GB, free: 17.7 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|soc.Q_flow|soc.SOC",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|soc.Q_flow|soc.SOC",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.026e-05/2.026e-05, allocations: 3.266 kB / 1.187 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge): time 0.002142/0.002163, allocations: 1.582 MB / 1.189 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0007681/0.002931, allocations: 491.7 kB / 1.189 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.437e-05/0.002985, allocations: 0 / 1.189 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 3.073e-05/0.003016, allocations: 4.453 kB / 1.189 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 5.469e-05/0.003071, allocations: 8 kB / 1.189 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.003285, allocations: 47.58 kB / 1.189 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.003408, allocations: 87.23 kB / 1.189 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.00351, allocations: 21.55 kB / 1.189 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.003665, allocations: 40.78 kB / 1.189 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 6.615e-05/0.003731, allocations: 32.38 kB / 1.189 GB, free: 12 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.003748, allocations: 7.062 kB / 1.189 GB, free: 12 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 4.318e-05/0.003792, allocations: 8.5 kB / 1.189 GB, free: 12 MB / 0.9044 GB Notification: Performance of combineBinaries: time 8.593e-05/0.003877, allocations: 120.2 kB / 1.19 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 2.404e-05/0.003902, allocations: 59.53 kB / 1.19 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.077e-05/0.003922, allocations: 9.281 kB / 1.19 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.083e-05/0.003933, allocations: 0.9688 kB / 1.19 GB, free: 11.87 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 (9) * Number of variables: 9 (9) Notification: Performance of [SIM] Bindings: time 0.0004178/0.004351, allocations: 439.2 kB / 1.19 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 5.128e-05/0.004402, allocations: 60.52 kB / 1.19 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0002259/0.004628, allocations: 278.8 kB / 1.19 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 6.907e-05/0.004697, allocations: 82.36 kB / 1.19 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.000358/0.005055, allocations: 267.5 kB / 1.191 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 6.075e-05/0.005116, allocations: 93.64 kB / 1.191 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 3.641e-05/0.005152, allocations: 61.89 kB / 1.191 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001534/0.005306, allocations: 140.9 kB / 1.191 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 9.513e-05/0.005401, allocations: 51 kB / 1.191 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0001274/0.005528, allocations: 111.2 kB / 1.191 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0002612/0.005789, allocations: 212.1 kB / 1.191 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001635/0.005953, allocations: 215 kB / 1.192 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0001627/0.006116, allocations: 162 kB / 1.192 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0002196/0.006335, allocations: 308.9 kB / 1.192 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.284e-05/0.006348, allocations: 13.88 kB / 1.192 GB, free: 9.996 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 3.808e-05/0.006386, allocations: 45.41 kB / 1.192 GB, free: 9.973 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0003298/0.006716, allocations: 255.5 kB / 1.192 GB, free: 9.906 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.09e-05/0.006727, allocations: 10.56 kB / 1.192 GB, free: 9.898 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 8.12e-07/0.006728, allocations: 1.312 kB / 1.192 GB, free: 9.898 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 6.527e-05/0.006793, allocations: 55.17 kB / 1.192 GB, free: 9.859 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.787e-06/0.006797, allocations: 1.75 kB / 1.192 GB, free: 9.859 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 4.638e-06/0.006801, allocations: 14.41 kB / 1.192 GB, free: 9.848 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 7.173e-06/0.006809, allocations: 4.844 kB / 1.192 GB, free: 9.844 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0001934/0.007002, allocations: 154.5 kB / 1.192 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 0.0001624/0.007164, allocations: 376.4 kB / 1.193 GB, free: 9.398 MB / 0.9044 GB 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: ............................. 1 (1) {soc.SOC} * Number of discrete states: .................... 2 (2) {soc.charged, soc.discharged} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 7 (7) {soc.suspend, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $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: ........... 11 (scalar:11, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, 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: ........... 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: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.343e-05/0.007198, allocations: 23.27 kB / 1.193 GB, free: 9.383 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004998/0.007698, allocations: 333.6 kB / 1.193 GB, free: 9.18 MB / 0.9044 GB Notification: Performance of Templates: time 0.003373/0.01107, allocations: 0.9176 MB / 1.194 GB, free: 9.078 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.sim & ./Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 7.707417849975172] Failed to read output from testmodel.py, exit status != 0: 0.01729249401250854 0.028961419000000002 0.022711459 Calling exit ...