Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.00142/0.001419, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001348/0.001348, allocations: 193.5 kB / 16.13 MB, free: 6.703 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.381/1.381, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7665/0.7665, allocations: 132.2 MB / 422.2 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 60.34 kB / 0.5011 GB, free: 4.301 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4287/0.4298, allocations: 80.21 MB / 0.5794 GB, free: 4.543 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001859/0.4317, allocations: 0.6423 MB / 0.5801 GB, free: 4.137 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003254/0.432, allocations: 60.14 kB / 0.5801 GB, free: 4.098 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.605e-05/0.4321, allocations: 1.281 kB / 0.5801 GB, free: 4.098 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.532e-05/0.4321, allocations: 0 / 0.5801 GB, free: 4.098 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.082e-06/0.4321, allocations: 0 / 0.5801 GB, free: 4.098 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.4324, allocations: 15.45 kB / 0.5801 GB, free: 4.09 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.354e-05/0.4325, allocations: 28.98 kB / 0.5802 GB, free: 4.082 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.694e-05/0.4325, allocations: 2.688 kB / 0.5802 GB, free: 4.082 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.731e-05/0.4326, allocations: 10.34 kB / 0.5802 GB, free: 4.078 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.157e-05/0.4326, allocations: 12.56 kB / 0.5802 GB, free: 4.074 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.4326, allocations: 2.75 kB / 0.5802 GB, free: 4.074 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.547e-05/0.4327, allocations: 15.03 kB / 0.5802 GB, free: 4.07 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.243e-05/0.4327, allocations: 13.88 kB / 0.5802 GB, free: 4.062 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.863e-05/0.4328, allocations: 14.42 kB / 0.5802 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.834e-05/0.4329, allocations: 35.5 kB / 0.5803 GB, free: 4.039 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.4329, allocations: 0 / 0.5803 GB, free: 4.039 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4329, allocations: 5.656 kB / 0.5803 GB, free: 4.035 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.4329, allocations: 4 kB / 0.5803 GB, free: 4.031 MB / 430.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.0002695/0.4332, allocations: 338.7 kB / 0.5806 GB, free: 3.668 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.4332, allocations: 10.12 kB / 0.5806 GB, free: 3.668 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.538e-05/0.4333, allocations: 2.156 kB / 0.5806 GB, free: 3.668 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.624e-05/0.4333, allocations: 164.5 kB / 0.5808 GB, free: 3.473 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.4334, allocations: 2.344 kB / 0.5808 GB, free: 3.473 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.4334, allocations: 9.25 kB / 0.5808 GB, free: 3.469 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.4335, allocations: 64.05 kB / 0.5808 GB, free: 3.426 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.4335, allocations: 1.641 kB / 0.5808 GB, free: 3.426 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.4336, allocations: 7.938 kB / 0.5809 GB, free: 3.418 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.4336, allocations: 2.344 kB / 0.5809 GB, free: 3.418 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/0.4338, allocations: 108.9 kB / 0.581 GB, free: 3.398 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001403/0.4339, allocations: 171.5 kB / 0.5811 GB, free: 3.199 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.434, allocations: 71.98 kB / 0.5812 GB, free: 3.164 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.089e-05/0.4341, allocations: 34.86 kB / 0.5812 GB, free: 3.148 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000236/0.4343, allocations: 404.5 kB / 0.5816 GB, free: 2.676 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.4344, allocations: 39.12 kB / 0.5816 GB, free: 2.629 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.4344, allocations: 1.312 kB / 0.5816 GB, free: 2.629 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002501/0.4346, allocations: 125.5 kB / 0.5818 GB, free: 2.562 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.151e-05/0.4346, allocations: 53.55 kB / 0.5818 GB, free: 2.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.552e-05/0.4347, allocations: 96.83 kB / 0.5819 GB, free: 2.398 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.624e-06/0.4347, allocations: 25.7 kB / 0.5819 GB, free: 2.367 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.378e-06/0.4347, allocations: 80.14 kB / 0.582 GB, free: 2.285 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/0.4347, allocations: 25.81 kB / 0.582 GB, free: 2.266 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.981e-05/0.4348, allocations: 35.67 kB / 0.5821 GB, free: 2.238 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.444e-05/0.4348, allocations: 314.1 kB / 0.5824 GB, free: 1.926 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.367e-05/0.4349, allocations: 20 kB / 0.5824 GB, free: 1.922 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.877e-05/0.4349, allocations: 20.31 kB / 0.5824 GB, free: 1.918 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.435, allocations: 63.25 kB / 0.5825 GB, free: 1.891 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.435, allocations: 3.938 kB / 0.5825 GB, free: 1.887 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001583/0.4352, allocations: 86.39 kB / 0.5826 GB, free: 1.844 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.4352, allocations: 5.688 kB / 0.5826 GB, free: 1.844 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.4352, allocations: 3.938 kB / 0.5826 GB, free: 1.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.4353, allocations: 4.938 kB / 0.5826 GB, free: 1.836 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.4354, allocations: 18.28 kB / 0.5826 GB, free: 1.836 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.4354, allocations: 0.9375 kB / 0.5826 GB, free: 1.836 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.728e-05/0.4355, allocations: 13.5 kB / 0.5826 GB, free: 1.824 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.4355, allocations: 4.016 kB / 0.5826 GB, free: 1.824 MB / 430.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.0001804/0.4357, allocations: 125.1 kB / 0.5827 GB, free: 1.703 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.463e-05/0.4357, allocations: 3.625 kB / 0.5827 GB, free: 1.703 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002892/0.436, allocations: 134.3 kB / 0.5829 GB, free: 1.629 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.436, allocations: 1.969 kB / 0.5829 GB, free: 1.629 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.436, allocations: 0 / 0.5829 GB, free: 1.629 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.436, allocations: 0.7969 kB / 0.5829 GB, free: 1.629 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.4362, allocations: 174.6 kB / 0.583 GB, free: 1.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4362, allocations: 0 / 0.583 GB, free: 1.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.747e-05/0.4363, allocations: 22.2 kB / 0.583 GB, free: 1.426 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.4363, allocations: 4.641 kB / 0.583 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.4363, allocations: 6 kB / 0.5831 GB, free: 1.418 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4363, allocations: 5.094 kB / 0.5831 GB, free: 1.414 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.4363, allocations: 5.188 kB / 0.5831 GB, free: 1.41 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001984/0.4365, allocations: 121 kB / 0.5832 GB, free: 1.324 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.312e-05/0.4365, allocations: 83.23 kB / 0.5833 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.4366, allocations: 0.9688 kB / 0.5833 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.605e-05/0.4366, allocations: 5.062 kB / 0.5833 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.919e-05/0.4366, allocations: 7.391 kB / 0.5833 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.4367, allocations: 4.094 kB / 0.5833 GB, free: 1.223 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.339e-05/0.4367, allocations: 79.28 kB / 0.5834 GB, free: 1.145 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4367, allocations: 0 / 0.5834 GB, free: 1.145 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002204/0.4369, allocations: 15.67 kB / 0.5834 GB, free: 1.141 MB / 430.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: 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.0002256/0.4372, allocations: 117.4 kB / 0.5835 GB, free: 1.043 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001725/0.4373, allocations: 63.34 kB / 0.5835 GB, free: 1.027 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4374, allocations: 0 / 0.5835 GB, free: 1.027 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.844e-05/0.4374, allocations: 40.75 kB / 0.5836 GB, free: 1.016 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/0.4376, allocations: 13.41 kB / 0.5836 GB, free: 1.008 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002721/0.4379, allocations: 145.8 kB / 0.5837 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/0.438, allocations: 0.6827 MB / 0.5844 GB, free: 196 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.273e-05/0.4381, allocations: 34.86 kB / 0.5844 GB, free: 192 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.766e-05/0.4381, allocations: 21.97 kB / 0.5844 GB, free: 176 kB / 430.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4381, allocations: 0 / 0.5844 GB, free: 176 kB / 430.1 MB Notification: Performance of Templates: time 0.002752/0.4409, allocations: 0.5889 MB / 0.585 GB, free: 88 kB / 430.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)