Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Math.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001474/0.001475, allocations: 106.1 kB / 16.35 MB, free: 5.824 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.001638/0.001638, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7624/0.7624, allocations: 132.2 MB / 423.3 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 67.91 kB / 0.5032 GB, free: 10.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3643/0.3658, allocations: 80.18 MB / 0.5815 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.002314/0.3681, allocations: 1.531 MB / 0.583 GB, free: 26.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002948/0.3684, allocations: 142.6 kB / 0.5831 GB, free: 26.33 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.706e-05/0.3685, allocations: 1.375 kB / 0.5831 GB, free: 26.33 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.528e-05/0.3685, allocations: 3.938 kB / 0.5831 GB, free: 26.33 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.973e-05/0.3685, allocations: 5.219 kB / 0.5831 GB, free: 26.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.3688, allocations: 25.12 kB / 0.5831 GB, free: 26.31 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.242e-05/0.3689, allocations: 42.16 kB / 0.5832 GB, free: 26.28 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.173e-05/0.369, allocations: 16.11 kB / 0.5832 GB, free: 26.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.318e-05/0.369, allocations: 10.03 kB / 0.5832 GB, free: 26.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.6e-05/0.369, allocations: 21.36 kB / 0.5832 GB, free: 26.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.369, allocations: 4.594 kB / 0.5832 GB, free: 26.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.666e-05/0.3691, allocations: 26.64 kB / 0.5833 GB, free: 26.24 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.308e-05/0.3691, allocations: 9.125 kB / 0.5833 GB, free: 26.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.731e-05/0.3692, allocations: 15.34 kB / 0.5833 GB, free: 26.22 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.3693, allocations: 52.95 kB / 0.5833 GB, free: 26.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3693, allocations: 0 / 0.5833 GB, free: 26.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3693, allocations: 1.312 kB / 0.5833 GB, free: 26.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.3693, allocations: 0 / 0.5833 GB, free: 26.18 MB / 446.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.0003602/0.3697, allocations: 352.4 kB / 0.5837 GB, free: 25.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.3697, allocations: 9.25 kB / 0.5837 GB, free: 25.8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.803e-05/0.3697, allocations: 10.94 kB / 0.5837 GB, free: 25.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.751e-05/0.3698, allocations: 176.3 kB / 0.5839 GB, free: 25.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.3698, allocations: 2.5 kB / 0.5839 GB, free: 25.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.3699, allocations: 1.812 kB / 0.5839 GB, free: 25.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.37, allocations: 60.64 kB / 0.5839 GB, free: 25.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.852e-06/0.37, allocations: 192 / 0.5839 GB, free: 25.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.3701, allocations: 18.39 kB / 0.5839 GB, free: 25.53 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.3701, allocations: 0 / 0.5839 GB, free: 25.53 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.3702, allocations: 43.11 kB / 0.584 GB, free: 25.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002686/0.3705, allocations: 273.5 kB / 0.5842 GB, free: 25.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002694/0.3708, allocations: 65.88 kB / 0.5843 GB, free: 25.17 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.493e-05/0.3709, allocations: 23.94 kB / 0.5843 GB, free: 25.15 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001706/0.3711, allocations: 401.7 kB / 0.5847 GB, free: 24.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.155e-05/0.3711, allocations: 35.64 kB / 0.5847 GB, free: 24.63 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.3711, allocations: 0.9062 kB / 0.5847 GB, free: 24.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003184/0.3714, allocations: 94.28 kB / 0.5848 GB, free: 24.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.588e-05/0.3714, allocations: 51.41 kB / 0.5849 GB, free: 24.51 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.163e-05/0.3715, allocations: 116.2 kB / 0.585 GB, free: 24.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.644e-06/0.3715, allocations: 25.7 kB / 0.585 GB, free: 24.37 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.762e-05/0.3715, allocations: 96.38 kB / 0.5851 GB, free: 24.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.381e-05/0.3716, allocations: 8.625 kB / 0.5851 GB, free: 24.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.939e-05/0.3716, allocations: 12.91 kB / 0.5851 GB, free: 24.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.018e-05/0.3716, allocations: 319.4 kB / 0.5854 GB, free: 23.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.716e-05/0.3717, allocations: 28.97 kB / 0.5855 GB, free: 23.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.556e-05/0.3718, allocations: 17.3 kB / 0.5855 GB, free: 23.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.3719, allocations: 45.03 kB / 0.5855 GB, free: 23.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.372, allocations: 1.062 kB / 0.5855 GB, free: 23.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001804/0.3721, allocations: 73.78 kB / 0.5856 GB, free: 23.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.3722, allocations: 7.844 kB / 0.5856 GB, free: 23.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3722, allocations: 0.5938 kB / 0.5856 GB, free: 23.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.3722, allocations: 4.766 kB / 0.5856 GB, free: 23.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.373e-05/0.3723, allocations: 11.81 kB / 0.5856 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.3723, allocations: 3.688 kB / 0.5856 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.377e-05/0.3723, allocations: 11.17 kB / 0.5856 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.3724, allocations: 1.25 kB / 0.5856 GB, free: 23.82 MB / 446.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 4.927e-05/0.3724, allocations: 116.7 kB / 0.5857 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.492e-05/0.3724, allocations: 5.969 kB / 0.5857 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002209/0.3727, allocations: 85.69 kB / 0.5858 GB, free: 23.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-06/0.3727, allocations: 0 / 0.5858 GB, free: 23.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3727, allocations: 2.094 kB / 0.5858 GB, free: 23.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.3727, allocations: 0 / 0.5858 GB, free: 23.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.3728, allocations: 172.3 kB / 0.586 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3728, allocations: 0 / 0.586 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.223e-05/0.3729, allocations: 23.64 kB / 0.586 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3729, allocations: 0 / 0.586 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.3729, allocations: 1.094 kB / 0.586 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3729, allocations: 1.375 kB / 0.586 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.3729, allocations: 0 / 0.586 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002102/0.3731, allocations: 177.3 kB / 0.5862 GB, free: 23.24 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.806e-05/0.3732, allocations: 83.2 kB / 0.5863 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.3732, allocations: 0 / 0.5863 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.979e-05/0.3733, allocations: 7.703 kB / 0.5863 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.837e-05/0.3733, allocations: 5.078 kB / 0.5863 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.3733, allocations: 1.375 kB / 0.5863 GB, free: 23.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.881e-05/0.3734, allocations: 88.95 kB / 0.5864 GB, free: 23.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3734, allocations: 1.438 kB / 0.5864 GB, free: 23.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002218/0.3736, allocations: 9.062 kB / 0.5864 GB, free: 23.05 MB / 446.1 MB 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.0001401/0.3737, allocations: 102.7 kB / 0.5865 GB, free: 22.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002198/0.374, allocations: 55.06 kB / 0.5865 GB, free: 22.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.374, allocations: 0.5 kB / 0.5865 GB, free: 22.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.497e-05/0.3741, allocations: 28.78 kB / 0.5866 GB, free: 22.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.3743, allocations: 9.312 kB / 0.5866 GB, free: 22.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002853/0.3746, allocations: 124.1 kB / 0.5867 GB, free: 22.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.3748, allocations: 0.6788 MB / 0.5873 GB, free: 22.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.926e-05/0.3748, allocations: 4.219 kB / 0.5873 GB, free: 22.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.638e-05/0.3748, allocations: 15.88 kB / 0.5874 GB, free: 22.08 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3748, allocations: 0 / 0.5874 GB, free: 22.08 MB / 446.1 MB Notification: Performance of Templates: time 0.003068/0.3779, allocations: 0.7627 MB / 0.5881 GB, free: 21.72 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)