Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="IDEAS_dev_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.001028/0.001028, allocations: 174.6 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.7272/0.7272, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.512/1.512, allocations: 221.3 MB / 400.4 MB, free: 5.836 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.0008878/0.000888, allocations: 86.09 kB / 483.3 MB, free: 5.883 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.265e-05/4.28e-05, allocations: 2.938 kB / 0.5601 GB, free: 87.81 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.193, allocations: 82.31 MB / 0.6405 GB, free: 7.727 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5489/0.7419, allocations: 111.6 MB / 0.7495 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001925/0.7422, allocations: 71.77 kB / 0.7496 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.003019/0.7452, allocations: 1.069 MB / 0.7506 GB, free: 27.77 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.142e-06/0.7452, allocations: 0 / 0.7506 GB, free: 27.77 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.7452, allocations: 7.875 kB / 0.7506 GB, free: 27.77 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.000338/0.7456, allocations: 350.3 kB / 0.751 GB, free: 27.42 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.7456, allocations: 7.656 kB / 0.751 GB, free: 27.42 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.157e-05/0.7457, allocations: 34.44 kB / 0.751 GB, free: 27.38 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.972e-05/0.7457, allocations: 0 / 0.751 GB, free: 27.38 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.256e-05/0.7458, allocations: 173.2 kB / 0.7512 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.7458, allocations: 3.688 kB / 0.7512 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.7458, allocations: 7.812 kB / 0.7512 GB, free: 27.17 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.746, allocations: 48.62 kB / 0.7512 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.746, allocations: 0 / 0.7512 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.746, allocations: 3.938 kB / 0.7512 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.746, allocations: 0 / 0.7512 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.073e-05/0.746, allocations: 25.36 kB / 0.7513 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003369/0.7464, allocations: 279 kB / 0.7515 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.7466, allocations: 53.92 kB / 0.7516 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.811e-05/0.7467, allocations: 15.92 kB / 0.7516 GB, free: 26.83 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000274/0.7469, allocations: 393.4 kB / 0.752 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.747, allocations: 36.73 kB / 0.752 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.747, allocations: 0 / 0.752 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0001488/0.7471, allocations: 50.98 kB / 0.7521 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.7472, allocations: 59.36 kB / 0.7521 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.951e-05/0.7472, allocations: 113.7 kB / 0.7522 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.7473, allocations: 25.7 kB / 0.7523 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.051e-05/0.7473, allocations: 83.33 kB / 0.7523 GB, free: 26 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.393e-05/0.7473, allocations: 15.62 kB / 0.7523 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.7473, allocations: 0 / 0.7523 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.7474, allocations: 316.5 kB / 0.7527 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.982e-05/0.7475, allocations: 7.406 kB / 0.7527 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.508e-05/0.7475, allocations: 3.844 kB / 0.7527 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.411e-05/0.7475, allocations: 17.67 kB / 0.7527 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.7475, allocations: 0 / 0.7527 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.646e-05/0.7476, allocations: 50.11 kB / 0.7527 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.7476, allocations: 7.781 kB / 0.7527 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.7476, allocations: 2.938 kB / 0.7527 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.367e-06/0.7476, allocations: 0 / 0.7527 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.765e-05/0.7477, allocations: 16.27 kB / 0.7528 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.7478, allocations: 0 / 0.7528 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.085e-05/0.7478, allocations: 18.42 kB / 0.7528 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.7478, allocations: 0 / 0.7528 GB, free: 25.63 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.5e-05/0.7479, allocations: 108.6 kB / 0.7529 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.7479, allocations: 7.781 kB / 0.7529 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001176/0.7481, allocations: 55.53 kB / 0.7529 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.7481, allocations: 3.844 kB / 0.7529 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.7481, allocations: 0 / 0.7529 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.7481, allocations: 0 / 0.7529 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.7482, allocations: 172.4 kB / 0.7531 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.7482, allocations: 0 / 0.7531 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.884e-05/0.7483, allocations: 16.47 kB / 0.7531 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.7483, allocations: 0 / 0.7531 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.505e-06/0.7484, allocations: 3.375 kB / 0.7531 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.7484, allocations: 0 / 0.7531 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.7484, allocations: 0 / 0.7531 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.7485, allocations: 155.2 kB / 0.7533 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.877e-05/0.7485, allocations: 88.8 kB / 0.7534 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.7486, allocations: 0 / 0.7534 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.898e-05/0.7486, allocations: 6.688 kB / 0.7534 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.666e-05/0.7487, allocations: 12.67 kB / 0.7534 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.7487, allocations: 0.6875 kB / 0.7534 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.408e-05/0.7488, allocations: 86.75 kB / 0.7535 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7488, allocations: 0 / 0.7535 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002257/0.749, allocations: 19.62 kB / 0.7535 GB, free: 24.96 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.0004271/0.7494, allocations: 0.6989 MB / 0.7542 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.363e-05/0.7495, allocations: 18.03 kB / 0.7542 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.7495, allocations: 0 / 0.7542 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.784e-05/0.7496, allocations: 15.5 kB / 0.7542 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.7497, allocations: 8.469 kB / 0.7542 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003368/0.7501, allocations: 115.4 kB / 0.7543 GB, free: 24.17 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.7503, allocations: 0.6818 MB / 0.755 GB, free: 23.47 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.238e-05/0.7504, allocations: 3.844 kB / 0.755 GB, free: 23.47 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.515e-05/0.7504, allocations: 13.2 kB / 0.755 GB, free: 23.47 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/0.7504, allocations: 7.781 kB / 0.755 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01243/0.7628, allocations: 1.358 MB / 0.7563 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001515/0.763, allocations: 159.4 kB / 0.7565 GB, free: 23.06 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.474/2.238, allocations: 0 / 0.7565 GB, free: 23.06 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_FallingFactorial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)