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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7566/0.7566, allocations: 132.2 MB / 148.9 MB, free: 12.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 403.4 MB, free: 7.105 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 113.2 kB / 484.4 MB, free: 8.746 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 56.09 kB / 0.5618 GB, free: 71.08 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1819, allocations: 80.21 MB / 0.6402 GB, free: 6.805 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.00424/0.1862, allocations: 1.599 MB / 0.6417 GB, free: 5.188 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005759/0.1868, allocations: 137.5 kB / 0.6419 GB, free: 5.051 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.547e-05/0.1869, allocations: 0 / 0.6419 GB, free: 5.051 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 5.388e-05/0.1869, allocations: 3.938 kB / 0.6419 GB, free: 5.047 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.095e-05/0.187, allocations: 4 kB / 0.6419 GB, free: 5.043 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002976/0.1873, allocations: 15.98 kB / 0.6419 GB, free: 5.027 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 9.779e-05/0.1874, allocations: 47.84 kB / 0.6419 GB, free: 4.98 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.1876, allocations: 11.98 kB / 0.6419 GB, free: 4.969 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.214e-05/0.1876, allocations: 15.98 kB / 0.642 GB, free: 4.953 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.473e-05/0.1877, allocations: 19.86 kB / 0.642 GB, free: 4.934 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.1877, allocations: 4 kB / 0.642 GB, free: 4.93 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.33e-05/0.1878, allocations: 15.98 kB / 0.642 GB, free: 4.914 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.925e-05/0.1879, allocations: 4 kB / 0.642 GB, free: 4.91 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.145e-05/0.1879, allocations: 15.92 kB / 0.642 GB, free: 4.895 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.1881, allocations: 43.88 kB / 0.6421 GB, free: 4.852 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.1881, allocations: 0 / 0.6421 GB, free: 4.852 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1881, allocations: 3.938 kB / 0.6421 GB, free: 4.848 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.1881, allocations: 0 / 0.6421 GB, free: 4.848 MB / 442.7 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.0006802/0.1888, allocations: 363.6 kB / 0.6424 GB, free: 4.441 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.1889, allocations: 8.031 kB / 0.6424 GB, free: 4.434 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.315e-05/0.1889, allocations: 4.844 kB / 0.6424 GB, free: 4.43 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.1891, allocations: 164.4 kB / 0.6426 GB, free: 4.23 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.1891, allocations: 4.375 kB / 0.6426 GB, free: 4.227 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.1892, allocations: 8.375 kB / 0.6426 GB, free: 4.219 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000261/0.1894, allocations: 62.2 kB / 0.6426 GB, free: 4.152 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.1894, allocations: 192 / 0.6426 GB, free: 4.152 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.1895, allocations: 7.938 kB / 0.6427 GB, free: 4.145 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.1895, allocations: 4 kB / 0.6427 GB, free: 4.141 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002895/0.1898, allocations: 47.89 kB / 0.6427 GB, free: 4.094 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005042/0.1903, allocations: 280.7 kB / 0.643 GB, free: 3.77 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004498/0.1908, allocations: 54.53 kB / 0.643 GB, free: 3.707 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/0.1909, allocations: 24.91 kB / 0.643 GB, free: 3.68 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003837/0.1913, allocations: 405.5 kB / 0.6434 GB, free: 3.191 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.1914, allocations: 42.44 kB / 0.6435 GB, free: 3.141 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.1914, allocations: 0 / 0.6435 GB, free: 3.141 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005612/0.192, allocations: 89.62 kB / 0.6436 GB, free: 3.047 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/0.192, allocations: 59.41 kB / 0.6436 GB, free: 2.977 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.1922, allocations: 109.8 kB / 0.6437 GB, free: 2.859 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.1922, allocations: 25.7 kB / 0.6437 GB, free: 2.828 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.784e-05/0.1923, allocations: 92.14 kB / 0.6438 GB, free: 2.734 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.759e-05/0.1923, allocations: 3.906 kB / 0.6438 GB, free: 2.73 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.371e-05/0.1923, allocations: 17.72 kB / 0.6439 GB, free: 2.707 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.1925, allocations: 318.8 kB / 0.6442 GB, free: 2.387 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.1927, allocations: 19.98 kB / 0.6442 GB, free: 2.367 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.1928, allocations: 23.91 kB / 0.6442 GB, free: 2.344 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002528/0.1931, allocations: 44.83 kB / 0.6442 GB, free: 2.297 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.1931, allocations: 0 / 0.6442 GB, free: 2.297 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003482/0.1935, allocations: 77.92 kB / 0.6443 GB, free: 2.215 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.222e-05/0.1935, allocations: 8.875 kB / 0.6443 GB, free: 2.207 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1935, allocations: 0 / 0.6443 GB, free: 2.207 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.1935, allocations: 0 / 0.6443 GB, free: 2.207 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.1937, allocations: 12.03 kB / 0.6443 GB, free: 2.195 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.1937, allocations: 4 kB / 0.6443 GB, free: 2.191 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.822e-05/0.1938, allocations: 7.984 kB / 0.6443 GB, free: 2.184 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.1938, allocations: 4 kB / 0.6443 GB, free: 2.18 MB / 442.7 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 0.0001122/0.1939, allocations: 123 kB / 0.6445 GB, free: 2.051 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.755e-05/0.194, allocations: 7.906 kB / 0.6445 GB, free: 2.043 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003815/0.1944, allocations: 77.55 kB / 0.6445 GB, free: 1.953 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.1944, allocations: 8 kB / 0.6446 GB, free: 1.945 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1944, allocations: 0 / 0.6446 GB, free: 1.945 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1944, allocations: 0 / 0.6446 GB, free: 1.945 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002704/0.1947, allocations: 173.6 kB / 0.6447 GB, free: 1.727 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1947, allocations: 0 / 0.6447 GB, free: 1.727 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.1949, allocations: 11.98 kB / 0.6447 GB, free: 1.715 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.1949, allocations: 0 / 0.6447 GB, free: 1.715 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.1949, allocations: 0 / 0.6447 GB, free: 1.715 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1949, allocations: 0 / 0.6447 GB, free: 1.715 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1949, allocations: 0 / 0.6447 GB, free: 1.715 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007998/0.1957, allocations: 0.7473 MB / 0.6455 GB, free: 0.9102 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.438e-05/0.1958, allocations: 77.11 kB / 0.6455 GB, free: 0.8164 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.1958, allocations: 3.938 kB / 0.6455 GB, free: 0.8125 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.196, allocations: 7.984 kB / 0.6455 GB, free: 0.8047 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.032e-05/0.196, allocations: 19.92 kB / 0.6456 GB, free: 0.7852 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.1961, allocations: 0 / 0.6456 GB, free: 0.7852 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.547e-05/0.1961, allocations: 87.28 kB / 0.6456 GB, free: 0.6992 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.1962, allocations: 3.938 kB / 0.6457 GB, free: 0.6953 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000603/0.1968, allocations: 8 kB / 0.6457 GB, free: 0.6875 MB / 442.7 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.0002048/0.197, allocations: 107.3 kB / 0.6458 GB, free: 0.5703 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003279/0.1973, allocations: 43.95 kB / 0.6458 GB, free: 0.5273 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1973, allocations: 4 kB / 0.6458 GB, free: 0.5234 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.1975, allocations: 31.91 kB / 0.6458 GB, free: 0.4922 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004774/0.198, allocations: 3.938 kB / 0.6458 GB, free: 500 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005061/0.1985, allocations: 233.9 kB / 0.6461 GB, free: 228 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/0.1989, allocations: 0.6848 MB / 0.6467 GB, free: 15.51 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.979e-05/0.199, allocations: 4 kB / 0.6467 GB, free: 15.51 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.723e-05/0.199, allocations: 11.44 kB / 0.6467 GB, free: 15.5 MB / 458.7 MB Notification: Performance of SimCode: time 3.21e-07/0.199, allocations: 0 / 0.6467 GB, free: 15.5 MB / 458.7 MB Notification: Performance of Templates: time 0.003834/0.2029, allocations: 0.6786 MB / 0.6474 GB, free: 14.82 MB / 458.7 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)