Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001287/0.001287, 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.001316/0.001316, allocations: 215.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.328/1.328, allocations: 230.7 MB / 256.9 MB, free: 7.727 MB / 206.1 MB " [Timeout remaining time 179] 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.548/2.548, allocations: 476 MB / 0.7708 GB, free: 4.648 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.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fac",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Math.Functions.Examples.Factorial") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.823e-05/1.823e-05, allocations: 3.391 kB / 1.118 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Factorial): time 0.001339/0.001357, allocations: 0.5926 MB / 1.119 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0002268/0.001584, allocations: 51.77 kB / 1.119 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.436e-05/0.001598, allocations: 0 / 1.119 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 1.571e-05/0.001614, allocations: 0 / 1.119 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.472e-06/0.00162, allocations: 4.938 kB / 1.119 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002044/0.001825, allocations: 4.266 kB / 1.119 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 4.313e-05/0.001868, allocations: 12.23 kB / 1.119 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 5.239e-05/0.00192, allocations: 0.5 kB / 1.119 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 1.249e-05/0.001933, allocations: 6.891 kB / 1.119 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 1.795e-05/0.001951, allocations: 0.5469 kB / 1.119 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.886e-06/0.00196, allocations: 0 / 1.119 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 5.733e-05/0.002017, allocations: 10.19 kB / 1.119 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of combineBinaries: time 2.676e-05/0.002044, allocations: 12.86 kB / 1.119 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 6.462e-06/0.00205, allocations: 8.891 kB / 1.119 GB, free: 41 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 8.737e-06/0.002059, allocations: 0.6562 kB / 1.119 GB, free: 41 MB / 0.9044 GB Notification: Performance of FrontEnd: time 6.833e-06/0.002066, allocations: 0 / 1.119 GB, free: 41 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.0002663/0.002332, allocations: 206.7 kB / 1.119 GB, free: 40.74 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 7.833e-05/0.00241, allocations: 36.78 kB / 1.119 GB, free: 40.71 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 4.334e-05/0.002454, allocations: 62.28 kB / 1.119 GB, free: 40.66 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 3.252e-05/0.002486, allocations: 64.94 kB / 1.119 GB, free: 40.56 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0002563/0.002743, allocations: 119 kB / 1.119 GB, free: 40.44 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 2.507e-05/0.002768, allocations: 61.38 kB / 1.119 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 1.771e-05/0.002785, allocations: 41.09 kB / 1.119 GB, free: 40.29 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 4.953e-05/0.002835, allocations: 77.27 kB / 1.119 GB, free: 40.17 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 1.421e-05/0.002849, allocations: 7.922 kB / 1.119 GB, free: 40.17 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 5.564e-05/0.002905, allocations: 30.75 kB / 1.119 GB, free: 40.15 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 8.599e-05/0.002991, allocations: 50.73 kB / 1.119 GB, free: 40.13 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 1.482e-05/0.003006, allocations: 22.61 kB / 1.119 GB, free: 40.13 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 6.204e-05/0.003068, allocations: 96.36 kB / 1.119 GB, free: 39.99 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 2.328e-05/0.003091, allocations: 40.95 kB / 1.12 GB, free: 39.97 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 6.913e-06/0.003098, allocations: 12.94 kB / 1.12 GB, free: 39.96 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 9.759e-06/0.003107, allocations: 5.406 kB / 1.12 GB, free: 39.96 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 8.86e-05/0.003196, allocations: 62.2 kB / 1.12 GB, free: 39.94 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 8.336e-06/0.003204, allocations: 2.844 kB / 1.12 GB, free: 39.94 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.2e-07/0.003205, allocations: 0 / 1.12 GB, free: 39.94 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 2.998e-05/0.003235, allocations: 18.03 kB / 1.12 GB, free: 39.92 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.527e-06/0.003238, allocations: 3.25 kB / 1.12 GB, free: 39.92 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 1.694e-06/0.00324, allocations: 1.531 kB / 1.12 GB, free: 39.92 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 6.002e-06/0.003246, allocations: 1.75 kB / 1.12 GB, free: 39.92 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 4.35e-05/0.003289, allocations: 21.05 kB / 1.12 GB, free: 39.91 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 7.239e-05/0.003362, allocations: 174.3 kB / 1.12 GB, free: 39.73 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.158e-05/0.003393, allocations: 18.11 kB / 1.12 GB, free: 39.72 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0003227/0.003716, allocations: 170.3 kB / 1.12 GB, free: 39.6 MB / 0.9044 GB Notification: Performance of Templates: time 0.002376/0.006092, allocations: 331.4 kB / 1.12 GB, free: 39.6 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Factorial.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Factorial.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 7.501936268003192] Failed to read output from testmodel.py, exit status != 0: 0.4693412589840591 0.02150787199999994 0.01745036399999994 Calling exit ...