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.001538/0.001538, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001604/0.001604, allocations: 201.2 kB / 16.26 MB, free: 6.625 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.378/1.378, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9593/0.9593, allocations: 135.6 MB / 425.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 69.59 kB / 0.5054 GB, free: 5.172 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.158, allocations: 81.03 MB / 0.5845 GB, free: 4.277 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001704/0.1597, allocations: 0.63 MB / 0.5851 GB, free: 3.641 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002553/0.16, allocations: 63.78 kB / 0.5852 GB, free: 3.578 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.393e-05/0.16, allocations: 0 / 0.5852 GB, free: 3.578 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.419e-05/0.1601, allocations: 0 / 0.5852 GB, free: 3.578 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.638e-06/0.1601, allocations: 0 / 0.5852 GB, free: 3.578 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.1603, allocations: 15.98 kB / 0.5852 GB, free: 3.562 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.988e-05/0.1604, allocations: 27.97 kB / 0.5852 GB, free: 3.535 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.577e-05/0.1605, allocations: 7.984 kB / 0.5852 GB, free: 3.527 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.666e-05/0.1605, allocations: 8 kB / 0.5852 GB, free: 3.52 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.595e-05/0.1605, allocations: 11.94 kB / 0.5853 GB, free: 3.508 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.668e-06/0.1605, allocations: 0 / 0.5853 GB, free: 3.508 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.424e-05/0.1606, allocations: 23.91 kB / 0.5853 GB, free: 3.484 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.613e-05/0.1606, allocations: 15.98 kB / 0.5853 GB, free: 3.469 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.613e-05/0.1607, allocations: 11.94 kB / 0.5853 GB, free: 3.457 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.459e-05/0.1608, allocations: 35.89 kB / 0.5853 GB, free: 3.422 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1608, allocations: 0 / 0.5853 GB, free: 3.422 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1608, allocations: 4 kB / 0.5853 GB, free: 3.418 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.1608, allocations: 0 / 0.5853 GB, free: 3.418 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.000345/0.1611, allocations: 339.4 kB / 0.5857 GB, free: 3.035 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.1612, allocations: 8.031 kB / 0.5857 GB, free: 3.027 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.774e-05/0.1612, allocations: 4.938 kB / 0.5857 GB, free: 3.023 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.1613, allocations: 164.6 kB / 0.5858 GB, free: 2.824 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.1613, allocations: 8.375 kB / 0.5858 GB, free: 2.816 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.1614, allocations: 4.375 kB / 0.5858 GB, free: 2.812 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.1615, allocations: 70.16 kB / 0.5859 GB, free: 2.738 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.1615, allocations: 192 / 0.5859 GB, free: 2.738 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.1615, allocations: 3.938 kB / 0.5859 GB, free: 2.734 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1615, allocations: 0 / 0.5859 GB, free: 2.734 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001564/0.1617, allocations: 103.8 kB / 0.586 GB, free: 2.633 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001772/0.1619, allocations: 169.7 kB / 0.5862 GB, free: 2.418 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.162, allocations: 70.55 kB / 0.5862 GB, free: 2.34 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.051e-05/0.162, allocations: 36.84 kB / 0.5863 GB, free: 2.301 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003494/0.1624, allocations: 405.5 kB / 0.5867 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.1624, allocations: 42.55 kB / 0.5867 GB, free: 1.762 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/0.1624, allocations: 0 / 0.5867 GB, free: 1.762 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002435/0.1627, allocations: 121.7 kB / 0.5868 GB, free: 1.637 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.1627, allocations: 55.41 kB / 0.5869 GB, free: 1.57 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.899e-05/0.1628, allocations: 93.86 kB / 0.587 GB, free: 1.469 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.1628, allocations: 25.7 kB / 0.587 GB, free: 1.438 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.204e-05/0.1629, allocations: 80.14 kB / 0.5871 GB, free: 1.355 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/0.1629, allocations: 27.64 kB / 0.5871 GB, free: 1.328 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.64e-05/0.1629, allocations: 37.7 kB / 0.5871 GB, free: 1.285 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1631, allocations: 310.8 kB / 0.5874 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.808e-05/0.1631, allocations: 19.98 kB / 0.5874 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.467e-05/0.1632, allocations: 19.98 kB / 0.5875 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.5e-05/0.1633, allocations: 66.3 kB / 0.5875 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1633, allocations: 0 / 0.5875 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000142/0.1634, allocations: 93.44 kB / 0.5876 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.1634, allocations: 4 kB / 0.5876 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1635, allocations: 11.94 kB / 0.5876 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.1635, allocations: 3.938 kB / 0.5876 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.507e-05/0.1636, allocations: 23.98 kB / 0.5877 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.1636, allocations: 0 / 0.5877 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.056e-05/0.1636, allocations: 3.906 kB / 0.5877 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.1636, allocations: 4 kB / 0.5877 GB, free: 0.7227 MB / 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: 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.0001483/0.1638, allocations: 129.7 kB / 0.5878 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.054e-05/0.1638, allocations: 0 / 0.5878 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002248/0.164, allocations: 133.4 kB / 0.5879 GB, free: 456 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.164, allocations: 4 kB / 0.5879 GB, free: 452 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1641, allocations: 0 / 0.5879 GB, free: 452 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.1641, allocations: 0 / 0.5879 GB, free: 452 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.1642, allocations: 169.6 kB / 0.5881 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1642, allocations: 0 / 0.5881 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.581e-05/0.1643, allocations: 27.92 kB / 0.5881 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.1643, allocations: 3.938 kB / 0.5881 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.1643, allocations: 4 kB / 0.5881 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.1643, allocations: 8 kB / 0.5881 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1643, allocations: 0 / 0.5881 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.1645, allocations: 120.9 kB / 0.5882 GB, free: 48 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.023e-05/0.1646, allocations: 85.05 kB / 0.5883 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.1646, allocations: 0 / 0.5883 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.633e-05/0.1646, allocations: 4 kB / 0.5883 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.094e-05/0.1646, allocations: 7.984 kB / 0.5883 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.483e-06/0.1646, allocations: 8 kB / 0.5883 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.249e-05/0.1647, allocations: 76.98 kB / 0.5884 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1647, allocations: 0 / 0.5884 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000197/0.1649, allocations: 16 kB / 0.5884 GB, free: 15.84 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.0001682/0.1651, allocations: 122.9 kB / 0.5885 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001521/0.1652, allocations: 71.91 kB / 0.5886 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.1652, allocations: 0 / 0.5886 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.254e-05/0.1653, allocations: 47.91 kB / 0.5887 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001198/0.1654, allocations: 0 / 0.5887 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002705/0.1657, allocations: 156.8 kB / 0.5888 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.166, allocations: 0.6813 MB / 0.5895 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.215e-05/0.1661, allocations: 35.95 kB / 0.5895 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.427e-05/0.1661, allocations: 19.42 kB / 0.5895 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of SimCode: time 8.676e-06/0.1661, allocations: 0 / 0.5895 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of Templates: time 0.002729/0.1689, allocations: 0.6054 MB / 0.5901 GB, free: 14.05 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)