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.005124/0.005128, allocations: 99.95 kB / 15.73 MB, free: 6.473 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.001169/0.001169, allocations: 194.8 kB / 16.67 MB, free: 6.379 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.474/1.474, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9926/0.9926, allocations: 135.1 MB / 425.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 63.91 kB / 0.5856 GB, free: 3.391 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4522/0.4535, allocations: 80.91 MB / 0.6646 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.002623/0.4561, allocations: 1.532 MB / 0.6661 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003685/0.4565, allocations: 142 kB / 0.6663 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.781e-05/0.4566, allocations: 1.094 kB / 0.6663 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.744e-05/0.4566, allocations: 3.938 kB / 0.6663 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.436e-05/0.4567, allocations: 5.312 kB / 0.6663 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003399/0.4571, allocations: 32.89 kB / 0.6663 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.398e-05/0.4572, allocations: 33.92 kB / 0.6663 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.4573, allocations: 14.36 kB / 0.6664 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.509e-05/0.4573, allocations: 13.56 kB / 0.6664 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.639e-05/0.4574, allocations: 24.97 kB / 0.6664 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.4574, allocations: 3.844 kB / 0.6664 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.216e-05/0.4575, allocations: 21.17 kB / 0.6664 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.991e-05/0.4575, allocations: 10.23 kB / 0.6664 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.7e-05/0.4576, allocations: 15.22 kB / 0.6664 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.4577, allocations: 47.55 kB / 0.6665 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.4578, allocations: 0 / 0.6665 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.925e-06/0.4578, allocations: 1.438 kB / 0.6665 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.4578, allocations: 0 / 0.6665 GB, free: 6.156 MB / 0.4981 GB 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.0004944/0.4583, allocations: 356 kB / 0.6668 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.4583, allocations: 10.72 kB / 0.6668 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.604e-05/0.4584, allocations: 2.344 kB / 0.6668 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.898e-05/0.4585, allocations: 170.7 kB / 0.667 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.4585, allocations: 1.875 kB / 0.667 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.4585, allocations: 2.906 kB / 0.667 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/0.4588, allocations: 62.92 kB / 0.6671 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.4588, allocations: 192 / 0.6671 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.4588, allocations: 9.156 kB / 0.6671 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.4588, allocations: 7.984 kB / 0.6671 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002016/0.459, allocations: 44.3 kB / 0.6671 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004114/0.4595, allocations: 281.6 kB / 0.6674 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003583/0.4598, allocations: 61.47 kB / 0.6675 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.4599, allocations: 32.75 kB / 0.6675 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002359/0.4602, allocations: 396.1 kB / 0.6679 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.4602, allocations: 35.95 kB / 0.6679 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/0.4602, allocations: 0 / 0.6679 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004121/0.4606, allocations: 99.3 kB / 0.668 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.4607, allocations: 55.41 kB / 0.668 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.793e-05/0.4608, allocations: 108.3 kB / 0.6681 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.4608, allocations: 25.7 kB / 0.6682 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.399e-05/0.4608, allocations: 89.47 kB / 0.6683 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.4608, allocations: 5.438 kB / 0.6683 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.741e-05/0.4609, allocations: 17.28 kB / 0.6683 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.229e-05/0.4609, allocations: 315.9 kB / 0.6686 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.4611, allocations: 26.09 kB / 0.6686 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.223e-05/0.4611, allocations: 18.98 kB / 0.6686 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001754/0.4613, allocations: 51.73 kB / 0.6687 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4613, allocations: 0 / 0.6687 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002295/0.4616, allocations: 77.06 kB / 0.6687 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.4616, allocations: 5.5 kB / 0.6688 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.4616, allocations: 4 kB / 0.6688 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.4616, allocations: 1.562 kB / 0.6688 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.911e-05/0.4617, allocations: 10.55 kB / 0.6688 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.4617, allocations: 1.094 kB / 0.6688 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.655e-05/0.4618, allocations: 11.2 kB / 0.6688 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.4618, allocations: 1.062 kB / 0.6688 GB, free: 3.773 MB / 0.4981 GB 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.929e-05/0.4619, allocations: 112.9 kB / 0.6689 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/0.4619, allocations: 5.625 kB / 0.6689 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002669/0.4622, allocations: 87.55 kB / 0.669 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.4622, allocations: 9.016 kB / 0.669 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4622, allocations: 4 kB / 0.669 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.4622, allocations: 5.188 kB / 0.669 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.4624, allocations: 169 kB / 0.6692 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.4624, allocations: 0 / 0.6692 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.574e-05/0.4624, allocations: 11.64 kB / 0.6692 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.4625, allocations: 0 / 0.6692 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.4625, allocations: 5.281 kB / 0.6692 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4625, allocations: 0 / 0.6692 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4625, allocations: 1.469 kB / 0.6692 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.4627, allocations: 171.4 kB / 0.6693 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.875e-05/0.4627, allocations: 82.33 kB / 0.6694 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.4628, allocations: 0 / 0.6694 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.623e-05/0.4629, allocations: 12.23 kB / 0.6694 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.714e-05/0.4629, allocations: 6.125 kB / 0.6694 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.4629, allocations: 5 kB / 0.6694 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.794e-05/0.463, allocations: 93.39 kB / 0.6695 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.463, allocations: 1.094 kB / 0.6695 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002328/0.4632, allocations: 8.719 kB / 0.6695 GB, free: 2.996 MB / 0.4981 GB 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.0001411/0.4633, allocations: 100 kB / 0.6696 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002411/0.4636, allocations: 50.11 kB / 0.6697 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4636, allocations: 0 / 0.6697 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.4637, allocations: 27.28 kB / 0.6697 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.464, allocations: 5.25 kB / 0.6697 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003009/0.4643, allocations: 133.6 kB / 0.6698 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.4644, allocations: 0.6793 MB / 0.6705 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.231e-05/0.4645, allocations: 6.703 kB / 0.6705 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.545e-05/0.4645, allocations: 11.12 kB / 0.6705 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.4645, allocations: 0 / 0.6705 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of Templates: time 0.003239/0.4677, allocations: 0.7672 MB / 0.6713 GB, free: 1.629 MB / 0.4981 GB 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)