Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002377/0.002377, allocations: 190.9 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9377/0.9377, allocations: 135.1 MB / 425.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 68.3 kB / 0.5049 GB, free: 5.648 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.191, allocations: 80.93 MB / 0.5839 GB, free: 4.887 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001764/0.1928, allocations: 0.6344 MB / 0.5845 GB, free: 4.246 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000237/0.193, allocations: 59.78 kB / 0.5846 GB, free: 4.188 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.342e-05/0.1931, allocations: 0 / 0.5846 GB, free: 4.188 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.028e-05/0.1931, allocations: 0 / 0.5846 GB, free: 4.188 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.889e-06/0.1931, allocations: 0 / 0.5846 GB, free: 4.188 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002653/0.1934, allocations: 15.98 kB / 0.5846 GB, free: 4.172 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.768e-05/0.1935, allocations: 27.97 kB / 0.5846 GB, free: 4.145 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.893e-05/0.1935, allocations: 4 kB / 0.5846 GB, free: 4.141 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.191e-05/0.1935, allocations: 12 kB / 0.5846 GB, free: 4.129 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.057e-05/0.1936, allocations: 15.97 kB / 0.5847 GB, free: 4.113 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.1936, allocations: 7.875 kB / 0.5847 GB, free: 4.105 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.402e-05/0.1937, allocations: 11.98 kB / 0.5847 GB, free: 4.094 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.693e-05/0.1937, allocations: 12 kB / 0.5847 GB, free: 4.082 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.285e-05/0.1937, allocations: 19.91 kB / 0.5847 GB, free: 4.062 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.1938, allocations: 35.89 kB / 0.5847 GB, free: 4.027 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1939, allocations: 0 / 0.5847 GB, free: 4.027 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1939, allocations: 0 / 0.5847 GB, free: 4.027 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1939, allocations: 0 / 0.5847 GB, free: 4.027 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003518/0.1942, allocations: 331.6 kB / 0.5851 GB, free: 3.652 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.1943, allocations: 15.97 kB / 0.5851 GB, free: 3.637 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.704e-05/0.1943, allocations: 4.844 kB / 0.5851 GB, free: 3.633 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.1944, allocations: 168.6 kB / 0.5852 GB, free: 3.43 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.1944, allocations: 8.375 kB / 0.5852 GB, free: 3.422 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.1945, allocations: 4.375 kB / 0.5852 GB, free: 3.418 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.1946, allocations: 62.17 kB / 0.5853 GB, free: 3.352 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.1946, allocations: 8.109 kB / 0.5853 GB, free: 3.344 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.1946, allocations: 3.938 kB / 0.5853 GB, free: 3.34 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.1947, allocations: 12 kB / 0.5853 GB, free: 3.328 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.1948, allocations: 99.86 kB / 0.5854 GB, free: 3.23 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001665/0.195, allocations: 165.7 kB / 0.5856 GB, free: 3.02 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.1951, allocations: 74.53 kB / 0.5857 GB, free: 2.938 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.185e-05/0.1952, allocations: 36.84 kB / 0.5857 GB, free: 2.898 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003638/0.1955, allocations: 397.5 kB / 0.5861 GB, free: 2.418 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.1956, allocations: 38.5 kB / 0.5861 GB, free: 2.371 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.1956, allocations: 4 kB / 0.5861 GB, free: 2.367 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002515/0.1958, allocations: 121.8 kB / 0.5862 GB, free: 2.242 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.1959, allocations: 55.41 kB / 0.5863 GB, free: 2.176 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.396e-05/0.1959, allocations: 93.86 kB / 0.5864 GB, free: 2.074 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.196, allocations: 25.7 kB / 0.5864 GB, free: 2.043 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.715e-05/0.196, allocations: 80.14 kB / 0.5865 GB, free: 1.961 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.196, allocations: 27.64 kB / 0.5865 GB, free: 1.934 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.1961, allocations: 33.7 kB / 0.5865 GB, free: 1.895 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1962, allocations: 318.8 kB / 0.5868 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.641e-05/0.1963, allocations: 19.98 kB / 0.5869 GB, free: 1.555 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.841e-05/0.1963, allocations: 23.98 kB / 0.5869 GB, free: 1.531 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.695e-05/0.1964, allocations: 63.23 kB / 0.5869 GB, free: 1.469 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1964, allocations: 4 kB / 0.5869 GB, free: 1.465 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001298/0.1966, allocations: 89.66 kB / 0.587 GB, free: 1.371 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1966, allocations: 8 kB / 0.587 GB, free: 1.363 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1966, allocations: 3.938 kB / 0.587 GB, free: 1.359 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.1966, allocations: 0 / 0.587 GB, free: 1.359 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.1967, allocations: 16 kB / 0.587 GB, free: 1.344 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1967, allocations: 7.984 kB / 0.5871 GB, free: 1.336 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.968e-05/0.1968, allocations: 3.906 kB / 0.5871 GB, free: 1.332 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.1968, allocations: 4 kB / 0.5871 GB, free: 1.328 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001262/0.1969, allocations: 121.8 kB / 0.5872 GB, free: 1.199 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.248e-05/0.1969, allocations: 7.922 kB / 0.5872 GB, free: 1.191 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002237/0.1972, allocations: 137.4 kB / 0.5873 GB, free: 1.047 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1972, allocations: 3.938 kB / 0.5873 GB, free: 1.043 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.1972, allocations: 0 / 0.5873 GB, free: 1.043 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1972, allocations: 0 / 0.5873 GB, free: 1.043 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001233/0.1973, allocations: 169.7 kB / 0.5875 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1973, allocations: 0 / 0.5875 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.747e-05/0.1974, allocations: 19.94 kB / 0.5875 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.1974, allocations: 7.938 kB / 0.5875 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.1974, allocations: 3.984 kB / 0.5875 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1974, allocations: 0 / 0.5875 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1974, allocations: 0 / 0.5875 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/0.1976, allocations: 121.8 kB / 0.5876 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.27e-05/0.1976, allocations: 88.94 kB / 0.5877 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.1976, allocations: 4 kB / 0.5877 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.61e-05/0.1977, allocations: 4 kB / 0.5877 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.011e-05/0.1977, allocations: 7.984 kB / 0.5877 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.1977, allocations: 0 / 0.5877 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.436e-05/0.1977, allocations: 79.22 kB / 0.5878 GB, free: 472 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1977, allocations: 4 kB / 0.5878 GB, free: 468 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001899/0.1979, allocations: 16 kB / 0.5878 GB, free: 452 kB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0002058/0.1982, allocations: 123.2 kB / 0.5879 GB, free: 320 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001441/0.1983, allocations: 75.56 kB / 0.588 GB, free: 248 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1983, allocations: 0 / 0.588 GB, free: 248 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.89e-05/0.1984, allocations: 35.98 kB / 0.5881 GB, free: 212 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001317/0.1985, allocations: 9.312 kB / 0.5881 GB, free: 208 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002519/0.1988, allocations: 164.8 kB / 0.5882 GB, free: 16 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.199, allocations: 0.6807 MB / 0.5889 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.291e-05/0.1991, allocations: 35.95 kB / 0.5889 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.254e-05/0.1992, allocations: 11.44 kB / 0.5889 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1992, allocations: 0 / 0.5889 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of Templates: time 0.002681/0.2018, allocations: 0.6112 MB / 0.5895 GB, free: 14.65 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)