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.001725/0.001725, allocations: 103.7 kB / 16.41 MB, free: 6.41 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.001932/0.001932, allocations: 189.5 kB / 17.34 MB, free: 5.691 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 / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8563/0.8563, allocations: 135.2 MB / 426.4 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 68.5 kB / 0.5863 GB, free: 21.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.145, allocations: 80.93 MB / 0.6654 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.002674/0.1477, allocations: 1.522 MB / 0.6669 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000371/0.148, allocations: 132.4 kB / 0.667 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.54e-05/0.1481, allocations: 7.938 kB / 0.667 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.495e-05/0.1481, allocations: 3.938 kB / 0.667 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.516e-05/0.1481, allocations: 3.938 kB / 0.667 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002716/0.1484, allocations: 31.95 kB / 0.667 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.936e-05/0.1485, allocations: 35.92 kB / 0.6671 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.296e-05/0.1486, allocations: 11.98 kB / 0.6671 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.275e-05/0.1486, allocations: 19.92 kB / 0.6671 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.441e-05/0.1487, allocations: 19.91 kB / 0.6671 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.1487, allocations: 4 kB / 0.6671 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.1488, allocations: 19.98 kB / 0.6671 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.643e-05/0.1488, allocations: 4 kB / 0.6671 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.922e-05/0.1488, allocations: 19.88 kB / 0.6672 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.149, allocations: 51.73 kB / 0.6672 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.149, allocations: 0 / 0.6672 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.854e-06/0.149, allocations: 0 / 0.6672 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.149, allocations: 0 / 0.6672 GB, free: 3.844 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.0005313/0.1495, allocations: 355.4 kB / 0.6675 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.1495, allocations: 9.109 kB / 0.6676 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.885e-05/0.1496, allocations: 12.88 kB / 0.6676 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.1497, allocations: 164.3 kB / 0.6677 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.1497, allocations: 4.375 kB / 0.6677 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.427e-06/0.1497, allocations: 384 / 0.6677 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002345/0.15, allocations: 70.2 kB / 0.6678 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.15, allocations: 4.172 kB / 0.6678 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.15, allocations: 15.94 kB / 0.6678 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.15, allocations: 0 / 0.6678 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001955/0.1502, allocations: 47.83 kB / 0.6679 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004025/0.1506, allocations: 276.8 kB / 0.6681 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003356/0.1509, allocations: 62.53 kB / 0.6682 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.151, allocations: 24.91 kB / 0.6682 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003344/0.1514, allocations: 405.5 kB / 0.6686 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.1514, allocations: 34.56 kB / 0.6686 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1514, allocations: 0 / 0.6686 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003809/0.1518, allocations: 89.64 kB / 0.6687 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.1518, allocations: 55.39 kB / 0.6688 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.958e-05/0.1519, allocations: 109.9 kB / 0.6689 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.1519, allocations: 25.7 kB / 0.6689 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.932e-05/0.152, allocations: 88.08 kB / 0.669 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.152, allocations: 11.95 kB / 0.669 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.786e-05/0.1521, allocations: 13.72 kB / 0.669 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.1522, allocations: 322.8 kB / 0.6693 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.367e-05/0.1523, allocations: 23.92 kB / 0.6693 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.05e-05/0.1524, allocations: 19.92 kB / 0.6693 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.1526, allocations: 48.81 kB / 0.6694 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.1526, allocations: 0 / 0.6694 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002323/0.1528, allocations: 77.64 kB / 0.6695 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.1528, allocations: 8 kB / 0.6695 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.1528, allocations: 0 / 0.6695 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.1528, allocations: 0 / 0.6695 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.142e-05/0.1529, allocations: 11.98 kB / 0.6695 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.1529, allocations: 0 / 0.6695 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.504e-05/0.153, allocations: 4 kB / 0.6695 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-06/0.153, allocations: 7.938 kB / 0.6695 GB, free: 1.172 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 9.055e-05/0.1531, allocations: 121.7 kB / 0.6696 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.746e-05/0.1531, allocations: 11.95 kB / 0.6696 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002667/0.1534, allocations: 77.55 kB / 0.6697 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.1534, allocations: 384 / 0.6697 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1534, allocations: 0 / 0.6697 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.1534, allocations: 4 kB / 0.6697 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.1536, allocations: 169.6 kB / 0.6699 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1536, allocations: 3.938 kB / 0.6699 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.304e-05/0.1536, allocations: 11.97 kB / 0.6699 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1536, allocations: 8 kB / 0.6699 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.1536, allocations: 0 / 0.6699 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1536, allocations: 0 / 0.6699 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.1536, allocations: 3.938 kB / 0.6699 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002738/0.1539, allocations: 175.4 kB / 0.6701 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.034e-05/0.154, allocations: 81.06 kB / 0.6701 GB, free: 424 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.154, allocations: 8 kB / 0.6701 GB, free: 416 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.703e-05/0.1541, allocations: 11.98 kB / 0.6702 GB, free: 404 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.076e-05/0.1541, allocations: 0 / 0.6702 GB, free: 404 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.1541, allocations: 4 kB / 0.6702 GB, free: 400 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.456e-05/0.1542, allocations: 87.27 kB / 0.6702 GB, free: 312 kB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.1542, allocations: 0 / 0.6702 GB, free: 312 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002218/0.1544, allocations: 8 kB / 0.6703 GB, free: 304 kB / 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.0001549/0.1546, allocations: 103.2 kB / 0.6704 GB, free: 192 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002429/0.1548, allocations: 51.88 kB / 0.6704 GB, free: 140 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.1548, allocations: 4 kB / 0.6704 GB, free: 136 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.635e-05/0.1549, allocations: 19.98 kB / 0.6704 GB, free: 116 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.1552, allocations: 9.578 kB / 0.6704 GB, free: 108 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003499/0.1555, allocations: 155 kB / 0.6706 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.1558, allocations: 0.6845 MB / 0.6712 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.1559, allocations: 11.44 kB / 0.6713 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of SimCode: time 2.9e-07/0.1559, allocations: 0 / 0.6713 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of Templates: time 0.00248/0.1583, allocations: 0.8031 MB / 0.672 GB, free: 14.39 MB / 0.5137 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)