Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 218.4 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.862/0.862, allocations: 134 MB / 447.2 MB, free: 10.25 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 68.62 kB / 0.6194 GB, free: 7.359 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1855, allocations: 85.91 MB / 0.7033 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001948/0.1874, allocations: 0.5815 MB / 0.7038 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003209/0.1877, allocations: 60.17 kB / 0.7039 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.442e-05/0.1878, allocations: 0 / 0.7039 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.531e-05/0.1878, allocations: 0 / 0.7039 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.981e-06/0.1878, allocations: 4 kB / 0.7039 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003439/0.1881, allocations: 19.92 kB / 0.7039 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.191e-05/0.1882, allocations: 31.97 kB / 0.7039 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.374e-05/0.1883, allocations: 4 kB / 0.7039 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.875e-05/0.1883, allocations: 19.92 kB / 0.704 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.122e-05/0.1884, allocations: 7.984 kB / 0.704 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.1884, allocations: 4 kB / 0.704 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.1885, allocations: 23.97 kB / 0.704 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.148e-05/0.1885, allocations: 7.938 kB / 0.704 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.181e-05/0.1886, allocations: 19.92 kB / 0.704 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.1887, allocations: 44.09 kB / 0.7041 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1887, allocations: 0 / 0.7041 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1887, allocations: 4 kB / 0.7041 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.1887, allocations: 0 / 0.7041 GB, free: 0.7109 MB / 0.5137 GB 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.0003459/0.189, allocations: 258.3 kB / 0.7043 GB, free: 436 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.1891, allocations: 8.031 kB / 0.7043 GB, free: 428 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.059e-05/0.1891, allocations: 4.188 kB / 0.7043 GB, free: 424 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.072e-05/0.1891, allocations: 34.75 kB / 0.7044 GB, free: 380 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.1892, allocations: 4.938 kB / 0.7044 GB, free: 376 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.219e-05/0.1893, allocations: 114.5 kB / 0.7045 GB, free: 236 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.1893, allocations: 8.375 kB / 0.7045 GB, free: 228 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.1893, allocations: 4.375 kB / 0.7045 GB, free: 224 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.1895, allocations: 61.98 kB / 0.7045 GB, free: 156 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1895, allocations: 3.938 kB / 0.7045 GB, free: 152 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.1895, allocations: 4 kB / 0.7045 GB, free: 148 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1895, allocations: 0 / 0.7045 GB, free: 148 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002104/0.1897, allocations: 103.9 kB / 0.7046 GB, free: 44 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001992/0.1899, allocations: 156.5 kB / 0.7048 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.19, allocations: 66.55 kB / 0.7049 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.922e-05/0.1901, allocations: 32.84 kB / 0.7049 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001745/0.1902, allocations: 11.98 kB / 0.7049 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.1903, allocations: 42.5 kB / 0.7049 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 1.042e-06/0.1903, allocations: 0 / 0.7049 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.0002604/0.1905, allocations: 113.9 kB / 0.705 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.1906, allocations: 51.41 kB / 0.7051 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.417e-05/0.1906, allocations: 105.8 kB / 0.7052 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.1906, allocations: 25.7 kB / 0.7052 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.665e-05/0.1907, allocations: 84.14 kB / 0.7053 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.1907, allocations: 23.84 kB / 0.7053 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.785e-05/0.1908, allocations: 29.7 kB / 0.7054 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.1909, allocations: 314.8 kB / 0.7057 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.194e-05/0.191, allocations: 19.98 kB / 0.7057 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.854e-05/0.191, allocations: 23.98 kB / 0.7057 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/0.1911, allocations: 76.2 kB / 0.7058 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1911, allocations: 0 / 0.7058 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001379/0.1912, allocations: 85.61 kB / 0.7058 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.1913, allocations: 11.94 kB / 0.7059 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1913, allocations: 0 / 0.7059 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.1913, allocations: 0 / 0.7059 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.1914, allocations: 23.98 kB / 0.7059 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.1914, allocations: 0 / 0.7059 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.425e-05/0.1914, allocations: 7.891 kB / 0.7059 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.1914, allocations: 7.984 kB / 0.7059 GB, free: 14.63 MB / 0.5294 GB 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.0001727/0.1916, allocations: 121.8 kB / 0.706 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.573e-05/0.1916, allocations: 7.938 kB / 0.706 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002412/0.1919, allocations: 125.4 kB / 0.7061 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.1919, allocations: 3.984 kB / 0.7061 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1919, allocations: 0 / 0.7061 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1919, allocations: 0 / 0.7061 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/0.192, allocations: 140.7 kB / 0.7063 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.192, allocations: 0 / 0.7063 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.796e-05/0.1921, allocations: 31.92 kB / 0.7063 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1921, allocations: 0 / 0.7063 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.1921, allocations: 0 / 0.7063 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1921, allocations: 0 / 0.7063 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.1921, allocations: 7.938 kB / 0.7063 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/0.1923, allocations: 121 kB / 0.7064 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.341e-05/0.1923, allocations: 11.89 kB / 0.7064 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.1923, allocations: 4 kB / 0.7064 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.755e-05/0.1923, allocations: 4 kB / 0.7065 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.1924, allocations: 11.97 kB / 0.7065 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.1924, allocations: 4 kB / 0.7065 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.05e-05/0.1924, allocations: 75.28 kB / 0.7065 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1924, allocations: 0 / 0.7065 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002001/0.1926, allocations: 12 kB / 0.7066 GB, free: 13.89 MB / 0.5294 GB 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.0005447/0.1932, allocations: 0.6699 MB / 0.7072 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001431/0.1933, allocations: 63.89 kB / 0.7073 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1933, allocations: 0 / 0.7073 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.287e-05/0.1934, allocations: 31.98 kB / 0.7073 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001324/0.1935, allocations: 0 / 0.7073 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004088/0.1939, allocations: 178.6 kB / 0.7075 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.1942, allocations: 0.6999 MB / 0.7081 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.507e-05/0.1943, allocations: 35.95 kB / 0.7082 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.551e-05/0.1943, allocations: 19.38 kB / 0.7082 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.1943, allocations: 3.938 kB / 0.7082 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02139/0.2157, allocations: 1.739 MB / 0.7099 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.1, allocations: 7.062 kB / 0.7099 GB, free: 10.5 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --stepSize=0.00556 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.756185595993884] Failed to read output from testmodel.py, exit status != 0: 11.254196804948151 11.272055223 11.080023887 Calling exit ...