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: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 195.9 kB / 16.53 MB, free: 6.664 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.364/1.364, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9461/0.9461, allocations: 135.1 MB / 425.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002278/0.002278, allocations: 64.09 kB / 0.5054 GB, free: 5.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1881, allocations: 80.94 MB / 0.5845 GB, free: 4.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.002132/0.1903, allocations: 0.5673 MB / 0.585 GB, free: 3.898 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002854/0.1906, allocations: 55.78 kB / 0.5851 GB, free: 3.844 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.871e-05/0.1907, allocations: 0 / 0.5851 GB, free: 3.844 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.679e-05/0.1907, allocations: 4 kB / 0.5851 GB, free: 3.84 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.009e-06/0.1907, allocations: 4 kB / 0.5851 GB, free: 3.836 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.191, allocations: 23.92 kB / 0.5851 GB, free: 3.812 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.892e-05/0.1911, allocations: 27.97 kB / 0.5851 GB, free: 3.785 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.833e-05/0.1912, allocations: 8 kB / 0.5852 GB, free: 3.777 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.317e-05/0.1912, allocations: 11.92 kB / 0.5852 GB, free: 3.766 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.293e-05/0.1913, allocations: 15.92 kB / 0.5852 GB, free: 3.75 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.1913, allocations: 4 kB / 0.5852 GB, free: 3.746 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.617e-05/0.1914, allocations: 15.98 kB / 0.5852 GB, free: 3.73 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.88e-05/0.1914, allocations: 7.984 kB / 0.5852 GB, free: 3.723 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.773e-05/0.1914, allocations: 11.94 kB / 0.5852 GB, free: 3.711 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000101/0.1915, allocations: 31.89 kB / 0.5852 GB, free: 3.68 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1916, allocations: 4 kB / 0.5853 GB, free: 3.676 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1916, allocations: 4 kB / 0.5853 GB, free: 3.672 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1916, allocations: 0 / 0.5853 GB, free: 3.672 MB / 494.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.0003341/0.1919, allocations: 339.5 kB / 0.5856 GB, free: 3.289 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.192, allocations: 8.031 kB / 0.5856 GB, free: 3.281 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.456e-05/0.192, allocations: 38.75 kB / 0.5856 GB, free: 3.234 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.736e-05/0.192, allocations: 0.9375 kB / 0.5856 GB, free: 3.234 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.168e-05/0.1921, allocations: 168.6 kB / 0.5858 GB, free: 3.031 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.1922, allocations: 12.36 kB / 0.5858 GB, free: 3.02 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.1922, allocations: 8.375 kB / 0.5858 GB, free: 3.012 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.1923, allocations: 66.11 kB / 0.5859 GB, free: 2.941 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.1923, allocations: 3.938 kB / 0.5859 GB, free: 2.938 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.1924, allocations: 0 / 0.5859 GB, free: 2.938 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.1924, allocations: 4 kB / 0.5859 GB, free: 2.934 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001423/0.1925, allocations: 99.86 kB / 0.586 GB, free: 2.836 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001737/0.1927, allocations: 165.7 kB / 0.5861 GB, free: 2.625 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.1928, allocations: 74.53 kB / 0.5862 GB, free: 2.543 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.907e-05/0.1929, allocations: 44.39 kB / 0.5862 GB, free: 2.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003352/0.1932, allocations: 401.5 kB / 0.5866 GB, free: 2.016 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.1933, allocations: 34.56 kB / 0.5867 GB, free: 1.973 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.1933, allocations: 4 kB / 0.5867 GB, free: 1.969 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002478/0.1935, allocations: 117.8 kB / 0.5868 GB, free: 1.848 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.1936, allocations: 55.41 kB / 0.5868 GB, free: 1.781 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.678e-05/0.1936, allocations: 93.86 kB / 0.5869 GB, free: 1.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.1936, allocations: 25.7 kB / 0.5869 GB, free: 1.648 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.548e-05/0.1937, allocations: 84.14 kB / 0.587 GB, free: 1.562 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.1937, allocations: 23.66 kB / 0.587 GB, free: 1.539 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.313e-05/0.1938, allocations: 33.7 kB / 0.5871 GB, free: 1.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.1939, allocations: 318.8 kB / 0.5874 GB, free: 1.18 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.701e-05/0.1939, allocations: 19.92 kB / 0.5874 GB, free: 1.16 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.585e-05/0.194, allocations: 23.98 kB / 0.5874 GB, free: 1.137 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.983e-05/0.194, allocations: 60.78 kB / 0.5875 GB, free: 1.074 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1941, allocations: 3.938 kB / 0.5875 GB, free: 1.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001383/0.1942, allocations: 89.66 kB / 0.5876 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1942, allocations: 11.94 kB / 0.5876 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1942, allocations: 4 kB / 0.5876 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.1943, allocations: 0 / 0.5876 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.1944, allocations: 27.92 kB / 0.5876 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.1944, allocations: 0 / 0.5876 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.16e-05/0.1944, allocations: 3.906 kB / 0.5876 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.1944, allocations: 7.938 kB / 0.5876 GB, free: 0.9219 MB / 494.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 0.0001368/0.1946, allocations: 125.8 kB / 0.5877 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.354e-05/0.1946, allocations: 3.938 kB / 0.5877 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002152/0.1948, allocations: 131.8 kB / 0.5879 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1948, allocations: 0 / 0.5879 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-06/0.1948, allocations: 4 kB / 0.5879 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.1948, allocations: 0 / 0.5879 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.195, allocations: 173.6 kB / 0.588 GB, free: 436 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.195, allocations: 0 / 0.588 GB, free: 436 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.558e-05/0.195, allocations: 16 kB / 0.5881 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.195, allocations: 15.92 kB / 0.5881 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/0.1951, allocations: 0 / 0.5881 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1951, allocations: 0 / 0.5881 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1951, allocations: 0 / 0.5881 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001546/0.1952, allocations: 128.9 kB / 0.5882 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.197e-05/0.1953, allocations: 84.98 kB / 0.5883 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.1953, allocations: 4 kB / 0.5883 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.704e-05/0.1953, allocations: 4 kB / 0.5883 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.944e-05/0.1953, allocations: 11.98 kB / 0.5883 GB, free: 132 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.1954, allocations: 0 / 0.5883 GB, free: 132 kB / 494.1 MB Notification: Performance of sorting global known variables: time 2.99e-05/0.1954, allocations: 75.28 kB / 0.5884 GB, free: 56 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1954, allocations: 4 kB / 0.5884 GB, free: 52 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001949/0.1956, allocations: 12 kB / 0.5884 GB, free: 40 kB / 494.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.0005256/0.1961, allocations: 0.6709 MB / 0.589 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001616/0.1963, allocations: 75.56 kB / 0.5891 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1963, allocations: 0 / 0.5891 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.287e-05/0.1964, allocations: 31.92 kB / 0.5891 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.1965, allocations: 8 kB / 0.5891 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004228/0.1969, allocations: 190.4 kB / 0.5893 GB, free: 15 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.1972, allocations: 0.6846 MB / 0.59 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.067e-05/0.1973, allocations: 35.89 kB / 0.59 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.742e-05/0.1974, allocations: 23.42 kB / 0.5901 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1974, allocations: 0 / 0.5901 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0172/0.2146, allocations: 1.523 MB / 0.5915 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.957/7.171, allocations: 11.88 kB / 0.5916 GB, free: 12.79 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)