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.00628/0.00628, allocations: 106.3 kB / 15.74 MB, free: 6.004 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.001374/0.001375, allocations: 196.5 kB / 16.68 MB, free: 5.93 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8025/0.8025, allocations: 135.1 MB / 425.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 65.16 kB / 0.5856 GB, free: 21.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1591, allocations: 80.93 MB / 0.6647 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.00175/0.1609, allocations: 0.5668 MB / 0.6652 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002985/0.1612, allocations: 66.38 kB / 0.6653 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.986e-05/0.1612, allocations: 0 / 0.6653 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.703e-05/0.1612, allocations: 0 / 0.6653 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.801e-06/0.1613, allocations: 4 kB / 0.6653 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002888/0.1616, allocations: 15.92 kB / 0.6653 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.74e-05/0.1617, allocations: 31.95 kB / 0.6653 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.113e-05/0.1617, allocations: 4 kB / 0.6653 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.351e-05/0.1618, allocations: 11.94 kB / 0.6654 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.412e-05/0.1618, allocations: 19.97 kB / 0.6654 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.1618, allocations: 0 / 0.6654 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.482e-05/0.1619, allocations: 19.92 kB / 0.6654 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.741e-05/0.1619, allocations: 8 kB / 0.6654 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.489e-05/0.162, allocations: 15.92 kB / 0.6654 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.826e-05/0.1621, allocations: 39.89 kB / 0.6655 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1621, allocations: 0 / 0.6655 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1621, allocations: 0 / 0.6655 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.1621, allocations: 0 / 0.6655 GB, free: 4.957 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003208/0.1624, allocations: 339.4 kB / 0.6658 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.1625, allocations: 9.109 kB / 0.6658 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.414e-05/0.1625, allocations: 8.938 kB / 0.6658 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.209e-05/0.1626, allocations: 168.3 kB / 0.666 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.1626, allocations: 4.375 kB / 0.666 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.1627, allocations: 4.375 kB / 0.666 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.1628, allocations: 66.56 kB / 0.666 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.1628, allocations: 192 / 0.666 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.1629, allocations: 7.938 kB / 0.666 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1629, allocations: 0 / 0.666 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.163, allocations: 103.9 kB / 0.6661 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001733/0.1632, allocations: 169.6 kB / 0.6663 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.1633, allocations: 74.48 kB / 0.6664 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.429e-05/0.1634, allocations: 29.17 kB / 0.6664 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003325/0.1637, allocations: 409.5 kB / 0.6668 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.1637, allocations: 34.5 kB / 0.6668 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.1637, allocations: 0 / 0.6668 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0002461/0.164, allocations: 113.9 kB / 0.6669 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.1641, allocations: 63.34 kB / 0.667 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.293e-05/0.1641, allocations: 97.75 kB / 0.6671 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.1641, allocations: 25.7 kB / 0.6671 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.495e-05/0.1642, allocations: 88.14 kB / 0.6672 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.1642, allocations: 19.73 kB / 0.6672 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.675e-05/0.1642, allocations: 37.7 kB / 0.6672 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.1644, allocations: 314.8 kB / 0.6675 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.047e-05/0.1644, allocations: 23.92 kB / 0.6676 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.585e-05/0.1644, allocations: 24.03 kB / 0.6676 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.965e-05/0.1645, allocations: 56.83 kB / 0.6676 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.1646, allocations: 0 / 0.6676 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001388/0.1647, allocations: 97.52 kB / 0.6677 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1647, allocations: 15.94 kB / 0.6678 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.1647, allocations: 3.938 kB / 0.6678 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.1648, allocations: 3.938 kB / 0.6678 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.1649, allocations: 19.98 kB / 0.6678 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.1649, allocations: 7.984 kB / 0.6678 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.073e-05/0.1649, allocations: 0 / 0.6678 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.1649, allocations: 7.984 kB / 0.6678 GB, free: 2.242 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 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001338/0.1651, allocations: 121.8 kB / 0.6679 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.866e-05/0.1651, allocations: 7.906 kB / 0.6679 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002192/0.1653, allocations: 125.4 kB / 0.668 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.1653, allocations: 3.984 kB / 0.668 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1653, allocations: 0 / 0.668 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.1653, allocations: 0 / 0.668 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.1655, allocations: 169.7 kB / 0.6682 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1655, allocations: 4 kB / 0.6682 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.049e-05/0.1656, allocations: 15.98 kB / 0.6682 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.1656, allocations: 11.88 kB / 0.6682 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.1656, allocations: 0 / 0.6682 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1656, allocations: 4 kB / 0.6682 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/0.1656, allocations: 3.984 kB / 0.6682 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.1658, allocations: 121 kB / 0.6684 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.528e-05/0.1658, allocations: 84.98 kB / 0.6684 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.1658, allocations: 4 kB / 0.6684 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.708e-05/0.1658, allocations: 3.984 kB / 0.6684 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.1659, allocations: 8 kB / 0.6685 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.1659, allocations: 7.984 kB / 0.6685 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.604e-05/0.1659, allocations: 79.28 kB / 0.6685 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.1659, allocations: 0 / 0.6685 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002023/0.1661, allocations: 12 kB / 0.6686 GB, free: 1.367 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 (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.0001695/0.1663, allocations: 112.6 kB / 0.6687 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001571/0.1665, allocations: 68.38 kB / 0.6687 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.1665, allocations: 0 / 0.6687 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.509e-05/0.1666, allocations: 43.92 kB / 0.6688 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001312/0.1667, allocations: 2.312 kB / 0.6688 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002881/0.167, allocations: 164.7 kB / 0.6689 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.1673, allocations: 0.6807 MB / 0.6696 GB, free: 252 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.52e-05/0.1673, allocations: 31.97 kB / 0.6696 GB, free: 220 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.62e-05/0.1674, allocations: 15.42 kB / 0.6696 GB, free: 204 kB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1674, allocations: 0 / 0.6696 GB, free: 204 kB / 0.4981 GB Notification: Performance of Templates: time 0.002641/0.17, allocations: 0.6161 MB / 0.6702 GB, free: 15.59 MB / 0.5137 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)