Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001511/0.001511, 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.001611/0.001611, allocations: 216.3 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.343/1.343, allocations: 230.6 MB / 256.9 MB, free: 7.723 MB / 206.1 MB " [Timeout remaining time 178] 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.002459/0.002459, allocations: 294.3 kB / 313.6 MB, free: 2.555 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.7 MB / 0.5378 GB, free: 14.59 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.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Factorial") translateModel(BuildingSystems.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Factorial") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.823e-05/1.823e-05, allocations: 6.219 kB / 0.7408 GB, free: 27.64 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Factorial): time 0.001957/0.001975, allocations: 1.539 MB / 0.7423 GB, free: 26.59 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002841/0.00226, allocations: 118.2 kB / 0.7424 GB, free: 26.51 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.412e-05/0.002294, allocations: 4 kB / 0.7424 GB, free: 26.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.212e-05/0.002316, allocations: 10.5 kB / 0.7424 GB, free: 26.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.714e-05/0.002353, allocations: 3.938 kB / 0.7424 GB, free: 26.49 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00021/0.002563, allocations: 19.86 kB / 0.7424 GB, free: 26.48 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.732e-05/0.00263, allocations: 36.38 kB / 0.7425 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.41e-05/0.002724, allocations: 9.891 kB / 0.7425 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.977e-05/0.002754, allocations: 12.67 kB / 0.7425 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.754e-05/0.002792, allocations: 16.66 kB / 0.7425 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.002803, allocations: 2.625 kB / 0.7425 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.82e-05/0.002851, allocations: 15.88 kB / 0.7425 GB, free: 26.44 MB / 0.5294 GB Notification: Performance of combineBinaries: time 5.166e-05/0.002903, allocations: 58.92 kB / 0.7426 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of replaceArrayConstructors: time 1.172e-05/0.002915, allocations: 30.16 kB / 0.7426 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.093e-05/0.002926, allocations: 0 / 0.7426 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.267e-06/0.002935, allocations: 6.562 kB / 0.7426 GB, free: 26.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: 5 (5) * Number of variables: 5 (5) Notification: Performance of [SIM] Bindings: time 0.0002861/0.003221, allocations: 284.6 kB / 0.7429 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of [SIM] FunctionAlias: time 8.728e-05/0.003308, allocations: 60.83 kB / 0.7429 GB, free: 26 MB / 0.5294 GB Notification: Performance of [SIM] Early Inline: time 8.211e-05/0.00339, allocations: 129.2 kB / 0.7431 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of [SIM] Simplify 1: time 5.847e-05/0.003449, allocations: 83.94 kB / 0.7432 GB, free: 25.79 MB / 0.5294 GB Notification: Performance of [SIM] Alias: time 0.0003073/0.003756, allocations: 227.9 kB / 0.7434 GB, free: 25.58 MB / 0.5294 GB Notification: Performance of [SIM] Simplify 2: time 4.29e-05/0.003799, allocations: 73.22 kB / 0.7434 GB, free: 25.48 MB / 0.5294 GB Notification: Performance of [SIM] Remove Stream: time 2.156e-05/0.003821, allocations: 41.19 kB / 0.7435 GB, free: 25.42 MB / 0.5294 GB Notification: Performance of [SIM] Detect States: time 5.37e-05/0.003874, allocations: 98.09 kB / 0.7436 GB, free: 25.29 MB / 0.5294 GB Notification: Performance of [SIM] Events: time 5.816e-05/0.003932, allocations: 30.84 kB / 0.7436 GB, free: 25.27 MB / 0.5294 GB Notification: Performance of [SIM] Partitioning: time 7.296e-05/0.004005, allocations: 65.83 kB / 0.7437 GB, free: 25.23 MB / 0.5294 GB Notification: Performance of [SIM] Causalize: time 0.0001448/0.00415, allocations: 130.2 kB / 0.7438 GB, free: 25.2 MB / 0.5294 GB Notification: Performance of [SIM] After Index Reduction Inline: time 5.634e-05/0.004207, allocations: 113.6 kB / 0.7439 GB, free: 25.14 MB / 0.5294 GB Notification: Performance of [INI] Simplify: time 9.741e-05/0.004304, allocations: 126.3 kB / 0.744 GB, free: 24.98 MB / 0.5294 GB Notification: Performance of [INI] Inline: time 7.494e-05/0.004379, allocations: 141.1 kB / 0.7441 GB, free: 24.91 MB / 0.5294 GB Notification: Performance of [INI] Partitioning: time 8.646e-06/0.004388, allocations: 10.75 kB / 0.7442 GB, free: 24.89 MB / 0.5294 GB Notification: Performance of [INI] Cleanup: time 1.714e-05/0.004405, allocations: 27.91 kB / 0.7442 GB, free: 24.88 MB / 0.5294 GB Notification: Performance of [INI] Causalize: time 0.0001745/0.004579, allocations: 142.3 kB / 0.7443 GB, free: 24.84 MB / 0.5294 GB Notification: Performance of [INI] Tearing: time 9.177e-06/0.004588, allocations: 10.81 kB / 0.7443 GB, free: 24.83 MB / 0.5294 GB Notification: Performance of [SIM] Initialization: time 3.71e-07/0.004589, allocations: 0 / 0.7443 GB, free: 24.83 MB / 0.5294 GB Notification: Performance of [SIM] DAE-Mode: time 4.442e-05/0.004633, allocations: 32.86 kB / 0.7444 GB, free: 24.81 MB / 0.5294 GB Notification: Performance of [SIM] Remove Dummies: time 2.936e-06/0.004636, allocations: 3.938 kB / 0.7444 GB, free: 24.8 MB / 0.5294 GB Notification: Performance of [SIM] Tearing: time 2.535e-06/0.004639, allocations: 6.438 kB / 0.7444 GB, free: 24.8 MB / 0.5294 GB Notification: Performance of [SIM] Categorize: time 4.819e-06/0.004643, allocations: 4 kB / 0.7444 GB, free: 24.8 MB / 0.5294 GB Notification: Performance of [SIM] Solve: time 0.000116/0.004759, allocations: 108.3 kB / 0.7445 GB, free: 24.76 MB / 0.5294 GB Notification: Performance of [SIM] Jacobian: time 7.925e-05/0.004839, allocations: 178.8 kB / 0.7447 GB, free: 24.57 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: ................. 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 2.908e-05/0.004868, allocations: 24.38 kB / 0.7447 GB, free: 24.55 MB / 0.5294 GB Notification: Performance of SimCode: time 0.0003554/0.005223, allocations: 256.2 kB / 0.7449 GB, free: 24.39 MB / 0.5294 GB Notification: Performance of Templates: time 0.002796/0.00802, allocations: 0.6485 MB / 0.7456 GB, free: 24.29 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Factorial.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Factorial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Factorial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Factorial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.442188272019848] Failed to read output from testmodel.py, exit status != 0: 0.013813403027597815 0.024878614 0.019617257000000003 Calling exit ...