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.0008873/0.0008874, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001022/0.001022, allocations: 168.7 kB / 15.95 MB, free: 204 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.413/1.413, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.053/1.053, allocations: 135.3 MB / 426.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002958/0.0002959, allocations: 12 kB / 0.507 GB, free: 5.172 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1606, allocations: 82.31 MB / 0.5874 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.001641/0.1623, allocations: 1.233 MB / 0.5886 GB, free: 1.785 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003237/0.1627, allocations: 128.5 kB / 0.5887 GB, free: 1.656 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.272e-05/0.1627, allocations: 4 kB / 0.5887 GB, free: 1.652 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.468e-05/0.1627, allocations: 7.922 kB / 0.5887 GB, free: 1.645 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.777e-05/0.1628, allocations: 0 / 0.5887 GB, free: 1.645 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.163, allocations: 23.98 kB / 0.5887 GB, free: 1.621 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.328e-05/0.1631, allocations: 35.84 kB / 0.5888 GB, free: 1.586 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.479e-05/0.1632, allocations: 11.98 kB / 0.5888 GB, free: 1.574 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.141e-05/0.1632, allocations: 4 kB / 0.5888 GB, free: 1.57 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.893e-05/0.1633, allocations: 15.92 kB / 0.5888 GB, free: 1.555 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.1633, allocations: 4 kB / 0.5888 GB, free: 1.551 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.965e-05/0.1633, allocations: 15.98 kB / 0.5888 GB, free: 1.535 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.199e-05/0.1634, allocations: 7.922 kB / 0.5888 GB, free: 1.527 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.334e-05/0.1634, allocations: 29.7 kB / 0.5889 GB, free: 1.492 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.791e-05/0.1635, allocations: 31.94 kB / 0.5889 GB, free: 1.461 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1635, allocations: 4 kB / 0.5889 GB, free: 1.457 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1635, allocations: 0 / 0.5889 GB, free: 1.457 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.357e-06/0.1635, allocations: 0 / 0.5889 GB, free: 1.457 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.0004233/0.1639, allocations: 347.5 kB / 0.5892 GB, free: 1.07 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.164, allocations: 8.031 kB / 0.5892 GB, free: 1.062 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.701e-05/0.164, allocations: 4 kB / 0.5892 GB, free: 1.059 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.952e-05/0.1641, allocations: 174.9 kB / 0.5894 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.1641, allocations: 4 kB / 0.5894 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.1642, allocations: 4 kB / 0.5894 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.1644, allocations: 73.58 kB / 0.5895 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.1644, allocations: 4 kB / 0.5895 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.106e-06/0.1644, allocations: 0 / 0.5895 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1644, allocations: 0 / 0.5895 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001853/0.1646, allocations: 63.92 kB / 0.5895 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003676/0.165, allocations: 280.8 kB / 0.5898 GB, free: 380 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002838/0.1653, allocations: 66.48 kB / 0.5899 GB, free: 304 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.598e-05/0.1654, allocations: 32.89 kB / 0.5899 GB, free: 268 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002649/0.1657, allocations: 401.5 kB / 0.5903 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.1657, allocations: 34.56 kB / 0.5903 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1657, allocations: 0 / 0.5903 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003645/0.1661, allocations: 113.5 kB / 0.5904 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.1661, allocations: 63.3 kB / 0.5905 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.172e-05/0.1662, allocations: 109.8 kB / 0.5906 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.1662, allocations: 25.7 kB / 0.5906 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.876e-05/0.1663, allocations: 84.14 kB / 0.5907 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.421e-05/0.1663, allocations: 7.906 kB / 0.5907 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-06/0.1663, allocations: 0 / 0.5907 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.1664, allocations: 318.8 kB / 0.591 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.632e-05/0.1665, allocations: 27.98 kB / 0.591 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.745e-05/0.1666, allocations: 23.97 kB / 0.5911 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.394e-05/0.1667, allocations: 23.98 kB / 0.5911 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1667, allocations: 0 / 0.5911 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002042/0.1669, allocations: 85.66 kB / 0.5912 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.1669, allocations: 4 kB / 0.5912 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.1669, allocations: 0 / 0.5912 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.1669, allocations: 0 / 0.5912 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.909e-05/0.167, allocations: 19.92 kB / 0.5912 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.708e-06/0.167, allocations: 4 kB / 0.5912 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.158e-05/0.1671, allocations: 19.84 kB / 0.5912 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-06/0.1671, allocations: 3.938 kB / 0.5912 GB, free: 14.77 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 8.134e-05/0.1672, allocations: 113.8 kB / 0.5913 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.1672, allocations: 0 / 0.5913 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002457/0.1675, allocations: 97.55 kB / 0.5914 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.1675, allocations: 3.984 kB / 0.5914 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1675, allocations: 384 / 0.5914 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1675, allocations: 0 / 0.5914 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.1677, allocations: 169.6 kB / 0.5916 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1677, allocations: 0 / 0.5916 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.811e-05/0.1678, allocations: 23.92 kB / 0.5916 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.1678, allocations: 3.984 kB / 0.5916 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.1678, allocations: 0 / 0.5916 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1678, allocations: 0 / 0.5916 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1678, allocations: 0 / 0.5916 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.1681, allocations: 195.4 kB / 0.5918 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.95e-05/0.1681, allocations: 77.11 kB / 0.5919 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.1681, allocations: 0 / 0.5919 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.438e-05/0.1682, allocations: 8 kB / 0.5919 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.683e-05/0.1683, allocations: 7.984 kB / 0.5919 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-06/0.1683, allocations: 0 / 0.5919 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.971e-05/0.1683, allocations: 91.2 kB / 0.592 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1683, allocations: 4 kB / 0.592 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000224/0.1686, allocations: 12 kB / 0.592 GB, free: 13.87 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.0001472/0.1687, allocations: 107.3 kB / 0.5921 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002186/0.169, allocations: 55.89 kB / 0.5921 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.169, allocations: 4 kB / 0.5921 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.573e-05/0.1691, allocations: 31.97 kB / 0.5922 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.1693, allocations: 11.95 kB / 0.5922 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002777/0.1696, allocations: 128.6 kB / 0.5923 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.1699, allocations: 0.6887 MB / 0.593 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.004e-05/0.1699, allocations: 0 / 0.593 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.461e-05/0.1699, allocations: 11.44 kB / 0.593 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1699, allocations: 0 / 0.593 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of Templates: time 0.002609/0.1725, allocations: 0.6483 MB / 0.5936 GB, free: 12.14 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)