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.001239/0.001239, allocations: 102.9 kB / 16.35 MB, free: 5.875 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.001254/0.001254, allocations: 196.8 kB / 17.3 MB, free: 5.516 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.327/1.327, 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.3 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 59.91 kB / 0.5032 GB, free: 10.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.395/0.3963, allocations: 80.18 MB / 0.5815 GB, free: 27.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.00178/0.3982, allocations: 0.594 MB / 0.5821 GB, free: 27.42 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002682/0.3984, allocations: 53.39 kB / 0.5821 GB, free: 27.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.957e-05/0.3985, allocations: 0 / 0.5821 GB, free: 27.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.703e-05/0.3985, allocations: 0.9688 kB / 0.5821 GB, free: 27.38 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.29e-06/0.3985, allocations: 0 / 0.5821 GB, free: 27.38 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002738/0.3988, allocations: 18.97 kB / 0.5821 GB, free: 27.37 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.041e-05/0.3989, allocations: 33.22 kB / 0.5822 GB, free: 27.35 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.09e-05/0.3989, allocations: 5.562 kB / 0.5822 GB, free: 27.35 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.717e-05/0.399, allocations: 10.36 kB / 0.5822 GB, free: 27.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.393e-05/0.399, allocations: 13.17 kB / 0.5822 GB, free: 27.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.399, allocations: 1.562 kB / 0.5822 GB, free: 27.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.305e-05/0.3991, allocations: 18.73 kB / 0.5822 GB, free: 27.33 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.58e-05/0.3991, allocations: 17.23 kB / 0.5822 GB, free: 27.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.895e-05/0.3992, allocations: 12.42 kB / 0.5823 GB, free: 27.31 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.091e-05/0.3993, allocations: 35.83 kB / 0.5823 GB, free: 27.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.3993, allocations: 1 kB / 0.5823 GB, free: 27.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.3993, allocations: 0 / 0.5823 GB, free: 27.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.3993, allocations: 1.156 kB / 0.5823 GB, free: 27.29 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.0002687/0.3996, allocations: 336.2 kB / 0.5826 GB, free: 26.92 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.3996, allocations: 11.22 kB / 0.5826 GB, free: 26.92 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.149e-05/0.3996, allocations: 3 kB / 0.5826 GB, free: 26.92 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.637e-05/0.3997, allocations: 167.3 kB / 0.5828 GB, free: 26.72 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.3997, allocations: 2.688 kB / 0.5828 GB, free: 26.72 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.3997, allocations: 5.781 kB / 0.5828 GB, free: 26.72 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.3999, allocations: 71.36 kB / 0.5829 GB, free: 26.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.3999, allocations: 192 / 0.5829 GB, free: 26.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.3999, allocations: 3.938 kB / 0.5829 GB, free: 26.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3999, allocations: 1.969 kB / 0.5829 GB, free: 26.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.4, allocations: 105.4 kB / 0.583 GB, free: 26.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001276/0.4002, allocations: 177.5 kB / 0.5831 GB, free: 26.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.687e-05/0.4003, allocations: 74.2 kB / 0.5832 GB, free: 26.35 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.951e-05/0.4003, allocations: 28 kB / 0.5832 GB, free: 26.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002199/0.4005, allocations: 407.1 kB / 0.5836 GB, free: 25.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.519e-05/0.4006, allocations: 35.75 kB / 0.5837 GB, free: 25.81 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.193e-06/0.4006, allocations: 1.344 kB / 0.5837 GB, free: 25.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002134/0.4008, allocations: 120.8 kB / 0.5838 GB, free: 25.74 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.941e-05/0.4008, allocations: 53.53 kB / 0.5838 GB, free: 25.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.008e-05/0.4008, allocations: 92.08 kB / 0.5839 GB, free: 25.58 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.617e-06/0.4009, allocations: 30.77 kB / 0.5839 GB, free: 25.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.588e-06/0.4009, allocations: 81.17 kB / 0.584 GB, free: 25.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.4009, allocations: 20.09 kB / 0.584 GB, free: 25.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/0.4009, allocations: 28.23 kB / 0.5841 GB, free: 25.42 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.582e-05/0.401, allocations: 321.8 kB / 0.5844 GB, free: 25.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.491e-05/0.401, allocations: 20.23 kB / 0.5844 GB, free: 25.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.114e-05/0.4011, allocations: 20.8 kB / 0.5844 GB, free: 25.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.527e-05/0.4012, allocations: 66.06 kB / 0.5845 GB, free: 25.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4012, allocations: 1.156 kB / 0.5845 GB, free: 25.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001161/0.4013, allocations: 92.84 kB / 0.5846 GB, free: 24.99 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.4013, allocations: 6.281 kB / 0.5846 GB, free: 24.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.4013, allocations: 4.906 kB / 0.5846 GB, free: 24.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.4013, allocations: 1.25 kB / 0.5846 GB, free: 24.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.384e-05/0.4014, allocations: 19.3 kB / 0.5846 GB, free: 24.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.4014, allocations: 3.938 kB / 0.5846 GB, free: 24.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.863e-05/0.4015, allocations: 8 kB / 0.5846 GB, free: 24.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-06/0.4015, allocations: 6.656 kB / 0.5846 GB, free: 24.97 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.145e-05/0.4015, allocations: 121.9 kB / 0.5847 GB, free: 24.85 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.165e-05/0.4016, allocations: 3.688 kB / 0.5847 GB, free: 24.85 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002213/0.4018, allocations: 129.2 kB / 0.5849 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.4018, allocations: 1.219 kB / 0.5849 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.4018, allocations: 3.75 kB / 0.5849 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.4018, allocations: 0 / 0.5849 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.674e-05/0.4019, allocations: 175.7 kB / 0.585 GB, free: 24.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4019, allocations: 0 / 0.585 GB, free: 24.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.612e-05/0.402, allocations: 23.14 kB / 0.585 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.402, allocations: 3.938 kB / 0.5851 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.402, allocations: 1.344 kB / 0.5851 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.402, allocations: 2.406 kB / 0.5851 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.402, allocations: 0 / 0.5851 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.4022, allocations: 133.2 kB / 0.5852 GB, free: 24.44 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.752e-05/0.4022, allocations: 86.17 kB / 0.5853 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.4022, allocations: 1.281 kB / 0.5853 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.503e-05/0.4022, allocations: 0.625 kB / 0.5853 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.138e-05/0.4023, allocations: 16.61 kB / 0.5853 GB, free: 24.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.4023, allocations: 6.969 kB / 0.5853 GB, free: 24.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.178e-05/0.4023, allocations: 79.75 kB / 0.5854 GB, free: 24.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4023, allocations: 0 / 0.5854 GB, free: 24.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001978/0.4025, allocations: 14.78 kB / 0.5854 GB, free: 24.25 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.0001558/0.4027, allocations: 118.9 kB / 0.5855 GB, free: 24.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001404/0.4028, allocations: 64.62 kB / 0.5856 GB, free: 24.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.4028, allocations: 3.938 kB / 0.5856 GB, free: 24.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.066e-05/0.4029, allocations: 31.73 kB / 0.5856 GB, free: 24.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.403, allocations: 6.312 kB / 0.5856 GB, free: 24.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002217/0.4032, allocations: 150.6 kB / 0.5857 GB, free: 23.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.787e-05/0.4033, allocations: 0.6823 MB / 0.5864 GB, free: 23.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.994e-05/0.4034, allocations: 36.17 kB / 0.5864 GB, free: 23.26 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.14e-05/0.4034, allocations: 16.5 kB / 0.5865 GB, free: 23.25 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4034, allocations: 5.469 kB / 0.5865 GB, free: 23.24 MB / 446.1 MB Notification: Performance of Templates: time 0.002383/0.4058, allocations: 0.5989 MB / 0.587 GB, free: 22.97 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 gbode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)