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: translateModel(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008536/0.0008535, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.0009581/0.0009581, allocations: 177.3 kB / 15.95 MB, free: 216 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.221/1.221, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8573/0.8573, allocations: 135.2 MB / 426.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003243/0.0003244, allocations: 16.5 kB / 0.5068 GB, free: 5.242 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1473, allocations: 82.3 MB / 0.5872 GB, free: 3.109 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0006374/0.148, allocations: 307.1 kB / 0.5875 GB, free: 2.805 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002096/0.1482, allocations: 47.84 kB / 0.5875 GB, free: 2.758 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.554e-05/0.1483, allocations: 4 kB / 0.5875 GB, free: 2.754 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.519e-05/0.1483, allocations: 4 kB / 0.5876 GB, free: 2.75 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.28e-06/0.1483, allocations: 0 / 0.5876 GB, free: 2.75 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000199/0.1485, allocations: 11.98 kB / 0.5876 GB, free: 2.738 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.485e-05/0.1486, allocations: 19.97 kB / 0.5876 GB, free: 2.719 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.762e-05/0.1487, allocations: 4 kB / 0.5876 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.741e-05/0.1487, allocations: 8 kB / 0.5876 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.119e-05/0.1487, allocations: 19.91 kB / 0.5876 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.1487, allocations: 4 kB / 0.5876 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.548e-05/0.1488, allocations: 11.98 kB / 0.5876 GB, free: 2.672 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.26e-05/0.1488, allocations: 11.94 kB / 0.5876 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.122e-05/0.1489, allocations: 25.7 kB / 0.5877 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.239e-05/0.1489, allocations: 31.95 kB / 0.5877 GB, free: 2.598 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.1489, allocations: 0 / 0.5877 GB, free: 2.598 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.149, allocations: 0 / 0.5877 GB, free: 2.598 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.149, allocations: 0 / 0.5877 GB, free: 2.598 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.0002583/0.1492, allocations: 331.3 kB / 0.588 GB, free: 2.227 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/0.1493, allocations: 8.031 kB / 0.588 GB, free: 2.219 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.09e-05/0.1493, allocations: 4 kB / 0.588 GB, free: 2.215 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.464e-05/0.1494, allocations: 167.2 kB / 0.5882 GB, free: 2.012 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.1494, allocations: 7.938 kB / 0.5882 GB, free: 2.004 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.1494, allocations: 11.98 kB / 0.5882 GB, free: 1.992 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.1496, allocations: 57.67 kB / 0.5883 GB, free: 1.93 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.1496, allocations: 0 / 0.5883 GB, free: 1.93 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.1496, allocations: 0 / 0.5883 GB, free: 1.93 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1496, allocations: 4 kB / 0.5883 GB, free: 1.926 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.1497, allocations: 103.8 kB / 0.5884 GB, free: 1.824 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001581/0.1499, allocations: 173.6 kB / 0.5885 GB, free: 1.605 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.649e-05/0.15, allocations: 74.47 kB / 0.5886 GB, free: 1.523 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003012/0.1503, allocations: 405.5 kB / 0.589 GB, free: 1.035 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.1503, allocations: 34.56 kB / 0.589 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.042e-06/0.1504, allocations: 0 / 0.589 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002184/0.1506, allocations: 111.2 kB / 0.5891 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.1506, allocations: 59.39 kB / 0.5892 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.745e-05/0.1507, allocations: 93.86 kB / 0.5893 GB, free: 0.707 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.1507, allocations: 25.7 kB / 0.5893 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.225e-05/0.1507, allocations: 80.33 kB / 0.5894 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.876e-05/0.1508, allocations: 31.64 kB / 0.5894 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.381e-06/0.1508, allocations: 8 kB / 0.5894 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.41e-05/0.1509, allocations: 314.8 kB / 0.5897 GB, free: 240 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.347e-05/0.1509, allocations: 23.92 kB / 0.5897 GB, free: 216 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.928e-05/0.1509, allocations: 19.98 kB / 0.5897 GB, free: 196 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.243e-05/0.151, allocations: 31.59 kB / 0.5898 GB, free: 168 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.151, allocations: 0 / 0.5898 GB, free: 168 kB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001178/0.1511, allocations: 89.56 kB / 0.5899 GB, free: 72 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.1511, allocations: 8 kB / 0.5899 GB, free: 64 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.1512, allocations: 0 / 0.5899 GB, free: 64 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.1512, allocations: 4 kB / 0.5899 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.905e-05/0.1513, allocations: 19.98 kB / 0.5899 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.1513, allocations: 3.938 kB / 0.5899 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.337e-05/0.1513, allocations: 11.91 kB / 0.5899 GB, free: 24 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.1513, allocations: 4 kB / 0.5899 GB, free: 20 kB / 494.1 MB 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.0001689/0.1515, allocations: 124.4 kB / 0.59 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.033e-05/0.1515, allocations: 3.953 kB / 0.59 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001974/0.1517, allocations: 121.6 kB / 0.5902 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.1517, allocations: 11.92 kB / 0.5902 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1517, allocations: 3.938 kB / 0.5902 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.1517, allocations: 0 / 0.5902 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.1519, allocations: 173.6 kB / 0.5903 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1519, allocations: 7.938 kB / 0.5903 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.445e-05/0.1519, allocations: 19.98 kB / 0.5904 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.1519, allocations: 3.953 kB / 0.5904 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.152, allocations: 8 kB / 0.5904 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.152, allocations: 4 kB / 0.5904 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.152, allocations: 0 / 0.5904 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.1521, allocations: 117.5 kB / 0.5905 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.749e-05/0.1521, allocations: 81.11 kB / 0.5906 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.1522, allocations: 3.953 kB / 0.5906 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.558e-05/0.1522, allocations: 4 kB / 0.5906 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.98e-05/0.1522, allocations: 11.92 kB / 0.5906 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.1522, allocations: 4 kB / 0.5906 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.254e-05/0.1523, allocations: 83.22 kB / 0.5907 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.1523, allocations: 0 / 0.5907 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001845/0.1525, allocations: 16 kB / 0.5907 GB, free: 15.13 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.0001396/0.1526, allocations: 111.2 kB / 0.5908 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001227/0.1527, allocations: 55.97 kB / 0.5908 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1527, allocations: 3.938 kB / 0.5908 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.21e-05/0.1528, allocations: 35.98 kB / 0.5909 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.192e-05/0.1529, allocations: 7.281 kB / 0.5909 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002158/0.1531, allocations: 150.7 kB / 0.591 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/0.1533, allocations: 0.6848 MB / 0.5917 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.78e-05/0.1534, allocations: 31.97 kB / 0.5917 GB, free: 14 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.096e-05/0.1534, allocations: 19.42 kB / 0.5917 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1534, allocations: 3.938 kB / 0.5917 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of Templates: time 0.002251/0.1557, allocations: 0.5603 MB / 0.5923 GB, free: 13.42 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.makefile Environment - environmentSimulation: (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 & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) Environment - environmentSimulation: