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.001987/0.001987, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002119/0.002119, allocations: 215.7 kB / 22.26 MB, free: 5.125 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.506/1.506, allocations: 230.6 MB / 256 MB, free: 7.984 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.9/0.9, allocations: 134 MB / 446.4 MB, free: 10.21 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",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.001923/0.001923, allocations: 74.59 kB / 0.6186 GB, free: 7.164 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1823, allocations: 85.91 MB / 0.7025 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.002038/0.1844, allocations: 0.5742 MB / 0.703 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004119/0.1848, allocations: 64.14 kB / 0.7031 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.035e-05/0.1848, allocations: 4 kB / 0.7031 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.57e-05/0.1849, allocations: 0 / 0.7031 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.886e-06/0.1849, allocations: 0 / 0.7031 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004383/0.1853, allocations: 19.97 kB / 0.7031 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.1854, allocations: 31.97 kB / 0.7032 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.698e-05/0.1855, allocations: 4 kB / 0.7032 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.647e-05/0.1855, allocations: 15.92 kB / 0.7032 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.678e-05/0.1855, allocations: 11.98 kB / 0.7032 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.1856, allocations: 0 / 0.7032 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.1857, allocations: 23.97 kB / 0.7032 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.521e-05/0.1857, allocations: 15.92 kB / 0.7032 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.296e-05/0.1858, allocations: 15.94 kB / 0.7032 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.1859, allocations: 36.11 kB / 0.7033 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.1859, allocations: 0 / 0.7033 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.104e-06/0.1859, allocations: 0 / 0.7033 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.12e-05/0.1859, allocations: 4 kB / 0.7033 GB, free: 0.5156 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.000454/0.1864, allocations: 266.3 kB / 0.7035 GB, free: 228 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.965e-05/0.1864, allocations: 8.031 kB / 0.7035 GB, free: 220 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.271e-05/0.1865, allocations: 38.75 kB / 0.7036 GB, free: 172 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.419e-05/0.1865, allocations: 0.9375 kB / 0.7036 GB, free: 172 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.121e-05/0.1866, allocations: 106.5 kB / 0.7037 GB, free: 40 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.1867, allocations: 12.31 kB / 0.7037 GB, free: 28 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.1867, allocations: 8.375 kB / 0.7037 GB, free: 20 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.1869, allocations: 67.91 kB / 0.7038 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.1869, allocations: 3.938 kB / 0.7038 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.1869, allocations: 4 kB / 0.7038 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1869, allocations: 0 / 0.7038 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.1871, allocations: 107.8 kB / 0.7039 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003073/0.1874, allocations: 144.6 kB / 0.704 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.1875, allocations: 70.55 kB / 0.7041 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.888e-05/0.1875, allocations: 28.83 kB / 0.7041 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002189/0.1878, allocations: 27.91 kB / 0.7041 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.1878, allocations: 30.56 kB / 0.7042 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.1878, allocations: 0 / 0.7042 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.0002696/0.1881, allocations: 117.9 kB / 0.7043 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.1881, allocations: 51.41 kB / 0.7043 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.394e-05/0.1882, allocations: 101.8 kB / 0.7044 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1882, allocations: 29.7 kB / 0.7045 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.759e-05/0.1882, allocations: 80.14 kB / 0.7045 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.1883, allocations: 19.84 kB / 0.7045 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.375e-05/0.1884, allocations: 33.7 kB / 0.7046 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1885, allocations: 314.8 kB / 0.7049 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.498e-05/0.1886, allocations: 19.98 kB / 0.7049 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.96e-05/0.1886, allocations: 27.42 kB / 0.7049 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.1887, allocations: 56.83 kB / 0.705 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1887, allocations: 4 kB / 0.705 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001598/0.1889, allocations: 93.61 kB / 0.7051 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.1889, allocations: 7.938 kB / 0.7051 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1889, allocations: 0 / 0.7051 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.1889, allocations: 4 kB / 0.7051 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.189, allocations: 19.92 kB / 0.7051 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.189, allocations: 4 kB / 0.7051 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.526e-05/0.1891, allocations: 7.891 kB / 0.7051 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.1891, allocations: 8 kB / 0.7051 GB, free: 14.44 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.0001807/0.1893, allocations: 125.8 kB / 0.7052 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.324e-05/0.1893, allocations: 3.938 kB / 0.7052 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002224/0.1895, allocations: 117.5 kB / 0.7054 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.1895, allocations: 4 kB / 0.7054 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1895, allocations: 0 / 0.7054 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.1895, allocations: 3.938 kB / 0.7054 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.1897, allocations: 160.5 kB / 0.7055 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1897, allocations: 0 / 0.7055 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.133e-05/0.1897, allocations: 23.98 kB / 0.7055 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.1897, allocations: 3.938 kB / 0.7055 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.1897, allocations: 4 kB / 0.7055 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.1898, allocations: 3.984 kB / 0.7056 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1898, allocations: 0 / 0.7056 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001815/0.1899, allocations: 124.6 kB / 0.7057 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.587e-05/0.19, allocations: 11.89 kB / 0.7057 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.19, allocations: 0 / 0.7057 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.716e-05/0.19, allocations: 7.938 kB / 0.7057 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/0.19, allocations: 11.98 kB / 0.7057 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.19, allocations: 4 kB / 0.7057 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.041e-05/0.1901, allocations: 75.28 kB / 0.7058 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1901, allocations: 0 / 0.7058 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002053/0.1903, allocations: 15.98 kB / 0.7058 GB, free: 13.68 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.0006749/0.191, allocations: 0.6593 MB / 0.7064 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001695/0.1911, allocations: 63.84 kB / 0.7065 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1911, allocations: 0 / 0.7065 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.055e-05/0.1912, allocations: 35.91 kB / 0.7065 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001439/0.1913, allocations: 8 kB / 0.7065 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004782/0.1918, allocations: 170.6 kB / 0.7067 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/0.1922, allocations: 0.6993 MB / 0.7074 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.297e-05/0.1923, allocations: 39.95 kB / 0.7074 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.08e-05/0.1923, allocations: 15.44 kB / 0.7074 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of SimCode: time 1.553e-06/0.1923, allocations: 0 / 0.7074 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03239/0.2247, allocations: 1.699 MB / 0.7091 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/10.94, allocations: 6.219 kB / 0.7091 GB, free: 10.33 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 sys.exit(0), Time elapsed: 14.64488907600753] Failed to read output from testmodel.py, exit status != 0: 11.042880031978711 11.07515715 10.883657174 Calling exit ...