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.001598/0.001598, allocations: 105.8 kB / 16.37 MB, free: 6.453 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.001822/0.001822, allocations: 192.9 kB / 17.31 MB, free: 5.816 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.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8568/0.8568, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001475, allocations: 63.91 kB / 0.5068 GB, free: 7.676 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3624, allocations: 80.91 MB / 0.5858 GB, free: 25.47 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001627/0.3641, allocations: 0.5841 MB / 0.5863 GB, free: 25.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002303/0.3643, allocations: 57.2 kB / 0.5864 GB, free: 25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.795e-05/0.3644, allocations: 0.6562 kB / 0.5864 GB, free: 25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.462e-05/0.3644, allocations: 0 / 0.5864 GB, free: 25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.688e-06/0.3644, allocations: 1.688 kB / 0.5864 GB, free: 25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002556/0.3647, allocations: 18.78 kB / 0.5864 GB, free: 24.99 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.926e-05/0.3648, allocations: 27.75 kB / 0.5864 GB, free: 24.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.137e-05/0.3648, allocations: 5.062 kB / 0.5865 GB, free: 24.97 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.827e-05/0.3648, allocations: 14.48 kB / 0.5865 GB, free: 24.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.568e-05/0.3649, allocations: 13.77 kB / 0.5865 GB, free: 24.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.3649, allocations: 2.594 kB / 0.5865 GB, free: 24.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.278e-05/0.3649, allocations: 16.7 kB / 0.5865 GB, free: 24.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.307e-05/0.365, allocations: 13.27 kB / 0.5865 GB, free: 24.94 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.931e-05/0.365, allocations: 18.02 kB / 0.5865 GB, free: 24.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.881e-05/0.3651, allocations: 34.98 kB / 0.5866 GB, free: 24.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.3651, allocations: 1.031 kB / 0.5866 GB, free: 24.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3651, allocations: 1.562 kB / 0.5866 GB, free: 24.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.277e-06/0.3651, allocations: 0 / 0.5866 GB, free: 24.91 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.0002783/0.3654, allocations: 334.8 kB / 0.5869 GB, free: 24.54 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.3655, allocations: 10.98 kB / 0.5869 GB, free: 24.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.127e-05/0.3655, allocations: 7.469 kB / 0.5869 GB, free: 24.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.011e-05/0.3656, allocations: 170.6 kB / 0.5871 GB, free: 24.34 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.3656, allocations: 5.688 kB / 0.5871 GB, free: 24.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.3656, allocations: 4.969 kB / 0.5871 GB, free: 24.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.3657, allocations: 67.52 kB / 0.5871 GB, free: 24.28 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.3657, allocations: 192 / 0.5871 GB, free: 24.28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.3658, allocations: 9.156 kB / 0.5871 GB, free: 24.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.3658, allocations: 2.438 kB / 0.5871 GB, free: 24.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.3659, allocations: 102.8 kB / 0.5872 GB, free: 24.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001175/0.366, allocations: 167 kB / 0.5874 GB, free: 24.03 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.442e-05/0.3661, allocations: 75.28 kB / 0.5875 GB, free: 23.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.897e-05/0.3662, allocations: 27.66 kB / 0.5875 GB, free: 23.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002075/0.3664, allocations: 406.5 kB / 0.5879 GB, free: 23.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.489e-05/0.3664, allocations: 39.8 kB / 0.5879 GB, free: 23.44 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.3664, allocations: 1.156 kB / 0.5879 GB, free: 23.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002114/0.3666, allocations: 124.3 kB / 0.588 GB, free: 23.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.395e-05/0.3667, allocations: 56.97 kB / 0.5881 GB, free: 23.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.993e-05/0.3667, allocations: 93.83 kB / 0.5882 GB, free: 23.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.053e-06/0.3667, allocations: 27.67 kB / 0.5882 GB, free: 23.17 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.616e-06/0.3667, allocations: 84.14 kB / 0.5883 GB, free: 23.08 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.3667, allocations: 17.17 kB / 0.5883 GB, free: 23.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.391e-05/0.3668, allocations: 32.92 kB / 0.5883 GB, free: 23.04 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.887e-05/0.3668, allocations: 320.2 kB / 0.5887 GB, free: 22.72 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.548e-05/0.3669, allocations: 19.95 kB / 0.5887 GB, free: 22.71 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.178e-05/0.3669, allocations: 21.42 kB / 0.5887 GB, free: 22.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.537e-05/0.367, allocations: 60.53 kB / 0.5887 GB, free: 22.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.367, allocations: 1.531 kB / 0.5887 GB, free: 22.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000117/0.3671, allocations: 95.14 kB / 0.5888 GB, free: 22.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.012e-05/0.3672, allocations: 7.75 kB / 0.5888 GB, free: 22.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3672, allocations: 4.781 kB / 0.5889 GB, free: 22.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.3672, allocations: 1.344 kB / 0.5889 GB, free: 22.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.608e-05/0.3673, allocations: 20.11 kB / 0.5889 GB, free: 22.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3673, allocations: 4.969 kB / 0.5889 GB, free: 22.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.042e-05/0.3673, allocations: 9.219 kB / 0.5889 GB, free: 22.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.3673, allocations: 2.625 kB / 0.5889 GB, free: 22.6 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 8.872e-05/0.3674, allocations: 126.8 kB / 0.589 GB, free: 22.47 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.22e-05/0.3675, allocations: 4.188 kB / 0.589 GB, free: 22.47 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001882/0.3676, allocations: 125.7 kB / 0.5891 GB, free: 22.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.3677, allocations: 1.5 kB / 0.5891 GB, free: 22.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3677, allocations: 1.469 kB / 0.5891 GB, free: 22.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3677, allocations: 0.9062 kB / 0.5891 GB, free: 22.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.931e-05/0.3678, allocations: 183.3 kB / 0.5893 GB, free: 22.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3678, allocations: 1.938 kB / 0.5893 GB, free: 22.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.685e-05/0.3678, allocations: 18.31 kB / 0.5893 GB, free: 22.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3678, allocations: 9.047 kB / 0.5893 GB, free: 22.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.3679, allocations: 1.156 kB / 0.5893 GB, free: 22.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3679, allocations: 4.938 kB / 0.5893 GB, free: 22.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3679, allocations: 2.75 kB / 0.5893 GB, free: 22.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001249/0.368, allocations: 121.8 kB / 0.5895 GB, free: 22.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.745e-05/0.368, allocations: 85.33 kB / 0.5895 GB, free: 21.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.368, allocations: 4 kB / 0.5896 GB, free: 21.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.556e-05/0.3681, allocations: 1.281 kB / 0.5896 GB, free: 21.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.3681, allocations: 11.8 kB / 0.5896 GB, free: 21.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-06/0.3681, allocations: 7.5 kB / 0.5896 GB, free: 21.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.184e-05/0.3681, allocations: 78.73 kB / 0.5896 GB, free: 21.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3681, allocations: 1.469 kB / 0.5896 GB, free: 21.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001959/0.3683, allocations: 11.25 kB / 0.5897 GB, free: 21.88 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.0001527/0.3685, allocations: 117.8 kB / 0.5898 GB, free: 21.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001335/0.3686, allocations: 59.28 kB / 0.5898 GB, free: 21.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3686, allocations: 4.844 kB / 0.5898 GB, free: 21.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.98e-05/0.3687, allocations: 35.7 kB / 0.5899 GB, free: 21.74 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.3688, allocations: 6.25 kB / 0.5899 GB, free: 21.74 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000235/0.3691, allocations: 147.3 kB / 0.59 GB, free: 21.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/0.3692, allocations: 0.683 MB / 0.5907 GB, free: 20.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.1e-05/0.3693, allocations: 34.77 kB / 0.5907 GB, free: 20.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.489e-05/0.3693, allocations: 13.28 kB / 0.5907 GB, free: 20.89 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3693, allocations: 4.562 kB / 0.5907 GB, free: 20.88 MB / 446.1 MB Notification: Performance of Templates: time 0.002454/0.3718, allocations: 0.6055 MB / 0.5913 GB, free: 20.46 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)