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.001066/0.001066, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001219/0.001219, allocations: 195.1 kB / 16.14 MB, free: 6.648 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.367/1.367, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9621/0.9621, allocations: 135.1 MB / 425.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.00127, allocations: 67.36 kB / 0.5047 GB, free: 5.719 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1709, allocations: 80.92 MB / 0.5837 GB, free: 4.965 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001961/0.1729, allocations: 0.6278 MB / 0.5843 GB, free: 4.328 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000339/0.1733, allocations: 67.77 kB / 0.5844 GB, free: 4.262 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.635e-05/0.1733, allocations: 0 / 0.5844 GB, free: 4.262 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.424e-05/0.1734, allocations: 0 / 0.5844 GB, free: 4.262 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.829e-06/0.1734, allocations: 4 kB / 0.5844 GB, free: 4.258 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002887/0.1737, allocations: 8 kB / 0.5844 GB, free: 4.25 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.527e-05/0.1738, allocations: 31.95 kB / 0.5844 GB, free: 4.219 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.49e-05/0.1738, allocations: 0 / 0.5844 GB, free: 4.219 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.049e-05/0.1739, allocations: 15.94 kB / 0.5845 GB, free: 4.203 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.208e-05/0.1739, allocations: 15.97 kB / 0.5845 GB, free: 4.188 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.1739, allocations: 7.938 kB / 0.5845 GB, free: 4.18 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.121e-05/0.174, allocations: 11.98 kB / 0.5845 GB, free: 4.168 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.065e-05/0.174, allocations: 8 kB / 0.5845 GB, free: 4.16 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.645e-05/0.1741, allocations: 11.94 kB / 0.5845 GB, free: 4.148 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001004/0.1742, allocations: 43.88 kB / 0.5845 GB, free: 4.105 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.1742, allocations: 0 / 0.5845 GB, free: 4.105 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1742, allocations: 0 / 0.5845 GB, free: 4.105 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.1742, allocations: 0 / 0.5845 GB, free: 4.105 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.0003369/0.1746, allocations: 331.6 kB / 0.5849 GB, free: 3.73 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.1746, allocations: 8.031 kB / 0.5849 GB, free: 3.723 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.977e-05/0.1746, allocations: 4.844 kB / 0.5849 GB, free: 3.719 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.782e-05/0.1747, allocations: 172.5 kB / 0.585 GB, free: 3.512 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.1748, allocations: 4.375 kB / 0.585 GB, free: 3.508 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.1748, allocations: 8.359 kB / 0.5851 GB, free: 3.5 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.1749, allocations: 73.33 kB / 0.5851 GB, free: 3.426 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.1749, allocations: 192 / 0.5851 GB, free: 3.426 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.175, allocations: 7.938 kB / 0.5851 GB, free: 3.418 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.175, allocations: 0 / 0.5851 GB, free: 3.418 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001538/0.1751, allocations: 107.8 kB / 0.5852 GB, free: 3.312 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001672/0.1753, allocations: 169.7 kB / 0.5854 GB, free: 3.098 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.1754, allocations: 74.53 kB / 0.5855 GB, free: 3.016 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.765e-05/0.1755, allocations: 32.84 kB / 0.5855 GB, free: 2.98 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003374/0.1758, allocations: 401.5 kB / 0.5859 GB, free: 2.496 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.1759, allocations: 38.56 kB / 0.5859 GB, free: 2.449 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.1759, allocations: 0 / 0.5859 GB, free: 2.449 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002784/0.1762, allocations: 121.7 kB / 0.586 GB, free: 2.324 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.1762, allocations: 55.39 kB / 0.5861 GB, free: 2.258 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.11e-05/0.1762, allocations: 93.86 kB / 0.5862 GB, free: 2.156 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.1763, allocations: 29.7 kB / 0.5862 GB, free: 2.121 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.584e-05/0.1763, allocations: 80.14 kB / 0.5863 GB, free: 2.039 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.1763, allocations: 27.66 kB / 0.5863 GB, free: 2.012 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.415e-05/0.1764, allocations: 29.7 kB / 0.5863 GB, free: 1.977 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.1765, allocations: 314.8 kB / 0.5866 GB, free: 1.66 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.845e-05/0.1766, allocations: 19.98 kB / 0.5867 GB, free: 1.641 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.491e-05/0.1766, allocations: 19.98 kB / 0.5867 GB, free: 1.621 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.347e-05/0.1767, allocations: 68.48 kB / 0.5867 GB, free: 1.555 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1767, allocations: 0 / 0.5867 GB, free: 1.555 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001314/0.1768, allocations: 97.55 kB / 0.5868 GB, free: 1.453 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.1769, allocations: 11.98 kB / 0.5868 GB, free: 1.441 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1769, allocations: 3.938 kB / 0.5868 GB, free: 1.438 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.1769, allocations: 0 / 0.5868 GB, free: 1.438 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.177, allocations: 16 kB / 0.5869 GB, free: 1.422 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.177, allocations: 0 / 0.5869 GB, free: 1.422 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.305e-05/0.177, allocations: 7.906 kB / 0.5869 GB, free: 1.414 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.1771, allocations: 3.984 kB / 0.5869 GB, free: 1.41 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.000138/0.1772, allocations: 121.8 kB / 0.587 GB, free: 1.281 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.23e-05/0.1772, allocations: 11.94 kB / 0.587 GB, free: 1.27 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002222/0.1775, allocations: 133.4 kB / 0.5871 GB, free: 1.129 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1775, allocations: 0 / 0.5871 GB, free: 1.129 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1775, allocations: 0 / 0.5871 GB, free: 1.129 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1775, allocations: 4 kB / 0.5871 GB, free: 1.125 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001242/0.1776, allocations: 169.6 kB / 0.5873 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1776, allocations: 0 / 0.5873 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.834e-05/0.1777, allocations: 20 kB / 0.5873 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1777, allocations: 3.938 kB / 0.5873 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.1777, allocations: 7.984 kB / 0.5873 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1777, allocations: 3.938 kB / 0.5873 GB, free: 0.875 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1777, allocations: 4 kB / 0.5873 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.1779, allocations: 113 kB / 0.5874 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.572e-05/0.1779, allocations: 84.95 kB / 0.5875 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.178, allocations: 11.98 kB / 0.5875 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.452e-05/0.178, allocations: 0 / 0.5875 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.14e-05/0.178, allocations: 8 kB / 0.5875 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.178, allocations: 11.98 kB / 0.5876 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.625e-05/0.1781, allocations: 75.28 kB / 0.5876 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1781, allocations: 0 / 0.5876 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002001/0.1783, allocations: 12 kB / 0.5876 GB, free: 0.5234 MB / 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.0002269/0.1785, allocations: 123.1 kB / 0.5878 GB, free: 404 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001324/0.1786, allocations: 59.89 kB / 0.5878 GB, free: 344 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1787, allocations: 4 kB / 0.5878 GB, free: 340 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.695e-05/0.1787, allocations: 35.92 kB / 0.5878 GB, free: 304 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.1789, allocations: 11.94 kB / 0.5879 GB, free: 292 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002971/0.1792, allocations: 157.1 kB / 0.588 GB, free: 116 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.1795, allocations: 0.6884 MB / 0.5887 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.108e-05/0.1796, allocations: 35.95 kB / 0.5887 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.51e-05/0.1797, allocations: 15.44 kB / 0.5887 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1797, allocations: 3.938 kB / 0.5887 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of Templates: time 0.002734/0.1824, allocations: 0.5948 MB / 0.5893 GB, free: 14.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)