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.0009647/0.0009647, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008763/0.0008763, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9077/0.9077, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7281/0.7281, allocations: 154.6 MB / 413.7 MB, free: 0.8281 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.6182 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.619e-05/2.771e-05, allocations: 2.281 kB / 0.6182 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001339/0.001367, allocations: 0.6007 MB / 0.6187 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002602/0.001627, allocations: 47.86 kB / 0.6188 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.962e-05/0.001647, allocations: 0 / 0.6188 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.963e-05/0.001676, allocations: 3.938 kB / 0.6188 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.915e-06/0.001684, allocations: 0 / 0.6188 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003224/0.002007, allocations: 15.92 kB / 0.6188 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.106e-05/0.002088, allocations: 31.97 kB / 0.6188 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.182e-05/0.002129, allocations: 3.984 kB / 0.6188 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.676e-05/0.002166, allocations: 15.98 kB / 0.6189 GB, free: 12.87 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.618e-05/0.002192, allocations: 19.91 kB / 0.6189 GB, free: 12.85 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.002207, allocations: 4 kB / 0.6189 GB, free: 12.85 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.792e-05/0.002295, allocations: 15.98 kB / 0.6189 GB, free: 12.83 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.876e-05/0.002324, allocations: 11.98 kB / 0.6189 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.828e-05/0.002352, allocations: 15.92 kB / 0.6189 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.002465, allocations: 39.81 kB / 0.619 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.002467, allocations: 0 / 0.619 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.22e-07/0.002468, allocations: 0 / 0.619 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.002474, allocations: 4 kB / 0.619 GB, free: 12.76 MB / 0.5886 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.0002766/0.002751, allocations: 254.3 kB / 0.6192 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.002792, allocations: 8.031 kB / 0.6192 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.44e-05/0.002826, allocations: 38.75 kB / 0.6192 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.717e-05/0.002854, allocations: 8.891 kB / 0.6193 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.884e-05/0.002912, allocations: 109.8 kB / 0.6194 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.002925, allocations: 4.375 kB / 0.6194 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.002936, allocations: 8.359 kB / 0.6194 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.003058, allocations: 61.19 kB / 0.6194 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.074e-06/0.003065, allocations: 192 / 0.6194 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.003074, allocations: 4.375 kB / 0.6194 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.00308, allocations: 8.062 kB / 0.6194 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.981e-05/0.00318, allocations: 95.86 kB / 0.6195 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001403/0.00332, allocations: 144.7 kB / 0.6197 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.00344, allocations: 66.55 kB / 0.6197 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.615e-05/0.003476, allocations: 32.84 kB / 0.6198 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001796/0.003656, allocations: 15.98 kB / 0.6198 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.003678, allocations: 42.5 kB / 0.6198 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 1.382e-06/0.003679, allocations: 0 / 0.6198 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0002088/0.003888, allocations: 121.8 kB / 0.6199 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.003917, allocations: 55.34 kB / 0.62 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.127e-05/0.003948, allocations: 97.86 kB / 0.6201 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.003958, allocations: 25.7 kB / 0.6201 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.96e-05/0.004008, allocations: 80.14 kB / 0.6202 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.761e-05/0.004036, allocations: 23.8 kB / 0.6202 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.004072, allocations: 37.7 kB / 0.6202 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.792e-05/0.00415, allocations: 314.8 kB / 0.6205 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.108e-05/0.004181, allocations: 19.98 kB / 0.6206 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.717e-05/0.004209, allocations: 19.98 kB / 0.6206 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.497e-05/0.004283, allocations: 63.84 kB / 0.6206 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.004286, allocations: 0 / 0.6206 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001018/0.004387, allocations: 93.59 kB / 0.6207 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.004402, allocations: 4 kB / 0.6207 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.004409, allocations: 4 kB / 0.6207 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.004421, allocations: 0 / 0.6207 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.791e-05/0.004509, allocations: 23.92 kB / 0.6208 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.004515, allocations: 4 kB / 0.6208 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.737e-05/0.004532, allocations: 11.89 kB / 0.6208 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.004539, allocations: 4 kB / 0.6208 GB, free: 10.7 MB / 0.5886 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.0001199/0.004659, allocations: 126.8 kB / 0.6209 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.274e-06/0.004666, allocations: 0 / 0.6209 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002284/0.004895, allocations: 125.5 kB / 0.621 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.004898, allocations: 3.938 kB / 0.621 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.004903, allocations: 0 / 0.621 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.004906, allocations: 4 kB / 0.621 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.498e-05/0.004991, allocations: 144.7 kB / 0.6212 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.004992, allocations: 0 / 0.6212 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.457e-05/0.005036, allocations: 19.92 kB / 0.6212 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.005039, allocations: 4 kB / 0.6212 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.005047, allocations: 4 kB / 0.6212 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.00505, allocations: 7.938 kB / 0.6212 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.005051, allocations: 0 / 0.6212 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.005161, allocations: 121 kB / 0.6213 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.452e-06/0.005168, allocations: 11.88 kB / 0.6213 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.005179, allocations: 3.938 kB / 0.6213 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.755e-06/0.005187, allocations: 4 kB / 0.6213 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.28e-05/0.00522, allocations: 11.98 kB / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-06/0.005225, allocations: 7.984 kB / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.989e-05/0.005245, allocations: 75.28 kB / 0.6214 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005245, allocations: 3.938 kB / 0.6214 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001439/0.005389, allocations: 16 kB / 0.6214 GB, free: 9.941 MB / 0.5886 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.0003678/0.005757, allocations: 0.6578 MB / 0.6221 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001243/0.005881, allocations: 71.78 kB / 0.6222 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.005883, allocations: 4 kB / 0.6222 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.353e-05/0.005916, allocations: 35.97 kB / 0.6222 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001124/0.006029, allocations: 6.031 kB / 0.6222 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003431/0.006372, allocations: 178.5 kB / 0.6224 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.929e-05/0.006421, allocations: 63.34 kB / 0.6224 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.878e-05/0.00647, allocations: 35.95 kB / 0.6225 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.542e-05/0.006505, allocations: 20.5 kB / 0.6225 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of SimCode: time 7.51e-07/0.006506, allocations: 4 kB / 0.6225 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01815/0.02466, allocations: 2.202 MB / 0.6246 GB, free: 6.727 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.901/6.926, allocations: 4.922 kB / 0.6246 GB, free: 6.723 MB / 0.5886 GB " [Timeout remaining time 653] (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: 9.797203668393195] Failed to read output from testmodel.py, exit status != 0: 7.0112429624423385 7.020709245 7.016499882 Calling exit ...