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.001817/0.001817, allocations: 104 kB / 16.45 MB, free: 6.449 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.002041/0.002041, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.491/1.491, allocations: 230.6 MB / 252.8 MB, free: 8.941 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.947/0.947, allocations: 134 MB / 442.8 MB, free: 11.3 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.003241/0.003241, allocations: 65.81 kB / 0.6135 GB, free: 8.676 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2147, allocations: 85.84 MB / 0.6973 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001642/0.2164, allocations: 0.582 MB / 0.6979 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.000261/0.2166, allocations: 71.7 kB / 0.6979 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.939e-05/0.2167, allocations: 0 / 0.6979 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.905e-05/0.2167, allocations: 0 / 0.6979 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.751e-06/0.2167, allocations: 0 / 0.6979 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002691/0.217, allocations: 15.92 kB / 0.698 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.126e-05/0.2171, allocations: 35.95 kB / 0.698 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.758e-05/0.2171, allocations: 0 / 0.698 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.285e-05/0.2171, allocations: 12 kB / 0.698 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.885e-05/0.2171, allocations: 7.984 kB / 0.698 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.2172, allocations: 7.984 kB / 0.698 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.126e-05/0.2172, allocations: 15.98 kB / 0.698 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.007e-05/0.2173, allocations: 12 kB / 0.698 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.507e-05/0.2173, allocations: 19.88 kB / 0.6981 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.2174, allocations: 40.09 kB / 0.6981 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2174, allocations: 0 / 0.6981 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2174, allocations: 0 / 0.6981 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.238e-06/0.2174, allocations: 4 kB / 0.6981 GB, free: 2.09 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.0003639/0.2178, allocations: 335.4 kB / 0.6984 GB, free: 1.711 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.2178, allocations: 9.109 kB / 0.6984 GB, free: 1.703 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.617e-05/0.2179, allocations: 38.75 kB / 0.6985 GB, free: 1.656 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.435e-05/0.2179, allocations: 4.938 kB / 0.6985 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.218, allocations: 164.4 kB / 0.6986 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.218, allocations: 4.375 kB / 0.6986 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.218, allocations: 8.375 kB / 0.6986 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.2182, allocations: 62.17 kB / 0.6987 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.2182, allocations: 3.938 kB / 0.6987 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.2182, allocations: 0 / 0.6987 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.2182, allocations: 4 kB / 0.6987 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.2184, allocations: 103.8 kB / 0.6988 GB, free: 1.266 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001949/0.2186, allocations: 185.5 kB / 0.699 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.2187, allocations: 71.88 kB / 0.6991 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.956e-05/0.2187, allocations: 32.78 kB / 0.6991 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003387/0.2191, allocations: 401.5 kB / 0.6995 GB, free: 448 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.2191, allocations: 30.56 kB / 0.6995 GB, free: 408 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.2191, allocations: 0 / 0.6995 GB, free: 408 kB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.0002522/0.2194, allocations: 118.9 kB / 0.6996 GB, free: 284 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.2194, allocations: 59.41 kB / 0.6997 GB, free: 212 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.037e-05/0.2194, allocations: 97.81 kB / 0.6998 GB, free: 104 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.851e-05/0.2195, allocations: 25.7 kB / 0.6998 GB, free: 72 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.079e-05/0.2195, allocations: 84.14 kB / 0.6999 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/0.2195, allocations: 15.86 kB / 0.6999 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.854e-05/0.2196, allocations: 33.7 kB / 0.6999 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.2197, allocations: 318.8 kB / 0.7002 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.377e-05/0.2198, allocations: 23.92 kB / 0.7002 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.781e-05/0.2198, allocations: 23.98 kB / 0.7003 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.2199, allocations: 58.92 kB / 0.7003 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2199, allocations: 0 / 0.7003 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001446/0.22, allocations: 101.6 kB / 0.7004 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.2201, allocations: 9.812 kB / 0.7004 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.2201, allocations: 0 / 0.7004 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.2201, allocations: 0 / 0.7004 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.2202, allocations: 23.92 kB / 0.7004 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.2202, allocations: 0 / 0.7004 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.587e-05/0.2202, allocations: 11.89 kB / 0.7005 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.2202, allocations: 4 kB / 0.7005 GB, free: 15.35 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.0001258/0.2203, allocations: 125.8 kB / 0.7006 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.463e-05/0.2204, allocations: 7.938 kB / 0.7006 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002242/0.2206, allocations: 123.8 kB / 0.7007 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.2206, allocations: 4 kB / 0.7007 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.2206, allocations: 3.984 kB / 0.7007 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.2206, allocations: 0 / 0.7007 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.2207, allocations: 177.6 kB / 0.7009 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2207, allocations: 4 kB / 0.7009 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.961e-05/0.2208, allocations: 19.98 kB / 0.7009 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.2208, allocations: 3.938 kB / 0.7009 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.2208, allocations: 4 kB / 0.7009 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2208, allocations: 0 / 0.7009 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2208, allocations: 0 / 0.7009 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.221, allocations: 121 kB / 0.701 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.389e-05/0.2211, allocations: 92.94 kB / 0.7011 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.2211, allocations: 8 kB / 0.7011 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.448e-05/0.2211, allocations: 0 / 0.7011 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.2211, allocations: 11.92 kB / 0.7011 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.2211, allocations: 8 kB / 0.7011 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.134e-05/0.2212, allocations: 75.28 kB / 0.7012 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.2212, allocations: 0 / 0.7012 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001912/0.2213, allocations: 12 kB / 0.7012 GB, free: 14.46 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.0005134/0.2219, allocations: 0.6631 MB / 0.7019 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001468/0.222, allocations: 71.28 kB / 0.7019 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.222, allocations: 0 / 0.7019 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.65e-05/0.2221, allocations: 31.92 kB / 0.702 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001284/0.2222, allocations: 4 kB / 0.702 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003706/0.2226, allocations: 178.6 kB / 0.7021 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.2229, allocations: 0.6883 MB / 0.7028 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.28e-05/0.223, allocations: 35.95 kB / 0.7029 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.66e-05/0.223, allocations: 19.42 kB / 0.7029 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of SimCode: time 2.8e-07/0.223, allocations: 0 / 0.7029 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02928/0.2523, allocations: 1.564 MB / 0.7044 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.779/8.031, allocations: 3.984 kB / 0.7044 GB, free: 11.23 MB / 0.5294 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.787558818003163] Failed to read output from testmodel.py, exit status != 0: 8.102450489008334 8.126683434 7.904687814 Calling exit ...