Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001335/0.001335, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001411/0.001411, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.301/1.301, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7797/0.7797, allocations: 132.2 MB / 423.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 67.8 kB / 0.582 GB, free: 23.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1503, allocations: 80.22 MB / 0.6604 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001654/0.152, allocations: 0.5643 MB / 0.6609 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000273/0.1522, allocations: 62.33 kB / 0.661 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.983e-05/0.1523, allocations: 0 / 0.661 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.576e-05/0.1523, allocations: 3.938 kB / 0.661 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.282e-06/0.1523, allocations: 0 / 0.661 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003088/0.1526, allocations: 15.98 kB / 0.661 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.001e-05/0.1527, allocations: 31.95 kB / 0.661 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.629e-05/0.1528, allocations: 4 kB / 0.661 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.342e-05/0.1528, allocations: 19.92 kB / 0.6611 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.113e-05/0.1529, allocations: 11.98 kB / 0.6611 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.1529, allocations: 4 kB / 0.6611 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.556e-05/0.153, allocations: 15.98 kB / 0.6611 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.577e-05/0.153, allocations: 7.984 kB / 0.6611 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.063e-05/0.153, allocations: 11.94 kB / 0.6611 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.558e-05/0.1531, allocations: 39.83 kB / 0.6612 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1531, allocations: 0 / 0.6612 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1531, allocations: 0 / 0.6612 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.1532, allocations: 0 / 0.6612 GB, free: 9.531 MB / 0.4981 GB 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.000321/0.1535, allocations: 339.5 kB / 0.6615 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.1535, allocations: 12.02 kB / 0.6615 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.538e-05/0.1536, allocations: 8.844 kB / 0.6615 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.436e-05/0.1537, allocations: 168.3 kB / 0.6617 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.1537, allocations: 4.312 kB / 0.6617 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.1537, allocations: 4.375 kB / 0.6617 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.1539, allocations: 58.58 kB / 0.6617 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.1539, allocations: 4.172 kB / 0.6617 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.1539, allocations: 15.92 kB / 0.6617 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.1539, allocations: 4 kB / 0.6617 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.154, allocations: 103.8 kB / 0.6618 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000165/0.1542, allocations: 173.6 kB / 0.662 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.1543, allocations: 66.55 kB / 0.6621 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.685e-05/0.1544, allocations: 33.17 kB / 0.6621 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003251/0.1547, allocations: 405.5 kB / 0.6625 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.1548, allocations: 38.5 kB / 0.6625 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.1548, allocations: 0 / 0.6625 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0002318/0.155, allocations: 116.6 kB / 0.6626 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.155, allocations: 51.41 kB / 0.6627 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.159e-05/0.1551, allocations: 101.8 kB / 0.6628 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.1551, allocations: 25.7 kB / 0.6628 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.429e-05/0.1551, allocations: 80.14 kB / 0.6629 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/0.1552, allocations: 27.64 kB / 0.6629 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-05/0.1552, allocations: 29.72 kB / 0.6629 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1553, allocations: 326.8 kB / 0.6633 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.953e-05/0.1554, allocations: 23.92 kB / 0.6633 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.244e-05/0.1554, allocations: 19.98 kB / 0.6633 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.324e-05/0.1555, allocations: 60.77 kB / 0.6634 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1555, allocations: 0 / 0.6634 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001403/0.1557, allocations: 97.11 kB / 0.6634 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.1557, allocations: 4 kB / 0.6634 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1557, allocations: 3.938 kB / 0.6635 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1557, allocations: 0 / 0.6635 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.989e-05/0.1558, allocations: 23.98 kB / 0.6635 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.1558, allocations: 0 / 0.6635 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.043e-05/0.1559, allocations: 4 kB / 0.6635 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.1559, allocations: 3.984 kB / 0.6635 GB, free: 6.832 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: 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.0001279/0.156, allocations: 126.6 kB / 0.6636 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.321e-05/0.156, allocations: 11.91 kB / 0.6636 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002089/0.1563, allocations: 121.5 kB / 0.6637 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1563, allocations: 4 kB / 0.6637 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1563, allocations: 4 kB / 0.6637 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1563, allocations: 0 / 0.6637 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.1564, allocations: 181.5 kB / 0.6639 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1564, allocations: 0 / 0.6639 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.879e-05/0.1565, allocations: 23.92 kB / 0.6639 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-06/0.1565, allocations: 7.875 kB / 0.6639 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.1565, allocations: 0 / 0.6639 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1565, allocations: 4 kB / 0.6639 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1565, allocations: 0 / 0.6639 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001587/0.1567, allocations: 117.1 kB / 0.6641 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.971e-05/0.1567, allocations: 96.89 kB / 0.6641 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.1568, allocations: 4 kB / 0.6642 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.469e-05/0.1568, allocations: 0 / 0.6642 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.755e-05/0.1568, allocations: 7.984 kB / 0.6642 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.1568, allocations: 8 kB / 0.6642 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.373e-05/0.1569, allocations: 75.28 kB / 0.6642 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1569, allocations: 0 / 0.6642 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001975/0.1571, allocations: 12 kB / 0.6643 GB, free: 5.93 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: 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.0001656/0.1572, allocations: 119.2 kB / 0.6644 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001651/0.1574, allocations: 59.91 kB / 0.6644 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1574, allocations: 0 / 0.6644 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.701e-05/0.1575, allocations: 35.92 kB / 0.6645 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.1576, allocations: 7.984 kB / 0.6645 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002855/0.1579, allocations: 174.5 kB / 0.6646 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.1582, allocations: 0.6846 MB / 0.6653 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.64e-05/0.1582, allocations: 15.42 kB / 0.6653 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1582, allocations: 0 / 0.6653 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of Templates: time 0.002348/0.1606, allocations: 0.957 MB / 0.6662 GB, free: 3.82 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)