Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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.Functions.Examples.FallingFactorial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_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.001051/0.001051, allocations: 174.7 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.7157/0.7157, 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.668/1.668, allocations: 221.3 MB / 400.4 MB, free: 5.801 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.0009467/0.0009467, allocations: 79.95 kB / 483.3 MB, free: 5.859 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.531e-05/4.542e-05, allocations: 5 kB / 0.5601 GB, free: 87.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1453, allocations: 82.31 MB / 0.6405 GB, free: 7.746 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5779/0.7232, allocations: 110.6 MB / 0.7485 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001778/0.7235, allocations: 73.45 kB / 0.7485 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.00216/0.7256, allocations: 0.8293 MB / 0.7494 GB, free: 27.71 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7257, allocations: 4 kB / 0.7494 GB, free: 27.7 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.7257, allocations: 0 / 0.7494 GB, free: 27.7 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003048/0.726, allocations: 338.4 kB / 0.7497 GB, free: 27.35 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.726, allocations: 7.719 kB / 0.7497 GB, free: 27.35 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.848e-05/0.7261, allocations: 38.09 kB / 0.7497 GB, free: 27.31 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.944e-05/0.7261, allocations: 2.906 kB / 0.7497 GB, free: 27.31 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.7262, allocations: 166.9 kB / 0.7499 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.7263, allocations: 3.188 kB / 0.7499 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.7263, allocations: 3.719 kB / 0.7499 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.7265, allocations: 75.47 kB / 0.75 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.7265, allocations: 0 / 0.75 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.7265, allocations: 2.875 kB / 0.75 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.7265, allocations: 0 / 0.75 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.7266, allocations: 100.1 kB / 0.7501 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001808/0.7268, allocations: 172.9 kB / 0.7502 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.7269, allocations: 69.77 kB / 0.7503 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.68e-05/0.727, allocations: 34 kB / 0.7503 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003368/0.7273, allocations: 410.5 kB / 0.7507 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.7274, allocations: 37.84 kB / 0.7508 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=11): time 1.543e-06/0.7274, allocations: 0 / 0.7508 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.0002218/0.7276, allocations: 87.83 kB / 0.7508 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.7277, allocations: 51.41 kB / 0.7509 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.961e-05/0.7277, allocations: 88.38 kB / 0.751 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.7277, allocations: 29.14 kB / 0.751 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.3e-05/0.7278, allocations: 80.33 kB / 0.7511 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.7278, allocations: 30.05 kB / 0.7511 GB, free: 26 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-06/0.7278, allocations: 3.938 kB / 0.7511 GB, free: 26 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.728, allocations: 317.9 kB / 0.7514 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.544e-05/0.728, allocations: 17.27 kB / 0.7514 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.005e-05/0.7281, allocations: 18.23 kB / 0.7514 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.436e-05/0.7281, allocations: 26.42 kB / 0.7515 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.7281, allocations: 0 / 0.7515 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001457/0.7283, allocations: 99.52 kB / 0.7516 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.7283, allocations: 3.844 kB / 0.7516 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.7283, allocations: 4 kB / 0.7516 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.7283, allocations: 0 / 0.7516 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.7285, allocations: 18.94 kB / 0.7516 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.7285, allocations: 3.969 kB / 0.7516 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.439e-05/0.7285, allocations: 7.781 kB / 0.7516 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.7285, allocations: 3.844 kB / 0.7516 GB, free: 25.64 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: 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000103/0.7286, allocations: 116.2 kB / 0.7517 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.37e-05/0.7286, allocations: 7.891 kB / 0.7517 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002382/0.7289, allocations: 134.3 kB / 0.7519 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.7289, allocations: 3.844 kB / 0.7519 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.7289, allocations: 0 / 0.7519 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.7289, allocations: 0 / 0.7519 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.729, allocations: 172.8 kB / 0.752 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.7291, allocations: 3.938 kB / 0.752 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.614e-05/0.7291, allocations: 22.42 kB / 0.752 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.7291, allocations: 7.766 kB / 0.7521 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.7292, allocations: 3.094 kB / 0.7521 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.7292, allocations: 4 kB / 0.7521 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.7292, allocations: 0 / 0.7521 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001371/0.7293, allocations: 117.4 kB / 0.7522 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.32e-05/0.7294, allocations: 84.8 kB / 0.7523 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.7294, allocations: 7.375 kB / 0.7523 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.725e-05/0.7294, allocations: 2.688 kB / 0.7523 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.7294, allocations: 7.5 kB / 0.7523 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.7295, allocations: 7.969 kB / 0.7523 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.967e-05/0.7295, allocations: 75.28 kB / 0.7524 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7295, allocations: 0 / 0.7524 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001988/0.7297, allocations: 21.94 kB / 0.7524 GB, free: 25 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: 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 () * 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 (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.0004928/0.7302, allocations: 0.6745 MB / 0.753 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001176/0.7303, allocations: 62.41 kB / 0.7531 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.7303, allocations: 0 / 0.7531 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.169e-05/0.7304, allocations: 28.84 kB / 0.7531 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.023e-05/0.7305, allocations: 15.2 kB / 0.7531 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003479/0.7308, allocations: 144 kB / 0.7533 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.7311, allocations: 0.6861 MB / 0.7539 GB, free: 23.58 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 7.416e-05/0.7312, allocations: 37.89 kB / 0.754 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.472e-05/0.7312, allocations: 17.2 kB / 0.754 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of SimCode: time 3.3e-07/0.7313, allocations: 0 / 0.754 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0119/0.7432, allocations: 1.327 MB / 0.7553 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001276/0.7433, allocations: 161.7 kB / 0.7554 GB, free: 23.15 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.62/2.363, allocations: 7.781 kB / 0.7555 GB, free: 23.15 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)