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.001677/0.001677, allocations: 104.9 kB / 16.27 MB, free: 5.949 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.001867/0.001867, allocations: 189.9 kB / 17.2 MB, free: 5.586 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.401/1.401, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8378/0.8378, allocations: 135.2 MB / 426.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 72.23 kB / 0.506 GB, free: 8.348 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3291, allocations: 80.92 MB / 0.5851 GB, free: 25.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.002445/0.3316, allocations: 1.528 MB / 0.5866 GB, free: 24.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003488/0.3319, allocations: 135.6 kB / 0.5867 GB, free: 24.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.801e-05/0.332, allocations: 0 / 0.5867 GB, free: 24.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.155e-05/0.332, allocations: 4.5 kB / 0.5867 GB, free: 24.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.086e-05/0.3321, allocations: 5.375 kB / 0.5867 GB, free: 24.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002732/0.3324, allocations: 39.45 kB / 0.5867 GB, free: 24.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.352e-05/0.3324, allocations: 35.08 kB / 0.5868 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.754e-05/0.3325, allocations: 18.08 kB / 0.5868 GB, free: 24.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.747e-05/0.3326, allocations: 9.875 kB / 0.5868 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.063e-05/0.3326, allocations: 25.03 kB / 0.5868 GB, free: 24.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.3326, allocations: 3.875 kB / 0.5868 GB, free: 24.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.93e-05/0.3327, allocations: 18.73 kB / 0.5868 GB, free: 24.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.3327, allocations: 9.172 kB / 0.5868 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.519e-05/0.3328, allocations: 12.47 kB / 0.5869 GB, free: 24.03 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001035/0.3329, allocations: 47.08 kB / 0.5869 GB, free: 24 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3329, allocations: 0.8125 kB / 0.5869 GB, free: 24 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3329, allocations: 0 / 0.5869 GB, free: 24 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.3329, allocations: 0.625 kB / 0.5869 GB, free: 24 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.0003834/0.3333, allocations: 356.4 kB / 0.5872 GB, free: 23.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.3333, allocations: 10.95 kB / 0.5873 GB, free: 23.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.459e-05/0.3334, allocations: 7.188 kB / 0.5873 GB, free: 23.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.521e-05/0.3335, allocations: 171.6 kB / 0.5874 GB, free: 23.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.3335, allocations: 5.625 kB / 0.5874 GB, free: 23.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.3335, allocations: 3.531 kB / 0.5874 GB, free: 23.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.3337, allocations: 60.48 kB / 0.5875 GB, free: 23.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.3337, allocations: 1.281 kB / 0.5875 GB, free: 23.36 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.3337, allocations: 7.875 kB / 0.5875 GB, free: 23.35 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.3337, allocations: 1.219 kB / 0.5875 GB, free: 23.35 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001758/0.3339, allocations: 45.3 kB / 0.5875 GB, free: 23.33 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003001/0.3342, allocations: 286.5 kB / 0.5878 GB, free: 23.02 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002985/0.3345, allocations: 62.31 kB / 0.5879 GB, free: 22.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.12e-05/0.3346, allocations: 25.91 kB / 0.5879 GB, free: 22.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001815/0.3348, allocations: 395.8 kB / 0.5883 GB, free: 22.49 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.198e-05/0.3348, allocations: 36.64 kB / 0.5883 GB, free: 22.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3348, allocations: 1.125 kB / 0.5883 GB, free: 22.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003587/0.3352, allocations: 91.95 kB / 0.5884 GB, free: 22.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.339e-05/0.3352, allocations: 52.66 kB / 0.5884 GB, free: 22.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.47e-05/0.3353, allocations: 108.8 kB / 0.5886 GB, free: 22.22 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.045e-06/0.3353, allocations: 25.7 kB / 0.5886 GB, free: 22.19 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.761e-05/0.3353, allocations: 97.62 kB / 0.5887 GB, free: 22.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.188e-05/0.3354, allocations: 5 kB / 0.5887 GB, free: 22.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.993e-05/0.3354, allocations: 18.69 kB / 0.5887 GB, free: 22.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.582e-05/0.3354, allocations: 317.9 kB / 0.589 GB, free: 21.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.886e-05/0.3355, allocations: 23.22 kB / 0.589 GB, free: 21.74 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.829e-05/0.3356, allocations: 19.2 kB / 0.589 GB, free: 21.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.3358, allocations: 48.31 kB / 0.5891 GB, free: 21.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3358, allocations: 1.438 kB / 0.5891 GB, free: 21.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001957/0.336, allocations: 68.38 kB / 0.5891 GB, free: 21.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.336, allocations: 10.19 kB / 0.5892 GB, free: 21.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.336, allocations: 0 / 0.5892 GB, free: 21.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.3361, allocations: 2.922 kB / 0.5892 GB, free: 21.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.907e-05/0.3361, allocations: 23.94 kB / 0.5892 GB, free: 21.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.3362, allocations: 0 / 0.5892 GB, free: 21.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.669e-05/0.3362, allocations: 12.2 kB / 0.5892 GB, free: 21.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-06/0.3362, allocations: 6.156 kB / 0.5892 GB, free: 21.62 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 5.437e-05/0.3363, allocations: 114.5 kB / 0.5893 GB, free: 21.51 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.631e-05/0.3363, allocations: 5.188 kB / 0.5893 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002376/0.3366, allocations: 84.33 kB / 0.5894 GB, free: 21.44 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3366, allocations: 0 / 0.5894 GB, free: 21.44 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.3366, allocations: 6.578 kB / 0.5894 GB, free: 21.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.3366, allocations: 3.938 kB / 0.5894 GB, free: 21.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.3367, allocations: 169.4 kB / 0.5896 GB, free: 21.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3367, allocations: 1.406 kB / 0.5896 GB, free: 21.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.301e-05/0.3368, allocations: 16.02 kB / 0.5896 GB, free: 21.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3368, allocations: 0 / 0.5896 GB, free: 21.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.3368, allocations: 3.656 kB / 0.5896 GB, free: 21.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3368, allocations: 0 / 0.5896 GB, free: 21.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3368, allocations: 0 / 0.5896 GB, free: 21.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002217/0.3371, allocations: 175.6 kB / 0.5898 GB, free: 21.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.949e-05/0.3371, allocations: 78.17 kB / 0.5898 GB, free: 20.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.3371, allocations: 1 kB / 0.5898 GB, free: 20.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.079e-05/0.3372, allocations: 3.781 kB / 0.5898 GB, free: 20.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.764e-05/0.3373, allocations: 10.58 kB / 0.5898 GB, free: 20.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.3373, allocations: 1.219 kB / 0.5898 GB, free: 20.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.72e-05/0.3373, allocations: 94.28 kB / 0.5899 GB, free: 20.87 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3373, allocations: 1 kB / 0.5899 GB, free: 20.87 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002232/0.3375, allocations: 11.59 kB / 0.5899 GB, free: 20.87 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.0001265/0.3377, allocations: 99.62 kB / 0.59 GB, free: 20.78 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002253/0.3379, allocations: 50.67 kB / 0.5901 GB, free: 20.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.3379, allocations: 2.375 kB / 0.5901 GB, free: 20.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.242e-05/0.338, allocations: 26.72 kB / 0.5901 GB, free: 20.74 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.3383, allocations: 6.938 kB / 0.5901 GB, free: 20.74 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002785/0.3386, allocations: 144.5 kB / 0.5903 GB, free: 20.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.358e-05/0.3387, allocations: 0.6873 MB / 0.5909 GB, free: 19.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.72e-05/0.3387, allocations: 10.75 kB / 0.5909 GB, free: 19.88 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3387, allocations: 6.062 kB / 0.591 GB, free: 19.87 MB / 446.1 MB Notification: Performance of Templates: time 0.002251/0.341, allocations: 0.8049 MB / 0.5917 GB, free: 19.35 MB / 446.1 MB 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)