Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002563/0.002563, allocations: 193.1 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9402/0.9402, allocations: 135.1 MB / 425.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 68.23 kB / 0.5047 GB, free: 5.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1605, allocations: 80.91 MB / 0.5837 GB, free: 5.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.002816/0.1634, allocations: 1.591 MB / 0.5852 GB, free: 3.422 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003771/0.1638, allocations: 132.4 kB / 0.5854 GB, free: 3.289 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.996e-05/0.1638, allocations: 4 kB / 0.5854 GB, free: 3.285 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.341e-05/0.1638, allocations: 7.922 kB / 0.5854 GB, free: 3.277 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.428e-05/0.1639, allocations: 0 / 0.5854 GB, free: 3.277 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002443/0.1641, allocations: 23.97 kB / 0.5854 GB, free: 3.254 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.122e-05/0.1642, allocations: 35.92 kB / 0.5854 GB, free: 3.219 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.466e-05/0.1643, allocations: 11.98 kB / 0.5855 GB, free: 3.207 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.889e-05/0.1643, allocations: 15.94 kB / 0.5855 GB, free: 3.191 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.012e-05/0.1644, allocations: 15.92 kB / 0.5855 GB, free: 3.176 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.1644, allocations: 4 kB / 0.5855 GB, free: 3.172 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.093e-05/0.1645, allocations: 19.97 kB / 0.5855 GB, free: 3.152 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.694e-05/0.1645, allocations: 7.984 kB / 0.5855 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.996e-05/0.1645, allocations: 19.88 kB / 0.5855 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001156/0.1647, allocations: 39.88 kB / 0.5856 GB, free: 3.086 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1647, allocations: 3.938 kB / 0.5856 GB, free: 3.082 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1647, allocations: 0 / 0.5856 GB, free: 3.082 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.1647, allocations: 0 / 0.5856 GB, free: 3.082 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004966/0.1652, allocations: 362.3 kB / 0.5859 GB, free: 2.68 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.1652, allocations: 8.031 kB / 0.5859 GB, free: 2.672 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.136e-05/0.1653, allocations: 8.844 kB / 0.5859 GB, free: 2.664 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.1654, allocations: 164.4 kB / 0.5861 GB, free: 2.465 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.1654, allocations: 4.375 kB / 0.5861 GB, free: 2.461 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.1654, allocations: 8.375 kB / 0.5861 GB, free: 2.453 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.1657, allocations: 58.22 kB / 0.5862 GB, free: 2.391 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-06/0.1657, allocations: 192 / 0.5862 GB, free: 2.391 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.1657, allocations: 7.938 kB / 0.5862 GB, free: 2.383 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1657, allocations: 4 kB / 0.5862 GB, free: 2.379 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000193/0.1659, allocations: 47.89 kB / 0.5862 GB, free: 2.332 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003794/0.1663, allocations: 284.7 kB / 0.5865 GB, free: 2.004 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003223/0.1666, allocations: 54.53 kB / 0.5865 GB, free: 1.941 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.685e-05/0.1667, allocations: 28.89 kB / 0.5866 GB, free: 1.91 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002551/0.167, allocations: 401.5 kB / 0.587 GB, free: 1.426 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.167, allocations: 38.5 kB / 0.587 GB, free: 1.379 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.167, allocations: 0 / 0.587 GB, free: 1.379 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003732/0.1674, allocations: 89.62 kB / 0.5871 GB, free: 1.285 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.1674, allocations: 59.41 kB / 0.5871 GB, free: 1.215 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.239e-05/0.1675, allocations: 109.9 kB / 0.5872 GB, free: 1.098 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.1675, allocations: 25.7 kB / 0.5873 GB, free: 1.066 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.744e-05/0.1676, allocations: 103.9 kB / 0.5874 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.219e-05/0.1676, allocations: 0 / 0.5874 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.1677, allocations: 21.7 kB / 0.5874 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.891e-05/0.1678, allocations: 314.8 kB / 0.5877 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.543e-05/0.1679, allocations: 23.97 kB / 0.5877 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.426e-05/0.168, allocations: 23.92 kB / 0.5877 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/0.1681, allocations: 44.81 kB / 0.5878 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1681, allocations: 0 / 0.5878 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002154/0.1684, allocations: 77.56 kB / 0.5878 GB, free: 452 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.1684, allocations: 4 kB / 0.5878 GB, free: 448 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1684, allocations: 320 / 0.5878 GB, free: 448 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.1684, allocations: 0 / 0.5878 GB, free: 448 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.823e-05/0.1685, allocations: 11.98 kB / 0.5879 GB, free: 436 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1685, allocations: 8 kB / 0.5879 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.122e-05/0.1686, allocations: 7.984 kB / 0.5879 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.1686, allocations: 3.984 kB / 0.5879 GB, free: 416 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: 2 (falFac.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.411e-05/0.1687, allocations: 117.7 kB / 0.588 GB, free: 288 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.1687, allocations: 4 kB / 0.588 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002534/0.169, allocations: 77.55 kB / 0.5881 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.169, allocations: 8 kB / 0.5881 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.169, allocations: 0 / 0.5881 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.169, allocations: 0 / 0.5881 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.1692, allocations: 177.5 kB / 0.5882 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1692, allocations: 0 / 0.5882 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.062e-05/0.1693, allocations: 15.98 kB / 0.5883 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1693, allocations: 0 / 0.5883 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.036e-06/0.1693, allocations: 0 / 0.5883 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1693, allocations: 0 / 0.5883 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1693, allocations: 0 / 0.5883 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/0.1696, allocations: 183.8 kB / 0.5884 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.362e-05/0.1696, allocations: 85.09 kB / 0.5885 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.1696, allocations: 0 / 0.5885 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.797e-05/0.1697, allocations: 4 kB / 0.5885 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.009e-05/0.1698, allocations: 3.984 kB / 0.5885 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.1698, allocations: 7.938 kB / 0.5885 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.488e-05/0.1698, allocations: 91.27 kB / 0.5886 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1698, allocations: 0 / 0.5886 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002295/0.1701, allocations: 8 kB / 0.5886 GB, free: 15.54 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: 2 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001412/0.1702, allocations: 103.2 kB / 0.5887 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002289/0.1705, allocations: 47.89 kB / 0.5888 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1705, allocations: 0 / 0.5888 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.1706, allocations: 31.97 kB / 0.5888 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.1709, allocations: 15.81 kB / 0.5888 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002817/0.1712, allocations: 131.2 kB / 0.5889 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/0.1714, allocations: 0.6809 MB / 0.5896 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.58e-05/0.1714, allocations: 8 kB / 0.5896 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.579e-05/0.1715, allocations: 11.44 kB / 0.5896 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.1715, allocations: 0 / 0.5896 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of Templates: time 0.002775/0.1743, allocations: 0.6667 MB / 0.5903 GB, free: 13.79 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)