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.001445/0.001445, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001225/0.001225, allocations: 195.4 kB / 16.14 MB, free: 6.688 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.506/1.506, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8251/0.8251, allocations: 132.2 MB / 422.2 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 59.66 kB / 0.5011 GB, free: 9.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1644, allocations: 80.21 MB / 0.5794 GB, free: 9.242 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.002855/0.1673, allocations: 1.584 MB / 0.581 GB, free: 7.641 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004103/0.1677, allocations: 144.3 kB / 0.5811 GB, free: 7.496 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.43e-05/0.1677, allocations: 0 / 0.5811 GB, free: 7.496 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.667e-05/0.1678, allocations: 0 / 0.5811 GB, free: 7.496 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.665e-05/0.1679, allocations: 11.97 kB / 0.5811 GB, free: 7.484 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002208/0.1681, allocations: 19.92 kB / 0.5811 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.307e-05/0.1682, allocations: 35.92 kB / 0.5812 GB, free: 7.43 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.366e-05/0.1683, allocations: 8 kB / 0.5812 GB, free: 7.422 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.227e-05/0.1683, allocations: 27.84 kB / 0.5812 GB, free: 7.395 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.151e-05/0.1683, allocations: 15.92 kB / 0.5812 GB, free: 7.379 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.1684, allocations: 4 kB / 0.5812 GB, free: 7.375 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.74e-05/0.1684, allocations: 19.98 kB / 0.5813 GB, free: 7.355 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.443e-05/0.1685, allocations: 4 kB / 0.5813 GB, free: 7.352 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.314e-05/0.1685, allocations: 19.86 kB / 0.5813 GB, free: 7.332 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.1686, allocations: 43.88 kB / 0.5813 GB, free: 7.289 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.1686, allocations: 0 / 0.5813 GB, free: 7.289 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.1686, allocations: 0 / 0.5813 GB, free: 7.289 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.1687, allocations: 0 / 0.5813 GB, free: 7.289 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.0004643/0.1691, allocations: 351.7 kB / 0.5817 GB, free: 6.895 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.1692, allocations: 12.03 kB / 0.5817 GB, free: 6.883 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.106e-05/0.1692, allocations: 4.844 kB / 0.5817 GB, free: 6.879 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.1693, allocations: 168.4 kB / 0.5818 GB, free: 6.676 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.1693, allocations: 384 / 0.5818 GB, free: 6.676 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.1694, allocations: 8.375 kB / 0.5818 GB, free: 6.668 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.1696, allocations: 66.16 kB / 0.5819 GB, free: 6.598 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1696, allocations: 192 / 0.5819 GB, free: 6.598 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.1696, allocations: 3.938 kB / 0.5819 GB, free: 6.594 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1696, allocations: 0 / 0.5819 GB, free: 6.594 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001909/0.1698, allocations: 47.95 kB / 0.5819 GB, free: 6.547 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003744/0.1702, allocations: 288.7 kB / 0.5822 GB, free: 6.215 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003234/0.1705, allocations: 58.48 kB / 0.5823 GB, free: 6.148 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.1707, allocations: 28.89 kB / 0.5823 GB, free: 6.117 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002712/0.1709, allocations: 397.5 kB / 0.5827 GB, free: 5.637 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.171, allocations: 34.56 kB / 0.5827 GB, free: 5.594 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.171, allocations: 0 / 0.5827 GB, free: 5.594 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.000388/0.1714, allocations: 93.62 kB / 0.5828 GB, free: 5.496 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.1714, allocations: 55.34 kB / 0.5829 GB, free: 5.43 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.701e-05/0.1715, allocations: 109.8 kB / 0.583 GB, free: 5.312 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.1715, allocations: 25.7 kB / 0.583 GB, free: 5.281 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.405e-05/0.1716, allocations: 95.98 kB / 0.5831 GB, free: 5.184 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.277e-05/0.1716, allocations: 4 kB / 0.5831 GB, free: 5.18 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-05/0.1716, allocations: 21.7 kB / 0.5831 GB, free: 5.152 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.1717, allocations: 314.8 kB / 0.5834 GB, free: 4.836 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.559e-05/0.1718, allocations: 19.98 kB / 0.5834 GB, free: 4.816 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.735e-05/0.1719, allocations: 19.97 kB / 0.5834 GB, free: 4.797 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001779/0.1721, allocations: 53.09 kB / 0.5835 GB, free: 4.742 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1721, allocations: 0 / 0.5835 GB, free: 4.742 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002275/0.1723, allocations: 85.48 kB / 0.5836 GB, free: 4.652 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.1724, allocations: 4 kB / 0.5836 GB, free: 4.648 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.716e-06/0.1724, allocations: 0 / 0.5836 GB, free: 4.648 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.1724, allocations: 3.938 kB / 0.5836 GB, free: 4.645 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.525e-05/0.1725, allocations: 11.98 kB / 0.5836 GB, free: 4.633 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.1725, allocations: 4 kB / 0.5836 GB, free: 4.629 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.158e-05/0.1726, allocations: 11.98 kB / 0.5836 GB, free: 4.617 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.1726, allocations: 4 kB / 0.5836 GB, free: 4.613 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 6.866e-05/0.1727, allocations: 109.8 kB / 0.5837 GB, free: 4.496 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.1727, allocations: 4 kB / 0.5837 GB, free: 4.492 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002671/0.173, allocations: 85.45 kB / 0.5838 GB, free: 4.402 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.173, allocations: 0 / 0.5838 GB, free: 4.402 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.173, allocations: 8 kB / 0.5838 GB, free: 4.395 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.173, allocations: 0 / 0.5838 GB, free: 4.395 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.1732, allocations: 173.5 kB / 0.584 GB, free: 4.176 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1732, allocations: 0 / 0.584 GB, free: 4.176 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.51e-05/0.1733, allocations: 7.984 kB / 0.584 GB, free: 4.168 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1733, allocations: 4 kB / 0.584 GB, free: 4.164 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.1733, allocations: 0 / 0.584 GB, free: 4.164 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.1733, allocations: 3.984 kB / 0.584 GB, free: 4.16 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1733, allocations: 0 / 0.584 GB, free: 4.16 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002685/0.1736, allocations: 171.5 kB / 0.5842 GB, free: 3.977 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.454e-05/0.1736, allocations: 77.11 kB / 0.5842 GB, free: 3.883 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.1736, allocations: 4 kB / 0.5842 GB, free: 3.879 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.769e-05/0.1737, allocations: 7.984 kB / 0.5842 GB, free: 3.871 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.1738, allocations: 7.984 kB / 0.5843 GB, free: 3.863 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.1738, allocations: 4 kB / 0.5843 GB, free: 3.859 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.183e-05/0.1738, allocations: 83.28 kB / 0.5843 GB, free: 3.777 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1738, allocations: 7.938 kB / 0.5843 GB, free: 3.77 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002409/0.1741, allocations: 15.89 kB / 0.5844 GB, free: 3.754 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.0001445/0.1742, allocations: 107.2 kB / 0.5845 GB, free: 3.637 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002311/0.1745, allocations: 43.95 kB / 0.5845 GB, free: 3.594 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1745, allocations: 0 / 0.5845 GB, free: 3.594 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.976e-05/0.1746, allocations: 27.97 kB / 0.5845 GB, free: 3.566 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.1749, allocations: 15.88 kB / 0.5845 GB, free: 3.551 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002909/0.1752, allocations: 123.3 kB / 0.5847 GB, free: 3.406 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.1754, allocations: 0.6848 MB / 0.5853 GB, free: 2.695 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.696e-05/0.1755, allocations: 11.98 kB / 0.5853 GB, free: 2.684 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.549e-05/0.1755, allocations: 7.438 kB / 0.5853 GB, free: 2.676 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1755, allocations: 0 / 0.5853 GB, free: 2.676 MB / 494.1 MB Notification: Performance of Templates: time 0.002843/0.1784, allocations: 0.6659 MB / 0.586 GB, free: 2.02 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)