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.001307/0.001308, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001365/0.001366, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.331/1.331, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7856/0.7856, allocations: 132.2 MB / 423.2 MB, free: 6.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 71.88 kB / 0.5024 GB, free: 11.69 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.4008, allocations: 80.18 MB / 0.5807 GB, free: 27.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.002556/0.4034, allocations: 1.523 MB / 0.5822 GB, free: 26.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003525/0.4038, allocations: 137.9 kB / 0.5824 GB, free: 26.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.427e-05/0.4039, allocations: 1.438 kB / 0.5824 GB, free: 26.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.474e-05/0.4039, allocations: 9.797 kB / 0.5824 GB, free: 26.06 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.818e-05/0.404, allocations: 5.125 kB / 0.5824 GB, free: 26.06 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000285/0.4042, allocations: 27.95 kB / 0.5824 GB, free: 26.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.958e-05/0.4043, allocations: 46.8 kB / 0.5824 GB, free: 26.01 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.4044, allocations: 12 kB / 0.5825 GB, free: 26 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.96e-05/0.4045, allocations: 13.14 kB / 0.5825 GB, free: 26 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.092e-05/0.4045, allocations: 19.17 kB / 0.5825 GB, free: 25.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.4045, allocations: 2.594 kB / 0.5825 GB, free: 25.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.08e-05/0.4046, allocations: 19.14 kB / 0.5825 GB, free: 25.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.491e-05/0.4046, allocations: 17.11 kB / 0.5825 GB, free: 25.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.816e-05/0.4047, allocations: 19.95 kB / 0.5825 GB, free: 25.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.4048, allocations: 35.7 kB / 0.5826 GB, free: 25.92 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.4048, allocations: 1.031 kB / 0.5826 GB, free: 25.92 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.4048, allocations: 0 / 0.5826 GB, free: 25.92 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.4048, allocations: 0.5 kB / 0.5826 GB, free: 25.92 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004127/0.4052, allocations: 357.6 kB / 0.5829 GB, free: 25.54 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.4053, allocations: 8.906 kB / 0.5829 GB, free: 25.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.52e-05/0.4053, allocations: 13.28 kB / 0.5829 GB, free: 25.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.972e-05/0.4054, allocations: 169.5 kB / 0.5831 GB, free: 25.33 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.4054, allocations: 1.656 kB / 0.5831 GB, free: 25.33 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.4055, allocations: 7.062 kB / 0.5831 GB, free: 25.33 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.4057, allocations: 64.31 kB / 0.5832 GB, free: 25.28 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/0.4057, allocations: 4.188 kB / 0.5832 GB, free: 25.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.4057, allocations: 7.812 kB / 0.5832 GB, free: 25.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.4057, allocations: 1.219 kB / 0.5832 GB, free: 25.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001925/0.4059, allocations: 43.89 kB / 0.5832 GB, free: 25.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003259/0.4062, allocations: 277 kB / 0.5835 GB, free: 24.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003057/0.4065, allocations: 63.16 kB / 0.5835 GB, free: 24.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.2e-05/0.4067, allocations: 24.34 kB / 0.5836 GB, free: 24.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002003/0.4069, allocations: 401.7 kB / 0.584 GB, free: 24.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.472e-05/0.4069, allocations: 32.31 kB / 0.584 GB, free: 24.37 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.4069, allocations: 0.8438 kB / 0.584 GB, free: 24.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003655/0.4073, allocations: 99.39 kB / 0.5841 GB, free: 24.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.258e-05/0.4073, allocations: 52.91 kB / 0.5841 GB, free: 24.24 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.249e-05/0.4073, allocations: 111.5 kB / 0.5842 GB, free: 24.13 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.895e-06/0.4074, allocations: 30.58 kB / 0.5843 GB, free: 24.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.8e-05/0.4074, allocations: 82.67 kB / 0.5843 GB, free: 24.02 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.311e-05/0.4074, allocations: 10.59 kB / 0.5844 GB, free: 24.01 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.033e-05/0.4074, allocations: 12.97 kB / 0.5844 GB, free: 23.99 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.019e-05/0.4075, allocations: 324.4 kB / 0.5847 GB, free: 23.67 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.899e-05/0.4076, allocations: 16.08 kB / 0.5847 GB, free: 23.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.032e-05/0.4077, allocations: 27.38 kB / 0.5847 GB, free: 23.65 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.4079, allocations: 43.8 kB / 0.5848 GB, free: 23.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.4079, allocations: 1.125 kB / 0.5848 GB, free: 23.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002024/0.4081, allocations: 81.55 kB / 0.5848 GB, free: 23.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.4081, allocations: 5.781 kB / 0.5848 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.4081, allocations: 0 / 0.5848 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.4081, allocations: 3.688 kB / 0.5848 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.723e-05/0.4082, allocations: 14.64 kB / 0.5849 GB, free: 23.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.4082, allocations: 1.562 kB / 0.5849 GB, free: 23.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.75e-05/0.4083, allocations: 7.469 kB / 0.5849 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.4083, allocations: 9.203 kB / 0.5849 GB, free: 23.55 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: 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 5.679e-05/0.4084, allocations: 113.4 kB / 0.585 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.676e-05/0.4084, allocations: 9.219 kB / 0.585 GB, free: 23.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002528/0.4086, allocations: 84.98 kB / 0.5851 GB, free: 23.35 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.4087, allocations: 1.625 kB / 0.5851 GB, free: 23.35 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4087, allocations: 0 / 0.5851 GB, free: 23.35 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.4087, allocations: 2.188 kB / 0.5851 GB, free: 23.35 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.4088, allocations: 173.6 kB / 0.5852 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.4088, allocations: 0 / 0.5852 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.289e-05/0.4089, allocations: 13.64 kB / 0.5853 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.4089, allocations: 1.406 kB / 0.5853 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.4089, allocations: 0 / 0.5853 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4089, allocations: 1.219 kB / 0.5853 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.4089, allocations: 0 / 0.5853 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.4092, allocations: 173.1 kB / 0.5854 GB, free: 22.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.303e-05/0.4092, allocations: 88.61 kB / 0.5855 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.4092, allocations: 1.031 kB / 0.5855 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.381e-05/0.4093, allocations: 11.7 kB / 0.5855 GB, free: 22.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.158e-05/0.4094, allocations: 7.281 kB / 0.5855 GB, free: 22.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.4094, allocations: 5.109 kB / 0.5855 GB, free: 22.86 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.806e-05/0.4094, allocations: 84.75 kB / 0.5856 GB, free: 22.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4094, allocations: 2.812 kB / 0.5856 GB, free: 22.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000229/0.4096, allocations: 8.156 kB / 0.5856 GB, free: 22.79 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.0001393/0.4098, allocations: 101.5 kB / 0.5857 GB, free: 22.69 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002409/0.41, allocations: 47.56 kB / 0.5858 GB, free: 22.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.41, allocations: 0.6875 kB / 0.5858 GB, free: 22.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.651e-05/0.4101, allocations: 28.58 kB / 0.5858 GB, free: 22.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.4104, allocations: 7.031 kB / 0.5858 GB, free: 22.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002763/0.4107, allocations: 156.5 kB / 0.586 GB, free: 22.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/0.4108, allocations: 0.6814 MB / 0.5866 GB, free: 21.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.609e-05/0.4108, allocations: 11 kB / 0.5866 GB, free: 21.79 MB / 446.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4108, allocations: 0 / 0.5866 GB, free: 21.79 MB / 446.1 MB Notification: Performance of Templates: time 0.002114/0.413, allocations: 0.8026 MB / 0.5874 GB, free: 21.41 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)