Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.0007786/0.0007786, allocations: 80.25 kB / 20.06 MB, free: 4.465 MB / 18.57 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.0008869/0.0008869, allocations: 173.9 kB / 23.36 MB, free: 1.16 MB / 18.57 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 0.8746/0.8746, allocations: 177.2 MB / 203.7 MB, free: 5.691 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7218/0.7218, allocations: 154.5 MB / 414.7 MB, free: 0.793 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.41e-05/2.41e-05, allocations: 2.312 kB / 0.6196 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Factorial): time 0.001245/0.001269, allocations: 0.5976 MB / 0.6202 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000228/0.001497, allocations: 47.75 kB / 0.6202 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.589e-05/0.001513, allocations: 0 / 0.6202 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.494e-05/0.001528, allocations: 4 kB / 0.6202 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.492e-06/0.001534, allocations: 0 / 0.6202 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002714/0.001806, allocations: 11.98 kB / 0.6202 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.284e-05/0.001858, allocations: 7.984 kB / 0.6202 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.281e-05/0.001911, allocations: 0 / 0.6202 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.287e-05/0.001944, allocations: 4 kB / 0.6202 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.387e-05/0.001968, allocations: 7.922 kB / 0.6203 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.001987, allocations: 0 / 0.6203 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.946e-05/0.002067, allocations: 8 kB / 0.6203 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of combineBinaries: time 3.067e-05/0.002098, allocations: 11.84 kB / 0.6203 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of replaceArrayConstructors: time 8.005e-06/0.002106, allocations: 11.91 kB / 0.6203 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.017e-05/0.002116, allocations: 0 / 0.6203 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.268e-05/0.002128, allocations: 0 / 0.6203 GB, free: 12.32 MB / 0.5886 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.0003362/0.002465, allocations: 185.7 kB / 0.6205 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001252/0.00259, allocations: 47.92 kB / 0.6205 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of [SIM] Early Inline: time 6.796e-05/0.002658, allocations: 64.34 kB / 0.6206 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 1: time 3.353e-05/0.002691, allocations: 40.42 kB / 0.6206 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of [SIM] Alias: time 0.0003446/0.003036, allocations: 128.8 kB / 0.6207 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 2: time 2.223e-05/0.003058, allocations: 40.36 kB / 0.6208 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of [SIM] Remove Stream: time 2.128e-05/0.003079, allocations: 32.44 kB / 0.6208 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of [SIM] Detect States: time 9.057e-05/0.00317, allocations: 101 kB / 0.6209 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of [SIM] Events: time 1.382e-05/0.003184, allocations: 4 kB / 0.6209 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of [SIM] Partitioning: time 9.16e-05/0.003275, allocations: 68.48 kB / 0.621 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of [SIM] Causalize: time 0.0001066/0.003382, allocations: 52.08 kB / 0.621 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of [SIM] After Index Reduction Inline: time 2.005e-05/0.003402, allocations: 23.92 kB / 0.621 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of [INI] Simplify: time 8.499e-05/0.003487, allocations: 84.98 kB / 0.6211 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of [INI] Inline: time 2.867e-05/0.003516, allocations: 36.03 kB / 0.6212 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of [INI] Partitioning: time 7.664e-06/0.003523, allocations: 8.125 kB / 0.6212 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of [INI] Cleanup: time 1.998e-05/0.003543, allocations: 7.984 kB / 0.6212 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of [INI] Causalize: time 0.0001113/0.003655, allocations: 64.03 kB / 0.6212 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of [INI] Tearing: time 1.192e-05/0.003666, allocations: 4 kB / 0.6212 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of [SIM] Initialization: time 8.72e-07/0.003667, allocations: 0 / 0.6212 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of [SIM] DAE-Mode: time 4.399e-05/0.003711, allocations: 16.11 kB / 0.6212 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of [SIM] Remove Dummies: time 4.618e-06/0.003716, allocations: 4 kB / 0.6213 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of [SIM] Tearing: time 2.094e-06/0.003718, allocations: 4 kB / 0.6213 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of [SIM] Categorize: time 8.405e-06/0.003726, allocations: 0 / 0.6213 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of [SIM] Solve: time 5.242e-05/0.003779, allocations: 12 kB / 0.6213 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of [SIM] Jacobian: time 0.0001082/0.003887, allocations: 186.1 kB / 0.6214 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of [SIM] Minimize Homotopy System: time 3.81e-07/0.003887, allocations: 0 / 0.6214 GB, free: 10.61 MB / 0.5886 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.757e-05/0.003925, allocations: 21.23 kB / 0.6215 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of SimCode: time 0.0004746/0.0044, allocations: 171.3 kB / 0.6216 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of Templates: time 0.001932/0.006331, allocations: 374.7 kB / 0.622 GB, free: 10.05 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 9.035111114382744] Failed to read output from testmodel.py, exit status != 0: 0.011857733130455017 0.020715855000000002 0.016942862 Calling exit ...