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.001014/0.001015, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 196 kB / 16.53 MB, free: 6.664 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.357/1.357, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7225/0.7225, allocations: 132.2 MB / 422.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 68.02 kB / 0.5018 GB, free: 8.738 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1511, allocations: 80.2 MB / 0.5801 GB, free: 8.766 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.002787/0.1539, allocations: 1.533 MB / 0.5816 GB, free: 7.211 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003801/0.1543, allocations: 138.2 kB / 0.5817 GB, free: 7.074 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.952e-05/0.1544, allocations: 0 / 0.5817 GB, free: 7.074 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.027e-05/0.1545, allocations: 0 / 0.5817 GB, free: 7.074 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.302e-05/0.1545, allocations: 11.92 kB / 0.5817 GB, free: 7.062 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003015/0.1548, allocations: 31.91 kB / 0.5818 GB, free: 7.031 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.438e-05/0.1549, allocations: 35.86 kB / 0.5818 GB, free: 6.996 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.545e-05/0.155, allocations: 12 kB / 0.5818 GB, free: 6.984 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.435e-05/0.155, allocations: 15.97 kB / 0.5818 GB, free: 6.969 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.607e-05/0.1551, allocations: 19.92 kB / 0.5818 GB, free: 6.949 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.1551, allocations: 7.938 kB / 0.5818 GB, free: 6.941 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.452e-05/0.1552, allocations: 15.98 kB / 0.5819 GB, free: 6.926 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.626e-05/0.1552, allocations: 4 kB / 0.5819 GB, free: 6.922 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.133e-05/0.1553, allocations: 23.92 kB / 0.5819 GB, free: 6.898 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.1554, allocations: 43.88 kB / 0.5819 GB, free: 6.855 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1554, allocations: 0 / 0.5819 GB, free: 6.855 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1554, allocations: 0 / 0.5819 GB, free: 6.855 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1554, allocations: 0 / 0.5819 GB, free: 6.855 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.0004519/0.1559, allocations: 359.6 kB / 0.5823 GB, free: 6.453 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.1559, allocations: 8.031 kB / 0.5823 GB, free: 6.445 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.391e-05/0.156, allocations: 12.84 kB / 0.5823 GB, free: 6.434 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.1561, allocations: 160.4 kB / 0.5824 GB, free: 6.238 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.1561, allocations: 12.31 kB / 0.5825 GB, free: 6.227 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.1561, allocations: 384 / 0.5825 GB, free: 6.227 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.1563, allocations: 66.22 kB / 0.5825 GB, free: 6.156 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.1564, allocations: 192 / 0.5825 GB, free: 6.156 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.1564, allocations: 3.938 kB / 0.5825 GB, free: 6.152 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.1564, allocations: 0 / 0.5825 GB, free: 6.152 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001907/0.1566, allocations: 43.95 kB / 0.5826 GB, free: 6.109 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000378/0.157, allocations: 296.6 kB / 0.5828 GB, free: 5.77 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003034/0.1573, allocations: 54.61 kB / 0.5829 GB, free: 5.707 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.687e-05/0.1574, allocations: 24.83 kB / 0.5829 GB, free: 5.68 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002464/0.1576, allocations: 397.5 kB / 0.5833 GB, free: 5.199 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.1577, allocations: 34.56 kB / 0.5833 GB, free: 5.156 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.103e-06/0.1577, allocations: 0 / 0.5833 GB, free: 5.156 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003812/0.1581, allocations: 105.6 kB / 0.5834 GB, free: 5.047 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.1581, allocations: 51.41 kB / 0.5835 GB, free: 4.984 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.599e-05/0.1582, allocations: 109.8 kB / 0.5836 GB, free: 4.867 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.1582, allocations: 25.7 kB / 0.5836 GB, free: 4.836 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.992e-05/0.1583, allocations: 88.14 kB / 0.5837 GB, free: 4.746 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.539e-05/0.1583, allocations: 7.906 kB / 0.5837 GB, free: 4.738 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-05/0.1583, allocations: 17.7 kB / 0.5837 GB, free: 4.715 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.454e-05/0.1584, allocations: 318.8 kB / 0.584 GB, free: 4.395 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.278e-05/0.1585, allocations: 15.98 kB / 0.584 GB, free: 4.379 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.812e-05/0.1586, allocations: 28 kB / 0.5841 GB, free: 4.352 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.1588, allocations: 48.81 kB / 0.5841 GB, free: 4.301 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1588, allocations: 0 / 0.5841 GB, free: 4.301 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002124/0.159, allocations: 81.5 kB / 0.5842 GB, free: 4.215 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.159, allocations: 8 kB / 0.5842 GB, free: 4.207 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.159, allocations: 3.938 kB / 0.5842 GB, free: 4.203 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.1591, allocations: 0 / 0.5842 GB, free: 4.203 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.304e-05/0.1591, allocations: 11.98 kB / 0.5842 GB, free: 4.191 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.1592, allocations: 4 kB / 0.5842 GB, free: 4.188 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.868e-05/0.1592, allocations: 7.984 kB / 0.5842 GB, free: 4.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.1592, allocations: 0 / 0.5842 GB, free: 4.18 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 8.991e-05/0.1593, allocations: 113.8 kB / 0.5843 GB, free: 4.059 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/0.1594, allocations: 4 kB / 0.5843 GB, free: 4.055 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002578/0.1596, allocations: 89.48 kB / 0.5844 GB, free: 3.961 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1596, allocations: 4 kB / 0.5844 GB, free: 3.957 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1596, allocations: 0 / 0.5844 GB, free: 3.957 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1597, allocations: 0 / 0.5844 GB, free: 3.957 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.1598, allocations: 173.5 kB / 0.5846 GB, free: 3.738 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1598, allocations: 0 / 0.5846 GB, free: 3.738 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.445e-05/0.1599, allocations: 11.98 kB / 0.5846 GB, free: 3.727 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.1599, allocations: 0 / 0.5846 GB, free: 3.727 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.1599, allocations: 0 / 0.5846 GB, free: 3.727 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.1599, allocations: 3.984 kB / 0.5846 GB, free: 3.723 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.1599, allocations: 4 kB / 0.5846 GB, free: 3.719 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002519/0.1602, allocations: 171.5 kB / 0.5848 GB, free: 3.535 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.076e-05/0.1602, allocations: 77.11 kB / 0.5848 GB, free: 3.441 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.1603, allocations: 3.938 kB / 0.5849 GB, free: 3.438 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.51e-05/0.1604, allocations: 11.98 kB / 0.5849 GB, free: 3.426 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/0.1604, allocations: 7.984 kB / 0.5849 GB, free: 3.418 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.1604, allocations: 0 / 0.5849 GB, free: 3.418 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.298e-05/0.1605, allocations: 91.28 kB / 0.585 GB, free: 3.328 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1605, allocations: 0 / 0.585 GB, free: 3.328 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002316/0.1607, allocations: 8 kB / 0.585 GB, free: 3.32 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.0001598/0.1609, allocations: 110.7 kB / 0.5851 GB, free: 3.203 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002357/0.1611, allocations: 48.19 kB / 0.5851 GB, free: 3.156 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1611, allocations: 0 / 0.5851 GB, free: 3.156 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.1612, allocations: 36 kB / 0.5852 GB, free: 3.121 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.1615, allocations: 7.969 kB / 0.5852 GB, free: 3.113 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003336/0.1619, allocations: 129.4 kB / 0.5853 GB, free: 2.961 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002163/0.1621, allocations: 0.6807 MB / 0.5859 GB, free: 2.254 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.275e-05/0.1621, allocations: 11.94 kB / 0.586 GB, free: 2.242 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.831e-05/0.1622, allocations: 15.42 kB / 0.586 GB, free: 2.227 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1622, allocations: 0 / 0.586 GB, free: 2.227 MB / 494.1 MB Notification: Performance of Templates: time 0.002886/0.1651, allocations: 0.7494 MB / 0.5867 GB, free: 1.48 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)