Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.00109/0.00109, allocations: 98.73 kB / 16.35 MB, free: 5.828 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.001158/0.001158, allocations: 193.5 kB / 17.29 MB, free: 5.484 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.307/1.307, 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-master/package.mo): time 0.772/0.772, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001347, allocations: 67.89 kB / 0.5068 GB, free: 7.652 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3558, allocations: 80.91 MB / 0.5858 GB, free: 25.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001761/0.3576, allocations: 0.5805 MB / 0.5863 GB, free: 25.15 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000274/0.3579, allocations: 62.06 kB / 0.5864 GB, free: 25.1 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.066e-05/0.3579, allocations: 0.5 kB / 0.5864 GB, free: 25.1 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.373e-05/0.3579, allocations: 0.875 kB / 0.5864 GB, free: 25.1 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.551e-06/0.3579, allocations: 0 / 0.5864 GB, free: 25.1 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002826/0.3582, allocations: 20.03 kB / 0.5864 GB, free: 25.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.244e-05/0.3583, allocations: 26.98 kB / 0.5864 GB, free: 25.08 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.478e-05/0.3584, allocations: 1.344 kB / 0.5864 GB, free: 25.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.117e-05/0.3584, allocations: 19.94 kB / 0.5865 GB, free: 25.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.615e-05/0.3584, allocations: 4.688 kB / 0.5865 GB, free: 25.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.3585, allocations: 2.312 kB / 0.5865 GB, free: 25.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.422e-05/0.3585, allocations: 16.33 kB / 0.5865 GB, free: 25.06 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.351e-05/0.3586, allocations: 22.81 kB / 0.5865 GB, free: 25.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.195e-05/0.3586, allocations: 11.84 kB / 0.5865 GB, free: 25.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.915e-05/0.3587, allocations: 37.05 kB / 0.5865 GB, free: 25.01 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3587, allocations: 0 / 0.5865 GB, free: 25.01 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.554e-06/0.3587, allocations: 2.156 kB / 0.5865 GB, free: 25.01 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.3588, allocations: 0 / 0.5865 GB, free: 25.01 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002733/0.359, allocations: 337.5 kB / 0.5869 GB, free: 24.64 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.3591, allocations: 11.02 kB / 0.5869 GB, free: 24.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.095e-05/0.3591, allocations: 2.406 kB / 0.5869 GB, free: 24.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.153e-05/0.3592, allocations: 165.3 kB / 0.587 GB, free: 24.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.3592, allocations: 7.844 kB / 0.587 GB, free: 24.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.3592, allocations: 3.469 kB / 0.587 GB, free: 24.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.3593, allocations: 73.86 kB / 0.5871 GB, free: 24.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.3594, allocations: 5.656 kB / 0.5871 GB, free: 24.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.3594, allocations: 7.938 kB / 0.5871 GB, free: 24.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.3594, allocations: 1.438 kB / 0.5871 GB, free: 24.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.3595, allocations: 98.72 kB / 0.5872 GB, free: 24.33 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000131/0.3596, allocations: 167.3 kB / 0.5874 GB, free: 24.13 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.116e-05/0.3597, allocations: 71.89 kB / 0.5875 GB, free: 24.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.226e-05/0.3598, allocations: 34.91 kB / 0.5875 GB, free: 24.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000232/0.36, allocations: 410.6 kB / 0.5879 GB, free: 23.58 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.388e-05/0.3601, allocations: 33.16 kB / 0.5879 GB, free: 23.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.072e-06/0.3601, allocations: 0 / 0.5879 GB, free: 23.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.000225/0.3603, allocations: 121.4 kB / 0.588 GB, free: 23.47 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.032e-05/0.3603, allocations: 53.97 kB / 0.5881 GB, free: 23.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.283e-05/0.3603, allocations: 98.94 kB / 0.5882 GB, free: 23.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.446e-06/0.3604, allocations: 25.7 kB / 0.5882 GB, free: 23.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.126e-05/0.3604, allocations: 81.14 kB / 0.5883 GB, free: 23.19 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.955e-05/0.3604, allocations: 22.89 kB / 0.5883 GB, free: 23.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.3605, allocations: 32.58 kB / 0.5883 GB, free: 23.15 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.41e-05/0.3605, allocations: 317.7 kB / 0.5886 GB, free: 22.83 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.451e-05/0.3605, allocations: 16.64 kB / 0.5886 GB, free: 22.83 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.074e-05/0.3606, allocations: 24.73 kB / 0.5887 GB, free: 22.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.299e-05/0.3607, allocations: 63.77 kB / 0.5887 GB, free: 22.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.3607, allocations: 1.531 kB / 0.5887 GB, free: 22.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001167/0.3608, allocations: 90.22 kB / 0.5888 GB, free: 22.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.3608, allocations: 5.281 kB / 0.5888 GB, free: 22.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3608, allocations: 3.938 kB / 0.5888 GB, free: 22.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.3608, allocations: 2.625 kB / 0.5888 GB, free: 22.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.361, allocations: 22.23 kB / 0.5889 GB, free: 22.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.361, allocations: 1.125 kB / 0.5889 GB, free: 22.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.918e-05/0.361, allocations: 13.97 kB / 0.5889 GB, free: 22.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.361, allocations: 2.5 kB / 0.5889 GB, free: 22.7 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: 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 6.938e-05/0.3611, allocations: 123 kB / 0.589 GB, free: 22.58 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.036e-05/0.3611, allocations: 6.266 kB / 0.589 GB, free: 22.58 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001792/0.3613, allocations: 128.3 kB / 0.5891 GB, free: 22.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3613, allocations: 6.906 kB / 0.5891 GB, free: 22.49 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3613, allocations: 0 / 0.5891 GB, free: 22.49 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.3613, allocations: 3.984 kB / 0.5891 GB, free: 22.49 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.682e-05/0.3614, allocations: 170.7 kB / 0.5893 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3614, allocations: 7.188 kB / 0.5893 GB, free: 22.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.306e-05/0.3615, allocations: 19.33 kB / 0.5893 GB, free: 22.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3615, allocations: 7.875 kB / 0.5893 GB, free: 22.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.3615, allocations: 1.062 kB / 0.5893 GB, free: 22.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3615, allocations: 1.031 kB / 0.5893 GB, free: 22.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3615, allocations: 0.5312 kB / 0.5893 GB, free: 22.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001283/0.3616, allocations: 127.9 kB / 0.5894 GB, free: 22.17 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.13e-05/0.3617, allocations: 86.36 kB / 0.5895 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.3617, allocations: 5.156 kB / 0.5895 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.473e-05/0.3617, allocations: 1.531 kB / 0.5895 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.459e-05/0.3617, allocations: 9.922 kB / 0.5895 GB, free: 22.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.3617, allocations: 3.406 kB / 0.5895 GB, free: 22.06 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.532e-05/0.3618, allocations: 78.02 kB / 0.5896 GB, free: 21.99 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3618, allocations: 0 / 0.5896 GB, free: 21.99 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001859/0.362, allocations: 14.56 kB / 0.5896 GB, free: 21.98 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: 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.0001557/0.3621, allocations: 126 kB / 0.5898 GB, free: 21.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001347/0.3623, allocations: 62.25 kB / 0.5898 GB, free: 21.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3623, allocations: 2.688 kB / 0.5898 GB, free: 21.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.722e-05/0.3623, allocations: 37.97 kB / 0.5899 GB, free: 21.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001308/0.3625, allocations: 4.812 kB / 0.5899 GB, free: 21.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002319/0.3627, allocations: 142.9 kB / 0.59 GB, free: 21.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001251/0.3628, allocations: 0.6884 MB / 0.5907 GB, free: 21.01 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.603e-05/0.3629, allocations: 35.7 kB / 0.5907 GB, free: 21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.27e-05/0.3629, allocations: 16.95 kB / 0.5907 GB, free: 20.98 MB / 446.1 MB Notification: Performance of SimCode: time 1.91e-07/0.3629, allocations: 0 / 0.5907 GB, free: 20.98 MB / 446.1 MB Notification: Performance of Templates: time 0.002266/0.3652, allocations: 0.603 MB / 0.5913 GB, free: 20.45 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)