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.001112/0.001112, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.009204/0.009204, allocations: 170.4 kB / 16.26 MB, free: 6.613 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.386/1.386, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9596/0.9596, allocations: 135.3 MB / 426.7 MB, free: 14.33 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.0003581, allocations: 12 kB / 0.5076 GB, free: 4.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1803, allocations: 82.31 MB / 0.588 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0007068/0.181, allocations: 307 kB / 0.5883 GB, free: 2.328 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002809/0.1813, allocations: 59.84 kB / 0.5883 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.191e-05/0.1813, allocations: 0 / 0.5883 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.387e-05/0.1814, allocations: 0 / 0.5883 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.238e-06/0.1814, allocations: 0 / 0.5883 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.1816, allocations: 15.92 kB / 0.5883 GB, free: 2.254 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.749e-05/0.1817, allocations: 27.97 kB / 0.5884 GB, free: 2.227 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.67e-05/0.1818, allocations: 0 / 0.5884 GB, free: 2.227 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.337e-05/0.1818, allocations: 15.98 kB / 0.5884 GB, free: 2.211 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.908e-05/0.1818, allocations: 11.98 kB / 0.5884 GB, free: 2.199 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.1818, allocations: 8 kB / 0.5884 GB, free: 2.191 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.881e-05/0.1819, allocations: 19.92 kB / 0.5884 GB, free: 2.172 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.928e-05/0.182, allocations: 7.984 kB / 0.5884 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.53e-05/0.182, allocations: 37.64 kB / 0.5885 GB, free: 2.121 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001036/0.1821, allocations: 35.89 kB / 0.5885 GB, free: 2.086 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1821, allocations: 0 / 0.5885 GB, free: 2.086 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1821, allocations: 3.938 kB / 0.5885 GB, free: 2.082 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.1822, allocations: 0 / 0.5885 GB, free: 2.082 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.0002954/0.1825, allocations: 323.6 kB / 0.5888 GB, free: 1.715 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.1825, allocations: 12.03 kB / 0.5888 GB, free: 1.703 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.302e-05/0.1825, allocations: 12.84 kB / 0.5888 GB, free: 1.691 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.384e-05/0.1826, allocations: 168.6 kB / 0.589 GB, free: 1.488 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.1827, allocations: 4.375 kB / 0.589 GB, free: 1.484 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.1827, allocations: 8.359 kB / 0.589 GB, free: 1.477 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.1828, allocations: 66.11 kB / 0.5891 GB, free: 1.406 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.1828, allocations: 192 / 0.5891 GB, free: 1.406 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.1828, allocations: 7.938 kB / 0.5891 GB, free: 1.398 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.1829, allocations: 0 / 0.5891 GB, free: 1.398 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002818/0.1831, allocations: 103.9 kB / 0.5892 GB, free: 1.297 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000175/0.1833, allocations: 169.7 kB / 0.5893 GB, free: 1.082 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.1834, allocations: 74.53 kB / 0.5894 GB, free: 1 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.632e-05/0.1835, allocations: 32.78 kB / 0.5894 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003676/0.1839, allocations: 405.5 kB / 0.5898 GB, free: 488 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.1839, allocations: 30.56 kB / 0.5899 GB, free: 448 kB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.1839, allocations: 0 / 0.5899 GB, free: 448 kB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002377/0.1842, allocations: 121.8 kB / 0.59 GB, free: 320 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.1842, allocations: 67.39 kB / 0.59 GB, free: 240 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.068e-05/0.1843, allocations: 89.86 kB / 0.5901 GB, free: 140 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.1843, allocations: 29.7 kB / 0.5902 GB, free: 104 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.519e-05/0.1843, allocations: 80.14 kB / 0.5902 GB, free: 20 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.718e-05/0.1843, allocations: 19.66 kB / 0.5903 GB, free: 0 / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.642e-05/0.1844, allocations: 25.7 kB / 0.5903 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.493e-05/0.1845, allocations: 314.8 kB / 0.5906 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.97e-05/0.1845, allocations: 23.92 kB / 0.5906 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.405e-05/0.1846, allocations: 20.64 kB / 0.5906 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.916e-05/0.1847, allocations: 72.38 kB / 0.5907 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1847, allocations: 0 / 0.5907 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000138/0.1848, allocations: 85.67 kB / 0.5908 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.1849, allocations: 6.188 kB / 0.5908 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.1849, allocations: 3.938 kB / 0.5908 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.1849, allocations: 0 / 0.5908 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.185, allocations: 23.92 kB / 0.5908 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.185, allocations: 0 / 0.5908 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.592e-05/0.185, allocations: 11.91 kB / 0.5908 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.1851, allocations: 0 / 0.5908 GB, free: 15.41 MB / 0.4981 GB 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.0001321/0.1852, allocations: 132.9 kB / 0.5909 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.154e-05/0.1852, allocations: 4 kB / 0.5909 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002128/0.1854, allocations: 133.3 kB / 0.5911 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1854, allocations: 0 / 0.5911 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.1854, allocations: 4 kB / 0.5911 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1855, allocations: 7.984 kB / 0.5911 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.1856, allocations: 169.7 kB / 0.5912 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1856, allocations: 0 / 0.5912 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.9e-05/0.1857, allocations: 19.98 kB / 0.5913 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.1857, allocations: 3.938 kB / 0.5913 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.1857, allocations: 4 kB / 0.5913 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.1857, allocations: 4 kB / 0.5913 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1857, allocations: 0 / 0.5913 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002634/0.186, allocations: 121 kB / 0.5914 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.773e-05/0.186, allocations: 92.95 kB / 0.5915 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.186, allocations: 0 / 0.5915 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.581e-05/0.1861, allocations: 0 / 0.5915 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.1861, allocations: 11.98 kB / 0.5915 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.1861, allocations: 4 kB / 0.5915 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.969e-05/0.1862, allocations: 75.28 kB / 0.5916 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1862, allocations: 0 / 0.5916 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002015/0.1864, allocations: 16 kB / 0.5916 GB, free: 14.52 MB / 0.4981 GB 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.0001844/0.1866, allocations: 119.2 kB / 0.5917 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001341/0.1867, allocations: 65.16 kB / 0.5918 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1867, allocations: 0 / 0.5918 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.179e-05/0.1868, allocations: 35.97 kB / 0.5918 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.1869, allocations: 11.94 kB / 0.5918 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002539/0.1872, allocations: 150.7 kB / 0.5919 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.1876, allocations: 0.6809 MB / 0.5926 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001055/0.1877, allocations: 35.95 kB / 0.5926 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.835e-05/0.1877, allocations: 23.42 kB / 0.5927 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1877, allocations: 0 / 0.5927 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of Templates: time 0.002627/0.1903, allocations: 0.5903 MB / 0.5932 GB, free: 12.76 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)