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.001526/0.001526, allocations: 101.8 kB / 16.36 MB, free: 5.824 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.001773/0.001773, allocations: 193.3 kB / 17.29 MB, free: 5.48 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.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.803/0.803, allocations: 132.2 MB / 423.3 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 67.91 kB / 0.5032 GB, free: 10.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3721, allocations: 80.18 MB / 0.5815 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001708/0.3739, allocations: 0.5806 MB / 0.5821 GB, free: 27.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002535/0.3742, allocations: 62.23 kB / 0.5821 GB, free: 27.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.839e-05/0.3742, allocations: 0 / 0.5821 GB, free: 27.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.313e-05/0.3742, allocations: 0 / 0.5821 GB, free: 27.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.98e-06/0.3743, allocations: 3.312 kB / 0.5821 GB, free: 27.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002647/0.3745, allocations: 13.89 kB / 0.5821 GB, free: 27.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.582e-05/0.3746, allocations: 31.77 kB / 0.5822 GB, free: 27.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.235e-05/0.3747, allocations: 1.094 kB / 0.5822 GB, free: 27.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.809e-05/0.3747, allocations: 13.66 kB / 0.5822 GB, free: 27.06 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.708e-05/0.3747, allocations: 11.28 kB / 0.5822 GB, free: 27.06 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.3747, allocations: 2.125 kB / 0.5822 GB, free: 27.06 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.651e-05/0.3748, allocations: 15.92 kB / 0.5822 GB, free: 27.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.78e-05/0.3749, allocations: 21.28 kB / 0.5822 GB, free: 27.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.907e-05/0.3749, allocations: 11.06 kB / 0.5822 GB, free: 27.03 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.807e-05/0.375, allocations: 34.98 kB / 0.5823 GB, free: 27.01 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.375, allocations: 1.25 kB / 0.5823 GB, free: 27.01 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.375, allocations: 0 / 0.5823 GB, free: 27.01 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.375, allocations: 0 / 0.5823 GB, free: 27.01 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.0002482/0.3753, allocations: 341.6 kB / 0.5826 GB, free: 26.64 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.3753, allocations: 10.59 kB / 0.5826 GB, free: 26.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.914e-05/0.3753, allocations: 2.312 kB / 0.5826 GB, free: 26.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.022e-05/0.3754, allocations: 165.8 kB / 0.5828 GB, free: 26.44 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.3754, allocations: 1.781 kB / 0.5828 GB, free: 26.44 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.3754, allocations: 4.375 kB / 0.5828 GB, free: 26.44 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.3756, allocations: 74.38 kB / 0.5829 GB, free: 26.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.3756, allocations: 4.172 kB / 0.5829 GB, free: 26.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.3756, allocations: 6.531 kB / 0.5829 GB, free: 26.37 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3756, allocations: 1.469 kB / 0.5829 GB, free: 26.37 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.3757, allocations: 97.88 kB / 0.583 GB, free: 26.33 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001272/0.3759, allocations: 184.3 kB / 0.5831 GB, free: 26.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.376, allocations: 71.05 kB / 0.5832 GB, free: 26.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.061e-05/0.376, allocations: 27.5 kB / 0.5832 GB, free: 26.06 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002179/0.3762, allocations: 409.9 kB / 0.5836 GB, free: 25.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.3763, allocations: 37.25 kB / 0.5837 GB, free: 25.53 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.293e-06/0.3763, allocations: 0 / 0.5837 GB, free: 25.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002284/0.3765, allocations: 118.6 kB / 0.5838 GB, free: 25.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.907e-05/0.3765, allocations: 53.75 kB / 0.5838 GB, free: 25.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.002e-05/0.3766, allocations: 91.3 kB / 0.5839 GB, free: 25.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.218e-06/0.3766, allocations: 30.52 kB / 0.5839 GB, free: 25.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.035e-05/0.3766, allocations: 80.14 kB / 0.584 GB, free: 25.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.3766, allocations: 24.27 kB / 0.584 GB, free: 25.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/0.3767, allocations: 28.64 kB / 0.5841 GB, free: 25.14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.378e-05/0.3767, allocations: 319.7 kB / 0.5844 GB, free: 24.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.896e-05/0.3768, allocations: 19.27 kB / 0.5844 GB, free: 24.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.548e-05/0.3768, allocations: 24.3 kB / 0.5844 GB, free: 24.81 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.007e-05/0.3769, allocations: 67.8 kB / 0.5845 GB, free: 24.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3769, allocations: 0 / 0.5845 GB, free: 24.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001167/0.377, allocations: 89.89 kB / 0.5846 GB, free: 24.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.377, allocations: 5.5 kB / 0.5846 GB, free: 24.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.377, allocations: 3.938 kB / 0.5846 GB, free: 24.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.3771, allocations: 1.844 kB / 0.5846 GB, free: 24.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.679e-05/0.3772, allocations: 20.73 kB / 0.5846 GB, free: 24.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.3772, allocations: 3.938 kB / 0.5846 GB, free: 24.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.042e-05/0.3772, allocations: 6.094 kB / 0.5846 GB, free: 24.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.3772, allocations: 10.61 kB / 0.5846 GB, free: 24.69 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 7.895e-05/0.3773, allocations: 122.8 kB / 0.5847 GB, free: 24.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.067e-05/0.3773, allocations: 2.656 kB / 0.5847 GB, free: 24.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001904/0.3775, allocations: 130.5 kB / 0.5849 GB, free: 24.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3775, allocations: 1.469 kB / 0.5849 GB, free: 24.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3775, allocations: 1.156 kB / 0.5849 GB, free: 24.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3775, allocations: 3 kB / 0.5849 GB, free: 24.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.187e-05/0.3776, allocations: 179.5 kB / 0.585 GB, free: 24.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3776, allocations: 3.938 kB / 0.585 GB, free: 24.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.589e-05/0.3777, allocations: 18.73 kB / 0.5851 GB, free: 24.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3777, allocations: 5.156 kB / 0.5851 GB, free: 24.26 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.3777, allocations: 1.344 kB / 0.5851 GB, free: 24.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.3777, allocations: 1.281 kB / 0.5851 GB, free: 24.26 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3777, allocations: 0 / 0.5851 GB, free: 24.26 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.3779, allocations: 131.5 kB / 0.5852 GB, free: 24.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.637e-05/0.3779, allocations: 83.58 kB / 0.5853 GB, free: 24.06 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.3779, allocations: 1.75 kB / 0.5853 GB, free: 24.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.574e-05/0.3779, allocations: 0.7812 kB / 0.5853 GB, free: 24.06 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.378, allocations: 16.3 kB / 0.5853 GB, free: 24.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.874e-06/0.378, allocations: 8.062 kB / 0.5853 GB, free: 24.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.288e-05/0.378, allocations: 75.28 kB / 0.5854 GB, free: 23.97 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.378, allocations: 1.625 kB / 0.5854 GB, free: 23.97 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001947/0.3782, allocations: 12.22 kB / 0.5854 GB, free: 23.97 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.000144/0.3784, allocations: 117.6 kB / 0.5855 GB, free: 23.87 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001194/0.3785, allocations: 65.75 kB / 0.5855 GB, free: 23.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3785, allocations: 0.875 kB / 0.5856 GB, free: 23.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.359e-05/0.3785, allocations: 35.66 kB / 0.5856 GB, free: 23.83 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.3787, allocations: 6.531 kB / 0.5856 GB, free: 23.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002346/0.3789, allocations: 140.5 kB / 0.5857 GB, free: 23.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.379, allocations: 0.6879 MB / 0.5864 GB, free: 23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.728e-05/0.3791, allocations: 35.48 kB / 0.5864 GB, free: 22.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.185e-05/0.3791, allocations: 21.62 kB / 0.5865 GB, free: 22.97 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3792, allocations: 1.094 kB / 0.5865 GB, free: 22.97 MB / 446.1 MB Notification: Performance of Templates: time 0.002682/0.3818, allocations: 0.5959 MB / 0.587 GB, free: 22.7 MB / 446.1 MB 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)