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.001138/0.001138, allocations: 111.6 kB / 16.37 MB, free: 6.012 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.001168/0.001168, allocations: 192.2 kB / 17.3 MB, free: 5.613 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.4/1.4, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7733/0.7733, allocations: 132.2 MB / 423.4 MB, free: 6.613 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 63.91 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3283, allocations: 80.18 MB / 0.5815 GB, free: 27.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.002386/0.3307, allocations: 1.532 MB / 0.583 GB, free: 26.47 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003064/0.3311, allocations: 144.9 kB / 0.5831 GB, free: 26.35 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.824e-05/0.3311, allocations: 1.25 kB / 0.5831 GB, free: 26.35 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.566e-05/0.3312, allocations: 3.938 kB / 0.5831 GB, free: 26.35 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.207e-05/0.3312, allocations: 9.016 kB / 0.5831 GB, free: 26.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002445/0.3315, allocations: 25.39 kB / 0.5832 GB, free: 26.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.742e-05/0.3315, allocations: 34.12 kB / 0.5832 GB, free: 26.3 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.67e-05/0.3316, allocations: 16.39 kB / 0.5832 GB, free: 26.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.629e-05/0.3317, allocations: 18.2 kB / 0.5832 GB, free: 26.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.039e-05/0.3317, allocations: 20.95 kB / 0.5832 GB, free: 26.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.3317, allocations: 3.406 kB / 0.5832 GB, free: 26.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.698e-05/0.3318, allocations: 22.92 kB / 0.5833 GB, free: 26.26 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.375e-05/0.3318, allocations: 9.109 kB / 0.5833 GB, free: 26.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.634e-05/0.3319, allocations: 21.64 kB / 0.5833 GB, free: 26.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.332, allocations: 39.73 kB / 0.5833 GB, free: 26.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.706e-06/0.332, allocations: 0 / 0.5833 GB, free: 26.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.332, allocations: 0 / 0.5833 GB, free: 26.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.332, allocations: 1.094 kB / 0.5833 GB, free: 26.21 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.0003859/0.3324, allocations: 352.1 kB / 0.5837 GB, free: 25.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.3324, allocations: 10 kB / 0.5837 GB, free: 25.83 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.109e-05/0.3325, allocations: 11.06 kB / 0.5837 GB, free: 25.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.056e-05/0.3326, allocations: 171.2 kB / 0.5839 GB, free: 25.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.3326, allocations: 5.594 kB / 0.5839 GB, free: 25.62 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.3326, allocations: 7.031 kB / 0.5839 GB, free: 25.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.3328, allocations: 64.66 kB / 0.5839 GB, free: 25.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.3328, allocations: 192 / 0.5839 GB, free: 25.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.3328, allocations: 5.438 kB / 0.5839 GB, free: 25.56 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3328, allocations: 1.594 kB / 0.5839 GB, free: 25.56 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001858/0.333, allocations: 44.05 kB / 0.584 GB, free: 25.54 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000308/0.3333, allocations: 285.6 kB / 0.5843 GB, free: 25.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002801/0.3336, allocations: 55.3 kB / 0.5843 GB, free: 25.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.778e-05/0.3337, allocations: 28.98 kB / 0.5843 GB, free: 25.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001725/0.3339, allocations: 396.2 kB / 0.5847 GB, free: 24.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.201e-05/0.3339, allocations: 37.59 kB / 0.5847 GB, free: 24.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.3339, allocations: 0 / 0.5847 GB, free: 24.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003374/0.3343, allocations: 99.84 kB / 0.5848 GB, free: 24.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.763e-05/0.3343, allocations: 52.03 kB / 0.5849 GB, free: 24.53 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.45e-05/0.3344, allocations: 112.1 kB / 0.585 GB, free: 24.42 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.003e-06/0.3344, allocations: 27.14 kB / 0.585 GB, free: 24.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.323e-05/0.3344, allocations: 87.23 kB / 0.5851 GB, free: 24.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.186e-05/0.3344, allocations: 5.188 kB / 0.5851 GB, free: 24.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/0.3345, allocations: 21.42 kB / 0.5851 GB, free: 24.28 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.911e-05/0.3345, allocations: 317.1 kB / 0.5854 GB, free: 23.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.41e-05/0.3346, allocations: 20.95 kB / 0.5855 GB, free: 23.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.251e-05/0.3347, allocations: 22.94 kB / 0.5855 GB, free: 23.94 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.3348, allocations: 42.75 kB / 0.5855 GB, free: 23.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3348, allocations: 0 / 0.5855 GB, free: 23.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001875/0.335, allocations: 78.69 kB / 0.5856 GB, free: 23.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.335, allocations: 5.438 kB / 0.5856 GB, free: 23.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.335, allocations: 0.5 kB / 0.5856 GB, free: 23.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.3351, allocations: 2.781 kB / 0.5856 GB, free: 23.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.377e-05/0.3351, allocations: 10.45 kB / 0.5856 GB, free: 23.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3352, allocations: 2.781 kB / 0.5856 GB, free: 23.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.242e-05/0.3352, allocations: 13.58 kB / 0.5856 GB, free: 23.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.3352, allocations: 0 / 0.5856 GB, free: 23.85 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.935e-05/0.3353, allocations: 116.8 kB / 0.5857 GB, free: 23.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.6e-05/0.3353, allocations: 7.531 kB / 0.5857 GB, free: 23.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002178/0.3355, allocations: 90.62 kB / 0.5858 GB, free: 23.65 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.3355, allocations: 5.562 kB / 0.5858 GB, free: 23.65 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3356, allocations: 0 / 0.5858 GB, free: 23.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.3356, allocations: 0 / 0.5858 GB, free: 23.65 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.3357, allocations: 172.7 kB / 0.586 GB, free: 23.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3357, allocations: 3.938 kB / 0.586 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.992e-05/0.3358, allocations: 12.3 kB / 0.586 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.3358, allocations: 0 / 0.586 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.3358, allocations: 0 / 0.586 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.3358, allocations: 8.828 kB / 0.586 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3358, allocations: 3.938 kB / 0.586 GB, free: 23.42 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.336, allocations: 171.4 kB / 0.5862 GB, free: 23.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.748e-05/0.336, allocations: 83.45 kB / 0.5863 GB, free: 23.17 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.336, allocations: 1.469 kB / 0.5863 GB, free: 23.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.265e-05/0.3361, allocations: 10.98 kB / 0.5863 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.452e-05/0.3362, allocations: 12.42 kB / 0.5863 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.3362, allocations: 1.156 kB / 0.5863 GB, free: 23.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.759e-05/0.3362, allocations: 81.41 kB / 0.5864 GB, free: 23.08 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3362, allocations: 1.281 kB / 0.5864 GB, free: 23.08 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002261/0.3365, allocations: 12.81 kB / 0.5864 GB, free: 23.07 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.0001132/0.3366, allocations: 102.1 kB / 0.5865 GB, free: 22.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002115/0.3368, allocations: 47.36 kB / 0.5865 GB, free: 22.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3368, allocations: 0.75 kB / 0.5865 GB, free: 22.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.105e-05/0.3369, allocations: 32.31 kB / 0.5866 GB, free: 22.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.3371, allocations: 8.375 kB / 0.5866 GB, free: 22.94 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002511/0.3374, allocations: 122.1 kB / 0.5867 GB, free: 22.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.362e-05/0.3375, allocations: 0.6794 MB / 0.5874 GB, free: 22.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.839e-05/0.3375, allocations: 3.656 kB / 0.5874 GB, free: 22.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.317e-05/0.3376, allocations: 15.77 kB / 0.5874 GB, free: 22.11 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3376, allocations: 1.406 kB / 0.5874 GB, free: 22.11 MB / 446.1 MB Notification: Performance of Templates: time 0.002674/0.3403, allocations: 0.7537 MB / 0.5881 GB, free: 21.75 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 gbode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)