Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001606/0.001606, allocations: 104.6 kB / 16.27 MB, free: 5.977 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.001729/0.001729, allocations: 189.9 kB / 17.2 MB, free: 5.602 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.397/1.397, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.841/0.841, allocations: 135.2 MB / 426.2 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 71.88 kB / 0.506 GB, free: 8.328 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3331, allocations: 80.92 MB / 0.5851 GB, free: 25.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.00197/0.3351, allocations: 0.5818 MB / 0.5856 GB, free: 24.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002731/0.3354, allocations: 48.95 kB / 0.5857 GB, free: 24.9 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.114e-05/0.3355, allocations: 0 / 0.5857 GB, free: 24.9 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.594e-05/0.3355, allocations: 2.312 kB / 0.5857 GB, free: 24.9 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.909e-06/0.3355, allocations: 0 / 0.5857 GB, free: 24.9 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002899/0.3358, allocations: 18.39 kB / 0.5857 GB, free: 24.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.56e-05/0.3359, allocations: 35.64 kB / 0.5857 GB, free: 24.87 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.421e-05/0.336, allocations: 2.312 kB / 0.5857 GB, free: 24.87 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.867e-05/0.336, allocations: 6.188 kB / 0.5857 GB, free: 24.87 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.897e-05/0.336, allocations: 17.72 kB / 0.5858 GB, free: 24.86 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.336, allocations: 1.344 kB / 0.5858 GB, free: 24.86 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.42e-05/0.3361, allocations: 20.67 kB / 0.5858 GB, free: 24.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.524e-05/0.3362, allocations: 10.09 kB / 0.5858 GB, free: 24.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.183e-05/0.3362, allocations: 21.47 kB / 0.5858 GB, free: 24.82 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.363e-05/0.3363, allocations: 31.64 kB / 0.5858 GB, free: 24.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3363, allocations: 5.188 kB / 0.5859 GB, free: 24.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3363, allocations: 0 / 0.5859 GB, free: 24.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.3363, allocations: 0 / 0.5859 GB, free: 24.8 MB / 446.1 MB 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.0002578/0.3366, allocations: 338.1 kB / 0.5862 GB, free: 24.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.3366, allocations: 10.39 kB / 0.5862 GB, free: 24.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.694e-05/0.3367, allocations: 3.469 kB / 0.5862 GB, free: 24.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.474e-05/0.3367, allocations: 168.9 kB / 0.5863 GB, free: 24.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.3367, allocations: 2.438 kB / 0.5863 GB, free: 24.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.3368, allocations: 2.562 kB / 0.5864 GB, free: 24.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.3369, allocations: 69.23 kB / 0.5864 GB, free: 24.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.3369, allocations: 192 / 0.5864 GB, free: 24.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.3369, allocations: 8.812 kB / 0.5864 GB, free: 24.17 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.3369, allocations: 1.344 kB / 0.5864 GB, free: 24.17 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/0.3371, allocations: 102.9 kB / 0.5865 GB, free: 24.12 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001312/0.3372, allocations: 170.8 kB / 0.5867 GB, free: 23.92 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.3373, allocations: 75.47 kB / 0.5868 GB, free: 23.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.286e-05/0.3374, allocations: 34.94 kB / 0.5868 GB, free: 23.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002342/0.3376, allocations: 401.2 kB / 0.5872 GB, free: 23.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.366e-05/0.3376, allocations: 31.66 kB / 0.5872 GB, free: 23.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.253e-06/0.3376, allocations: 0 / 0.5872 GB, free: 23.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002426/0.3379, allocations: 131.8 kB / 0.5873 GB, free: 23.26 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.89e-05/0.3379, allocations: 53.44 kB / 0.5874 GB, free: 23.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.321e-05/0.338, allocations: 92.08 kB / 0.5875 GB, free: 23.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.338, allocations: 30.83 kB / 0.5875 GB, free: 23.06 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.828e-06/0.338, allocations: 81.33 kB / 0.5876 GB, free: 22.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/0.338, allocations: 23.92 kB / 0.5876 GB, free: 22.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.062e-05/0.3381, allocations: 31.27 kB / 0.5876 GB, free: 22.94 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.41e-05/0.3381, allocations: 320.1 kB / 0.5879 GB, free: 22.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.926e-05/0.3382, allocations: 19.17 kB / 0.588 GB, free: 22.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.247e-05/0.3382, allocations: 24.45 kB / 0.588 GB, free: 22.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.599e-05/0.3383, allocations: 64.25 kB / 0.588 GB, free: 22.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.3383, allocations: 0.7812 kB / 0.588 GB, free: 22.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001203/0.3384, allocations: 90.06 kB / 0.5881 GB, free: 22.51 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.3384, allocations: 5.844 kB / 0.5881 GB, free: 22.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3385, allocations: 3.938 kB / 0.5881 GB, free: 22.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.3385, allocations: 2.156 kB / 0.5881 GB, free: 22.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.485e-05/0.3386, allocations: 18.59 kB / 0.5882 GB, free: 22.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.3386, allocations: 5.609 kB / 0.5882 GB, free: 22.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.214e-05/0.3386, allocations: 9.5 kB / 0.5882 GB, free: 22.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.3386, allocations: 15.22 kB / 0.5882 GB, free: 22.48 MB / 446.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: 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.0001133/0.3387, allocations: 118.7 kB / 0.5883 GB, free: 22.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.393e-05/0.3388, allocations: 6.547 kB / 0.5883 GB, free: 22.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001835/0.339, allocations: 124 kB / 0.5884 GB, free: 22.28 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.339, allocations: 5.344 kB / 0.5884 GB, free: 22.28 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.339, allocations: 0 / 0.5884 GB, free: 22.28 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.339, allocations: 2.312 kB / 0.5884 GB, free: 22.28 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.957e-05/0.3391, allocations: 173.6 kB / 0.5886 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3391, allocations: 7.156 kB / 0.5886 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.529e-05/0.3391, allocations: 15.09 kB / 0.5886 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3392, allocations: 3.938 kB / 0.5886 GB, free: 22.06 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-06/0.3392, allocations: 5.297 kB / 0.5886 GB, free: 22.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.3392, allocations: 1.469 kB / 0.5886 GB, free: 22.06 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3392, allocations: 1.188 kB / 0.5886 GB, free: 22.06 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.3393, allocations: 124.5 kB / 0.5887 GB, free: 21.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.734e-05/0.3393, allocations: 90.19 kB / 0.5888 GB, free: 21.86 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.3394, allocations: 1.844 kB / 0.5888 GB, free: 21.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.498e-05/0.3394, allocations: 0 / 0.5888 GB, free: 21.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/0.3394, allocations: 13.98 kB / 0.5888 GB, free: 21.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-06/0.3394, allocations: 3.031 kB / 0.5888 GB, free: 21.85 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.256e-05/0.3394, allocations: 77.81 kB / 0.5889 GB, free: 21.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3395, allocations: 0 / 0.5889 GB, free: 21.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002128/0.3397, allocations: 15.03 kB / 0.5889 GB, free: 21.77 MB / 446.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: 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.000155/0.3398, allocations: 112 kB / 0.589 GB, free: 21.67 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00016/0.34, allocations: 75.25 kB / 0.5891 GB, free: 21.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.34, allocations: 1.5 kB / 0.5891 GB, free: 21.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.436e-05/0.3401, allocations: 33.39 kB / 0.5892 GB, free: 21.63 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001391/0.3402, allocations: 10.92 kB / 0.5892 GB, free: 21.63 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002715/0.3405, allocations: 176.9 kB / 0.5893 GB, free: 21.47 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.753e-05/0.3406, allocations: 0.683 MB / 0.59 GB, free: 20.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.714e-05/0.3406, allocations: 22.2 kB / 0.59 GB, free: 20.75 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3406, allocations: 1.062 kB / 0.59 GB, free: 20.75 MB / 446.1 MB Notification: Performance of Templates: time 0.002399/0.343, allocations: 0.9468 MB / 0.5909 GB, free: 20.12 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)