Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001521/0.001521, 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.00132/0.00132, allocations: 219.4 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.342/1.342, allocations: 230.7 MB / 256.9 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002425/0.002425, allocations: 291.7 kB / 313.6 MB, free: 2.543 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.129/1.129, allocations: 180.6 MB / 0.5378 GB, free: 14.55 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Factorial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Factorial") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.779e-05/1.779e-05, allocations: 6.219 kB / 0.7408 GB, free: 27.8 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Factorial): time 0.001227/0.001245, allocations: 0.5785 MB / 0.7414 GB, free: 27.45 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002167/0.001461, allocations: 51.89 kB / 0.7414 GB, free: 27.42 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.307e-05/0.001474, allocations: 0 / 0.7414 GB, free: 27.42 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.138e-05/0.001486, allocations: 3.938 kB / 0.7414 GB, free: 27.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.61e-06/0.001491, allocations: 0 / 0.7414 GB, free: 27.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001859/0.001677, allocations: 12.44 kB / 0.7415 GB, free: 27.41 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.43e-05/0.001712, allocations: 6.625 kB / 0.7415 GB, free: 27.41 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.754e-05/0.001749, allocations: 0 / 0.7415 GB, free: 27.41 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.434e-05/0.001764, allocations: 2.625 kB / 0.7415 GB, free: 27.41 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.629e-05/0.00178, allocations: 0 / 0.7415 GB, free: 27.41 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.394e-06/0.001787, allocations: 0 / 0.7415 GB, free: 27.41 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.255e-05/0.00184, allocations: 12.58 kB / 0.7415 GB, free: 27.4 MB / 0.5294 GB Notification: Performance of combineBinaries: time 2.05e-05/0.00186, allocations: 18.45 kB / 0.7415 GB, free: 27.39 MB / 0.5294 GB Notification: Performance of replaceArrayConstructors: time 4.168e-06/0.001864, allocations: 6.531 kB / 0.7415 GB, free: 27.38 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.136e-06/0.001873, allocations: 0 / 0.7415 GB, free: 27.38 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.832e-06/0.001879, allocations: 2.625 kB / 0.7415 GB, free: 27.38 MB / 0.5294 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.0002156/0.002095, allocations: 193.9 kB / 0.7417 GB, free: 27.11 MB / 0.5294 GB Notification: Performance of [SIM] FunctionAlias: time 7.035e-05/0.002165, allocations: 40.55 kB / 0.7417 GB, free: 27.07 MB / 0.5294 GB Notification: Performance of [SIM] Early Inline: time 3.808e-05/0.002203, allocations: 64.06 kB / 0.7418 GB, free: 27 MB / 0.5294 GB Notification: Performance of [SIM] Simplify 1: time 2.759e-05/0.002231, allocations: 68.09 kB / 0.7419 GB, free: 26.89 MB / 0.5294 GB Notification: Performance of [SIM] Alias: time 0.0002185/0.00245, allocations: 126.1 kB / 0.742 GB, free: 26.75 MB / 0.5294 GB Notification: Performance of [SIM] Simplify 2: time 2.306e-05/0.002473, allocations: 64.02 kB / 0.742 GB, free: 26.65 MB / 0.5294 GB Notification: Performance of [SIM] Remove Stream: time 1.537e-05/0.002488, allocations: 45.05 kB / 0.7421 GB, free: 26.59 MB / 0.5294 GB Notification: Performance of [SIM] Detect States: time 3.899e-05/0.002527, allocations: 72.11 kB / 0.7421 GB, free: 26.47 MB / 0.5294 GB Notification: Performance of [SIM] Events: time 9.438e-06/0.002536, allocations: 2.625 kB / 0.7421 GB, free: 26.47 MB / 0.5294 GB Notification: Performance of [SIM] Partitioning: time 4.716e-05/0.002584, allocations: 23.42 kB / 0.7422 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of [SIM] Causalize: time 6.774e-05/0.002651, allocations: 53.02 kB / 0.7422 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of [SIM] After Index Reduction Inline: time 1.402e-05/0.002665, allocations: 30.84 kB / 0.7423 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of [INI] Simplify: time 5.11e-05/0.002716, allocations: 96.91 kB / 0.7423 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of [INI] Inline: time 1.77e-05/0.002734, allocations: 29.73 kB / 0.7424 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of [INI] Partitioning: time 6.443e-06/0.002741, allocations: 14.28 kB / 0.7424 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of [INI] Cleanup: time 7.715e-06/0.002748, allocations: 4 kB / 0.7424 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of [INI] Causalize: time 7.797e-05/0.002826, allocations: 63.97 kB / 0.7425 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of [INI] Tearing: time 7.514e-06/0.002834, allocations: 0 / 0.7425 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of [SIM] Initialization: time 3.11e-07/0.002834, allocations: 0 / 0.7425 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of [SIM] DAE-Mode: time 2.784e-05/0.002862, allocations: 21.38 kB / 0.7425 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of [SIM] Remove Dummies: time 3.576e-06/0.002865, allocations: 3.938 kB / 0.7425 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of [SIM] Tearing: time 2.394e-06/0.002868, allocations: 8 kB / 0.7425 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of [SIM] Categorize: time 4.929e-06/0.002873, allocations: 2.625 kB / 0.7425 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of [SIM] Solve: time 3.766e-05/0.00291, allocations: 11.34 kB / 0.7425 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of [SIM] Jacobian: time 7.059e-05/0.002981, allocations: 173.3 kB / 0.7427 GB, free: 25.97 MB / 0.5294 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 2.781e-05/0.003009, allocations: 28.39 kB / 0.7427 GB, free: 25.95 MB / 0.5294 GB Notification: Performance of SimCode: time 0.0002804/0.003289, allocations: 168.4 kB / 0.7428 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of Templates: time 0.00218/0.005469, allocations: 345.2 kB / 0.7432 GB, free: 25.75 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Factorial.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Factorial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.380908521998208] Failed to read output from testmodel.py, exit status != 0: 0.011098286020569503 0.020934067 0.016847292 Calling exit ...