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.001143/0.001143, allocations: 109.4 kB / 16.41 MB, free: 6.488 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.001135/0.001135, allocations: 191 kB / 17.34 MB, free: 5.762 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8325/0.8325, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 66.59 kB / 0.5863 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1605, allocations: 80.92 MB / 0.6653 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.003218/0.1638, allocations: 1.529 MB / 0.6668 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004109/0.1642, allocations: 136.5 kB / 0.6669 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.904e-05/0.1643, allocations: 3.938 kB / 0.6669 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.053e-05/0.1644, allocations: 3.938 kB / 0.6669 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.942e-05/0.1644, allocations: 7.938 kB / 0.6669 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.1647, allocations: 27.91 kB / 0.667 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.875e-05/0.1648, allocations: 39.91 kB / 0.667 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.165, allocations: 11.98 kB / 0.667 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.969e-05/0.165, allocations: 19.92 kB / 0.667 GB, free: 4 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.686e-05/0.1651, allocations: 15.92 kB / 0.667 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.1651, allocations: 4 kB / 0.6671 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.713e-05/0.1652, allocations: 19.98 kB / 0.6671 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.757e-05/0.1652, allocations: 11.98 kB / 0.6671 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.811e-05/0.1652, allocations: 19.86 kB / 0.6671 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.1654, allocations: 43.89 kB / 0.6671 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.1654, allocations: 0 / 0.6671 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.254e-06/0.1654, allocations: 0 / 0.6671 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.1654, allocations: 0 / 0.6671 GB, free: 3.887 MB / 0.4981 GB 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.0005184/0.1659, allocations: 355.3 kB / 0.6675 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.166, allocations: 13.11 kB / 0.6675 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.757e-05/0.166, allocations: 0.9375 kB / 0.6675 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.1662, allocations: 172.4 kB / 0.6677 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/0.1662, allocations: 8.312 kB / 0.6677 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.1662, allocations: 4.375 kB / 0.6677 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.1665, allocations: 62.22 kB / 0.6677 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.1665, allocations: 192 / 0.6677 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.1665, allocations: 3.938 kB / 0.6677 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.475e-06/0.1665, allocations: 4 kB / 0.6677 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001952/0.1667, allocations: 47.95 kB / 0.6678 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004118/0.1671, allocations: 284.6 kB / 0.6681 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003193/0.1675, allocations: 58.48 kB / 0.6681 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.1676, allocations: 28.89 kB / 0.6681 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002957/0.1679, allocations: 397.5 kB / 0.6685 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.1679, allocations: 34.56 kB / 0.6686 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 3.085e-06/0.1679, allocations: 0 / 0.6686 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004179/0.1683, allocations: 105.4 kB / 0.6687 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/0.1684, allocations: 51.41 kB / 0.6687 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.253e-05/0.1685, allocations: 109.8 kB / 0.6688 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.1685, allocations: 29.7 kB / 0.6688 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.718e-05/0.1686, allocations: 84.14 kB / 0.6689 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.967e-05/0.1686, allocations: 7.906 kB / 0.6689 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.807e-05/0.1687, allocations: 21.7 kB / 0.6689 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1688, allocations: 314.8 kB / 0.6692 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.756e-05/0.1689, allocations: 19.98 kB / 0.6693 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.382e-05/0.169, allocations: 19.97 kB / 0.6693 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/0.1692, allocations: 52.81 kB / 0.6693 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1692, allocations: 0 / 0.6693 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002295/0.1694, allocations: 73.59 kB / 0.6694 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.1695, allocations: 4 kB / 0.6694 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.1695, allocations: 0 / 0.6694 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.1695, allocations: 336 / 0.6694 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.388e-05/0.1696, allocations: 11.98 kB / 0.6694 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.1696, allocations: 4 kB / 0.6694 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.271e-05/0.1697, allocations: 11.98 kB / 0.6694 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.1697, allocations: 4 kB / 0.6694 GB, free: 1.219 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 8.416e-05/0.1698, allocations: 113.8 kB / 0.6695 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.934e-05/0.1698, allocations: 7.906 kB / 0.6696 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002706/0.1701, allocations: 85.48 kB / 0.6696 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1701, allocations: 4 kB / 0.6696 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1701, allocations: 4 kB / 0.6696 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.1701, allocations: 0 / 0.6696 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/0.1703, allocations: 173.7 kB / 0.6698 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1703, allocations: 0 / 0.6698 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.535e-05/0.1704, allocations: 11.98 kB / 0.6698 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1704, allocations: 0 / 0.6698 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.1704, allocations: 4 kB / 0.6698 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1704, allocations: 0 / 0.6698 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.1704, allocations: 3.984 kB / 0.6698 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002813/0.1707, allocations: 171.5 kB / 0.67 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.91e-05/0.1707, allocations: 88.89 kB / 0.6701 GB, free: 472 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.1708, allocations: 7.938 kB / 0.6701 GB, free: 464 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.283e-05/0.1709, allocations: 7.984 kB / 0.6701 GB, free: 456 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.424e-05/0.1709, allocations: 11.92 kB / 0.6701 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.171, allocations: 4 kB / 0.6701 GB, free: 440 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.273e-05/0.171, allocations: 87.59 kB / 0.6702 GB, free: 352 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.171, allocations: 0 / 0.6702 GB, free: 352 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002318/0.1713, allocations: 8 kB / 0.6702 GB, free: 344 kB / 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.0001627/0.1714, allocations: 104.6 kB / 0.6703 GB, free: 232 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002475/0.1717, allocations: 47.95 kB / 0.6703 GB, free: 184 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1717, allocations: 0 / 0.6703 GB, free: 184 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.913e-05/0.1718, allocations: 27.92 kB / 0.6704 GB, free: 156 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.1721, allocations: 13.8 kB / 0.6704 GB, free: 144 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003866/0.1725, allocations: 147.2 kB / 0.6705 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/0.1727, allocations: 0.6807 MB / 0.6712 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.142e-05/0.1728, allocations: 7.438 kB / 0.6712 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of SimCode: time 5.21e-07/0.1728, allocations: 0 / 0.6712 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of Templates: time 0.002251/0.1751, allocations: 0.8111 MB / 0.672 GB, free: 14.44 MB / 0.5137 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)