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.0009612/0.0009613, allocations: 106.9 kB / 16.37 MB, free: 6.477 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.0009876/0.0009876, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.297/1.297, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7832/0.7832, allocations: 135.1 MB / 426.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 55.91 kB / 0.5068 GB, free: 7.641 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3493, allocations: 80.9 MB / 0.5858 GB, free: 25.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.002775/0.3521, allocations: 1.529 MB / 0.5873 GB, free: 24.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003566/0.3525, allocations: 143.8 kB / 0.5874 GB, free: 24.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.726e-05/0.3525, allocations: 3.938 kB / 0.5874 GB, free: 24.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.528e-05/0.3526, allocations: 3.938 kB / 0.5874 GB, free: 24.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.656e-05/0.3526, allocations: 5.781 kB / 0.5874 GB, free: 24.26 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002929/0.3529, allocations: 28.34 kB / 0.5874 GB, free: 24.24 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.698e-05/0.353, allocations: 36.2 kB / 0.5875 GB, free: 24.22 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.929e-05/0.3531, allocations: 15.52 kB / 0.5875 GB, free: 24.21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.941e-05/0.3532, allocations: 17.36 kB / 0.5875 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.305e-05/0.3532, allocations: 19.86 kB / 0.5875 GB, free: 24.19 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.3532, allocations: 2.656 kB / 0.5875 GB, free: 24.19 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.003e-05/0.3533, allocations: 22.45 kB / 0.5875 GB, free: 24.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.485e-05/0.3533, allocations: 13.44 kB / 0.5876 GB, free: 24.17 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.652e-05/0.3534, allocations: 15.84 kB / 0.5876 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.3535, allocations: 43.75 kB / 0.5876 GB, free: 24.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3535, allocations: 0 / 0.5876 GB, free: 24.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3535, allocations: 0 / 0.5876 GB, free: 24.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.3535, allocations: 0.875 kB / 0.5876 GB, free: 24.12 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.0003946/0.3539, allocations: 348.1 kB / 0.5879 GB, free: 23.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.3539, allocations: 11.73 kB / 0.588 GB, free: 23.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.094e-05/0.354, allocations: 7.875 kB / 0.588 GB, free: 23.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.338e-05/0.3541, allocations: 173.5 kB / 0.5881 GB, free: 23.55 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.3541, allocations: 10.44 kB / 0.5881 GB, free: 23.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.3541, allocations: 3.062 kB / 0.5881 GB, free: 23.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.3543, allocations: 60.73 kB / 0.5882 GB, free: 23.49 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.3543, allocations: 192 / 0.5882 GB, free: 23.49 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.3543, allocations: 4.5 kB / 0.5882 GB, free: 23.49 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3543, allocations: 6 kB / 0.5882 GB, free: 23.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001672/0.3545, allocations: 45.61 kB / 0.5883 GB, free: 23.46 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003054/0.3548, allocations: 282.4 kB / 0.5885 GB, free: 23.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002858/0.3551, allocations: 61.66 kB / 0.5886 GB, free: 23.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.524e-05/0.3552, allocations: 24.94 kB / 0.5886 GB, free: 23.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000179/0.3554, allocations: 395.9 kB / 0.589 GB, free: 22.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.186e-05/0.3554, allocations: 32.78 kB / 0.589 GB, free: 22.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.784e-06/0.3554, allocations: 0.5 kB / 0.589 GB, free: 22.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003365/0.3558, allocations: 108.1 kB / 0.5891 GB, free: 22.51 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.725e-05/0.3558, allocations: 53.56 kB / 0.5892 GB, free: 22.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.55e-05/0.3558, allocations: 111 kB / 0.5893 GB, free: 22.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.316e-06/0.3559, allocations: 27.23 kB / 0.5893 GB, free: 22.31 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.707e-05/0.3559, allocations: 90.48 kB / 0.5894 GB, free: 22.22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.192e-05/0.3559, allocations: 8.984 kB / 0.5894 GB, free: 22.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.898e-05/0.3559, allocations: 18.03 kB / 0.5894 GB, free: 22.19 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.15e-05/0.356, allocations: 317 kB / 0.5897 GB, free: 21.88 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.233e-05/0.3561, allocations: 23.03 kB / 0.5897 GB, free: 21.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.219e-05/0.3562, allocations: 20.45 kB / 0.5898 GB, free: 21.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.3563, allocations: 47 kB / 0.5898 GB, free: 21.83 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3563, allocations: 0.5 kB / 0.5898 GB, free: 21.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001908/0.3565, allocations: 75.19 kB / 0.5899 GB, free: 21.78 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.3565, allocations: 5.094 kB / 0.5899 GB, free: 21.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3565, allocations: 1.25 kB / 0.5899 GB, free: 21.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.3566, allocations: 4 kB / 0.5899 GB, free: 21.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.426e-05/0.3566, allocations: 17.02 kB / 0.5899 GB, free: 21.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.3566, allocations: 1.594 kB / 0.5899 GB, free: 21.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.321e-05/0.3567, allocations: 10.73 kB / 0.5899 GB, free: 21.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.3567, allocations: 1.531 kB / 0.5899 GB, free: 21.76 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.274e-05/0.3568, allocations: 115.6 kB / 0.59 GB, free: 21.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/0.3568, allocations: 5.312 kB / 0.59 GB, free: 21.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002252/0.357, allocations: 89.64 kB / 0.5901 GB, free: 21.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.357, allocations: 1.188 kB / 0.5901 GB, free: 21.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3571, allocations: 0 / 0.5901 GB, free: 21.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.3571, allocations: 3.984 kB / 0.5901 GB, free: 21.56 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.3572, allocations: 174.1 kB / 0.5903 GB, free: 21.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3572, allocations: 0 / 0.5903 GB, free: 21.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.864e-05/0.3573, allocations: 13.77 kB / 0.5903 GB, free: 21.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3573, allocations: 1.188 kB / 0.5903 GB, free: 21.35 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.3573, allocations: 0 / 0.5903 GB, free: 21.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3573, allocations: 1.156 kB / 0.5903 GB, free: 21.35 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3573, allocations: 0 / 0.5903 GB, free: 21.35 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002035/0.3575, allocations: 171 kB / 0.5905 GB, free: 21.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.896e-05/0.3575, allocations: 88.97 kB / 0.5905 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.3576, allocations: 1.562 kB / 0.5905 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.901e-05/0.3576, allocations: 8.031 kB / 0.5906 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.115e-05/0.3577, allocations: 11.41 kB / 0.5906 GB, free: 21.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.3577, allocations: 2.094 kB / 0.5906 GB, free: 21.08 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.916e-05/0.3577, allocations: 92.02 kB / 0.5907 GB, free: 21 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3578, allocations: 0 / 0.5907 GB, free: 21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00022/0.358, allocations: 12.72 kB / 0.5907 GB, free: 20.99 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.0001226/0.3581, allocations: 98.88 kB / 0.5908 GB, free: 20.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002141/0.3583, allocations: 50.59 kB / 0.5908 GB, free: 20.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.3583, allocations: 1.875 kB / 0.5908 GB, free: 20.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.67e-05/0.3584, allocations: 30.06 kB / 0.5908 GB, free: 20.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.3587, allocations: 8.438 kB / 0.5909 GB, free: 20.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002512/0.3589, allocations: 119.1 kB / 0.591 GB, free: 20.74 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001113/0.359, allocations: 0.6812 MB / 0.5916 GB, free: 20.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.795e-05/0.3591, allocations: 6.703 kB / 0.5916 GB, free: 20.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.344e-05/0.3591, allocations: 13.12 kB / 0.5916 GB, free: 20.03 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3591, allocations: 0 / 0.5916 GB, free: 20.03 MB / 446.1 MB Notification: Performance of Templates: time 0.002734/0.3619, allocations: 0.757 MB / 0.5924 GB, free: 19.34 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)