Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001387/0.001387, 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.00204/0.00204, allocations: 212.7 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.547/1.547, allocations: 230.7 MB / 256.9 MB, free: 7.77 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 3.299/3.299, allocations: 0.4893 GB / 0.7952 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 176] 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.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fac.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Factorial") translateModel(Buildings.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fac.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Factorial") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.471e-05/2.471e-05, allocations: 2.281 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Factorial): time 0.002911/0.002936, allocations: 1.541 MB / 1.156 GB, free: 24.47 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0003953/0.003331, allocations: 117.2 kB / 1.156 GB, free: 24.39 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.226e-05/0.003373, allocations: 1.406 kB / 1.156 GB, free: 24.39 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 3.277e-05/0.003406, allocations: 8.406 kB / 1.156 GB, free: 24.39 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 4.778e-05/0.003454, allocations: 2.922 kB / 1.156 GB, free: 24.39 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002669/0.003721, allocations: 28.41 kB / 1.156 GB, free: 24.37 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 8.658e-05/0.003807, allocations: 29.41 kB / 1.156 GB, free: 24.36 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.003933, allocations: 13.34 kB / 1.156 GB, free: 24.35 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 4.448e-05/0.003978, allocations: 12.25 kB / 1.156 GB, free: 24.35 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 5.546e-05/0.004033, allocations: 17.27 kB / 1.156 GB, free: 24.34 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.004053, allocations: 3.281 kB / 1.156 GB, free: 24.34 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 6.636e-05/0.004119, allocations: 10.09 kB / 1.156 GB, free: 24.34 MB / 0.9044 GB Notification: Performance of combineBinaries: time 7.654e-05/0.004196, allocations: 59.59 kB / 1.156 GB, free: 24.3 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 1.876e-05/0.004215, allocations: 35.06 kB / 1.156 GB, free: 24.27 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.486e-05/0.004229, allocations: 1.625 kB / 1.156 GB, free: 24.27 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.098e-05/0.00424, allocations: 3.688 kB / 1.156 GB, free: 24.27 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.0004224/0.004663, allocations: 289.6 kB / 1.157 GB, free: 23.94 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001317/0.004795, allocations: 53.91 kB / 1.157 GB, free: 23.9 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0001288/0.004923, allocations: 129.3 kB / 1.157 GB, free: 23.8 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 8.929e-05/0.005013, allocations: 88.41 kB / 1.157 GB, free: 23.69 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.000436/0.005449, allocations: 222 kB / 1.157 GB, free: 23.48 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 6.653e-05/0.005515, allocations: 82.7 kB / 1.157 GB, free: 23.38 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 3.602e-05/0.005551, allocations: 40.08 kB / 1.157 GB, free: 23.32 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 8.991e-05/0.005641, allocations: 97.47 kB / 1.157 GB, free: 23.19 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 8.507e-05/0.005726, allocations: 33.34 kB / 1.157 GB, free: 23.17 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0001093/0.005836, allocations: 66.14 kB / 1.157 GB, free: 23.13 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0002163/0.006052, allocations: 124.7 kB / 1.157 GB, free: 23.1 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 9.481e-05/0.006147, allocations: 106 kB / 1.158 GB, free: 23.05 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0001462/0.006293, allocations: 128.6 kB / 1.158 GB, free: 22.89 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0001209/0.006414, allocations: 143.2 kB / 1.158 GB, free: 22.82 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.069e-05/0.006424, allocations: 13.94 kB / 1.158 GB, free: 22.8 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 2.458e-05/0.006449, allocations: 21.73 kB / 1.158 GB, free: 22.79 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0002454/0.006694, allocations: 152.6 kB / 1.158 GB, free: 22.74 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.313e-05/0.006708, allocations: 2.188 kB / 1.158 GB, free: 22.74 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.4e-07/0.006708, allocations: 0 / 1.158 GB, free: 22.74 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 7.015e-05/0.006778, allocations: 46.02 kB / 1.158 GB, free: 22.71 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 4.258e-06/0.006782, allocations: 0 / 1.158 GB, free: 22.71 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 5.53e-06/0.006788, allocations: 7.188 kB / 1.158 GB, free: 22.71 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 8.806e-06/0.006797, allocations: 1.688 kB / 1.158 GB, free: 22.71 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0001657/0.006962, allocations: 99.08 kB / 1.158 GB, free: 22.68 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 0.0001108/0.007073, allocations: 189 kB / 1.158 GB, free: 22.48 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 4.121e-05/0.007114, allocations: 30.7 kB / 1.158 GB, free: 22.46 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005688/0.007683, allocations: 244.6 kB / 1.159 GB, free: 22.29 MB / 0.9044 GB Notification: Performance of Templates: time 0.003738/0.01142, allocations: 0.6488 MB / 1.159 GB, free: 22.19 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Factorial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Factorial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Factorial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Factorial.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 9.214288193034008] Failed to read output from testmodel.py, exit status != 0: 0.020159043022431433 0.034493794 0.027106862000000002 Calling exit ...