Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001341/0.001341, allocations: 104.3 kB / 19.71 MB, free: 2.148 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.001504/0.001504, allocations: 207.1 kB / 22.99 MB, free: 4.965 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.4/1.4, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8427/0.8427, allocations: 134 MB / 447.2 MB, free: 9.957 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Factorial") translateModel(IDEAS.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Factorial") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 71.31 kB / 0.6197 GB, free: 6.402 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1692, allocations: 85.91 MB / 0.7036 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Factorial): time 0.002813/0.172, allocations: 1.538 MB / 0.7051 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003466/0.1723, allocations: 120.5 kB / 0.7052 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.085e-05/0.1723, allocations: 4 kB / 0.7052 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.289e-05/0.1724, allocations: 3.938 kB / 0.7052 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.968e-05/0.1724, allocations: 7.938 kB / 0.7052 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002054/0.1726, allocations: 19.97 kB / 0.7053 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.56e-05/0.1727, allocations: 35.92 kB / 0.7053 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.229e-05/0.1728, allocations: 0 / 0.7053 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.593e-05/0.1728, allocations: 19.92 kB / 0.7053 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.51e-05/0.1728, allocations: 15.92 kB / 0.7053 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.1729, allocations: 0 / 0.7053 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.427e-05/0.1729, allocations: 15.98 kB / 0.7053 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.016e-05/0.1729, allocations: 0 / 0.7053 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.279e-05/0.1729, allocations: 15.92 kB / 0.7054 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001022/0.173, allocations: 35.83 kB / 0.7054 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.173, allocations: 8 kB / 0.7054 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.172e-06/0.173, allocations: 0 / 0.7054 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.1731, allocations: 0 / 0.7054 GB, free: 14.71 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 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004439/0.1735, allocations: 274.3 kB / 0.7057 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.1735, allocations: 8.031 kB / 0.7057 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.178e-05/0.1736, allocations: 8.891 kB / 0.7057 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.987e-05/0.1737, allocations: 106.5 kB / 0.7058 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.1737, allocations: 4.375 kB / 0.7058 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.1737, allocations: 384 / 0.7058 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.1739, allocations: 62.23 kB / 0.7058 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1739, allocations: 192 / 0.7058 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.1739, allocations: 7.922 kB / 0.7058 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.1739, allocations: 0 / 0.7058 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001837/0.1741, allocations: 35.97 kB / 0.7059 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003241/0.1744, allocations: 208.5 kB / 0.7061 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002994/0.1747, allocations: 54.67 kB / 0.7061 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.449e-05/0.1748, allocations: 32.77 kB / 0.7062 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.281e-05/0.1749, allocations: 4 kB / 0.7062 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.1749, allocations: 34.56 kB / 0.7062 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1749, allocations: 0 / 0.7062 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0003769/0.1753, allocations: 105.5 kB / 0.7063 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.1753, allocations: 51.41 kB / 0.7064 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.545e-05/0.1754, allocations: 101.8 kB / 0.7064 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.1754, allocations: 29.7 kB / 0.7065 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.084e-05/0.1755, allocations: 84.14 kB / 0.7066 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.474e-05/0.1755, allocations: 7.891 kB / 0.7066 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-05/0.1755, allocations: 17.72 kB / 0.7066 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1757, allocations: 314.8 kB / 0.7069 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.636e-05/0.1758, allocations: 19.98 kB / 0.7069 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.718e-05/0.1758, allocations: 23.97 kB / 0.7069 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001676/0.176, allocations: 37.3 kB / 0.707 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.176, allocations: 4 kB / 0.707 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002109/0.1762, allocations: 89.5 kB / 0.707 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.1762, allocations: 4 kB / 0.7071 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.1762, allocations: 0 / 0.7071 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.1763, allocations: 4 kB / 0.7071 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.349e-05/0.1763, allocations: 7.984 kB / 0.7071 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.1763, allocations: 4 kB / 0.7071 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.496e-05/0.1764, allocations: 11.89 kB / 0.7071 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.1764, allocations: 7.984 kB / 0.7071 GB, free: 12.81 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,fac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.873e-05/0.1765, allocations: 109.8 kB / 0.7072 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.1765, allocations: 7.938 kB / 0.7072 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00025/0.1768, allocations: 81.27 kB / 0.7073 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1768, allocations: 0 / 0.7073 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1768, allocations: 0 / 0.7073 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1768, allocations: 4 kB / 0.7073 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.1769, allocations: 113.3 kB / 0.7074 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.1769, allocations: 4 kB / 0.7074 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.465e-05/0.177, allocations: 15.92 kB / 0.7074 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.177, allocations: 0 / 0.7074 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.177, allocations: 4 kB / 0.7074 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.177, allocations: 3.984 kB / 0.7074 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.177, allocations: 4 kB / 0.7074 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002687/0.1773, allocations: 171.4 kB / 0.7076 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.483e-05/0.1773, allocations: 11.89 kB / 0.7076 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.1773, allocations: 4 kB / 0.7076 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.943e-05/0.1774, allocations: 4 kB / 0.7076 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.989e-05/0.1774, allocations: 11.98 kB / 0.7076 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.1774, allocations: 0 / 0.7076 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.624e-05/0.1775, allocations: 83.27 kB / 0.7077 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1775, allocations: 0 / 0.7077 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002138/0.1777, allocations: 11.94 kB / 0.7077 GB, free: 12.11 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (fac.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001474/0.1778, allocations: 103.2 kB / 0.7078 GB, free: 12 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002248/0.1781, allocations: 43.95 kB / 0.7078 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1781, allocations: 0 / 0.7078 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.669e-05/0.1782, allocations: 27.91 kB / 0.7079 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.1784, allocations: 4 kB / 0.7079 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003013/0.1787, allocations: 135.3 kB / 0.708 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.903e-05/0.1788, allocations: 67.67 kB / 0.7081 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.125e-05/0.1788, allocations: 7.438 kB / 0.7081 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of SimCode: time 3.1e-07/0.1788, allocations: 4 kB / 0.7081 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of Templates: time 0.002372/0.1812, allocations: 0.7419 MB / 0.7088 GB, free: 10.92 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Factorial.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Factorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Factorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Factorial.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.4892091397196054] Failed to read output from testmodel.py, exit status != 0: 0.18801028793677688 0.20397872900000003 0.027866426000000003 Calling exit ...