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.001615/0.001615, allocations: 105 kB / 16.41 MB, free: 6.465 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.001727/0.001727, allocations: 187 kB / 17.34 MB, free: 5.719 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7865/0.7865, allocations: 132.2 MB / 423.4 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 64.94 kB / 0.582 GB, free: 23.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1395, allocations: 80.21 MB / 0.6603 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.002817/0.1424, allocations: 1.528 MB / 0.6618 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003936/0.1428, allocations: 136.4 kB / 0.662 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.018e-05/0.1428, allocations: 0 / 0.662 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.789e-05/0.1429, allocations: 3.938 kB / 0.662 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.295e-05/0.143, allocations: 7.938 kB / 0.662 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003031/0.1433, allocations: 27.91 kB / 0.662 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.857e-05/0.1434, allocations: 39.91 kB / 0.662 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.1435, allocations: 15.98 kB / 0.662 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.439e-05/0.1435, allocations: 11.94 kB / 0.6621 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.002e-05/0.1436, allocations: 27.91 kB / 0.6621 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.1436, allocations: 4 kB / 0.6621 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.965e-05/0.1437, allocations: 15.98 kB / 0.6621 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.78e-05/0.1437, allocations: 7.984 kB / 0.6621 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.134e-05/0.1437, allocations: 15.88 kB / 0.6621 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001313/0.1439, allocations: 51.86 kB / 0.6622 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1439, allocations: 0 / 0.6622 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.223e-06/0.1439, allocations: 0 / 0.6622 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.1439, allocations: 7.938 kB / 0.6622 GB, free: 8.348 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.0004961/0.1444, allocations: 351.4 kB / 0.6625 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.1445, allocations: 12.02 kB / 0.6625 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.98e-05/0.1445, allocations: 4.938 kB / 0.6625 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.1447, allocations: 168.2 kB / 0.6627 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.296e-05/0.1447, allocations: 4.375 kB / 0.6627 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.1447, allocations: 8.359 kB / 0.6627 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.1449, allocations: 66.22 kB / 0.6628 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.145, allocations: 192 / 0.6628 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.145, allocations: 7.938 kB / 0.6628 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.145, allocations: 0 / 0.6628 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001948/0.1452, allocations: 39.95 kB / 0.6628 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004342/0.1456, allocations: 284.7 kB / 0.6631 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003142/0.146, allocations: 58.59 kB / 0.6631 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.887e-05/0.1461, allocations: 24.84 kB / 0.6632 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003001/0.1464, allocations: 401.5 kB / 0.6636 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.1464, allocations: 34.56 kB / 0.6636 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.443e-06/0.1464, allocations: 7.938 kB / 0.6636 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003761/0.1468, allocations: 93.48 kB / 0.6637 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.1468, allocations: 55.39 kB / 0.6637 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.841e-05/0.1469, allocations: 109.8 kB / 0.6638 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.147, allocations: 29.7 kB / 0.6639 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.852e-05/0.147, allocations: 88.2 kB / 0.664 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.578e-05/0.147, allocations: 7.906 kB / 0.664 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.516e-05/0.1471, allocations: 13.72 kB / 0.664 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.1472, allocations: 322.8 kB / 0.6643 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.66e-05/0.1473, allocations: 19.98 kB / 0.6643 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.107e-05/0.1474, allocations: 19.97 kB / 0.6643 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.1476, allocations: 44.83 kB / 0.6644 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1476, allocations: 0 / 0.6644 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002294/0.1478, allocations: 85.58 kB / 0.6644 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.1478, allocations: 8 kB / 0.6645 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1478, allocations: 0 / 0.6645 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.1479, allocations: 0 / 0.6645 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.148e-05/0.1479, allocations: 11.98 kB / 0.6645 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.148, allocations: 0 / 0.6645 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.159e-05/0.148, allocations: 11.91 kB / 0.6645 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.148, allocations: 0 / 0.6645 GB, free: 5.684 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 8.37e-05/0.1481, allocations: 121.8 kB / 0.6646 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.1482, allocations: 0 / 0.6646 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002701/0.1484, allocations: 85.81 kB / 0.6647 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.1484, allocations: 0 / 0.6647 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1485, allocations: 3.938 kB / 0.6647 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1485, allocations: 8.031 kB / 0.6647 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.1486, allocations: 169.6 kB / 0.6648 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1486, allocations: 0 / 0.6648 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.679e-05/0.1487, allocations: 11.98 kB / 0.6649 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1487, allocations: 0 / 0.6649 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.1488, allocations: 0 / 0.6649 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.1488, allocations: 4 kB / 0.6649 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.1488, allocations: 0 / 0.6649 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.149, allocations: 191.2 kB / 0.665 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.767e-05/0.1491, allocations: 81.05 kB / 0.6651 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.1491, allocations: 0 / 0.6651 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.709e-05/0.1492, allocations: 7.984 kB / 0.6651 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.1493, allocations: 4 kB / 0.6651 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.1493, allocations: 0 / 0.6651 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.632e-05/0.1493, allocations: 91.27 kB / 0.6652 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1493, allocations: 0 / 0.6652 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000247/0.1496, allocations: 16 kB / 0.6652 GB, free: 4.793 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.0001519/0.1497, allocations: 103.2 kB / 0.6653 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002288/0.15, allocations: 39.95 kB / 0.6654 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.15, allocations: 0 / 0.6654 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.806e-05/0.1501, allocations: 27.92 kB / 0.6654 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.1504, allocations: 13.34 kB / 0.6654 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003279/0.1507, allocations: 143.2 kB / 0.6655 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.151, allocations: 0.6806 MB / 0.6662 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.601e-05/0.1511, allocations: 15.44 kB / 0.6662 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.1511, allocations: 0 / 0.6662 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of Templates: time 0.00243/0.1535, allocations: 0.8013 MB / 0.667 GB, free: 2.91 MB / 0.4981 GB 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 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)