Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.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.001583/0.001583, 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.001722/0.001722, allocations: 216.5 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.411/1.411, allocations: 230.6 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 2.999/2.999, allocations: 0.4893 GB / 0.7952 GB, free: 35.66 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.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fac",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.Factorial") translateModel(Buildings.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fac",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.Factorial") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.906e-05/1.906e-05, allocations: 2.281 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Factorial): time 0.001463/0.001482, allocations: 0.5958 MB / 1.155 GB, free: 25.14 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0002789/0.001761, allocations: 48.11 kB / 1.155 GB, free: 25.11 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.598e-05/0.001777, allocations: 0 / 1.155 GB, free: 25.11 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 1.585e-05/0.001793, allocations: 0.625 kB / 1.155 GB, free: 25.11 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.172e-06/0.001799, allocations: 3.938 kB / 1.155 GB, free: 25.11 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002278/0.002027, allocations: 12.36 kB / 1.155 GB, free: 25.11 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 4.498e-05/0.002072, allocations: 6.203 kB / 1.155 GB, free: 25.1 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 5.994e-05/0.002132, allocations: 6.641 kB / 1.155 GB, free: 25.1 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 1.459e-05/0.002147, allocations: 0.9062 kB / 1.155 GB, free: 25.1 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 2.122e-05/0.002168, allocations: 3.188 kB / 1.155 GB, free: 25.1 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.398e-06/0.002177, allocations: 0.7188 kB / 1.155 GB, free: 25.1 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 7.329e-05/0.00225, allocations: 11.95 kB / 1.155 GB, free: 25.09 MB / 0.9044 GB Notification: Performance of combineBinaries: time 3.041e-05/0.002281, allocations: 18.92 kB / 1.155 GB, free: 25.08 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 6.812e-06/0.002288, allocations: 6.312 kB / 1.155 GB, free: 25.08 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.072e-05/0.002298, allocations: 0 / 1.155 GB, free: 25.08 MB / 0.9044 GB Notification: Performance of FrontEnd: time 9.387e-06/0.002308, allocations: 1.375 kB / 1.155 GB, free: 25.08 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: 2 (2) * Number of variables: 2 (2) Notification: Performance of [SIM] Bindings: time 0.0003023/0.00261, allocations: 203.5 kB / 1.155 GB, free: 24.8 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 8.776e-05/0.002698, allocations: 25.33 kB / 1.155 GB, free: 24.77 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 5.972e-05/0.002758, allocations: 68.14 kB / 1.155 GB, free: 24.7 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 4.293e-05/0.002801, allocations: 59.92 kB / 1.155 GB, free: 24.6 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0003048/0.003105, allocations: 117.8 kB / 1.156 GB, free: 24.46 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 3.815e-05/0.003144, allocations: 69.09 kB / 1.156 GB, free: 24.36 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 2.137e-05/0.003165, allocations: 38.52 kB / 1.156 GB, free: 24.3 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 6.196e-05/0.003227, allocations: 89.42 kB / 1.156 GB, free: 24.18 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 1.288e-05/0.00324, allocations: 1.156 kB / 1.156 GB, free: 24.18 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 5.967e-05/0.003299, allocations: 25.3 kB / 1.156 GB, free: 24.16 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 8.781e-05/0.003387, allocations: 45.3 kB / 1.156 GB, free: 24.14 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 2.149e-05/0.003409, allocations: 25.06 kB / 1.156 GB, free: 24.12 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 7.415e-05/0.003483, allocations: 103.5 kB / 1.156 GB, free: 23.97 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 2.664e-05/0.003509, allocations: 34.81 kB / 1.156 GB, free: 23.95 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 7.534e-06/0.003517, allocations: 11.56 kB / 1.156 GB, free: 23.93 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 1.086e-05/0.003528, allocations: 7.047 kB / 1.156 GB, free: 23.93 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0001029/0.003631, allocations: 67.11 kB / 1.156 GB, free: 23.9 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.115e-05/0.003642, allocations: 5.219 kB / 1.156 GB, free: 23.89 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.4e-07/0.003642, allocations: 0 / 1.156 GB, free: 23.89 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 4.177e-05/0.003684, allocations: 18.03 kB / 1.156 GB, free: 23.88 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 4.018e-06/0.003688, allocations: 1.625 kB / 1.156 GB, free: 23.88 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 1.643e-06/0.00369, allocations: 1.875 kB / 1.156 GB, free: 23.88 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 6.292e-06/0.003696, allocations: 5.094 kB / 1.156 GB, free: 23.87 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 5.054e-05/0.003747, allocations: 20.41 kB / 1.156 GB, free: 23.86 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 9.365e-05/0.00384, allocations: 169.3 kB / 1.156 GB, free: 23.68 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: ................. 2 (2) {fac, n} * 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: ........... 3 (scalar:3, 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: ........... 3 (scalar:3, 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.541e-05/0.003876, allocations: 29.97 kB / 1.156 GB, free: 23.66 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0003733/0.004249, allocations: 173.4 kB / 1.157 GB, free: 23.51 MB / 0.9044 GB Notification: Performance of Templates: time 0.002413/0.006662, allocations: 338.1 kB / 1.157 GB, free: 23.44 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Factorial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Factorial.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 7.943309039983433] Failed to read output from testmodel.py, exit status != 0: 0.013214815000537783 0.024448407000000002 0.019862968 Calling exit ...