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: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004975/0.004975, allocations: 99.89 kB / 15.73 MB, free: 6.016 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.001237/0.001237, allocations: 184.2 kB / 16.67 MB, free: 5.93 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.433/1.433, allocations: 222.9 MB / 240.4 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.8901/0.8901, allocations: 135.6 MB / 426.1 MB, free: 3.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 77.88 kB / 0.5858 GB, free: 21.37 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1545, allocations: 81.02 MB / 0.6649 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001657/0.1562, allocations: 0.5759 MB / 0.6655 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002637/0.1565, allocations: 66.38 kB / 0.6655 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.785e-05/0.1565, allocations: 0 / 0.6655 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.504e-05/0.1565, allocations: 0 / 0.6655 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.23e-06/0.1566, allocations: 0 / 0.6655 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002559/0.1568, allocations: 19.92 kB / 0.6655 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.1569, allocations: 23.97 kB / 0.6656 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.96e-05/0.157, allocations: 4 kB / 0.6656 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.286e-05/0.157, allocations: 15.92 kB / 0.6656 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.994e-05/0.157, allocations: 15.98 kB / 0.6656 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.1571, allocations: 0 / 0.6656 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.813e-05/0.1571, allocations: 19.98 kB / 0.6656 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.743e-05/0.1572, allocations: 11.98 kB / 0.6656 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.656e-05/0.1572, allocations: 15.92 kB / 0.6656 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.1573, allocations: 36.11 kB / 0.6657 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.1573, allocations: 0 / 0.6657 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1573, allocations: 0 / 0.6657 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.305e-06/0.1574, allocations: 0 / 0.6657 GB, free: 4.758 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004274/0.1578, allocations: 331.5 kB / 0.666 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.1578, allocations: 17.05 kB / 0.666 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.185e-05/0.1579, allocations: 38.73 kB / 0.6661 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.189e-05/0.1579, allocations: 12.89 kB / 0.6661 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.1581, allocations: 160.7 kB / 0.6662 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.1581, allocations: 4.375 kB / 0.6662 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.1581, allocations: 4.375 kB / 0.6662 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.1583, allocations: 66.16 kB / 0.6663 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.1583, allocations: 7.938 kB / 0.6663 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.1583, allocations: 3.938 kB / 0.6663 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1583, allocations: 0 / 0.6663 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001565/0.1585, allocations: 99.88 kB / 0.6664 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001885/0.1587, allocations: 173.7 kB / 0.6666 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.1588, allocations: 78.47 kB / 0.6666 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.02e-05/0.1589, allocations: 33.17 kB / 0.6667 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003871/0.1593, allocations: 405.5 kB / 0.6671 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.1593, allocations: 38.5 kB / 0.6671 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.243e-06/0.1593, allocations: 0 / 0.6671 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0002733/0.1596, allocations: 113.5 kB / 0.6672 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.1596, allocations: 55.41 kB / 0.6673 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.108e-05/0.1597, allocations: 101.9 kB / 0.6673 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.1597, allocations: 25.7 kB / 0.6674 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.925e-05/0.1598, allocations: 84.12 kB / 0.6675 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.1598, allocations: 23.8 kB / 0.6675 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.136e-05/0.1599, allocations: 33.7 kB / 0.6675 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.16, allocations: 310.8 kB / 0.6678 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.454e-05/0.1601, allocations: 27.86 kB / 0.6678 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.895e-05/0.1601, allocations: 24.42 kB / 0.6679 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.1602, allocations: 64.98 kB / 0.6679 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1602, allocations: 0 / 0.6679 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001584/0.1604, allocations: 93.56 kB / 0.668 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.1604, allocations: 7.938 kB / 0.668 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1604, allocations: 0 / 0.668 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1604, allocations: 0 / 0.668 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.1606, allocations: 27.92 kB / 0.668 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.1606, allocations: 0 / 0.668 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.173e-05/0.1606, allocations: 7.938 kB / 0.668 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.1606, allocations: 4 kB / 0.6681 GB, free: 2.004 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: 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 0.0001691/0.1608, allocations: 121.8 kB / 0.6682 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.836e-05/0.1608, allocations: 11.89 kB / 0.6682 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002409/0.1611, allocations: 121.5 kB / 0.6683 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.1611, allocations: 4 kB / 0.6683 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1611, allocations: 0 / 0.6683 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1611, allocations: 0 / 0.6683 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.1613, allocations: 169.6 kB / 0.6685 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.1613, allocations: 4 kB / 0.6685 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.049e-05/0.1613, allocations: 19.98 kB / 0.6685 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1614, allocations: 7.875 kB / 0.6685 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.1614, allocations: 11.94 kB / 0.6685 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1614, allocations: 0 / 0.6685 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.1614, allocations: 4 kB / 0.6685 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001833/0.1616, allocations: 121 kB / 0.6686 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.119e-05/0.1616, allocations: 88.98 kB / 0.6687 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.1617, allocations: 4 kB / 0.6687 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.628e-05/0.1617, allocations: 4 kB / 0.6687 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/0.1617, allocations: 7.984 kB / 0.6687 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.283e-06/0.1617, allocations: 4 kB / 0.6687 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.92e-05/0.1618, allocations: 75.28 kB / 0.6688 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1618, allocations: 0 / 0.6688 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002113/0.162, allocations: 16 kB / 0.6688 GB, free: 1.121 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: 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.0005738/0.1626, allocations: 0.6747 MB / 0.6695 GB, free: 428 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001527/0.1627, allocations: 60.34 kB / 0.6695 GB, free: 368 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1627, allocations: 3.938 kB / 0.6695 GB, free: 364 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.586e-05/0.1628, allocations: 39.92 kB / 0.6696 GB, free: 324 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.163, allocations: 7.984 kB / 0.6696 GB, free: 316 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003934/0.1634, allocations: 182.5 kB / 0.6698 GB, free: 92 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.1637, allocations: 0.6807 MB / 0.6704 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.018e-05/0.1638, allocations: 31.97 kB / 0.6704 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.268e-05/0.1638, allocations: 23.42 kB / 0.6705 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of SimCode: time 2.11e-07/0.1638, allocations: 0 / 0.6705 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02284/0.1867, allocations: 1.564 MB / 0.672 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.844/8.031, allocations: 4.531 kB / 0.672 GB, free: 13.85 MB / 0.5137 GB (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial_res.csv --start-time 0 --stop-time 13.9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00556 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)