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.001124/0.001124, 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.001498/0.001499, allocations: 193.5 kB / 16.25 MB, free: 6.637 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.352/1.352, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9555/0.9555, allocations: 135.2 MB / 425.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 67.3 kB / 0.5049 GB, free: 5.625 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1727, allocations: 80.94 MB / 0.584 GB, free: 4.859 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.002063/0.1748, allocations: 0.6337 MB / 0.5846 GB, free: 4.219 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003031/0.1752, allocations: 63.77 kB / 0.5846 GB, free: 4.156 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.754e-05/0.1752, allocations: 0 / 0.5846 GB, free: 4.156 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.718e-05/0.1752, allocations: 0 / 0.5846 GB, free: 4.156 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.493e-06/0.1753, allocations: 0 / 0.5846 GB, free: 4.156 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003213/0.1756, allocations: 15.98 kB / 0.5847 GB, free: 4.141 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.345e-05/0.1757, allocations: 31.97 kB / 0.5847 GB, free: 4.109 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.737e-05/0.1758, allocations: 0 / 0.5847 GB, free: 4.109 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.644e-05/0.1758, allocations: 11.98 kB / 0.5847 GB, free: 4.098 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.01e-05/0.1758, allocations: 8 kB / 0.5847 GB, free: 4.09 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.1758, allocations: 15.92 kB / 0.5847 GB, free: 4.074 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.784e-05/0.1759, allocations: 15.98 kB / 0.5847 GB, free: 4.059 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.748e-05/0.176, allocations: 7.984 kB / 0.5847 GB, free: 4.051 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.554e-05/0.176, allocations: 11.94 kB / 0.5847 GB, free: 4.039 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.1761, allocations: 35.89 kB / 0.5848 GB, free: 4.004 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1761, allocations: 0 / 0.5848 GB, free: 4.004 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1761, allocations: 0 / 0.5848 GB, free: 4.004 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.1761, allocations: 0 / 0.5848 GB, free: 4.004 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.0003464/0.1765, allocations: 335.6 kB / 0.5851 GB, free: 3.625 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.1765, allocations: 8.031 kB / 0.5851 GB, free: 3.617 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.65e-05/0.1766, allocations: 12.84 kB / 0.5851 GB, free: 3.605 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.1767, allocations: 172.5 kB / 0.5853 GB, free: 3.398 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.1767, allocations: 384 / 0.5853 GB, free: 3.398 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.1767, allocations: 4.375 kB / 0.5853 GB, free: 3.395 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.1769, allocations: 72.61 kB / 0.5854 GB, free: 3.32 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.1769, allocations: 192 / 0.5854 GB, free: 3.32 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.1769, allocations: 7.938 kB / 0.5854 GB, free: 3.312 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1769, allocations: 4 kB / 0.5854 GB, free: 3.309 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.1771, allocations: 99.88 kB / 0.5855 GB, free: 3.211 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001725/0.1772, allocations: 177.6 kB / 0.5856 GB, free: 2.988 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.1774, allocations: 70.55 kB / 0.5857 GB, free: 2.91 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.528e-05/0.1774, allocations: 28.84 kB / 0.5857 GB, free: 2.879 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000315/0.1777, allocations: 409.5 kB / 0.5861 GB, free: 2.387 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.1778, allocations: 34.56 kB / 0.5862 GB, free: 2.344 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.1778, allocations: 0 / 0.5862 GB, free: 2.344 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002433/0.178, allocations: 121.7 kB / 0.5863 GB, free: 2.219 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.1781, allocations: 59.41 kB / 0.5863 GB, free: 2.148 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.582e-05/0.1781, allocations: 89.86 kB / 0.5864 GB, free: 2.051 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.1781, allocations: 29.7 kB / 0.5864 GB, free: 2.016 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.333e-05/0.1782, allocations: 84.14 kB / 0.5865 GB, free: 1.93 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.1782, allocations: 23.64 kB / 0.5865 GB, free: 1.906 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-05/0.1782, allocations: 29.7 kB / 0.5866 GB, free: 1.871 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.1784, allocations: 318.8 kB / 0.5869 GB, free: 1.551 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.964e-05/0.1784, allocations: 19.98 kB / 0.5869 GB, free: 1.531 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.458e-05/0.1785, allocations: 19.98 kB / 0.5869 GB, free: 1.512 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.596e-05/0.1786, allocations: 66.84 kB / 0.587 GB, free: 1.445 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1786, allocations: 0 / 0.587 GB, free: 1.445 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001529/0.1787, allocations: 93.61 kB / 0.5871 GB, free: 1.348 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.1787, allocations: 4 kB / 0.5871 GB, free: 1.344 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1788, allocations: 3.938 kB / 0.5871 GB, free: 1.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1788, allocations: 0 / 0.5871 GB, free: 1.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.1789, allocations: 19.98 kB / 0.5871 GB, free: 1.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.1789, allocations: 0 / 0.5871 GB, free: 1.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.323e-05/0.1789, allocations: 7.906 kB / 0.5871 GB, free: 1.312 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.1789, allocations: 0 / 0.5871 GB, free: 1.312 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.0001554/0.1791, allocations: 129.8 kB / 0.5872 GB, free: 1.176 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.359e-05/0.1791, allocations: 11.88 kB / 0.5872 GB, free: 1.164 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002197/0.1793, allocations: 129.1 kB / 0.5874 GB, free: 1.031 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.1794, allocations: 3.984 kB / 0.5874 GB, free: 1.027 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1794, allocations: 0 / 0.5874 GB, free: 1.027 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.1794, allocations: 8 kB / 0.5874 GB, free: 1.02 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.1795, allocations: 173.6 kB / 0.5875 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1795, allocations: 0 / 0.5875 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.047e-05/0.1796, allocations: 23.92 kB / 0.5876 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.1796, allocations: 3.938 kB / 0.5876 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.1796, allocations: 4 kB / 0.5876 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.1796, allocations: 3.938 kB / 0.5876 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1796, allocations: 4 kB / 0.5876 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001492/0.1798, allocations: 117 kB / 0.5877 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.19e-05/0.1798, allocations: 88.95 kB / 0.5878 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.1799, allocations: 8 kB / 0.5878 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.475e-05/0.1799, allocations: 0 / 0.5878 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.1799, allocations: 7.984 kB / 0.5878 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.1799, allocations: 8 kB / 0.5878 GB, free: 0.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.747e-05/0.18, allocations: 75.28 kB / 0.5879 GB, free: 436 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.18, allocations: 0 / 0.5879 GB, free: 436 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002022/0.1802, allocations: 8 kB / 0.5879 GB, free: 428 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.0001925/0.1804, allocations: 131.1 kB / 0.588 GB, free: 288 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001522/0.1805, allocations: 67.91 kB / 0.5881 GB, free: 220 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1806, allocations: 0 / 0.5881 GB, free: 220 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.303e-05/0.1806, allocations: 39.91 kB / 0.5881 GB, free: 180 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001432/0.1808, allocations: 8 kB / 0.5881 GB, free: 172 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002833/0.1811, allocations: 152.9 kB / 0.5883 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.1813, allocations: 0.6806 MB / 0.5889 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.619e-05/0.1814, allocations: 35.95 kB / 0.589 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.63e-05/0.1815, allocations: 23.42 kB / 0.589 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1815, allocations: 0 / 0.589 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of Templates: time 0.002674/0.1842, allocations: 0.6034 MB / 0.5896 GB, free: 14.62 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)