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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 111.2 kB / 17.13 MB, free: 6.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001946/0.001946, allocations: 194.7 kB / 20.08 MB, free: 3.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.05/1.05, allocations: 177.8 MB / 481.2 MB, free: 1.445 MB / 366.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-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: translateModel(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 62.16 kB / 0.6695 GB, free: 9.055 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.1815, allocations: 95.09 MB / 0.7624 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001772/0.1833, allocations: 0.5774 MB / 0.7629 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000311/0.1836, allocations: 59.72 kB / 0.763 GB, free: 13 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.829e-05/0.1836, allocations: 0 / 0.763 GB, free: 13 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.876e-05/0.1836, allocations: 0 / 0.763 GB, free: 13 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.362e-06/0.1836, allocations: 4 kB / 0.763 GB, free: 13 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002707/0.1839, allocations: 19.92 kB / 0.763 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.652e-05/0.184, allocations: 27.97 kB / 0.763 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.373e-05/0.184, allocations: 0 / 0.763 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.357e-05/0.1841, allocations: 15.98 kB / 0.763 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.045e-05/0.1841, allocations: 15.98 kB / 0.7631 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.1841, allocations: 4 kB / 0.7631 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.757e-05/0.1842, allocations: 15.98 kB / 0.7631 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.893e-05/0.1842, allocations: 11.92 kB / 0.7631 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.617e-05/0.1842, allocations: 15.92 kB / 0.7631 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001022/0.1843, allocations: 35.83 kB / 0.7631 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1844, allocations: 0 / 0.7631 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1844, allocations: 7.938 kB / 0.7631 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.411e-06/0.1844, allocations: 0 / 0.7631 GB, free: 12.83 MB / 0.5762 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.0003656/0.1847, allocations: 335.4 kB / 0.7635 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.1848, allocations: 12.03 kB / 0.7635 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.992e-05/0.1848, allocations: 4.938 kB / 0.7635 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.1849, allocations: 168.4 kB / 0.7636 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-06/0.1849, allocations: 384 / 0.7636 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.1849, allocations: 4.375 kB / 0.7636 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.1851, allocations: 70.11 kB / 0.7637 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.1851, allocations: 192 / 0.7637 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.1851, allocations: 7.938 kB / 0.7637 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1851, allocations: 0 / 0.7637 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00015/0.1852, allocations: 107.8 kB / 0.7638 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001857/0.1854, allocations: 181.5 kB / 0.764 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.1855, allocations: 66.48 kB / 0.7641 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.855e-05/0.1856, allocations: 29.25 kB / 0.7641 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003774/0.186, allocations: 401.5 kB / 0.7645 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.186, allocations: 38.55 kB / 0.7645 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.186, allocations: 4 kB / 0.7645 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0002362/0.1862, allocations: 113.9 kB / 0.7646 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.1863, allocations: 55.41 kB / 0.7647 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.271e-05/0.1864, allocations: 93.86 kB / 0.7648 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.1864, allocations: 25.7 kB / 0.7648 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.322e-05/0.1864, allocations: 80.14 kB / 0.7649 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.926e-05/0.1864, allocations: 19.86 kB / 0.7649 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.614e-05/0.1865, allocations: 33.7 kB / 0.7649 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1866, allocations: 318.8 kB / 0.7652 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.088e-05/0.1867, allocations: 27.92 kB / 0.7652 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.51e-05/0.1867, allocations: 19.98 kB / 0.7653 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.583e-05/0.1868, allocations: 56.84 kB / 0.7653 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1868, allocations: 0 / 0.7653 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001448/0.1869, allocations: 94.2 kB / 0.7654 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.187, allocations: 8 kB / 0.7654 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.187, allocations: 3.938 kB / 0.7654 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.187, allocations: 0 / 0.7654 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.982e-05/0.1871, allocations: 23.92 kB / 0.7654 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1871, allocations: 0 / 0.7654 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.593e-05/0.1871, allocations: 11.94 kB / 0.7655 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-06/0.1871, allocations: 4 kB / 0.7655 GB, free: 10.14 MB / 0.5762 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.0001302/0.1872, allocations: 129.8 kB / 0.7656 GB, free: 10 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.452e-05/0.1873, allocations: 7.953 kB / 0.7656 GB, free: 9.996 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002169/0.1875, allocations: 129.5 kB / 0.7657 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1875, allocations: 0 / 0.7657 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1875, allocations: 0 / 0.7657 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.1875, allocations: 0 / 0.7657 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.1876, allocations: 189.5 kB / 0.7659 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.1876, allocations: 0 / 0.7659 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.666e-05/0.1877, allocations: 19.98 kB / 0.7659 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.1877, allocations: 3.938 kB / 0.7659 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.1877, allocations: 4 kB / 0.7659 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1877, allocations: 4 kB / 0.7659 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.1877, allocations: 3.984 kB / 0.7659 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/0.1879, allocations: 125 kB / 0.766 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.917e-05/0.1879, allocations: 89 kB / 0.7661 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.1879, allocations: 7.984 kB / 0.7661 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.618e-05/0.188, allocations: 4 kB / 0.7661 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.135e-05/0.188, allocations: 7.984 kB / 0.7662 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.188, allocations: 4 kB / 0.7662 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.493e-05/0.188, allocations: 75.28 kB / 0.7662 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.188, allocations: 0 / 0.7662 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001902/0.1882, allocations: 12 kB / 0.7662 GB, free: 9.238 MB / 0.5762 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.0001879/0.1884, allocations: 115.2 kB / 0.7663 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000139/0.1886, allocations: 59.91 kB / 0.7664 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.1886, allocations: 0 / 0.7664 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.445e-05/0.1886, allocations: 27.98 kB / 0.7664 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001281/0.1887, allocations: 11.94 kB / 0.7664 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003372/0.1891, allocations: 182.3 kB / 0.7666 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.1894, allocations: 0.6846 MB / 0.7673 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.167e-05/0.1894, allocations: 23.42 kB / 0.7673 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.1894, allocations: 0 / 0.7673 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of Templates: time 0.002461/0.1919, allocations: 0.9467 MB / 0.7682 GB, free: 7.129 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.8257466290087905] Failed to read output from testmodel.py, exit status != 0: 0.19916072298656218 0.21233555 0.025298030000000003 Calling exit ...