Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001501/0.001501, allocations: 104.3 kB / 19.77 MB, free: 2.051 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.001612/0.001612, allocations: 212.8 kB / 23.07 MB, free: 4.844 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.368/1.368, allocations: 230.6 MB / 256.9 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.901/2.901, allocations: 0.4893 GB / 0.7952 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|soc.Q_flow|soc.SOC",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.424e-05/1.424e-05, allocations: 2.281 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge): time 0.002046/0.00206, allocations: 1.59 MB / 1.156 GB, free: 24.47 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0006994/0.00276, allocations: 480.1 kB / 1.156 GB, free: 24.16 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.937e-05/0.002809, allocations: 4.469 kB / 1.156 GB, free: 24.16 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.838e-05/0.002838, allocations: 8.781 kB / 1.156 GB, free: 24.15 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 5.213e-05/0.00289, allocations: 10.75 kB / 1.156 GB, free: 24.14 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.000192/0.003082, allocations: 44.61 kB / 1.157 GB, free: 24.12 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.003205, allocations: 90.98 kB / 1.157 GB, free: 24.08 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 9.816e-05/0.003304, allocations: 8.484 kB / 1.157 GB, free: 24.08 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.003437, allocations: 44.97 kB / 1.157 GB, free: 24.06 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 6.035e-05/0.003497, allocations: 30.08 kB / 1.157 GB, free: 24.04 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.003514, allocations: 6.688 kB / 1.157 GB, free: 24.04 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 3.768e-05/0.003552, allocations: 9.406 kB / 1.157 GB, free: 24.04 MB / 0.9044 GB Notification: Performance of combineBinaries: time 7.944e-05/0.003631, allocations: 120.4 kB / 1.157 GB, free: 23.96 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 2.633e-05/0.003658, allocations: 63.16 kB / 1.157 GB, free: 23.92 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.177e-05/0.003679, allocations: 5.438 kB / 1.157 GB, free: 23.92 MB / 0.9044 GB Notification: Performance of FrontEnd: time 9.929e-06/0.003689, allocations: 5.031 kB / 1.157 GB, free: 23.92 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.0003944/0.004084, allocations: 438.8 kB / 1.157 GB, free: 23.51 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 4.867e-05/0.004132, allocations: 58.39 kB / 1.157 GB, free: 23.46 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0002192/0.004352, allocations: 276 kB / 1.158 GB, free: 23.29 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 6.535e-05/0.004417, allocations: 87.09 kB / 1.158 GB, free: 23.19 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0003696/0.004787, allocations: 269.7 kB / 1.158 GB, free: 22.96 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 5.977e-05/0.004846, allocations: 94.95 kB / 1.158 GB, free: 22.86 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 3.158e-05/0.004878, allocations: 52.02 kB / 1.158 GB, free: 22.79 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001448/0.005023, allocations: 147.2 kB / 1.158 GB, free: 22.64 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 9.76e-05/0.00512, allocations: 50.62 kB / 1.158 GB, free: 22.62 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0001266/0.005247, allocations: 118.9 kB / 1.158 GB, free: 22.56 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0002765/0.005523, allocations: 201.3 kB / 1.159 GB, free: 22.51 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001508/0.005674, allocations: 222.1 kB / 1.159 GB, free: 22.4 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0001698/0.005844, allocations: 157.2 kB / 1.159 GB, free: 22.24 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0002222/0.006066, allocations: 319.1 kB / 1.159 GB, free: 22.07 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.473e-05/0.006081, allocations: 13.03 kB / 1.159 GB, free: 22.05 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 3.297e-05/0.006114, allocations: 44.28 kB / 1.159 GB, free: 22.03 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0003184/0.006432, allocations: 253.5 kB / 1.16 GB, free: 21.97 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.024e-05/0.006443, allocations: 6.125 kB / 1.16 GB, free: 21.96 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 9.82e-07/0.006444, allocations: 5.188 kB / 1.16 GB, free: 21.96 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 6.185e-05/0.006506, allocations: 48.66 kB / 1.16 GB, free: 21.93 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.707e-06/0.006509, allocations: 1.125 kB / 1.16 GB, free: 21.93 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 4.619e-06/0.006514, allocations: 15.25 kB / 1.16 GB, free: 21.92 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 5.29e-06/0.006519, allocations: 1.5 kB / 1.16 GB, free: 21.92 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0001851/0.006704, allocations: 152.5 kB / 1.16 GB, free: 21.87 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 0.0001746/0.006879, allocations: 380 kB / 1.16 GB, free: 21.47 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.39e-05/0.006913, allocations: 23.88 kB / 1.16 GB, free: 21.46 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004663/0.007379, allocations: 332.1 kB / 1.16 GB, free: 21.25 MB / 0.9044 GB Notification: Performance of Templates: time 0.003242/0.01062, allocations: 0.938 MB / 1.161 GB, free: 21.12 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.sim & ./Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 7.67416651599342] Failed to read output from testmodel.py, exit status != 0: 0.017030689981766045 0.027667142000000002 0.021721162000000002 Calling exit ...