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.000976/0.000976, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 182.4 kB / 16.92 MB, free: 6.918 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.344/1.344, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9001/0.9001, allocations: 135.3 MB / 427.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000332/0.0003321, allocations: 12 kB / 0.5082 GB, free: 4.797 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1438, allocations: 82.31 MB / 0.5886 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0006515/0.1444, allocations: 307.1 kB / 0.5889 GB, free: 2.352 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002615/0.1447, allocations: 55.84 kB / 0.589 GB, free: 2.297 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.141e-05/0.1447, allocations: 0 / 0.589 GB, free: 2.297 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.189e-05/0.1448, allocations: 0 / 0.589 GB, free: 2.297 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.043e-06/0.1448, allocations: 0 / 0.589 GB, free: 2.297 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.145, allocations: 11.94 kB / 0.589 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.623e-05/0.1451, allocations: 31.95 kB / 0.589 GB, free: 2.254 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4e-05/0.1451, allocations: 4 kB / 0.589 GB, free: 2.25 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.904e-05/0.1452, allocations: 8 kB / 0.589 GB, free: 2.242 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.091e-05/0.1452, allocations: 19.97 kB / 0.589 GB, free: 2.223 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.1452, allocations: 7.938 kB / 0.5891 GB, free: 2.215 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.719e-05/0.1453, allocations: 11.98 kB / 0.5891 GB, free: 2.203 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.544e-05/0.1453, allocations: 8 kB / 0.5891 GB, free: 2.195 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.022e-05/0.1454, allocations: 41.62 kB / 0.5891 GB, free: 2.148 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.941e-05/0.1454, allocations: 19.97 kB / 0.5891 GB, free: 2.129 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.1455, allocations: 4 kB / 0.5891 GB, free: 2.125 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1455, allocations: 0 / 0.5891 GB, free: 2.125 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.1455, allocations: 0 / 0.5891 GB, free: 2.125 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002752/0.1458, allocations: 327.5 kB / 0.5894 GB, free: 1.754 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.1458, allocations: 8.031 kB / 0.5895 GB, free: 1.746 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.915e-05/0.1458, allocations: 12.84 kB / 0.5895 GB, free: 1.734 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.132e-05/0.1459, allocations: 168.6 kB / 0.5896 GB, free: 1.531 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.1459, allocations: 4.312 kB / 0.5896 GB, free: 1.527 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.146, allocations: 12.31 kB / 0.5896 GB, free: 1.516 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.1461, allocations: 58.23 kB / 0.5897 GB, free: 1.453 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.1461, allocations: 192 / 0.5897 GB, free: 1.453 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.1461, allocations: 7.938 kB / 0.5897 GB, free: 1.445 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.1462, allocations: 3.984 kB / 0.5897 GB, free: 1.441 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.1463, allocations: 103.9 kB / 0.5898 GB, free: 1.34 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001624/0.1465, allocations: 177.6 kB / 0.59 GB, free: 1.117 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.1466, allocations: 81.44 kB / 0.5901 GB, free: 1.031 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.47e-05/0.1466, allocations: 28.84 kB / 0.5901 GB, free: 1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003087/0.147, allocations: 397.5 kB / 0.5905 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.147, allocations: 38.55 kB / 0.5905 GB, free: 484 kB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.323e-06/0.147, allocations: 0 / 0.5905 GB, free: 484 kB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002405/0.1472, allocations: 121.8 kB / 0.5906 GB, free: 356 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.1473, allocations: 55.41 kB / 0.5907 GB, free: 288 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.855e-05/0.1473, allocations: 89.86 kB / 0.5908 GB, free: 188 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.1474, allocations: 33.7 kB / 0.5908 GB, free: 148 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.404e-05/0.1474, allocations: 84.08 kB / 0.5909 GB, free: 60 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.1474, allocations: 23.66 kB / 0.5909 GB, free: 36 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.1475, allocations: 21.7 kB / 0.5909 GB, free: 8 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.1476, allocations: 310.8 kB / 0.5912 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.432e-05/0.1476, allocations: 19.98 kB / 0.5912 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.532e-05/0.1477, allocations: 23.98 kB / 0.5913 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.107e-05/0.1478, allocations: 66.41 kB / 0.5913 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1478, allocations: 4 kB / 0.5913 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001267/0.1479, allocations: 81.67 kB / 0.5914 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.1479, allocations: 8 kB / 0.5914 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1479, allocations: 7.922 kB / 0.5914 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.148, allocations: 0 / 0.5914 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.1481, allocations: 23.94 kB / 0.5914 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1481, allocations: 0 / 0.5914 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.266e-05/0.1481, allocations: 3.906 kB / 0.5914 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.1481, allocations: 11.92 kB / 0.5914 GB, free: 15.44 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.0001206/0.1483, allocations: 121.8 kB / 0.5916 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.427e-06/0.1483, allocations: 0 / 0.5916 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002283/0.1485, allocations: 145.2 kB / 0.5917 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.1485, allocations: 0 / 0.5917 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1485, allocations: 0 / 0.5917 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1486, allocations: 0 / 0.5917 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.1487, allocations: 173.7 kB / 0.5919 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1487, allocations: 3.984 kB / 0.5919 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.335e-05/0.1488, allocations: 12 kB / 0.5919 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.1488, allocations: 7.938 kB / 0.5919 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.1488, allocations: 4 kB / 0.5919 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.1488, allocations: 3.984 kB / 0.5919 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1488, allocations: 0 / 0.5919 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/0.1489, allocations: 124 kB / 0.592 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.12e-05/0.149, allocations: 88.95 kB / 0.5921 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.149, allocations: 3.984 kB / 0.5921 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.827e-05/0.149, allocations: 8 kB / 0.5921 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.394e-05/0.1491, allocations: 4 kB / 0.5921 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.1491, allocations: 3.984 kB / 0.5921 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.532e-05/0.1491, allocations: 75.28 kB / 0.5922 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1491, allocations: 0 / 0.5922 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001963/0.1493, allocations: 16 kB / 0.5922 GB, free: 14.56 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.0001761/0.1495, allocations: 119.2 kB / 0.5923 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001268/0.1496, allocations: 67.83 kB / 0.5924 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1497, allocations: 0 / 0.5924 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.381e-05/0.1497, allocations: 31.98 kB / 0.5924 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001383/0.1498, allocations: 13.81 kB / 0.5924 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002761/0.1501, allocations: 188.4 kB / 0.5926 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/0.1504, allocations: 0.6809 MB / 0.5933 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.689e-05/0.1504, allocations: 15.44 kB / 0.5933 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of SimCode: time 4.51e-07/0.1504, allocations: 0 / 0.5933 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of Templates: time 0.002253/0.1527, allocations: 0.9469 MB / 0.5942 GB, free: 12.45 MB / 0.4981 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)