Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001488/0.001488, 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.00151/0.00151, allocations: 191.5 kB / 16.25 MB, free: 6.641 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.368/1.368, allocations: 222.9 MB / 239.9 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9331/0.9331, allocations: 135.6 MB / 425.6 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 69.47 kB / 0.5054 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1669, allocations: 81.01 MB / 0.5845 GB, free: 4.34 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.002694/0.1697, allocations: 1.586 MB / 0.586 GB, free: 2.734 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000335/0.17, allocations: 136.4 kB / 0.5862 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.068e-05/0.1701, allocations: 8 kB / 0.5862 GB, free: 2.59 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.111e-05/0.1701, allocations: 3.938 kB / 0.5862 GB, free: 2.586 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.495e-05/0.1701, allocations: 0 / 0.5862 GB, free: 2.586 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002311/0.1704, allocations: 23.92 kB / 0.5862 GB, free: 2.562 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.482e-05/0.1704, allocations: 35.92 kB / 0.5862 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.998e-05/0.1705, allocations: 15.97 kB / 0.5863 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.693e-05/0.1706, allocations: 12 kB / 0.5863 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.177e-05/0.1706, allocations: 23.91 kB / 0.5863 GB, free: 2.477 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.1706, allocations: 11.88 kB / 0.5863 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.476e-05/0.1707, allocations: 12 kB / 0.5863 GB, free: 2.453 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.83e-05/0.1707, allocations: 11.98 kB / 0.5863 GB, free: 2.441 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.701e-05/0.1707, allocations: 19.92 kB / 0.5863 GB, free: 2.422 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.1709, allocations: 43.88 kB / 0.5864 GB, free: 2.379 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.1709, allocations: 0 / 0.5864 GB, free: 2.379 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.91e-07/0.1709, allocations: 0 / 0.5864 GB, free: 2.379 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1709, allocations: 0 / 0.5864 GB, free: 2.379 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.0004529/0.1713, allocations: 361.9 kB / 0.5867 GB, free: 1.977 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.1714, allocations: 12.03 kB / 0.5867 GB, free: 1.965 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.057e-05/0.1714, allocations: 4.844 kB / 0.5867 GB, free: 1.961 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.1715, allocations: 168.4 kB / 0.5869 GB, free: 1.758 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.1716, allocations: 384 / 0.5869 GB, free: 1.758 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.1716, allocations: 4.375 kB / 0.5869 GB, free: 1.754 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.1718, allocations: 62.22 kB / 0.587 GB, free: 1.688 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.1718, allocations: 4.172 kB / 0.587 GB, free: 1.684 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.1718, allocations: 7.875 kB / 0.587 GB, free: 1.676 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1718, allocations: 8 kB / 0.587 GB, free: 1.668 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00019/0.172, allocations: 47.89 kB / 0.587 GB, free: 1.621 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003682/0.1724, allocations: 280.7 kB / 0.5873 GB, free: 1.297 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003079/0.1727, allocations: 62.53 kB / 0.5874 GB, free: 1.227 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.1728, allocations: 28.84 kB / 0.5874 GB, free: 1.195 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002967/0.1731, allocations: 397.5 kB / 0.5878 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.1732, allocations: 38.55 kB / 0.5878 GB, free: 0.668 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1732, allocations: 0 / 0.5878 GB, free: 0.668 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003509/0.1735, allocations: 85.64 kB / 0.5879 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.1736, allocations: 55.41 kB / 0.5879 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.731e-05/0.1737, allocations: 113.8 kB / 0.588 GB, free: 400 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.1737, allocations: 25.7 kB / 0.5881 GB, free: 368 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.703e-05/0.1737, allocations: 88.03 kB / 0.5882 GB, free: 276 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.629e-05/0.1738, allocations: 11.91 kB / 0.5882 GB, free: 264 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.737e-05/0.1738, allocations: 9.719 kB / 0.5882 GB, free: 248 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.174, allocations: 326.7 kB / 0.5885 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.998e-05/0.1741, allocations: 19.97 kB / 0.5885 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.791e-05/0.1741, allocations: 19.98 kB / 0.5885 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.1743, allocations: 48.81 kB / 0.5886 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.1743, allocations: 0 / 0.5886 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002136/0.1745, allocations: 73.66 kB / 0.5886 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.1746, allocations: 4 kB / 0.5886 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.1746, allocations: 7.938 kB / 0.5887 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1746, allocations: 4.312 kB / 0.5887 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.828e-05/0.1747, allocations: 8 kB / 0.5887 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.1747, allocations: 3.938 kB / 0.5887 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.716e-05/0.1747, allocations: 7.984 kB / 0.5887 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.1747, allocations: 0 / 0.5887 GB, free: 15.71 MB / 0.4981 GB 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.298e-05/0.1748, allocations: 121.8 kB / 0.5888 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.491e-05/0.1749, allocations: 3.906 kB / 0.5888 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002539/0.1751, allocations: 89.53 kB / 0.5889 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.1751, allocations: 0 / 0.5889 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.1751, allocations: 0 / 0.5889 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.1752, allocations: 0 / 0.5889 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.1753, allocations: 173.7 kB / 0.589 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1753, allocations: 0 / 0.589 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.168e-05/0.1754, allocations: 11.98 kB / 0.5891 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1754, allocations: 0 / 0.5891 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.1754, allocations: 8 kB / 0.5891 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1755, allocations: 3.938 kB / 0.5891 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1755, allocations: 0 / 0.5891 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.1757, allocations: 175.4 kB / 0.5892 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.958e-05/0.1758, allocations: 77.11 kB / 0.5893 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.1758, allocations: 4 kB / 0.5893 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.444e-05/0.1759, allocations: 15.98 kB / 0.5893 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.1759, allocations: 4 kB / 0.5893 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.1759, allocations: 0 / 0.5893 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.126e-05/0.176, allocations: 95.56 kB / 0.5894 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.176, allocations: 0 / 0.5894 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002244/0.1762, allocations: 11.91 kB / 0.5894 GB, free: 14.83 MB / 0.4981 GB 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.0001338/0.1764, allocations: 102.8 kB / 0.5895 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002251/0.1766, allocations: 51.89 kB / 0.5896 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1766, allocations: 4 kB / 0.5896 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.407e-05/0.1767, allocations: 23.97 kB / 0.5896 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.177, allocations: 18.06 kB / 0.5896 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002911/0.1773, allocations: 129.5 kB / 0.5898 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.1776, allocations: 0.6807 MB / 0.5904 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.398e-05/0.1776, allocations: 11.8 kB / 0.5904 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.617e-05/0.1776, allocations: 11.44 kB / 0.5904 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1777, allocations: 0 / 0.5904 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of Templates: time 0.002865/0.1805, allocations: 0.6934 MB / 0.5911 GB, free: 13.05 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)