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.001268/0.001268, 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.001429/0.001429, allocations: 218.6 kB / 22.25 MB, free: 5.121 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.449/1.449, allocations: 230.6 MB / 256 MB, free: 7.969 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.8951/0.8951, allocations: 134 MB / 446.4 MB, free: 10.2 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.001937/0.001937, allocations: 63.61 kB / 0.6186 GB, free: 7.312 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1787, allocations: 85.91 MB / 0.7025 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001911/0.1807, allocations: 0.576 MB / 0.703 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003067/0.181, allocations: 60.19 kB / 0.7031 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.06e-05/0.181, allocations: 0 / 0.7031 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.387e-05/0.181, allocations: 0 / 0.7031 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.492e-06/0.181, allocations: 7.938 kB / 0.7031 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003196/0.1813, allocations: 15.97 kB / 0.7031 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.468e-05/0.1814, allocations: 23.98 kB / 0.7031 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.683e-05/0.1815, allocations: 8 kB / 0.7032 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.54e-05/0.1815, allocations: 19.97 kB / 0.7032 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.859e-05/0.1815, allocations: 8 kB / 0.7032 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.1816, allocations: 4 kB / 0.7032 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.708e-05/0.1817, allocations: 23.91 kB / 0.7032 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.115e-05/0.1817, allocations: 15.92 kB / 0.7032 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.39e-05/0.1817, allocations: 15.94 kB / 0.7032 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.1818, allocations: 40.09 kB / 0.7033 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.1818, allocations: 0 / 0.7033 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.223e-06/0.1818, allocations: 0 / 0.7033 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.1818, allocations: 3.938 kB / 0.7033 GB, free: 0.6602 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.0003875/0.1822, allocations: 266.3 kB / 0.7035 GB, free: 376 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.1823, allocations: 12.03 kB / 0.7035 GB, free: 364 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.773e-05/0.1823, allocations: 30.75 kB / 0.7036 GB, free: 324 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.881e-05/0.1823, allocations: 4.938 kB / 0.7036 GB, free: 320 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.1824, allocations: 110.5 kB / 0.7037 GB, free: 184 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.1825, allocations: 4.375 kB / 0.7037 GB, free: 180 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.1825, allocations: 4.375 kB / 0.7037 GB, free: 176 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.1826, allocations: 62.83 kB / 0.7038 GB, free: 108 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.1827, allocations: 7.938 kB / 0.7038 GB, free: 100 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.1827, allocations: 8 kB / 0.7038 GB, free: 92 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.1827, allocations: 0 / 0.7038 GB, free: 92 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001764/0.1828, allocations: 107.8 kB / 0.7039 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001841/0.183, allocations: 148.6 kB / 0.704 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.1832, allocations: 64.95 kB / 0.7041 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.757e-05/0.1832, allocations: 28.84 kB / 0.7041 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002415/0.1835, allocations: 23.97 kB / 0.7041 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.1835, allocations: 34.56 kB / 0.7042 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.1835, allocations: 4 kB / 0.7042 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.0002904/0.1838, allocations: 117.8 kB / 0.7043 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.1838, allocations: 51.41 kB / 0.7043 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.307e-05/0.1839, allocations: 101.8 kB / 0.7044 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.1839, allocations: 25.7 kB / 0.7044 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.684e-05/0.184, allocations: 80.14 kB / 0.7045 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.184, allocations: 19.86 kB / 0.7045 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.675e-05/0.1841, allocations: 33.7 kB / 0.7046 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1842, allocations: 322.8 kB / 0.7049 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.063e-05/0.1842, allocations: 19.98 kB / 0.7049 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.285e-05/0.1843, allocations: 15.98 kB / 0.7049 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001097/0.1844, allocations: 71.98 kB / 0.705 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.1844, allocations: 0 / 0.705 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001355/0.1845, allocations: 85.67 kB / 0.7051 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.1845, allocations: 11.94 kB / 0.7051 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1845, allocations: 3.938 kB / 0.7051 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.1846, allocations: 3.984 kB / 0.7051 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.1847, allocations: 20 kB / 0.7051 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.1847, allocations: 0 / 0.7051 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.337e-05/0.1847, allocations: 7.891 kB / 0.7051 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.1847, allocations: 7.984 kB / 0.7051 GB, free: 14.59 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.0001581/0.1849, allocations: 121.8 kB / 0.7052 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.42e-05/0.1849, allocations: 7.938 kB / 0.7052 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002549/0.1851, allocations: 121.5 kB / 0.7054 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.1851, allocations: 7.984 kB / 0.7054 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1851, allocations: 0 / 0.7054 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1851, allocations: 0 / 0.7054 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/0.1853, allocations: 148.7 kB / 0.7055 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1853, allocations: 0 / 0.7055 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.217e-05/0.1854, allocations: 23.92 kB / 0.7055 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1854, allocations: 3.938 kB / 0.7055 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.1854, allocations: 0 / 0.7055 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1854, allocations: 0 / 0.7055 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.1854, allocations: 4 kB / 0.7055 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.1855, allocations: 121 kB / 0.7057 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.188e-05/0.1856, allocations: 11.83 kB / 0.7057 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.1856, allocations: 8 kB / 0.7057 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.429e-05/0.1856, allocations: 0 / 0.7057 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.1856, allocations: 11.97 kB / 0.7057 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.1856, allocations: 8 kB / 0.7057 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.364e-05/0.1857, allocations: 75.28 kB / 0.7058 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1857, allocations: 0 / 0.7058 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001951/0.1859, allocations: 12 kB / 0.7058 GB, free: 13.84 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.000566/0.1864, allocations: 0.6693 MB / 0.7064 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001563/0.1866, allocations: 63.89 kB / 0.7065 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1866, allocations: 4 kB / 0.7065 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.023e-05/0.1866, allocations: 31.98 kB / 0.7065 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001312/0.1868, allocations: 3.938 kB / 0.7065 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004259/0.1872, allocations: 174.6 kB / 0.7067 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.1876, allocations: 0.696 MB / 0.7074 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.769e-05/0.1876, allocations: 39.89 kB / 0.7074 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.194e-05/0.1877, allocations: 15.44 kB / 0.7074 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.1877, allocations: 8 kB / 0.7074 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02935/0.217, allocations: 1.702 MB / 0.7091 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/10.78, allocations: 8.828 kB / 0.7091 GB, free: 10.48 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial_res.csv --start-time 0 --stop-time 13.9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00556 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.546853997999278] Failed to read output from testmodel.py, exit status != 0: 10.883720828998776 10.910716913 10.724097888 Calling exit ...