Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.Factorial.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.00129/0.00129, 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.001561/0.001561, allocations: 219.4 kB / 23.07 MB, free: 4.848 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.348/1.348, allocations: 230.7 MB / 256.9 MB, free: 7.73 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.608/2.608, allocations: 476 MB / 0.7708 GB, free: 4.656 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fac.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Factorial") translateModel(Buildings.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fac.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Factorial") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.686e-05/1.686e-05, allocations: 3.266 kB / 1.118 GB, free: 41.03 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Factorial): time 0.002052/0.002069, allocations: 1.531 MB / 1.119 GB, free: 40.99 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0002948/0.002363, allocations: 128.1 kB / 1.12 GB, free: 40.98 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.332e-05/0.002397, allocations: 1.094 kB / 1.12 GB, free: 40.98 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.132e-05/0.002418, allocations: 0.9844 kB / 1.12 GB, free: 40.98 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 3.726e-05/0.002455, allocations: 3.938 kB / 1.12 GB, free: 40.97 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.002654, allocations: 29.59 kB / 1.12 GB, free: 40.96 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 6.08e-05/0.002714, allocations: 33.55 kB / 1.12 GB, free: 40.96 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 8.359e-05/0.002798, allocations: 7.75 kB / 1.12 GB, free: 40.96 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 2.805e-05/0.002826, allocations: 13.28 kB / 1.12 GB, free: 40.96 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 3.867e-05/0.002865, allocations: 14.41 kB / 1.12 GB, free: 40.96 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.002877, allocations: 3.375 kB / 1.12 GB, free: 40.96 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 4.784e-05/0.002925, allocations: 14.34 kB / 1.12 GB, free: 40.96 MB / 0.9044 GB Notification: Performance of combineBinaries: time 5.768e-05/0.002983, allocations: 58.25 kB / 1.12 GB, free: 40.95 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 1.268e-05/0.002995, allocations: 34.98 kB / 1.12 GB, free: 40.93 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.207e-05/0.003008, allocations: 3.469 kB / 1.12 GB, free: 40.93 MB / 0.9044 GB Notification: Performance of FrontEnd: time 7.434e-06/0.003015, allocations: 0.5 kB / 1.12 GB, free: 40.93 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: 5 (5) * Number of variables: 5 (5) Notification: Performance of [SIM] Bindings: time 0.0002898/0.003305, allocations: 282.5 kB / 1.12 GB, free: 40.65 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 9.373e-05/0.003398, allocations: 57.09 kB / 1.12 GB, free: 40.62 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 8.752e-05/0.003486, allocations: 134.3 kB / 1.12 GB, free: 40.56 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 5.894e-05/0.003545, allocations: 78.33 kB / 1.12 GB, free: 40.46 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0002967/0.003842, allocations: 233.9 kB / 1.121 GB, free: 40.29 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 3.69e-05/0.003879, allocations: 73.03 kB / 1.121 GB, free: 40.2 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 2.008e-05/0.003899, allocations: 43.17 kB / 1.121 GB, free: 40.14 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 5.144e-05/0.00395, allocations: 97.67 kB / 1.121 GB, free: 40.02 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 6.083e-05/0.004011, allocations: 33.88 kB / 1.121 GB, free: 40.02 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 7.3e-05/0.004084, allocations: 68.66 kB / 1.121 GB, free: 40 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0001451/0.004229, allocations: 126.2 kB / 1.121 GB, free: 39.98 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 6.041e-05/0.004289, allocations: 101.5 kB / 1.121 GB, free: 39.98 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 9.806e-05/0.004387, allocations: 130.8 kB / 1.121 GB, free: 39.83 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 7.453e-05/0.004462, allocations: 143.8 kB / 1.121 GB, free: 39.82 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 8.306e-06/0.00447, allocations: 15.39 kB / 1.121 GB, free: 39.8 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 1.607e-05/0.004486, allocations: 23.62 kB / 1.121 GB, free: 39.8 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0001713/0.004658, allocations: 152 kB / 1.121 GB, free: 39.78 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 7.784e-06/0.004665, allocations: 2.688 kB / 1.121 GB, free: 39.78 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.71e-07/0.004666, allocations: 1.75 kB / 1.121 GB, free: 39.78 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 4.991e-05/0.004716, allocations: 37.47 kB / 1.122 GB, free: 39.76 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.526e-06/0.004719, allocations: 0.5 kB / 1.122 GB, free: 39.76 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 3.667e-06/0.004723, allocations: 10.47 kB / 1.122 GB, free: 39.76 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 5.21e-06/0.004728, allocations: 7.938 kB / 1.122 GB, free: 39.75 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0001177/0.004846, allocations: 101.3 kB / 1.122 GB, free: 39.75 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 7.923e-05/0.004925, allocations: 182.5 kB / 1.122 GB, free: 39.56 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: ............... 0 * Number of algebraic event partitions: ......... 1 * 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: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 5 (5) {fac.y, rea2Int.y, $SEV_0, $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: ........... 8 (scalar:8, 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: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 8 (scalar:8, 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 2.898e-05/0.004954, allocations: 25.56 kB / 1.122 GB, free: 39.55 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0003361/0.00529, allocations: 241.1 kB / 1.122 GB, free: 39.41 MB / 0.9044 GB Notification: Performance of Templates: time 0.002656/0.007946, allocations: 0.6472 MB / 1.123 GB, free: 39.4 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Factorial.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Factorial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Factorial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Factorial.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 7.717807563021779] Failed to read output from testmodel.py, exit status != 0: 0.46445292804855853 0.023075411 0.018026664 Calling exit ...