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.0009073/0.0009073, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.0008693/0.0008694, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.228/1.228, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8515/0.8515, allocations: 135.2 MB / 426.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002958/0.0002958, allocations: 12 kB / 0.5068 GB, free: 5.289 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1446, allocations: 82.32 MB / 0.5872 GB, free: 3.152 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.001433/0.1461, allocations: 1.239 MB / 0.5884 GB, free: 1.898 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002593/0.1463, allocations: 128.5 kB / 0.5885 GB, free: 1.77 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.463e-05/0.1464, allocations: 0 / 0.5885 GB, free: 1.77 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.175e-05/0.1464, allocations: 0 / 0.5885 GB, free: 1.77 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.568e-05/0.1464, allocations: 0 / 0.5885 GB, free: 1.77 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001946/0.1466, allocations: 31.84 kB / 0.5886 GB, free: 1.738 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.31e-05/0.1467, allocations: 11.98 kB / 0.5886 GB, free: 1.727 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.073e-05/0.1468, allocations: 23.97 kB / 0.5886 GB, free: 1.703 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.101e-05/0.1468, allocations: 7.938 kB / 0.5886 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.391e-05/0.1468, allocations: 11.98 kB / 0.5886 GB, free: 1.684 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.1469, allocations: 4 kB / 0.5886 GB, free: 1.68 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.796e-05/0.1469, allocations: 15.92 kB / 0.5886 GB, free: 1.664 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.169e-05/0.1469, allocations: 7.984 kB / 0.5886 GB, free: 1.656 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.412e-05/0.147, allocations: 29.7 kB / 0.5887 GB, free: 1.621 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.583e-05/0.147, allocations: 27.94 kB / 0.5887 GB, free: 1.594 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.147, allocations: 0 / 0.5887 GB, free: 1.594 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.147, allocations: 0 / 0.5887 GB, free: 1.594 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.116e-06/0.147, allocations: 0 / 0.5887 GB, free: 1.594 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.0003853/0.1474, allocations: 355.5 kB / 0.589 GB, free: 1.199 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.764e-05/0.1475, allocations: 8.031 kB / 0.589 GB, free: 1.191 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.401e-05/0.1475, allocations: 4 kB / 0.589 GB, free: 1.188 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.1476, allocations: 178.9 kB / 0.5892 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.1476, allocations: 4 kB / 0.5892 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.1476, allocations: 0 / 0.5892 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.1478, allocations: 69.67 kB / 0.5893 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.1478, allocations: 3.938 kB / 0.5893 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.1479, allocations: 0 / 0.5893 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.1479, allocations: 0 / 0.5893 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001829/0.1481, allocations: 59.95 kB / 0.5894 GB, free: 0.832 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003425/0.1484, allocations: 284.7 kB / 0.5896 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000271/0.1487, allocations: 66.59 kB / 0.5897 GB, free: 440 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002397/0.1489, allocations: 397.6 kB / 0.5901 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.149, allocations: 34.56 kB / 0.5901 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.149, allocations: 0 / 0.5901 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003603/0.1493, allocations: 117.5 kB / 0.5902 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.1494, allocations: 55.41 kB / 0.5903 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.024e-05/0.1494, allocations: 109.8 kB / 0.5904 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.1495, allocations: 25.7 kB / 0.5904 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.614e-05/0.1495, allocations: 88.14 kB / 0.5905 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.104e-05/0.1495, allocations: 3.906 kB / 0.5905 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.1495, allocations: 0 / 0.5905 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.051e-05/0.1496, allocations: 322.8 kB / 0.5908 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.671e-05/0.1497, allocations: 23.98 kB / 0.5908 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.808e-05/0.1498, allocations: 19.98 kB / 0.5908 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.69e-05/0.1499, allocations: 31.97 kB / 0.5909 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1499, allocations: 0 / 0.5909 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002035/0.1501, allocations: 89.5 kB / 0.5909 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.1501, allocations: 8 kB / 0.591 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.1502, allocations: 0 / 0.591 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.1502, allocations: 4 kB / 0.591 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.488e-05/0.1502, allocations: 15.92 kB / 0.591 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.1503, allocations: 0 / 0.591 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.754e-05/0.1503, allocations: 11.98 kB / 0.591 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.1503, allocations: 3.953 kB / 0.591 GB, free: 14.94 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 (rea2Int.y,falFac.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.009e-05/0.1504, allocations: 114.2 kB / 0.5911 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.06e-05/0.1504, allocations: 0 / 0.5911 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002439/0.1507, allocations: 105.5 kB / 0.5912 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1507, allocations: 0 / 0.5912 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.155e-06/0.1507, allocations: 4 kB / 0.5912 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1507, allocations: 0 / 0.5912 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.1509, allocations: 173.6 kB / 0.5914 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.1509, allocations: 4 kB / 0.5914 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.854e-05/0.1509, allocations: 8 kB / 0.5914 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.151, allocations: 3.984 kB / 0.5914 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.151, allocations: 4 kB / 0.5914 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.151, allocations: 320 / 0.5914 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.151, allocations: 0 / 0.5914 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002449/0.1512, allocations: 191.3 kB / 0.5916 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.528e-05/0.1513, allocations: 77.11 kB / 0.5916 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.1513, allocations: 7.984 kB / 0.5916 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.008e-05/0.1514, allocations: 4 kB / 0.5917 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/0.1514, allocations: 11.92 kB / 0.5917 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.1514, allocations: 4 kB / 0.5917 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.741e-05/0.1515, allocations: 95.25 kB / 0.5918 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1515, allocations: 0 / 0.5918 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002053/0.1517, allocations: 8 kB / 0.5918 GB, free: 14.04 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001254/0.1518, allocations: 107.2 kB / 0.5919 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002119/0.152, allocations: 55.95 kB / 0.5919 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.152, allocations: 0 / 0.5919 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.425e-05/0.1521, allocations: 31.97 kB / 0.592 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/0.1523, allocations: 7.953 kB / 0.592 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002553/0.1526, allocations: 136.5 kB / 0.5921 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.1528, allocations: 0.6848 MB / 0.5928 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.784e-05/0.1528, allocations: 4 kB / 0.5928 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.208e-05/0.1529, allocations: 7.438 kB / 0.5928 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1529, allocations: 4 kB / 0.5928 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of Templates: time 0.002345/0.1552, allocations: 0.6349 MB / 0.5934 GB, free: 12.32 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: