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.001129/0.001129, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001346/0.001346, allocations: 168.7 kB / 15.95 MB, free: 204 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.418/1.418, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9597/0.9597, allocations: 135.3 MB / 426.4 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003247/0.0003248, allocations: 12 kB / 0.507 GB, free: 5.262 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1682, allocations: 82.3 MB / 0.5874 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0008837/0.1691, allocations: 307.1 kB / 0.5877 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000291/0.1694, allocations: 47.91 kB / 0.5877 GB, free: 2.777 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.162e-05/0.1695, allocations: 0 / 0.5877 GB, free: 2.777 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.211e-05/0.1695, allocations: 4 kB / 0.5877 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.644e-06/0.1695, allocations: 7.875 kB / 0.5877 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002805/0.1698, allocations: 11.98 kB / 0.5877 GB, free: 2.754 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000106/0.1699, allocations: 23.97 kB / 0.5878 GB, free: 2.73 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.997e-05/0.17, allocations: 7.984 kB / 0.5878 GB, free: 2.723 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.983e-05/0.1701, allocations: 12 kB / 0.5878 GB, free: 2.711 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.649e-05/0.1701, allocations: 11.97 kB / 0.5878 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/0.1702, allocations: 4 kB / 0.5878 GB, free: 2.695 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.1703, allocations: 12 kB / 0.5878 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.844e-05/0.1703, allocations: 15.92 kB / 0.5878 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.236e-05/0.1704, allocations: 29.64 kB / 0.5879 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.1706, allocations: 27.95 kB / 0.5879 GB, free: 2.605 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.147e-05/0.1706, allocations: 0 / 0.5879 GB, free: 2.605 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.416e-06/0.1706, allocations: 0 / 0.5879 GB, free: 2.605 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.34e-05/0.1706, allocations: 4 kB / 0.5879 GB, free: 2.602 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.0005039/0.1711, allocations: 323.4 kB / 0.5882 GB, free: 2.238 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.155e-05/0.1712, allocations: 8.031 kB / 0.5882 GB, free: 2.23 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.743e-05/0.1713, allocations: 7.906 kB / 0.5882 GB, free: 2.223 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.1714, allocations: 167.2 kB / 0.5884 GB, free: 2.02 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/0.1714, allocations: 4 kB / 0.5884 GB, free: 2.016 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.1715, allocations: 8 kB / 0.5884 GB, free: 2.008 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002423/0.1717, allocations: 65.59 kB / 0.5884 GB, free: 1.938 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.1717, allocations: 0 / 0.5884 GB, free: 1.938 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.1718, allocations: 8 kB / 0.5885 GB, free: 1.93 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.1718, allocations: 0 / 0.5885 GB, free: 1.93 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000197/0.172, allocations: 103.8 kB / 0.5886 GB, free: 1.828 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003003/0.1723, allocations: 173.6 kB / 0.5887 GB, free: 1.609 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.1725, allocations: 70.55 kB / 0.5888 GB, free: 1.531 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.817e-05/0.1725, allocations: 32.78 kB / 0.5888 GB, free: 1.496 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004592/0.173, allocations: 401.5 kB / 0.5892 GB, free: 1.012 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.173, allocations: 38.56 kB / 0.5892 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.173, allocations: 4 kB / 0.5892 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002829/0.1733, allocations: 111.2 kB / 0.5893 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.1734, allocations: 55.41 kB / 0.5894 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.258e-05/0.1735, allocations: 93.86 kB / 0.5895 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.1735, allocations: 25.7 kB / 0.5895 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.911e-05/0.1735, allocations: 80.33 kB / 0.5896 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.117e-05/0.1736, allocations: 31.62 kB / 0.5896 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.1736, allocations: 0 / 0.5896 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.1737, allocations: 326.8 kB / 0.5899 GB, free: 208 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.737e-05/0.1737, allocations: 19.98 kB / 0.5899 GB, free: 188 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.264e-05/0.1738, allocations: 23.92 kB / 0.59 GB, free: 164 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.532e-05/0.1738, allocations: 19.98 kB / 0.59 GB, free: 144 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-06/0.1738, allocations: 7.953 kB / 0.59 GB, free: 136 kB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001273/0.174, allocations: 93.22 kB / 0.5901 GB, free: 40 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.174, allocations: 4 kB / 0.5901 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.174, allocations: 7.984 kB / 0.5901 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.174, allocations: 0 / 0.5901 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.1741, allocations: 19.94 kB / 0.5901 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.1742, allocations: 4 kB / 0.5901 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.691e-05/0.1742, allocations: 3.906 kB / 0.5901 GB, free: 0 / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.1742, allocations: 12.08 kB / 0.5901 GB, free: 15.98 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.000145/0.1744, allocations: 121.8 kB / 0.5903 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.225e-05/0.1744, allocations: 7.953 kB / 0.5903 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002222/0.1746, allocations: 133.5 kB / 0.5904 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.1746, allocations: 4 kB / 0.5904 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.1747, allocations: 0 / 0.5904 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.1747, allocations: 0 / 0.5904 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.1748, allocations: 165.7 kB / 0.5905 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1748, allocations: 0 / 0.5905 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.858e-05/0.1749, allocations: 27.88 kB / 0.5906 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.1749, allocations: 0 / 0.5906 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.1749, allocations: 4 kB / 0.5906 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.1749, allocations: 3.984 kB / 0.5906 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1749, allocations: 0 / 0.5906 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001452/0.1751, allocations: 121.3 kB / 0.5907 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.357e-05/0.1751, allocations: 81.11 kB / 0.5908 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.1752, allocations: 11.94 kB / 0.5908 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.369e-05/0.1752, allocations: 0 / 0.5908 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.1752, allocations: 4 kB / 0.5908 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.1752, allocations: 11.98 kB / 0.5908 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.89e-05/0.1753, allocations: 79.22 kB / 0.5909 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1753, allocations: 4 kB / 0.5909 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000194/0.1755, allocations: 12 kB / 0.5909 GB, free: 15.11 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.0002103/0.1757, allocations: 111.2 kB / 0.591 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001447/0.1758, allocations: 55.95 kB / 0.5911 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1758, allocations: 0 / 0.5911 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.45e-05/0.1759, allocations: 39.92 kB / 0.5911 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001546/0.1761, allocations: 6.234 kB / 0.5911 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003067/0.1764, allocations: 161.6 kB / 0.5913 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.1767, allocations: 0.6809 MB / 0.5919 GB, free: 14 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.217e-05/0.1767, allocations: 35.95 kB / 0.592 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.595e-05/0.1768, allocations: 11.44 kB / 0.592 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1768, allocations: 0 / 0.592 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of Templates: time 0.003357/0.1801, allocations: 0.5747 MB / 0.5925 GB, free: 13.39 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.makefile (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)