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.005579/0.005579, allocations: 100.8 kB / 15.87 MB, free: 5.871 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.001313/0.001314, allocations: 199 kB / 16.79 MB, free: 5.816 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.322/1.322, allocations: 222.9 MB / 240.5 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.923/0.923, allocations: 135.1 MB / 425.8 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 60.06 kB / 0.5053 GB, free: 5.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1446, allocations: 80.93 MB / 0.5844 GB, free: 5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.002457/0.1471, allocations: 1.576 MB / 0.5859 GB, free: 3.402 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003371/0.1474, allocations: 148.4 kB / 0.586 GB, free: 3.254 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.318e-05/0.1475, allocations: 0 / 0.586 GB, free: 3.254 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.957e-05/0.1475, allocations: 0 / 0.586 GB, free: 3.254 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.791e-05/0.1476, allocations: 3.938 kB / 0.586 GB, free: 3.25 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002017/0.1478, allocations: 23.92 kB / 0.5861 GB, free: 3.227 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.736e-05/0.1478, allocations: 39.91 kB / 0.5861 GB, free: 3.188 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.867e-05/0.1479, allocations: 11.98 kB / 0.5861 GB, free: 3.176 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.089e-05/0.148, allocations: 15.94 kB / 0.5861 GB, free: 3.16 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.761e-05/0.148, allocations: 19.92 kB / 0.5861 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.148, allocations: 0 / 0.5861 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.318e-05/0.1481, allocations: 23.97 kB / 0.5862 GB, free: 3.117 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.39e-05/0.1481, allocations: 7.984 kB / 0.5862 GB, free: 3.109 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.796e-05/0.1481, allocations: 15.88 kB / 0.5862 GB, free: 3.094 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.412e-05/0.1482, allocations: 27.95 kB / 0.5862 GB, free: 3.066 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1482, allocations: 0 / 0.5862 GB, free: 3.066 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.01e-07/0.1482, allocations: 0 / 0.5862 GB, free: 3.066 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.1482, allocations: 0 / 0.5862 GB, free: 3.066 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004394/0.1487, allocations: 359.7 kB / 0.5866 GB, free: 2.664 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.1487, allocations: 8.031 kB / 0.5866 GB, free: 2.656 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.45e-05/0.1488, allocations: 4.844 kB / 0.5866 GB, free: 2.652 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.1489, allocations: 168.4 kB / 0.5867 GB, free: 2.449 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.1489, allocations: 8.312 kB / 0.5867 GB, free: 2.441 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.1489, allocations: 4.375 kB / 0.5867 GB, free: 2.438 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.1491, allocations: 62.22 kB / 0.5868 GB, free: 2.371 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.1491, allocations: 192 / 0.5868 GB, free: 2.371 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.659e-06/0.1491, allocations: 7.938 kB / 0.5868 GB, free: 2.363 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.1491, allocations: 4 kB / 0.5868 GB, free: 2.359 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001858/0.1493, allocations: 43.95 kB / 0.5869 GB, free: 2.316 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003582/0.1497, allocations: 280.6 kB / 0.5871 GB, free: 1.992 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003078/0.15, allocations: 62.53 kB / 0.5872 GB, free: 1.922 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.52e-05/0.1501, allocations: 24.91 kB / 0.5872 GB, free: 1.895 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002556/0.1504, allocations: 401.5 kB / 0.5876 GB, free: 1.41 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.1504, allocations: 30.56 kB / 0.5876 GB, free: 1.371 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1504, allocations: 0 / 0.5876 GB, free: 1.371 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003776/0.1508, allocations: 101.6 kB / 0.5877 GB, free: 1.266 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.1508, allocations: 55.41 kB / 0.5878 GB, free: 1.199 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.82e-05/0.1509, allocations: 105.8 kB / 0.5879 GB, free: 1.086 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.1509, allocations: 29.64 kB / 0.5879 GB, free: 1.051 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.504e-05/0.151, allocations: 92.05 kB / 0.588 GB, free: 0.957 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.087e-05/0.151, allocations: 0 / 0.588 GB, free: 0.957 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.263e-05/0.151, allocations: 17.72 kB / 0.588 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.538e-05/0.1511, allocations: 322.8 kB / 0.5883 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.361e-05/0.1512, allocations: 19.98 kB / 0.5883 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.239e-05/0.1513, allocations: 19.97 kB / 0.5884 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.1515, allocations: 40.83 kB / 0.5884 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1515, allocations: 0 / 0.5884 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002199/0.1517, allocations: 93.7 kB / 0.5885 GB, free: 440 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.1518, allocations: 6.812 kB / 0.5885 GB, free: 436 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.1518, allocations: 48 / 0.5885 GB, free: 436 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.1518, allocations: 3.984 kB / 0.5885 GB, free: 432 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.144e-05/0.1519, allocations: 11.98 kB / 0.5885 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.1519, allocations: 0 / 0.5885 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.106e-05/0.1519, allocations: 8 kB / 0.5885 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.152, allocations: 4 kB / 0.5885 GB, free: 408 kB / 494.1 MB 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 7.435e-05/0.152, allocations: 117.8 kB / 0.5886 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.1521, allocations: 4 kB / 0.5886 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002535/0.1523, allocations: 85.48 kB / 0.5887 GB, free: 180 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.1523, allocations: 4 kB / 0.5887 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1524, allocations: 0 / 0.5887 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.1524, allocations: 0 / 0.5887 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.1525, allocations: 177.6 kB / 0.5889 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1525, allocations: 0 / 0.5889 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.057e-05/0.1526, allocations: 15.98 kB / 0.5889 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1526, allocations: 0 / 0.5889 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.1526, allocations: 4 kB / 0.5889 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1527, allocations: 0 / 0.5889 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1527, allocations: 0 / 0.5889 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.1529, allocations: 171.4 kB / 0.5891 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.389e-05/0.153, allocations: 81.11 kB / 0.5891 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.153, allocations: 7.938 kB / 0.5892 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.639e-05/0.1531, allocations: 7.984 kB / 0.5892 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/0.1531, allocations: 11.92 kB / 0.5892 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-06/0.1531, allocations: 4 kB / 0.5892 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.641e-05/0.1532, allocations: 79.28 kB / 0.5892 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1532, allocations: 0 / 0.5892 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002245/0.1534, allocations: 12 kB / 0.5893 GB, free: 15.53 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.0001279/0.1535, allocations: 103.2 kB / 0.5894 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002292/0.1538, allocations: 51.95 kB / 0.5894 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1538, allocations: 0 / 0.5894 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.587e-05/0.1539, allocations: 19.92 kB / 0.5894 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.1542, allocations: 15.88 kB / 0.5894 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002861/0.1545, allocations: 160.9 kB / 0.5896 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.1547, allocations: 0.6848 MB / 0.5903 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.963e-05/0.1547, allocations: 11.44 kB / 0.5903 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1547, allocations: 0 / 0.5903 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of Templates: time 0.001882/0.1566, allocations: 0.787 MB / 0.591 GB, free: 13.64 MB / 0.4981 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)