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.001448/0.001448, allocations: 103.1 kB / 16.27 MB, free: 5.914 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.001434/0.001435, allocations: 189.1 kB / 17.2 MB, free: 5.559 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.341/1.341, 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.8549/0.8549, allocations: 135.2 MB / 426.2 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 59.91 kB / 0.506 GB, free: 8.367 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3311, allocations: 80.92 MB / 0.5851 GB, free: 25.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.002314/0.3335, allocations: 1.52 MB / 0.5865 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003272/0.3338, allocations: 147.9 kB / 0.5867 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.86e-05/0.3338, allocations: 1.344 kB / 0.5867 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.738e-05/0.3339, allocations: 0 / 0.5867 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.903e-05/0.3339, allocations: 5.656 kB / 0.5867 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002517/0.3342, allocations: 31.47 kB / 0.5867 GB, free: 24.01 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.692e-05/0.3343, allocations: 40.17 kB / 0.5868 GB, free: 23.99 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.696e-05/0.3344, allocations: 15.77 kB / 0.5868 GB, free: 23.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.687e-05/0.3344, allocations: 13.48 kB / 0.5868 GB, free: 23.97 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.984e-05/0.3344, allocations: 21.08 kB / 0.5868 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.3345, allocations: 4.344 kB / 0.5868 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.733e-05/0.3345, allocations: 13.55 kB / 0.5868 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.28e-05/0.3346, allocations: 9.781 kB / 0.5868 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.609e-05/0.3346, allocations: 24.66 kB / 0.5869 GB, free: 23.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.742e-05/0.3347, allocations: 34.89 kB / 0.5869 GB, free: 23.9 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3347, allocations: 1.562 kB / 0.5869 GB, free: 23.9 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3347, allocations: 1.156 kB / 0.5869 GB, free: 23.9 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.3347, allocations: 0 / 0.5869 GB, free: 23.9 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.0003877/0.3351, allocations: 361.3 kB / 0.5872 GB, free: 23.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.3352, allocations: 9.703 kB / 0.5872 GB, free: 23.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.551e-05/0.3352, allocations: 11.94 kB / 0.5873 GB, free: 23.51 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.218e-05/0.3353, allocations: 175.4 kB / 0.5874 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.3353, allocations: 1.688 kB / 0.5874 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.3353, allocations: 3.031 kB / 0.5874 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.3355, allocations: 67.95 kB / 0.5875 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.3355, allocations: 192 / 0.5875 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.3356, allocations: 5.375 kB / 0.5875 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.3356, allocations: 0.9062 kB / 0.5875 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001965/0.3358, allocations: 45.83 kB / 0.5875 GB, free: 23.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003004/0.3361, allocations: 283.5 kB / 0.5878 GB, free: 22.92 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000295/0.3364, allocations: 55.92 kB / 0.5879 GB, free: 22.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.347e-05/0.3365, allocations: 31.3 kB / 0.5879 GB, free: 22.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001729/0.3367, allocations: 400.4 kB / 0.5883 GB, free: 22.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.063e-05/0.3367, allocations: 30.56 kB / 0.5883 GB, free: 22.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.3367, allocations: 2.562 kB / 0.5883 GB, free: 22.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003631/0.3371, allocations: 95.03 kB / 0.5884 GB, free: 22.28 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.3371, allocations: 52.16 kB / 0.5884 GB, free: 22.22 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.318e-05/0.3372, allocations: 116.7 kB / 0.5886 GB, free: 22.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.684e-06/0.3372, allocations: 26.2 kB / 0.5886 GB, free: 22.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.632e-05/0.3372, allocations: 90.45 kB / 0.5887 GB, free: 21.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.202e-05/0.3372, allocations: 4.812 kB / 0.5887 GB, free: 21.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/0.3373, allocations: 18.58 kB / 0.5887 GB, free: 21.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.682e-05/0.3373, allocations: 321.2 kB / 0.589 GB, free: 21.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.043e-05/0.3374, allocations: 18.86 kB / 0.589 GB, free: 21.63 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.05e-05/0.3375, allocations: 19.88 kB / 0.589 GB, free: 21.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.3377, allocations: 48.56 kB / 0.5891 GB, free: 21.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3377, allocations: 0 / 0.5891 GB, free: 21.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002/0.3379, allocations: 83.12 kB / 0.5892 GB, free: 21.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.3379, allocations: 5.938 kB / 0.5892 GB, free: 21.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.3379, allocations: 0 / 0.5892 GB, free: 21.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.3379, allocations: 0 / 0.5892 GB, free: 21.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.848e-05/0.338, allocations: 16.77 kB / 0.5892 GB, free: 21.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.338, allocations: 0 / 0.5892 GB, free: 21.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.683e-05/0.3381, allocations: 13.61 kB / 0.5892 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.3381, allocations: 1.125 kB / 0.5892 GB, free: 21.52 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.287e-05/0.3381, allocations: 116.9 kB / 0.5893 GB, free: 21.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.3382, allocations: 5.5 kB / 0.5893 GB, free: 21.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002367/0.3384, allocations: 85.42 kB / 0.5894 GB, free: 21.33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3384, allocations: 1.281 kB / 0.5894 GB, free: 21.33 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3384, allocations: 1.594 kB / 0.5894 GB, free: 21.33 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3384, allocations: 1.281 kB / 0.5894 GB, free: 21.33 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.3386, allocations: 172.4 kB / 0.5896 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3386, allocations: 5 kB / 0.5896 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.123e-05/0.3386, allocations: 11.14 kB / 0.5896 GB, free: 21.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.3387, allocations: 3.469 kB / 0.5896 GB, free: 21.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.3387, allocations: 5.188 kB / 0.5896 GB, free: 21.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3387, allocations: 3.984 kB / 0.5896 GB, free: 21.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3387, allocations: 0 / 0.5896 GB, free: 21.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/0.3389, allocations: 170.2 kB / 0.5898 GB, free: 20.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.795e-05/0.3389, allocations: 90.48 kB / 0.5898 GB, free: 20.85 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.3389, allocations: 1.344 kB / 0.5898 GB, free: 20.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.286e-05/0.339, allocations: 6.484 kB / 0.5898 GB, free: 20.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.3391, allocations: 8.328 kB / 0.5899 GB, free: 20.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.3391, allocations: 1.781 kB / 0.5899 GB, free: 20.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.862e-05/0.3391, allocations: 86.03 kB / 0.5899 GB, free: 20.76 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3391, allocations: 0 / 0.5899 GB, free: 20.76 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002249/0.3394, allocations: 10.56 kB / 0.59 GB, free: 20.76 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.0001256/0.3395, allocations: 107 kB / 0.5901 GB, free: 20.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002265/0.3397, allocations: 42.64 kB / 0.5901 GB, free: 20.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.3397, allocations: 0 / 0.5901 GB, free: 20.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.561e-05/0.3398, allocations: 32.66 kB / 0.5901 GB, free: 20.63 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.3401, allocations: 16.55 kB / 0.5901 GB, free: 20.62 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002668/0.3404, allocations: 140.3 kB / 0.5903 GB, free: 20.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.696e-05/0.3405, allocations: 0.6806 MB / 0.5909 GB, free: 19.78 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.666e-05/0.3405, allocations: 13.97 kB / 0.591 GB, free: 19.77 MB / 446.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3405, allocations: 1.5 kB / 0.591 GB, free: 19.77 MB / 446.1 MB Notification: Performance of Templates: time 0.0021/0.3426, allocations: 0.7989 MB / 0.5917 GB, free: 19.25 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)