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.001764/0.001764, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002739/0.002739, allocations: 209.7 kB / 22.24 MB, free: 5.262 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.536/1.536, allocations: 230.6 MB / 256 MB, free: 7.789 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 1.021/1.021, allocations: 134 MB / 446.4 MB, free: 9.926 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.001982/0.001982, allocations: 71.78 kB / 0.6185 GB, free: 6.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1801, allocations: 85.91 MB / 0.7024 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001921/0.182, allocations: 0.5682 MB / 0.703 GB, free: 436 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003027/0.1823, allocations: 60.2 kB / 0.703 GB, free: 376 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.419e-05/0.1823, allocations: 0 / 0.703 GB, free: 376 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.381e-05/0.1824, allocations: 0 / 0.703 GB, free: 376 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.382e-06/0.1824, allocations: 4 kB / 0.703 GB, free: 372 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003039/0.1827, allocations: 15.92 kB / 0.7031 GB, free: 356 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.719e-05/0.1828, allocations: 39.89 kB / 0.7031 GB, free: 316 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.295e-05/0.1828, allocations: 4 kB / 0.7031 GB, free: 312 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.979e-05/0.1828, allocations: 8 kB / 0.7031 GB, free: 304 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.271e-05/0.1829, allocations: 15.97 kB / 0.7031 GB, free: 288 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.1829, allocations: 4 kB / 0.7031 GB, free: 284 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.156e-05/0.183, allocations: 19.98 kB / 0.7031 GB, free: 264 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.126e-05/0.183, allocations: 15.97 kB / 0.7032 GB, free: 248 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.216e-05/0.183, allocations: 15.94 kB / 0.7032 GB, free: 232 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.1831, allocations: 36.11 kB / 0.7032 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1832, allocations: 0 / 0.7032 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.954e-06/0.1832, allocations: 0 / 0.7032 GB, free: 196 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.1832, allocations: 0 / 0.7032 GB, free: 196 kB / 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.0003508/0.1835, allocations: 262.3 kB / 0.7035 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.1835, allocations: 19.91 kB / 0.7035 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.715e-05/0.1836, allocations: 34.75 kB / 0.7035 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.898e-05/0.1836, allocations: 4.938 kB / 0.7035 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.446e-05/0.1837, allocations: 110.5 kB / 0.7036 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.1837, allocations: 12.31 kB / 0.7036 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.1837, allocations: 4.375 kB / 0.7036 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.1839, allocations: 62.22 kB / 0.7037 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.1839, allocations: 3.938 kB / 0.7037 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.1839, allocations: 0 / 0.7037 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.1839, allocations: 4 kB / 0.7037 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.1841, allocations: 95.81 kB / 0.7038 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001991/0.1843, allocations: 148.6 kB / 0.7039 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.1844, allocations: 66.55 kB / 0.704 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.682e-05/0.1844, allocations: 24.84 kB / 0.704 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001752/0.1846, allocations: 23.98 kB / 0.704 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.1846, allocations: 34.89 kB / 0.7041 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/0.1846, allocations: 0 / 0.7041 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.0002575/0.1849, allocations: 117.5 kB / 0.7042 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.1849, allocations: 55.41 kB / 0.7042 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.705e-05/0.185, allocations: 101.8 kB / 0.7043 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.185, allocations: 25.7 kB / 0.7044 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.411e-05/0.185, allocations: 84.14 kB / 0.7044 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.32e-05/0.1851, allocations: 19.86 kB / 0.7045 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.534e-05/0.1851, allocations: 29.7 kB / 0.7045 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.1853, allocations: 318.8 kB / 0.7048 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.226e-05/0.1853, allocations: 19.98 kB / 0.7048 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.76e-05/0.1853, allocations: 27.64 kB / 0.7048 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.1854, allocations: 60.83 kB / 0.7049 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.1854, allocations: 3.938 kB / 0.7049 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001396/0.1856, allocations: 85.67 kB / 0.705 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.1856, allocations: 7.938 kB / 0.705 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1856, allocations: 0 / 0.705 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.1856, allocations: 0 / 0.705 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.1857, allocations: 23.92 kB / 0.705 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1857, allocations: 0 / 0.705 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.55e-05/0.1858, allocations: 19.89 kB / 0.705 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.1858, allocations: 3.984 kB / 0.705 GB, free: 14.12 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.0001399/0.1859, allocations: 121.8 kB / 0.7052 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.544e-05/0.1859, allocations: 7.938 kB / 0.7052 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002201/0.1861, allocations: 117.5 kB / 0.7053 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.1861, allocations: 7.984 kB / 0.7053 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.1862, allocations: 0 / 0.7053 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1862, allocations: 0 / 0.7053 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.1863, allocations: 148.6 kB / 0.7054 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1863, allocations: 4 kB / 0.7054 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.205e-05/0.1864, allocations: 23.92 kB / 0.7054 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1864, allocations: 3.938 kB / 0.7055 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.1864, allocations: 8 kB / 0.7055 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1864, allocations: 0 / 0.7055 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1864, allocations: 0 / 0.7055 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.1865, allocations: 121 kB / 0.7056 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.438e-06/0.1866, allocations: 7.891 kB / 0.7056 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.1866, allocations: 3.984 kB / 0.7056 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.967e-05/0.1866, allocations: 8 kB / 0.7056 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.905e-05/0.1866, allocations: 7.984 kB / 0.7056 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.1866, allocations: 4 kB / 0.7056 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.406e-05/0.1867, allocations: 75.28 kB / 0.7057 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1867, allocations: 0 / 0.7057 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003194/0.187, allocations: 16 kB / 0.7057 GB, free: 13.37 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.0005508/0.1875, allocations: 0.6696 MB / 0.7063 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001376/0.1877, allocations: 59.91 kB / 0.7064 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1877, allocations: 0 / 0.7064 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.458e-05/0.1877, allocations: 35.92 kB / 0.7064 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.1879, allocations: 7.984 kB / 0.7064 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000395/0.1883, allocations: 178.5 kB / 0.7066 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.71e-05/0.1883, allocations: 78.19 kB / 0.7067 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.457e-05/0.1884, allocations: 35.97 kB / 0.7067 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.522e-05/0.1884, allocations: 19.42 kB / 0.7067 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of SimCode: time 2.8e-07/0.1884, allocations: 0 / 0.7067 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02863/0.2171, allocations: 2.066 MB / 0.7088 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.33, allocations: 4.062 kB / 0.7088 GB, free: 10.28 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: 15.286488907877356] Failed to read output from testmodel.py, exit status != 0: 11.438542189076543 11.462288171 11.274799686 Calling exit ...