Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Math.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001082/0.001082, allocations: 111.9 kB / 16.41 MB, free: 6.492 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.001022/0.001022, allocations: 183 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.327/1.327, 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/package.mo): time 0.7623/0.7623, allocations: 132.2 MB / 423.4 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 60.88 kB / 0.582 GB, free: 23.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1488, allocations: 80.22 MB / 0.6603 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.003281/0.1521, allocations: 1.522 MB / 0.6618 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00045/0.1526, allocations: 140.3 kB / 0.662 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.237e-05/0.1526, allocations: 4 kB / 0.662 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.178e-05/0.1527, allocations: 4 kB / 0.662 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.069e-05/0.1528, allocations: 3.938 kB / 0.662 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000339/0.1531, allocations: 27.91 kB / 0.662 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.942e-05/0.1532, allocations: 39.89 kB / 0.662 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.1534, allocations: 12 kB / 0.662 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.583e-05/0.1534, allocations: 15.92 kB / 0.6621 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.869e-05/0.1535, allocations: 19.92 kB / 0.6621 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.1535, allocations: 4 kB / 0.6621 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.415e-05/0.1536, allocations: 19.98 kB / 0.6621 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.043e-05/0.1536, allocations: 11.98 kB / 0.6621 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.335e-05/0.1536, allocations: 15.86 kB / 0.6621 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.1538, allocations: 47.88 kB / 0.6622 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.1538, allocations: 0 / 0.6622 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.963e-06/0.1538, allocations: 4 kB / 0.6622 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.1538, allocations: 0 / 0.6622 GB, free: 8.336 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.0005293/0.1544, allocations: 351.4 kB / 0.6625 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.1544, allocations: 8.031 kB / 0.6625 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.1545, allocations: 12.88 kB / 0.6625 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.1546, allocations: 164.3 kB / 0.6627 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.1546, allocations: 8.375 kB / 0.6627 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.1547, allocations: 384 / 0.6627 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002217/0.1549, allocations: 70.2 kB / 0.6628 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.1549, allocations: 192 / 0.6628 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.1549, allocations: 3.938 kB / 0.6628 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.1549, allocations: 0 / 0.6628 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002067/0.1551, allocations: 47.95 kB / 0.6628 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000432/0.1556, allocations: 280.7 kB / 0.6631 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003376/0.1559, allocations: 58.53 kB / 0.6631 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.156, allocations: 28.89 kB / 0.6632 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003182/0.1564, allocations: 401.5 kB / 0.6636 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.1564, allocations: 34.56 kB / 0.6636 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.1564, allocations: 3.938 kB / 0.6636 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004319/0.1569, allocations: 97.53 kB / 0.6637 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.1569, allocations: 51.41 kB / 0.6637 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.157, allocations: 109.8 kB / 0.6638 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.157, allocations: 33.64 kB / 0.6639 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.681e-05/0.1571, allocations: 84.22 kB / 0.6639 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.1571, allocations: 7.891 kB / 0.664 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.853e-05/0.1571, allocations: 21.7 kB / 0.664 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.1573, allocations: 318.8 kB / 0.6643 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.61e-05/0.1574, allocations: 15.98 kB / 0.6643 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.672e-05/0.1575, allocations: 23.97 kB / 0.6643 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/0.1577, allocations: 52.75 kB / 0.6644 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.1577, allocations: 0 / 0.6644 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002283/0.1579, allocations: 69.66 kB / 0.6644 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.788e-05/0.158, allocations: 9.562 kB / 0.6644 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.158, allocations: 0 / 0.6644 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.158, allocations: 0 / 0.6644 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.729e-05/0.1581, allocations: 15.98 kB / 0.6645 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.1581, allocations: 320 / 0.6645 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.695e-05/0.1582, allocations: 15.89 kB / 0.6645 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.1582, allocations: 0 / 0.6645 GB, free: 5.668 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.14e-05/0.1583, allocations: 113.8 kB / 0.6646 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.737e-05/0.1583, allocations: 0 / 0.6646 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000293/0.1586, allocations: 97.81 kB / 0.6647 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1587, allocations: 0 / 0.6647 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1587, allocations: 0 / 0.6647 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.1587, allocations: 4.031 kB / 0.6647 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.1589, allocations: 165.6 kB / 0.6648 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1589, allocations: 0 / 0.6648 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.86e-05/0.1589, allocations: 11.98 kB / 0.6649 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.159, allocations: 0 / 0.6649 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.159, allocations: 4 kB / 0.6649 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.159, allocations: 7.938 kB / 0.6649 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.159, allocations: 0 / 0.6649 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000284/0.1593, allocations: 183.3 kB / 0.665 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.785e-05/0.1593, allocations: 81.05 kB / 0.6651 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.1593, allocations: 0 / 0.6651 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.695e-05/0.1594, allocations: 7.984 kB / 0.6651 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.42e-05/0.1595, allocations: 11.98 kB / 0.6651 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.1595, allocations: 0 / 0.6651 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.754e-05/0.1596, allocations: 95.27 kB / 0.6652 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1596, allocations: 0 / 0.6652 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000362/0.1599, allocations: 8 kB / 0.6652 GB, free: 4.781 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.0001753/0.1601, allocations: 103.2 kB / 0.6653 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002416/0.1604, allocations: 43.95 kB / 0.6654 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1604, allocations: 3.938 kB / 0.6654 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.1605, allocations: 31.92 kB / 0.6654 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.1608, allocations: 7.922 kB / 0.6654 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003627/0.1612, allocations: 143.2 kB / 0.6656 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/0.1616, allocations: 0.6806 MB / 0.6662 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/0.1616, allocations: 11.44 kB / 0.6662 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.1616, allocations: 0 / 0.6662 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of Templates: time 0.002649/0.1643, allocations: 0.797 MB / 0.667 GB, free: 2.898 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)