Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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/package.mo", uses=false) 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.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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 110.4 kB / 15.99 MB, free: 5.891 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.001151/0.001151, allocations: 195.7 kB / 16.91 MB, free: 5.746 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.294/1.294, allocations: 222.9 MB / 240.6 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7181/0.7181, allocations: 132.2 MB / 422.9 MB, free: 1.898 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0011/0.0011, allocations: 63.47 kB / 0.5019 GB, free: 9.062 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1629, allocations: 80.21 MB / 0.5802 GB, free: 9.078 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.00265/0.1656, allocations: 1.592 MB / 0.5818 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003434/0.166, allocations: 136.5 kB / 0.5819 GB, free: 7.332 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.266e-05/0.166, allocations: 3.938 kB / 0.5819 GB, free: 7.328 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.495e-05/0.166, allocations: 0 / 0.5819 GB, free: 7.328 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.347e-05/0.1661, allocations: 0 / 0.5819 GB, free: 7.328 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002761/0.1664, allocations: 27.91 kB / 0.5819 GB, free: 7.301 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.677e-05/0.1665, allocations: 35.86 kB / 0.582 GB, free: 7.266 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.1666, allocations: 23.98 kB / 0.582 GB, free: 7.242 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.539e-05/0.1666, allocations: 11.98 kB / 0.582 GB, free: 7.23 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.911e-05/0.1666, allocations: 15.92 kB / 0.582 GB, free: 7.215 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.1667, allocations: 4 kB / 0.582 GB, free: 7.211 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.027e-05/0.1667, allocations: 19.98 kB / 0.582 GB, free: 7.191 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.458e-05/0.1668, allocations: 11.92 kB / 0.5821 GB, free: 7.18 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.568e-05/0.1668, allocations: 11.94 kB / 0.5821 GB, free: 7.168 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.204e-05/0.1669, allocations: 35.89 kB / 0.5821 GB, free: 7.133 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1669, allocations: 0 / 0.5821 GB, free: 7.133 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1669, allocations: 4 kB / 0.5821 GB, free: 7.129 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.1669, allocations: 0 / 0.5821 GB, free: 7.129 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004746/0.1674, allocations: 359.6 kB / 0.5824 GB, free: 6.727 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.1674, allocations: 8.031 kB / 0.5825 GB, free: 6.719 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.693e-05/0.1675, allocations: 8.844 kB / 0.5825 GB, free: 6.711 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.1676, allocations: 160.4 kB / 0.5826 GB, free: 6.516 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.1676, allocations: 4.375 kB / 0.5826 GB, free: 6.512 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.1676, allocations: 4.375 kB / 0.5826 GB, free: 6.508 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.1678, allocations: 70.16 kB / 0.5827 GB, free: 6.434 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.1679, allocations: 192 / 0.5827 GB, free: 6.434 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.1679, allocations: 7.938 kB / 0.5827 GB, free: 6.426 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.1679, allocations: 0 / 0.5827 GB, free: 6.426 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001849/0.1681, allocations: 43.95 kB / 0.5827 GB, free: 6.383 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003784/0.1685, allocations: 280.7 kB / 0.583 GB, free: 6.059 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003174/0.1688, allocations: 62.47 kB / 0.5831 GB, free: 5.988 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.979e-05/0.1689, allocations: 28.89 kB / 0.5831 GB, free: 5.957 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000294/0.1692, allocations: 397.5 kB / 0.5835 GB, free: 5.477 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.1692, allocations: 30.56 kB / 0.5835 GB, free: 5.438 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1692, allocations: 4 kB / 0.5835 GB, free: 5.434 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003771/0.1696, allocations: 97.62 kB / 0.5836 GB, free: 5.332 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.1697, allocations: 51.41 kB / 0.5836 GB, free: 5.27 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.575e-05/0.1698, allocations: 109.8 kB / 0.5838 GB, free: 5.152 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.1698, allocations: 25.7 kB / 0.5838 GB, free: 5.121 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.24e-05/0.1698, allocations: 88.14 kB / 0.5839 GB, free: 5.031 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.425e-05/0.1698, allocations: 3.984 kB / 0.5839 GB, free: 5.027 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.243e-05/0.1699, allocations: 25.7 kB / 0.5839 GB, free: 4.996 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.17, allocations: 314.8 kB / 0.5842 GB, free: 4.68 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.076e-05/0.1701, allocations: 19.98 kB / 0.5842 GB, free: 4.66 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.754e-05/0.1702, allocations: 23.97 kB / 0.5842 GB, free: 4.637 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.1704, allocations: 40.81 kB / 0.5843 GB, free: 4.594 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1704, allocations: 4 kB / 0.5843 GB, free: 4.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002278/0.1706, allocations: 77.84 kB / 0.5843 GB, free: 4.508 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.1706, allocations: 4 kB / 0.5844 GB, free: 4.504 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.1706, allocations: 7.938 kB / 0.5844 GB, free: 4.496 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.1707, allocations: 48 / 0.5844 GB, free: 4.496 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.858e-05/0.1707, allocations: 19.91 kB / 0.5844 GB, free: 4.477 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1708, allocations: 0 / 0.5844 GB, free: 4.477 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.694e-05/0.1708, allocations: 7.984 kB / 0.5844 GB, free: 4.469 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.1708, allocations: 4 kB / 0.5844 GB, free: 4.465 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: 2 (falFac.y,rea2Int.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 7.938e-05/0.1709, allocations: 117.8 kB / 0.5845 GB, free: 4.34 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.327e-05/0.1709, allocations: 3.938 kB / 0.5845 GB, free: 4.336 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002538/0.1712, allocations: 85.55 kB / 0.5846 GB, free: 4.246 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.1712, allocations: 0 / 0.5846 GB, free: 4.246 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1712, allocations: 0 / 0.5846 GB, free: 4.246 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.1712, allocations: 0 / 0.5846 GB, free: 4.246 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.1714, allocations: 181.5 kB / 0.5848 GB, free: 4.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1714, allocations: 0 / 0.5848 GB, free: 4.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.335e-05/0.1715, allocations: 15.92 kB / 0.5848 GB, free: 4.004 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1715, allocations: 0 / 0.5848 GB, free: 4.004 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.1715, allocations: 0 / 0.5848 GB, free: 4.004 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1715, allocations: 0 / 0.5848 GB, free: 4.004 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1715, allocations: 0 / 0.5848 GB, free: 4.004 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.1718, allocations: 179.4 kB / 0.5849 GB, free: 3.812 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.255e-05/0.1718, allocations: 81.11 kB / 0.585 GB, free: 3.715 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.1718, allocations: 0 / 0.585 GB, free: 3.715 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.335e-05/0.1719, allocations: 7.984 kB / 0.585 GB, free: 3.707 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.712e-05/0.172, allocations: 11.98 kB / 0.585 GB, free: 3.695 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.172, allocations: 0 / 0.585 GB, free: 3.695 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.066e-05/0.172, allocations: 79.28 kB / 0.5851 GB, free: 3.617 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.172, allocations: 4 kB / 0.5851 GB, free: 3.613 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002252/0.1723, allocations: 12 kB / 0.5851 GB, free: 3.602 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: 2 (rea2Int.y,falFac.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.0001692/0.1725, allocations: 111.2 kB / 0.5852 GB, free: 3.48 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002295/0.1727, allocations: 47.95 kB / 0.5853 GB, free: 3.434 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1727, allocations: 0 / 0.5853 GB, free: 3.434 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.035e-05/0.1728, allocations: 23.98 kB / 0.5853 GB, free: 3.41 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.1731, allocations: 11.86 kB / 0.5853 GB, free: 3.398 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003249/0.1734, allocations: 159 kB / 0.5855 GB, free: 3.211 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.1737, allocations: 0.6807 MB / 0.5861 GB, free: 2.504 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.141e-05/0.1737, allocations: 11.44 kB / 0.5861 GB, free: 2.492 MB / 494.1 MB Notification: Performance of SimCode: time 1.674e-06/0.1737, allocations: 0 / 0.5861 GB, free: 2.492 MB / 494.1 MB Notification: Performance of Templates: time 0.002092/0.1758, allocations: 0.8166 MB / 0.5869 GB, free: 1.684 MB / 494.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)