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.0007978/0.0007978, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.004791/0.004791, allocations: 168.7 kB / 16.26 MB, free: 6.652 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.391/1.391, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.955/0.955, allocations: 135.3 MB / 426.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003734/0.0003735, allocations: 20.97 kB / 0.5076 GB, free: 4.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1667, allocations: 82.3 MB / 0.588 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.0018/0.1686, allocations: 1.249 MB / 0.5892 GB, free: 1.371 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004262/0.169, allocations: 136.5 kB / 0.5893 GB, free: 1.234 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.809e-05/0.1691, allocations: 3.938 kB / 0.5893 GB, free: 1.23 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.469e-05/0.1691, allocations: 0 / 0.5893 GB, free: 1.23 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.11e-05/0.1692, allocations: 0 / 0.5893 GB, free: 1.23 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002156/0.1694, allocations: 27.91 kB / 0.5893 GB, free: 1.203 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.316e-05/0.1695, allocations: 39.86 kB / 0.5894 GB, free: 1.164 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.068e-05/0.1695, allocations: 15.98 kB / 0.5894 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.884e-05/0.1696, allocations: 7.984 kB / 0.5894 GB, free: 1.141 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.855e-05/0.1696, allocations: 15.92 kB / 0.5894 GB, free: 1.125 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.1697, allocations: 7.938 kB / 0.5894 GB, free: 1.117 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.526e-05/0.1697, allocations: 19.98 kB / 0.5894 GB, free: 1.098 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.305e-05/0.1697, allocations: 3.984 kB / 0.5895 GB, free: 1.094 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.431e-05/0.1698, allocations: 37.64 kB / 0.5895 GB, free: 1.051 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.762e-05/0.1699, allocations: 43.86 kB / 0.5895 GB, free: 1.008 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1699, allocations: 0 / 0.5895 GB, free: 1.008 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1699, allocations: 0 / 0.5895 GB, free: 1.008 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.1699, allocations: 0 / 0.5895 GB, free: 1.008 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.0004276/0.1704, allocations: 359.7 kB / 0.5899 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.1704, allocations: 8.031 kB / 0.5899 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.048e-05/0.1704, allocations: 4.938 kB / 0.5899 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.1705, allocations: 168.3 kB / 0.59 GB, free: 400 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.1706, allocations: 4.375 kB / 0.59 GB, free: 396 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-06/0.1706, allocations: 384 / 0.59 GB, free: 396 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.1708, allocations: 74.17 kB / 0.5901 GB, free: 316 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.1708, allocations: 192 / 0.5901 GB, free: 316 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.1708, allocations: 3.938 kB / 0.5901 GB, free: 312 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1708, allocations: 0 / 0.5901 GB, free: 312 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002002/0.171, allocations: 59.95 kB / 0.5902 GB, free: 252 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003819/0.1714, allocations: 284.7 kB / 0.5905 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002959/0.1717, allocations: 66.47 kB / 0.5905 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.1718, allocations: 36.91 kB / 0.5906 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000248/0.1721, allocations: 393.5 kB / 0.5909 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.1721, allocations: 42.55 kB / 0.591 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.1721, allocations: 0 / 0.591 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003854/0.1725, allocations: 105.6 kB / 0.5911 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.1726, allocations: 55.34 kB / 0.5911 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.922e-05/0.1726, allocations: 109.8 kB / 0.5912 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.1727, allocations: 25.7 kB / 0.5912 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.776e-05/0.1727, allocations: 92.12 kB / 0.5913 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.443e-05/0.1727, allocations: 7.906 kB / 0.5913 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.175e-05/0.1728, allocations: 9.719 kB / 0.5914 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.1729, allocations: 318.8 kB / 0.5917 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.388e-05/0.173, allocations: 27.97 kB / 0.5917 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.516e-05/0.1731, allocations: 31.92 kB / 0.5917 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001757/0.1732, allocations: 52.81 kB / 0.5918 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1732, allocations: 4 kB / 0.5918 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002279/0.1735, allocations: 89.5 kB / 0.5919 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.1735, allocations: 4 kB / 0.5919 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1735, allocations: 3.938 kB / 0.5919 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.666e-06/0.1735, allocations: 0 / 0.5919 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.223e-05/0.1736, allocations: 19.98 kB / 0.5919 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.1736, allocations: 0 / 0.5919 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.015e-05/0.1737, allocations: 15.98 kB / 0.5919 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.1737, allocations: 0 / 0.5919 GB, free: 14.26 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: 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 6.776e-05/0.1738, allocations: 109.8 kB / 0.592 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.1738, allocations: 4.328 kB / 0.592 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002706/0.1741, allocations: 101.5 kB / 0.5921 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.1741, allocations: 0 / 0.5921 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1741, allocations: 3.938 kB / 0.5921 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1741, allocations: 0 / 0.5921 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.1743, allocations: 177.6 kB / 0.5923 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1743, allocations: 0 / 0.5923 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.362e-05/0.1744, allocations: 12 kB / 0.5923 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.1744, allocations: 7.984 kB / 0.5923 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.1744, allocations: 0 / 0.5923 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1744, allocations: 0 / 0.5923 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1744, allocations: 320 / 0.5923 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002665/0.1747, allocations: 187.4 kB / 0.5925 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.524e-05/0.1747, allocations: 81.09 kB / 0.5926 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.1747, allocations: 0 / 0.5926 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.425e-05/0.1748, allocations: 8 kB / 0.5926 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.662e-05/0.1749, allocations: 11.98 kB / 0.5926 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-06/0.1749, allocations: 0 / 0.5926 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.571e-05/0.1749, allocations: 91.25 kB / 0.5927 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1749, allocations: 7.938 kB / 0.5927 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002307/0.1752, allocations: 12 kB / 0.5927 GB, free: 13.36 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.0001584/0.1753, allocations: 95.25 kB / 0.5928 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002367/0.1756, allocations: 55.95 kB / 0.5928 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1756, allocations: 0 / 0.5928 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.1757, allocations: 35.97 kB / 0.5929 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.176, allocations: 15.53 kB / 0.5929 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003019/0.1763, allocations: 140.5 kB / 0.593 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.1766, allocations: 0.6887 MB / 0.5937 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.104e-05/0.1766, allocations: 4 kB / 0.5937 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.437e-05/0.1766, allocations: 11.42 kB / 0.5937 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.1766, allocations: 0 / 0.5937 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of Templates: time 0.002823/0.1795, allocations: 0.6525 MB / 0.5943 GB, free: 11.62 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)