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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.001069, allocations: 90.75 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 223.2 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9143/0.9143, allocations: 135.3 MB / 426.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003124/0.0003124, allocations: 19.94 kB / 0.5071 GB, free: 4.977 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1497, allocations: 82.31 MB / 0.5875 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0006132/0.1504, allocations: 303.1 kB / 0.5878 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002185/0.1506, allocations: 47.84 kB / 0.5878 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.354e-05/0.1507, allocations: 0 / 0.5878 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.186e-05/0.1507, allocations: 3.984 kB / 0.5878 GB, free: 2.492 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.29e-06/0.1507, allocations: 4 kB / 0.5878 GB, free: 2.488 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001992/0.1509, allocations: 12 kB / 0.5878 GB, free: 2.477 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.429e-05/0.151, allocations: 27.95 kB / 0.5879 GB, free: 2.449 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.726e-05/0.151, allocations: 0 / 0.5879 GB, free: 2.449 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.85e-05/0.1511, allocations: 12 kB / 0.5879 GB, free: 2.438 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.045e-05/0.1511, allocations: 15.97 kB / 0.5879 GB, free: 2.422 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.1511, allocations: 0 / 0.5879 GB, free: 2.422 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.96e-05/0.1512, allocations: 11.98 kB / 0.5879 GB, free: 2.41 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.965e-05/0.1512, allocations: 19.88 kB / 0.5879 GB, free: 2.391 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.833e-05/0.1512, allocations: 25.7 kB / 0.5879 GB, free: 2.359 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.445e-05/0.1513, allocations: 23.95 kB / 0.588 GB, free: 2.336 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1513, allocations: 8 kB / 0.588 GB, free: 2.328 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1513, allocations: 0 / 0.588 GB, free: 2.328 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.1513, allocations: 0 / 0.588 GB, free: 2.328 MB / 494.1 MB 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.0002695/0.1516, allocations: 327.3 kB / 0.5883 GB, free: 1.961 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.1517, allocations: 8.031 kB / 0.5883 GB, free: 1.953 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.794e-05/0.1517, allocations: 38.56 kB / 0.5883 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.968e-05/0.1517, allocations: 0 / 0.5883 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.726e-05/0.1518, allocations: 175.2 kB / 0.5885 GB, free: 1.695 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.1519, allocations: 4 kB / 0.5885 GB, free: 1.691 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.1519, allocations: 12 kB / 0.5885 GB, free: 1.68 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.152, allocations: 68.11 kB / 0.5886 GB, free: 1.609 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.152, allocations: 0 / 0.5886 GB, free: 1.609 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.233e-06/0.1521, allocations: 0 / 0.5886 GB, free: 1.609 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.1521, allocations: 0 / 0.5886 GB, free: 1.609 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.1522, allocations: 103.9 kB / 0.5887 GB, free: 1.508 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001631/0.1524, allocations: 181.5 kB / 0.5888 GB, free: 1.281 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.1525, allocations: 74.48 kB / 0.5889 GB, free: 1.199 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.51e-05/0.1526, allocations: 36.84 kB / 0.589 GB, free: 1.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003105/0.1529, allocations: 397.5 kB / 0.5893 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.1529, allocations: 34.56 kB / 0.5894 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.143e-06/0.1529, allocations: 0 / 0.5894 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002287/0.1531, allocations: 114 kB / 0.5895 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.1532, allocations: 59.28 kB / 0.5895 GB, free: 460 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.829e-05/0.1532, allocations: 93.86 kB / 0.5896 GB, free: 356 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.1532, allocations: 25.7 kB / 0.5896 GB, free: 324 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.264e-05/0.1533, allocations: 88.33 kB / 0.5897 GB, free: 228 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.1533, allocations: 27.64 kB / 0.5898 GB, free: 200 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-06/0.1533, allocations: 0 / 0.5898 GB, free: 200 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.1535, allocations: 318.8 kB / 0.5901 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.67e-05/0.1535, allocations: 19.98 kB / 0.5901 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.38e-05/0.1536, allocations: 19.98 kB / 0.5901 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.619e-05/0.1536, allocations: 24.97 kB / 0.5901 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1537, allocations: 0 / 0.5901 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001406/0.1538, allocations: 101.3 kB / 0.5902 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.1538, allocations: 8 kB / 0.5902 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.1538, allocations: 0 / 0.5902 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.436e-06/0.1538, allocations: 0 / 0.5902 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.291e-05/0.1539, allocations: 23.92 kB / 0.5902 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.1539, allocations: 0 / 0.5902 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.911e-05/0.154, allocations: 3.906 kB / 0.5903 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.154, allocations: 4 kB / 0.5903 GB, free: 15.67 MB / 0.4981 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001167/0.1541, allocations: 121.8 kB / 0.5904 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.373e-05/0.1541, allocations: 15.95 kB / 0.5904 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002016/0.1543, allocations: 125.6 kB / 0.5905 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1543, allocations: 0 / 0.5905 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1544, allocations: 0 / 0.5905 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.1544, allocations: 3.938 kB / 0.5905 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.1545, allocations: 177.6 kB / 0.5907 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1545, allocations: 0 / 0.5907 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.723e-05/0.1546, allocations: 19.92 kB / 0.5907 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.1546, allocations: 7.953 kB / 0.5907 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.1546, allocations: 4 kB / 0.5907 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.1546, allocations: 4 kB / 0.5907 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1546, allocations: 0 / 0.5907 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/0.1548, allocations: 117.4 kB / 0.5908 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.117e-05/0.1548, allocations: 85.05 kB / 0.5909 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.1548, allocations: 7.953 kB / 0.5909 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.452e-05/0.1548, allocations: 0 / 0.5909 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.419e-05/0.1549, allocations: 11.98 kB / 0.5909 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.1549, allocations: 4 kB / 0.5909 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.554e-05/0.1549, allocations: 79.28 kB / 0.591 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1549, allocations: 3.938 kB / 0.591 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001977/0.1551, allocations: 16 kB / 0.591 GB, free: 14.78 MB / 0.4981 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 (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.0004558/0.1556, allocations: 0.6709 MB / 0.5917 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00012/0.1557, allocations: 59.91 kB / 0.5917 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1557, allocations: 0 / 0.5917 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.962e-05/0.1558, allocations: 35.92 kB / 0.5918 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001358/0.1559, allocations: 11.78 kB / 0.5918 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000335/0.1563, allocations: 184.4 kB / 0.592 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.1565, allocations: 0.6848 MB / 0.5926 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.118e-05/0.1566, allocations: 31.97 kB / 0.5927 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.548e-05/0.1566, allocations: 19.42 kB / 0.5927 GB, free: 13 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.1566, allocations: 0 / 0.5927 GB, free: 13 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01029/0.1669, allocations: 1.345 MB / 0.594 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001458/0.1671, allocations: 182.5 kB / 0.5942 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.617/1.784, allocations: 0 / 0.5942 GB, free: 11.57 MB / 0.4981 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) Environment - environmentSimulation: