Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0008453/0.0008453, allocations: 100.8 kB / 15.06 MB, free: 1.094 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.0008259/0.0008259, allocations: 177.3 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.225/1.225, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8332/0.8332, allocations: 135.2 MB / 426.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002849/0.000285, allocations: 16 kB / 0.5068 GB, free: 5.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1511, allocations: 82.32 MB / 0.5872 GB, free: 3.121 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.000576/0.1517, allocations: 299.1 kB / 0.5875 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002/0.1519, allocations: 55.89 kB / 0.5876 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.345e-05/0.152, allocations: 0 / 0.5876 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.763e-05/0.152, allocations: 3.938 kB / 0.5876 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.919e-06/0.152, allocations: 0 / 0.5876 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001887/0.1522, allocations: 15.92 kB / 0.5876 GB, free: 2.75 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.701e-05/0.1523, allocations: 15.98 kB / 0.5876 GB, free: 2.734 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.512e-05/0.1523, allocations: 4 kB / 0.5876 GB, free: 2.73 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.854e-05/0.1523, allocations: 15.97 kB / 0.5876 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.765e-05/0.1524, allocations: 12 kB / 0.5876 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.1524, allocations: 0 / 0.5876 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.524e-05/0.1524, allocations: 11.98 kB / 0.5876 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.197e-05/0.1525, allocations: 23.91 kB / 0.5877 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.033e-05/0.1525, allocations: 29.7 kB / 0.5877 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.413e-05/0.1526, allocations: 15.98 kB / 0.5877 GB, free: 2.617 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.1526, allocations: 0 / 0.5877 GB, free: 2.617 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1526, allocations: 0 / 0.5877 GB, free: 2.617 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.946e-06/0.1526, allocations: 0 / 0.5877 GB, free: 2.617 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.0002567/0.1529, allocations: 327.3 kB / 0.588 GB, free: 2.25 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.1529, allocations: 12.02 kB / 0.588 GB, free: 2.238 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.933e-05/0.1529, allocations: 4 kB / 0.588 GB, free: 2.234 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.324e-05/0.153, allocations: 171.2 kB / 0.5882 GB, free: 2.027 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.153, allocations: 4 kB / 0.5882 GB, free: 2.023 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.153, allocations: 4 kB / 0.5882 GB, free: 2.02 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.1532, allocations: 65.55 kB / 0.5883 GB, free: 1.949 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-06/0.1532, allocations: 0 / 0.5883 GB, free: 1.949 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.1532, allocations: 7.984 kB / 0.5883 GB, free: 1.941 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1532, allocations: 0 / 0.5883 GB, free: 1.941 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.1533, allocations: 99.88 kB / 0.5884 GB, free: 1.844 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000146/0.1535, allocations: 177.6 kB / 0.5885 GB, free: 1.621 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.999e-05/0.1536, allocations: 74.48 kB / 0.5886 GB, free: 1.539 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002951/0.1539, allocations: 409.5 kB / 0.589 GB, free: 1.047 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.1539, allocations: 38.55 kB / 0.589 GB, free: 1 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.1539, allocations: 0 / 0.589 GB, free: 1 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002232/0.1542, allocations: 113.8 kB / 0.5891 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.1542, allocations: 51.41 kB / 0.5892 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.593e-05/0.1543, allocations: 93.86 kB / 0.5893 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.1543, allocations: 25.7 kB / 0.5893 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.047e-05/0.1543, allocations: 84.33 kB / 0.5894 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.708e-05/0.1543, allocations: 27.64 kB / 0.5894 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-06/0.1544, allocations: 8 kB / 0.5894 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.854e-05/0.1545, allocations: 310.8 kB / 0.5897 GB, free: 256 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.179e-05/0.1545, allocations: 19.98 kB / 0.5897 GB, free: 236 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.218e-05/0.1545, allocations: 23.92 kB / 0.5898 GB, free: 212 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.355e-05/0.1546, allocations: 31.38 kB / 0.5898 GB, free: 184 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1546, allocations: 0 / 0.5898 GB, free: 184 kB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001129/0.1547, allocations: 89.56 kB / 0.5899 GB, free: 88 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.1547, allocations: 12 kB / 0.5899 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.1547, allocations: 0 / 0.5899 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.1548, allocations: 0 / 0.5899 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.953e-05/0.1548, allocations: 19.98 kB / 0.5899 GB, free: 56 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.1549, allocations: 0 / 0.5899 GB, free: 56 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.105e-05/0.1549, allocations: 7.906 kB / 0.5899 GB, free: 48 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.1549, allocations: 4 kB / 0.5899 GB, free: 44 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.0001353/0.155, allocations: 125.8 kB / 0.59 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.137e-06/0.1551, allocations: 7.953 kB / 0.59 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000187/0.1552, allocations: 129.6 kB / 0.5902 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.1553, allocations: 0 / 0.5902 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1553, allocations: 0 / 0.5902 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1553, allocations: 3.984 kB / 0.5902 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.1554, allocations: 173.6 kB / 0.5903 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1554, allocations: 4 kB / 0.5903 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.381e-05/0.1555, allocations: 19.92 kB / 0.5904 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1555, allocations: 11.95 kB / 0.5904 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.1555, allocations: 4 kB / 0.5904 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1555, allocations: 0 / 0.5904 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1555, allocations: 0 / 0.5904 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001345/0.1556, allocations: 121.4 kB / 0.5905 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.89e-05/0.1557, allocations: 81.11 kB / 0.5906 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.1557, allocations: 3.953 kB / 0.5906 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.495e-05/0.1557, allocations: 7.938 kB / 0.5906 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/0.1558, allocations: 11.98 kB / 0.5906 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.1558, allocations: 4 kB / 0.5906 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.454e-05/0.1558, allocations: 75.28 kB / 0.5907 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1558, allocations: 3.938 kB / 0.5907 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001864/0.156, allocations: 16 kB / 0.5907 GB, free: 15.15 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.0001525/0.1562, allocations: 111.2 kB / 0.5908 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001227/0.1563, allocations: 55.97 kB / 0.5908 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.1563, allocations: 8 kB / 0.5908 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.779e-05/0.1563, allocations: 38.86 kB / 0.5909 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.736e-05/0.1564, allocations: 4 kB / 0.5909 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002371/0.1567, allocations: 150.7 kB / 0.591 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/0.1569, allocations: 0.6809 MB / 0.5917 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.885e-05/0.157, allocations: 43.95 kB / 0.5917 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.048e-05/0.157, allocations: 15.44 kB / 0.5918 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.157, allocations: 0 / 0.5918 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of Templates: time 0.002027/0.159, allocations: 0.5566 MB / 0.5923 GB, free: 13.44 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) Environment - environmentSimulation: