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.005339/0.005339, allocations: 100.7 kB / 15.73 MB, free: 6.062 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.00118/0.00118, allocations: 194.3 kB / 16.67 MB, free: 5.973 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: 222.9 MB / 240.4 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.8339/0.8339, allocations: 135.1 MB / 425.7 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001103, allocations: 59.41 kB / 0.5856 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1578, allocations: 80.93 MB / 0.6647 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001782/0.1596, allocations: 0.5673 MB / 0.6652 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003178/0.1599, allocations: 62.38 kB / 0.6653 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.102e-05/0.16, allocations: 3.938 kB / 0.6653 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.833e-05/0.16, allocations: 0 / 0.6653 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.091e-06/0.16, allocations: 0 / 0.6653 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003188/0.1603, allocations: 19.91 kB / 0.6653 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.374e-05/0.1604, allocations: 31.98 kB / 0.6653 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.639e-05/0.1605, allocations: 0 / 0.6653 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.505e-05/0.1605, allocations: 23.91 kB / 0.6654 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.666e-05/0.1605, allocations: 4 kB / 0.6654 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.1606, allocations: 4 kB / 0.6654 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.074e-05/0.1606, allocations: 15.98 kB / 0.6654 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.25e-05/0.1607, allocations: 15.97 kB / 0.6654 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.247e-05/0.1607, allocations: 15.94 kB / 0.6654 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.1608, allocations: 35.83 kB / 0.6655 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1608, allocations: 0 / 0.6655 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1609, allocations: 0 / 0.6655 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.1609, allocations: 4 kB / 0.6655 GB, free: 4.965 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.0003087/0.1612, allocations: 339.4 kB / 0.6658 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.1612, allocations: 13.05 kB / 0.6658 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.814e-05/0.1613, allocations: 8.891 kB / 0.6658 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.586e-05/0.1614, allocations: 160.4 kB / 0.666 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.1614, allocations: 4.375 kB / 0.666 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.1614, allocations: 4.375 kB / 0.666 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.1615, allocations: 66.5 kB / 0.666 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.1616, allocations: 192 / 0.666 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.1616, allocations: 11.94 kB / 0.666 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.1616, allocations: 3.984 kB / 0.666 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.1617, allocations: 103.9 kB / 0.6661 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001565/0.1619, allocations: 165.7 kB / 0.6663 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.162, allocations: 70.55 kB / 0.6664 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.131e-05/0.162, allocations: 32.78 kB / 0.6664 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003464/0.1624, allocations: 409.8 kB / 0.6668 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.1624, allocations: 42.5 kB / 0.6668 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 9.92e-07/0.1624, allocations: 0 / 0.6668 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.000261/0.1627, allocations: 113.9 kB / 0.6669 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.1627, allocations: 51.41 kB / 0.667 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.496e-05/0.1628, allocations: 97.84 kB / 0.6671 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.1628, allocations: 29.7 kB / 0.6671 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.189e-05/0.1628, allocations: 80.14 kB / 0.6672 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.1629, allocations: 23.8 kB / 0.6672 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.905e-05/0.1629, allocations: 37.64 kB / 0.6672 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.163, allocations: 318.8 kB / 0.6676 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.753e-05/0.1631, allocations: 27.86 kB / 0.6676 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.557e-05/0.1631, allocations: 28.03 kB / 0.6676 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.867e-05/0.1632, allocations: 60.83 kB / 0.6677 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1632, allocations: 0 / 0.6677 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001752/0.1634, allocations: 93.62 kB / 0.6678 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.1634, allocations: 7.938 kB / 0.6678 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1634, allocations: 3.938 kB / 0.6678 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.1634, allocations: 0 / 0.6678 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.974e-05/0.1635, allocations: 27.92 kB / 0.6678 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.1636, allocations: 0 / 0.6678 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.16e-05/0.1636, allocations: 7.938 kB / 0.6678 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-06/0.1636, allocations: 0 / 0.6678 GB, free: 2.254 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.0001077/0.1637, allocations: 121.8 kB / 0.6679 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.294e-05/0.1637, allocations: 7.953 kB / 0.6679 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002008/0.1639, allocations: 125.5 kB / 0.668 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1639, allocations: 4 kB / 0.668 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1639, allocations: 4 kB / 0.668 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.164, allocations: 3.984 kB / 0.6681 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.1641, allocations: 165.7 kB / 0.6682 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1641, allocations: 0 / 0.6682 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.788e-05/0.1642, allocations: 23.98 kB / 0.6682 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.1642, allocations: 3.938 kB / 0.6682 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.1642, allocations: 3.938 kB / 0.6682 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1642, allocations: 4 kB / 0.6682 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1642, allocations: 0 / 0.6682 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.1644, allocations: 125 kB / 0.6684 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.763e-05/0.1644, allocations: 88.98 kB / 0.6684 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.1644, allocations: 4 kB / 0.6685 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.441e-05/0.1644, allocations: 0 / 0.6685 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.073e-05/0.1645, allocations: 7.984 kB / 0.6685 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.1645, allocations: 4 kB / 0.6685 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.106e-05/0.1645, allocations: 75.28 kB / 0.6685 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1645, allocations: 0 / 0.6685 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001842/0.1647, allocations: 20 kB / 0.6686 GB, free: 1.375 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.0001698/0.1649, allocations: 112.6 kB / 0.6687 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001316/0.165, allocations: 64.39 kB / 0.6687 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.165, allocations: 0 / 0.6687 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.959e-05/0.1651, allocations: 31.97 kB / 0.6688 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001625/0.1653, allocations: 8.438 kB / 0.6688 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002413/0.1655, allocations: 160.5 kB / 0.6689 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.1658, allocations: 0.6846 MB / 0.6696 GB, free: 268 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.836e-05/0.1659, allocations: 35.95 kB / 0.6696 GB, free: 232 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.307e-05/0.1659, allocations: 15.42 kB / 0.6696 GB, free: 216 kB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1659, allocations: 0 / 0.6696 GB, free: 216 kB / 0.4981 GB Notification: Performance of Templates: time 0.002587/0.1685, allocations: 0.6057 MB / 0.6702 GB, free: 15.61 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)