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.001113/0.001113, allocations: 108.7 kB / 16.41 MB, free: 6.492 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.001082/0.001082, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7942/0.7942, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 64.69 kB / 0.5863 GB, free: 21.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1394, allocations: 80.93 MB / 0.6653 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.002747/0.1422, allocations: 1.518 MB / 0.6668 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003829/0.1426, allocations: 136.4 kB / 0.6669 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.562e-05/0.1427, allocations: 0 / 0.6669 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.043e-05/0.1427, allocations: 0 / 0.6669 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.71e-05/0.1428, allocations: 7.875 kB / 0.6669 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003223/0.1431, allocations: 35.83 kB / 0.667 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.538e-05/0.1432, allocations: 39.92 kB / 0.667 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.1433, allocations: 15.98 kB / 0.667 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.789e-05/0.1434, allocations: 15.92 kB / 0.667 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.572e-05/0.1434, allocations: 19.91 kB / 0.6671 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.1435, allocations: 4 kB / 0.6671 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.501e-05/0.1435, allocations: 19.98 kB / 0.6671 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.453e-05/0.1436, allocations: 4 kB / 0.6671 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.167e-05/0.1436, allocations: 19.92 kB / 0.6671 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.1437, allocations: 51.81 kB / 0.6671 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1438, allocations: 0 / 0.6671 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1438, allocations: 0 / 0.6671 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.1438, allocations: 0 / 0.6671 GB, free: 4.016 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.0005147/0.1443, allocations: 359.3 kB / 0.6675 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.1443, allocations: 9.109 kB / 0.6675 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.982e-05/0.1444, allocations: 0.9375 kB / 0.6675 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.1445, allocations: 168.3 kB / 0.6677 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.1445, allocations: 4.375 kB / 0.6677 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.1445, allocations: 4.375 kB / 0.6677 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.1447, allocations: 62.22 kB / 0.6677 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.1448, allocations: 192 / 0.6677 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.1448, allocations: 3.938 kB / 0.6677 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.1448, allocations: 4 kB / 0.6677 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002/0.145, allocations: 43.95 kB / 0.6678 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003787/0.1454, allocations: 288.6 kB / 0.6681 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003258/0.1457, allocations: 58.53 kB / 0.6681 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.961e-05/0.1458, allocations: 24.91 kB / 0.6681 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002582/0.1461, allocations: 401.5 kB / 0.6685 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.1461, allocations: 38.56 kB / 0.6686 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 3.887e-06/0.1461, allocations: 3.984 kB / 0.6686 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003959/0.1465, allocations: 97.47 kB / 0.6686 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.1466, allocations: 55.41 kB / 0.6687 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.413e-05/0.1467, allocations: 117.8 kB / 0.6688 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.1467, allocations: 25.7 kB / 0.6688 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.468e-05/0.1467, allocations: 80.14 kB / 0.6689 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.1468, allocations: 15.91 kB / 0.6689 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.63e-05/0.1468, allocations: 13.72 kB / 0.6689 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.916e-05/0.1469, allocations: 322.8 kB / 0.6692 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.589e-05/0.147, allocations: 15.98 kB / 0.6693 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.456e-05/0.1471, allocations: 19.97 kB / 0.6693 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00018/0.1473, allocations: 52.77 kB / 0.6693 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1473, allocations: 0 / 0.6693 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002301/0.1475, allocations: 81.58 kB / 0.6694 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.1476, allocations: 4 kB / 0.6694 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1476, allocations: 0 / 0.6694 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.1476, allocations: 0 / 0.6694 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.587e-05/0.1477, allocations: 11.98 kB / 0.6694 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.1477, allocations: 0 / 0.6694 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.614e-05/0.1478, allocations: 8 kB / 0.6694 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.507e-06/0.1478, allocations: 7.984 kB / 0.6694 GB, free: 1.344 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 7.58e-05/0.1479, allocations: 113.8 kB / 0.6696 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.1479, allocations: 7.906 kB / 0.6696 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002932/0.1482, allocations: 85.48 kB / 0.6696 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.1482, allocations: 4 kB / 0.6696 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1482, allocations: 0 / 0.6696 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1482, allocations: 4 kB / 0.6696 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.1484, allocations: 169.6 kB / 0.6698 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1484, allocations: 0 / 0.6698 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.122e-05/0.1485, allocations: 11.98 kB / 0.6698 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1485, allocations: 0 / 0.6698 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.1485, allocations: 0 / 0.6698 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.1485, allocations: 0 / 0.6698 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1485, allocations: 0 / 0.6698 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/0.1488, allocations: 179.4 kB / 0.67 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.877e-05/0.1489, allocations: 89.38 kB / 0.6701 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.1489, allocations: 4 kB / 0.6701 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.895e-05/0.149, allocations: 11.92 kB / 0.6701 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.406e-05/0.149, allocations: 0 / 0.6701 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.149, allocations: 7.984 kB / 0.6701 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.225e-05/0.1491, allocations: 83.28 kB / 0.6702 GB, free: 496 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1491, allocations: 0 / 0.6702 GB, free: 496 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002366/0.1493, allocations: 16 kB / 0.6702 GB, free: 480 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.0001589/0.1495, allocations: 112.5 kB / 0.6703 GB, free: 360 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000244/0.1497, allocations: 43.95 kB / 0.6703 GB, free: 316 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1498, allocations: 0 / 0.6703 GB, free: 316 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.1499, allocations: 23.92 kB / 0.6704 GB, free: 292 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.1502, allocations: 17.97 kB / 0.6704 GB, free: 276 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000321/0.1505, allocations: 147.2 kB / 0.6705 GB, free: 96 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.1508, allocations: 0.6807 MB / 0.6712 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.364e-05/0.1508, allocations: 11.44 kB / 0.6712 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of SimCode: time 4.11e-07/0.1508, allocations: 0 / 0.6712 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of Templates: time 0.002392/0.1532, allocations: 0.8008 MB / 0.672 GB, free: 14.57 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)