Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 175 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7479/0.7479, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 221.3 MB / 400.4 MB, free: 5.797 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009485/0.0009486, allocations: 89.95 kB / 483.3 MB, free: 5.832 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.935e-05/3.937e-05, allocations: 4.312 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1496, allocations: 82.31 MB / 0.6405 GB, free: 7.746 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6412/0.7909, allocations: 111.6 MB / 0.7495 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002018/0.7912, allocations: 71.34 kB / 0.7496 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.00328/0.7945, allocations: 1.066 MB / 0.7506 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7945, allocations: 0 / 0.7506 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.7945, allocations: 0 / 0.7506 GB, free: 27.62 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003922/0.7949, allocations: 355.8 kB / 0.751 GB, free: 27.27 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.795, allocations: 7.812 kB / 0.751 GB, free: 27.27 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.972e-05/0.795, allocations: 37.59 kB / 0.751 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.579e-05/0.795, allocations: 3.875 kB / 0.751 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.7952, allocations: 167 kB / 0.7512 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.7952, allocations: 3.75 kB / 0.7512 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.7952, allocations: 0 / 0.7512 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.7953, allocations: 59.02 kB / 0.7512 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.7953, allocations: 6.734 kB / 0.7513 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.7954, allocations: 4 kB / 0.7513 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.7954, allocations: 0 / 0.7513 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.971e-05/0.7954, allocations: 21.72 kB / 0.7513 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003842/0.7958, allocations: 275.6 kB / 0.7515 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.7961, allocations: 51.52 kB / 0.7516 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.068e-05/0.7961, allocations: 16.27 kB / 0.7516 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002633/0.7964, allocations: 396.6 kB / 0.752 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.7964, allocations: 37.11 kB / 0.752 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.7964, allocations: 0 / 0.752 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0001627/0.7966, allocations: 48.42 kB / 0.7521 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.7966, allocations: 59.3 kB / 0.7521 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.87e-05/0.7967, allocations: 103.6 kB / 0.7522 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.7967, allocations: 29.67 kB / 0.7522 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.06e-05/0.7968, allocations: 90.97 kB / 0.7523 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.42e-05/0.7968, allocations: 7.844 kB / 0.7523 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-06/0.7968, allocations: 0 / 0.7523 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.7969, allocations: 318.3 kB / 0.7526 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.129e-05/0.7969, allocations: 3.875 kB / 0.7526 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.823e-05/0.797, allocations: 14.72 kB / 0.7527 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.582e-05/0.797, allocations: 7.344 kB / 0.7527 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.797, allocations: 0 / 0.7527 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.844e-05/0.7971, allocations: 47.45 kB / 0.7527 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.7971, allocations: 13.09 kB / 0.7527 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.7971, allocations: 0 / 0.7527 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.7972, allocations: 0 / 0.7527 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.942e-05/0.7973, allocations: 18.14 kB / 0.7527 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.7973, allocations: 3.844 kB / 0.7527 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.03e-05/0.7973, allocations: 15.11 kB / 0.7528 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.7973, allocations: 7.016 kB / 0.7528 GB, free: 25.48 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (falFac.y,falFac.k) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.6e-05/0.7974, allocations: 105 kB / 0.7529 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.458e-05/0.7974, allocations: 3.906 kB / 0.7529 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001282/0.7976, allocations: 62.89 kB / 0.7529 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.7976, allocations: 0 / 0.7529 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.7976, allocations: 0 / 0.7529 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.7976, allocations: 0 / 0.7529 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.7978, allocations: 168.3 kB / 0.7531 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.7978, allocations: 6.719 kB / 0.7531 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.004e-05/0.7979, allocations: 14.89 kB / 0.7531 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.7979, allocations: 0 / 0.7531 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.7979, allocations: 7.375 kB / 0.7531 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.7979, allocations: 3.844 kB / 0.7531 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.7979, allocations: 0.875 kB / 0.7531 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.798, allocations: 146.8 kB / 0.7533 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.908e-05/0.7981, allocations: 84.95 kB / 0.7533 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.7981, allocations: 0 / 0.7533 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.362e-05/0.7982, allocations: 14.22 kB / 0.7534 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.7982, allocations: 9.844 kB / 0.7534 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.7983, allocations: 2.719 kB / 0.7534 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.029e-05/0.7983, allocations: 90.8 kB / 0.7535 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7983, allocations: 0 / 0.7535 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002105/0.7985, allocations: 19.47 kB / 0.7535 GB, free: 24.81 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (falFac.y,falFac.k) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004324/0.799, allocations: 0.6983 MB / 0.7542 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.313e-05/0.7991, allocations: 25.25 kB / 0.7542 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.7991, allocations: 0 / 0.7542 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.986e-05/0.7991, allocations: 18.75 kB / 0.7542 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001607/0.7993, allocations: 2.125 kB / 0.7542 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003541/0.7996, allocations: 113.8 kB / 0.7543 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/0.7999, allocations: 0.686 MB / 0.755 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.448e-05/0.7999, allocations: 3.844 kB / 0.755 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.836e-05/0.8, allocations: 13.38 kB / 0.755 GB, free: 23.31 MB / 0.5105 GB Notification: Performance of SimCode: time 3.11e-07/0.8, allocations: 0 / 0.755 GB, free: 23.31 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01239/0.8124, allocations: 1.356 MB / 0.7563 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001749/0.8126, allocations: 138.5 kB / 0.7565 GB, free: 22.92 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.535/2.348, allocations: 0 / 0.7565 GB, free: 22.92 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_FallingFactorial.fmu > IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)