Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001488/0.001488, 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.001704/0.001704, allocations: 216.2 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.462/1.462, allocations: 230.6 MB / 256.9 MB, free: 7.73 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.308/3.308, allocations: 0.5108 GB / 0.8167 GB, free: 17.74 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.Factorial") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.494e-05, allocations: 2.281 kB / 1.187 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Factorial): time 0.001659/0.001684, allocations: 0.5971 MB / 1.188 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0002575/0.001941, allocations: 45.75 kB / 1.188 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.948e-05/0.001961, allocations: 1 kB / 1.188 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 1.171e-05/0.001972, allocations: 3.281 kB / 1.188 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.082e-06/0.001978, allocations: 7.875 kB / 1.188 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002334/0.002212, allocations: 14.98 kB / 1.188 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 4.493e-05/0.002257, allocations: 3.016 kB / 1.188 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 5.088e-05/0.002308, allocations: 1.703 kB / 1.188 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 1.419e-05/0.002322, allocations: 5.922 kB / 1.188 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 1.947e-05/0.002341, allocations: 1.125 kB / 1.188 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.999e-06/0.002351, allocations: 1.156 kB / 1.188 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 6.479e-05/0.002416, allocations: 7.703 kB / 1.188 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of combineBinaries: time 2.684e-05/0.002443, allocations: 22.11 kB / 1.188 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 6.111e-06/0.002449, allocations: 6.281 kB / 1.188 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.106e-05/0.00246, allocations: 1.094 kB / 1.188 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of FrontEnd: time 9.858e-06/0.00247, allocations: 0.7969 kB / 1.188 GB, free: 13.02 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.0003101/0.00278, allocations: 193.5 kB / 1.188 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 9.847e-05/0.002879, allocations: 38.31 kB / 1.188 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 5.958e-05/0.002938, allocations: 57.03 kB / 1.188 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 4.728e-05/0.002985, allocations: 68.3 kB / 1.188 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.00031/0.003295, allocations: 124.6 kB / 1.188 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 3.384e-05/0.003329, allocations: 59.5 kB / 1.188 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 2.37e-05/0.003353, allocations: 42.75 kB / 1.188 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 6.753e-05/0.00342, allocations: 84.89 kB / 1.188 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 1.227e-05/0.003433, allocations: 9.219 kB / 1.189 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 6.064e-05/0.003493, allocations: 23.17 kB / 1.189 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 9.128e-05/0.003585, allocations: 46.28 kB / 1.189 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 2.397e-05/0.003609, allocations: 29.84 kB / 1.189 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 8.227e-05/0.003691, allocations: 101.8 kB / 1.189 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 2.996e-05/0.003721, allocations: 30.64 kB / 1.189 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 9.067e-06/0.00373, allocations: 10.81 kB / 1.189 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 1.523e-05/0.003745, allocations: 9.625 kB / 1.189 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0001241/0.003869, allocations: 59.62 kB / 1.189 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.259e-05/0.003882, allocations: 5.281 kB / 1.189 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.51e-07/0.003882, allocations: 0 / 1.189 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 3.836e-05/0.003921, allocations: 20.48 kB / 1.189 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 4.018e-06/0.003925, allocations: 1.125 kB / 1.189 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 1.883e-06/0.003927, allocations: 1.062 kB / 1.189 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 7.374e-06/0.003934, allocations: 5.953 kB / 1.189 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 5.417e-05/0.003988, allocations: 14.28 kB / 1.189 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 0.0001004/0.004088, allocations: 173.2 kB / 1.189 GB, free: 11.61 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.728e-05/0.004126, allocations: 19.08 kB / 1.189 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004499/0.004576, allocations: 170 kB / 1.189 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of Templates: time 0.002608/0.007184, allocations: 331.4 kB / 1.19 GB, free: 11.4 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Factorial.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Factorial.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 8.737940798979253] Failed to read output from testmodel.py, exit status != 0: 0.015136297966819257 0.028088794 0.022621471 Calling exit ...