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.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.001376/0.001376, allocations: 111.1 kB / 16.41 MB, free: 6.004 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.001578/0.001578, allocations: 191.7 kB / 19.36 MB, free: 3.598 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.471/1.471, allocations: 222.9 MB / 245.1 MB, free: 15 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.8693/0.8693, allocations: 132.2 MB / 429.4 MB, free: 6.078 MB / 334.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.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: "" <> 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: Performance of FrontEnd - loaded program: time 0.002731/0.002731, allocations: 70.67 kB / 0.5894 GB, free: 23.99 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.215, allocations: 80.2 MB / 0.6677 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.002263/0.2173, allocations: 0.5733 MB / 0.6683 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003548/0.2177, allocations: 67.77 kB / 0.6684 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.181e-05/0.2178, allocations: 0 / 0.6684 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.5e-05/0.2178, allocations: 3.938 kB / 0.6684 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.304e-06/0.2178, allocations: 0 / 0.6684 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000354/0.2182, allocations: 11.98 kB / 0.6684 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.2183, allocations: 35.91 kB / 0.6684 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.755e-05/0.2184, allocations: 7.984 kB / 0.6684 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.373e-05/0.2184, allocations: 4 kB / 0.6684 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.905e-05/0.2185, allocations: 15.98 kB / 0.6684 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.2185, allocations: 0 / 0.6684 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.957e-05/0.2186, allocations: 15.98 kB / 0.6685 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.956e-05/0.2187, allocations: 19.98 kB / 0.6685 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.022e-05/0.2187, allocations: 15.88 kB / 0.6685 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.2188, allocations: 36.11 kB / 0.6685 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2189, allocations: 0 / 0.6685 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of FrontEnd: time 5.34e-06/0.2189, allocations: 0 / 0.6685 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.2189, allocations: 3.938 kB / 0.6685 GB, free: 9.016 MB / 0.4981 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.0004722/0.2194, allocations: 339.8 kB / 0.6689 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.2194, allocations: 12.03 kB / 0.6689 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.954e-05/0.2195, allocations: 34.75 kB / 0.6689 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.737e-05/0.2195, allocations: 12.89 kB / 0.6689 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.2197, allocations: 160.4 kB / 0.6691 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.2197, allocations: 384 / 0.6691 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.2197, allocations: 8.359 kB / 0.6691 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.2199, allocations: 58.23 kB / 0.6691 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.2199, allocations: 3.938 kB / 0.6691 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.2199, allocations: 8 kB / 0.6691 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.22, allocations: 0 / 0.6691 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002249/0.2202, allocations: 107.8 kB / 0.6692 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002398/0.2204, allocations: 177.5 kB / 0.6694 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.2206, allocations: 82.47 kB / 0.6695 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.656e-05/0.2207, allocations: 24.84 kB / 0.6695 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004544/0.2212, allocations: 401.5 kB / 0.6699 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/0.2212, allocations: 38.56 kB / 0.6699 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.443e-06/0.2212, allocations: 0 / 0.6699 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0003483/0.2216, allocations: 117.8 kB / 0.67 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/0.2216, allocations: 59.39 kB / 0.6701 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.303e-05/0.2217, allocations: 97.8 kB / 0.6702 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.2218, allocations: 29.7 kB / 0.6702 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.196e-05/0.2218, allocations: 84.14 kB / 0.6703 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.534e-05/0.2218, allocations: 15.86 kB / 0.6703 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.475e-05/0.2219, allocations: 29.7 kB / 0.6703 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.2221, allocations: 318.8 kB / 0.6707 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.86e-05/0.2222, allocations: 19.98 kB / 0.6707 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.649e-05/0.2222, allocations: 26.92 kB / 0.6707 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.2224, allocations: 64.78 kB / 0.6708 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2224, allocations: 0 / 0.6708 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002043/0.2226, allocations: 97.56 kB / 0.6709 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.2226, allocations: 11.92 kB / 0.6709 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2226, allocations: 0 / 0.6709 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.2227, allocations: 0 / 0.6709 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.2228, allocations: 16 kB / 0.6709 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.2228, allocations: 0 / 0.6709 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.17e-05/0.2229, allocations: 7.938 kB / 0.6709 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.2229, allocations: 7.984 kB / 0.6709 GB, free: 6.27 MB / 0.4981 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.0001751/0.2231, allocations: 125.8 kB / 0.671 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.599e-05/0.2231, allocations: 11.89 kB / 0.671 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003012/0.2234, allocations: 121.5 kB / 0.6711 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.2234, allocations: 0 / 0.6711 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2234, allocations: 4 kB / 0.6711 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2234, allocations: 0 / 0.6711 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/0.2236, allocations: 177.6 kB / 0.6713 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.2236, allocations: 0 / 0.6713 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.755e-05/0.2238, allocations: 23.94 kB / 0.6713 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.2238, allocations: 3.938 kB / 0.6713 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.2238, allocations: 3.984 kB / 0.6713 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.77e-06/0.2238, allocations: 4 kB / 0.6713 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2238, allocations: 0 / 0.6713 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002196/0.224, allocations: 112 kB / 0.6715 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.412e-05/0.2241, allocations: 100.9 kB / 0.6716 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.2241, allocations: 7.938 kB / 0.6716 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.095e-05/0.2242, allocations: 4 kB / 0.6716 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/0.2242, allocations: 7.938 kB / 0.6716 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.2242, allocations: 11.98 kB / 0.6716 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.806e-05/0.2243, allocations: 75.28 kB / 0.6717 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2243, allocations: 0 / 0.6717 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003418/0.2246, allocations: 12 kB / 0.6717 GB, free: 5.367 MB / 0.4981 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.0006711/0.2253, allocations: 0.667 MB / 0.6723 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002107/0.2255, allocations: 71.83 kB / 0.6724 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2256, allocations: 0 / 0.6724 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.677e-05/0.2256, allocations: 31.98 kB / 0.6724 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.2259, allocations: 7.938 kB / 0.6724 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005033/0.2264, allocations: 176.9 kB / 0.6726 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.2267, allocations: 0.6845 MB / 0.6733 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001116/0.2269, allocations: 35.95 kB / 0.6733 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.283e-05/0.2269, allocations: 15.44 kB / 0.6733 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.2269, allocations: 0 / 0.6733 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02414/0.2511, allocations: 1.544 MB / 0.6748 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.59/7.842, allocations: 17.52 kB / 0.6748 GB, free: 2.148 MB / 0.4981 GB " [Timeout remaining time 652] (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: 11.675627699005418] Failed to read output from testmodel.py, exit status != 0: 7.911057067103684 7.926217854 7.704620249 Calling exit ...