Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008345/0.008345, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.39/1.39, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7544/0.7544, allocations: 132.3 MB / 423.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004331/0.0004331, allocations: 8 kB / 0.504 GB, free: 3.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4686/0.4691, allocations: 81.58 MB / 0.5837 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.001835/0.4709, allocations: 1.244 MB / 0.5849 GB, free: 3.129 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000383/0.4713, allocations: 135.1 kB / 0.585 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.388e-05/0.4714, allocations: 0 / 0.585 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.687e-05/0.4714, allocations: 4.547 kB / 0.585 GB, free: 3.031 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.919e-05/0.4715, allocations: 2.375 kB / 0.585 GB, free: 3.031 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002357/0.4717, allocations: 20.91 kB / 0.585 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.371e-05/0.4718, allocations: 42.72 kB / 0.5851 GB, free: 3 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.078e-05/0.4719, allocations: 16.27 kB / 0.5851 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.805e-05/0.4719, allocations: 6.344 kB / 0.5851 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.209e-05/0.472, allocations: 16.34 kB / 0.5851 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.472, allocations: 1.406 kB / 0.5851 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.658e-05/0.4721, allocations: 19.56 kB / 0.5851 GB, free: 2.977 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.635e-05/0.4721, allocations: 10.48 kB / 0.5851 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.12e-05/0.4721, allocations: 43.81 kB / 0.5852 GB, free: 2.926 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.4722, allocations: 33.31 kB / 0.5852 GB, free: 2.918 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.4723, allocations: 0 / 0.5852 GB, free: 2.918 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4723, allocations: 1.156 kB / 0.5852 GB, free: 2.918 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.4723, allocations: 4 kB / 0.5852 GB, free: 2.914 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004017/0.4727, allocations: 349.7 kB / 0.5856 GB, free: 2.551 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.4727, allocations: 9.656 kB / 0.5856 GB, free: 2.551 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.532e-05/0.4728, allocations: 11.84 kB / 0.5856 GB, free: 2.543 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.401e-05/0.4729, allocations: 175.9 kB / 0.5857 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.4729, allocations: 5.281 kB / 0.5858 GB, free: 2.332 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.4729, allocations: 10.67 kB / 0.5858 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002149/0.4731, allocations: 67.52 kB / 0.5858 GB, free: 2.285 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.4732, allocations: 192 / 0.5858 GB, free: 2.285 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.4732, allocations: 4.812 kB / 0.5858 GB, free: 2.281 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.4732, allocations: 0.875 kB / 0.5858 GB, free: 2.281 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002106/0.4734, allocations: 61.64 kB / 0.5859 GB, free: 2.266 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003358/0.4737, allocations: 278.5 kB / 0.5862 GB, free: 1.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003303/0.4741, allocations: 69.64 kB / 0.5862 GB, free: 1.941 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.4742, allocations: 29.98 kB / 0.5863 GB, free: 1.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001876/0.4744, allocations: 406.1 kB / 0.5866 GB, free: 1.453 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.347e-05/0.4744, allocations: 31.44 kB / 0.5867 GB, free: 1.414 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.4744, allocations: 0.75 kB / 0.5867 GB, free: 1.414 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004393/0.4749, allocations: 113.3 kB / 0.5868 GB, free: 1.367 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.017e-05/0.4749, allocations: 51.41 kB / 0.5868 GB, free: 1.305 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.767e-05/0.475, allocations: 115.1 kB / 0.5869 GB, free: 1.195 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/0.475, allocations: 27.67 kB / 0.587 GB, free: 1.164 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.763e-05/0.475, allocations: 85.36 kB / 0.587 GB, free: 1.078 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.237e-05/0.4751, allocations: 6.672 kB / 0.5871 GB, free: 1.074 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.243e-05/0.4751, allocations: 16.36 kB / 0.5871 GB, free: 1.055 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.47e-05/0.4751, allocations: 316.3 kB / 0.5874 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.4753, allocations: 29.22 kB / 0.5874 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.419e-05/0.4754, allocations: 29.52 kB / 0.5874 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/0.4756, allocations: 52.03 kB / 0.5875 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4756, allocations: 0 / 0.5875 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002397/0.4758, allocations: 91.47 kB / 0.5876 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.4758, allocations: 6.188 kB / 0.5876 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.4759, allocations: 0.5625 kB / 0.5876 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.4759, allocations: 0 / 0.5876 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.993e-05/0.476, allocations: 17.53 kB / 0.5876 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.476, allocations: 0.6875 kB / 0.5876 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.91e-05/0.4761, allocations: 16.88 kB / 0.5876 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.4761, allocations: 5.891 kB / 0.5876 GB, free: 0.6484 MB / 430.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: 2 (falFac.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 6.847e-05/0.4761, allocations: 116.4 kB / 0.5877 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/0.4762, allocations: 3.25 kB / 0.5877 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002941/0.4765, allocations: 98.05 kB / 0.5878 GB, free: 480 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.4765, allocations: 0 / 0.5878 GB, free: 480 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4765, allocations: 1.344 kB / 0.5878 GB, free: 480 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.4765, allocations: 4.031 kB / 0.5878 GB, free: 476 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.4767, allocations: 173.7 kB / 0.588 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4767, allocations: 0.7969 kB / 0.588 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.222e-05/0.4768, allocations: 18.17 kB / 0.588 GB, free: 264 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.4768, allocations: 0 / 0.588 GB, free: 264 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.4768, allocations: 1.891 kB / 0.588 GB, free: 264 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.4768, allocations: 0 / 0.588 GB, free: 264 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.4768, allocations: 4.5 kB / 0.588 GB, free: 260 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.4771, allocations: 187.6 kB / 0.5882 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.404e-05/0.4771, allocations: 82.58 kB / 0.5883 GB, free: 8 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.4771, allocations: 1.5 kB / 0.5883 GB, free: 8 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.141e-05/0.4772, allocations: 9.438 kB / 0.5883 GB, free: 8 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/0.4773, allocations: 5.891 kB / 0.5883 GB, free: 8 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.4773, allocations: 4.719 kB / 0.5883 GB, free: 4 kB / 430.1 MB Notification: Performance of sorting global known variables: time 7.856e-05/0.4774, allocations: 91.61 kB / 0.5884 GB, free: 15.92 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4774, allocations: 0.9375 kB / 0.5884 GB, free: 15.92 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002417/0.4776, allocations: 13 kB / 0.5884 GB, free: 15.91 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: 2 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001927/0.4778, allocations: 99.72 kB / 0.5885 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000283/0.4781, allocations: 59.16 kB / 0.5885 GB, free: 15.81 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4781, allocations: 0 / 0.5885 GB, free: 15.81 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.4783, allocations: 29.55 kB / 0.5886 GB, free: 15.81 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.4786, allocations: 12.33 kB / 0.5886 GB, free: 15.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003456/0.4789, allocations: 137.7 kB / 0.5887 GB, free: 15.67 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.4792, allocations: 0.6797 MB / 0.5894 GB, free: 14.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.782e-05/0.4793, allocations: 3.547 kB / 0.5894 GB, free: 14.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.078e-05/0.4793, allocations: 11.44 kB / 0.5894 GB, free: 14.97 MB / 446.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4793, allocations: 0 / 0.5894 GB, free: 14.97 MB / 446.1 MB Notification: Performance of Templates: time 0.003223/0.4826, allocations: 0.6619 MB / 0.59 GB, free: 14.89 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)