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: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_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.008226/0.008226, allocations: 99.64 kB / 15.73 MB, free: 6.469 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.001792/0.001793, allocations: 191.9 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8983/0.8983, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 63.06 kB / 0.5809 GB, free: 1.129 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1709, allocations: 80.21 MB / 0.6592 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.002496/0.1735, allocations: 1.517 MB / 0.6607 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003541/0.1738, allocations: 144.3 kB / 0.6608 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.637e-05/0.1739, allocations: 0 / 0.6608 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.822e-05/0.174, allocations: 7.922 kB / 0.6608 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.389e-05/0.174, allocations: 0 / 0.6608 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002583/0.1743, allocations: 31.89 kB / 0.6609 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.016e-05/0.1743, allocations: 35.92 kB / 0.6609 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.575e-05/0.1744, allocations: 16 kB / 0.6609 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.984e-05/0.1745, allocations: 15.92 kB / 0.6609 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.609e-05/0.1745, allocations: 15.92 kB / 0.6609 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.1746, allocations: 7.984 kB / 0.6609 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.843e-05/0.1746, allocations: 23.92 kB / 0.661 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.522e-05/0.1747, allocations: 7.984 kB / 0.661 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.017e-05/0.1747, allocations: 19.88 kB / 0.661 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.1748, allocations: 43.88 kB / 0.661 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1748, allocations: 3.938 kB / 0.661 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1748, allocations: 0 / 0.661 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.778e-06/0.1749, allocations: 4 kB / 0.661 GB, free: 12.14 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.0004253/0.1753, allocations: 354.3 kB / 0.6614 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.1753, allocations: 8.031 kB / 0.6614 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.826e-05/0.1754, allocations: 30.75 kB / 0.6614 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.502e-05/0.1754, allocations: 4.938 kB / 0.6614 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.1755, allocations: 169.1 kB / 0.6616 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.1755, allocations: 8.375 kB / 0.6616 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.1755, allocations: 384 / 0.6616 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.1757, allocations: 66.23 kB / 0.6617 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.1757, allocations: 7.922 kB / 0.6617 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.1758, allocations: 0 / 0.6617 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.1758, allocations: 3.984 kB / 0.6617 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001757/0.1759, allocations: 47.89 kB / 0.6617 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003608/0.1763, allocations: 276.8 kB / 0.662 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003014/0.1766, allocations: 62.59 kB / 0.662 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.023e-05/0.1767, allocations: 24.78 kB / 0.6621 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002472/0.177, allocations: 405.5 kB / 0.6624 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.177, allocations: 34.55 kB / 0.6625 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.177, allocations: 4 kB / 0.6625 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003592/0.1774, allocations: 97.55 kB / 0.6626 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.1774, allocations: 51.41 kB / 0.6626 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.934e-05/0.1775, allocations: 105.8 kB / 0.6627 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.1775, allocations: 25.7 kB / 0.6628 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.935e-05/0.1776, allocations: 92.12 kB / 0.6628 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.488e-05/0.1776, allocations: 3.906 kB / 0.6628 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.1776, allocations: 21.72 kB / 0.6629 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.612e-05/0.1777, allocations: 314.8 kB / 0.6632 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.055e-05/0.1778, allocations: 27.91 kB / 0.6632 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.744e-05/0.1779, allocations: 19.98 kB / 0.6632 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.1781, allocations: 40.81 kB / 0.6632 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1781, allocations: 0 / 0.6632 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002016/0.1783, allocations: 77.66 kB / 0.6633 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.1783, allocations: 10.19 kB / 0.6633 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.1783, allocations: 0 / 0.6633 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.1784, allocations: 0 / 0.6633 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.078e-05/0.1784, allocations: 11.98 kB / 0.6633 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.1785, allocations: 7.875 kB / 0.6634 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.325e-05/0.1785, allocations: 11.89 kB / 0.6634 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.1786, allocations: 4.312 kB / 0.6634 GB, free: 9.434 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 6.87e-05/0.1786, allocations: 118.4 kB / 0.6635 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.481e-05/0.1787, allocations: 0 / 0.6635 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002505/0.1789, allocations: 85.55 kB / 0.6636 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.1789, allocations: 4.359 kB / 0.6636 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1789, allocations: 0 / 0.6636 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1789, allocations: 0 / 0.6636 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/0.1791, allocations: 169.6 kB / 0.6637 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1791, allocations: 4 kB / 0.6637 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.956e-05/0.1792, allocations: 15.97 kB / 0.6637 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1792, allocations: 0 / 0.6637 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.1792, allocations: 0 / 0.6637 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.1792, allocations: 7.875 kB / 0.6638 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1792, allocations: 4 kB / 0.6638 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002394/0.1795, allocations: 183.3 kB / 0.6639 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.76e-05/0.1795, allocations: 81.05 kB / 0.664 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.1795, allocations: 0 / 0.664 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.628e-05/0.1796, allocations: 7.984 kB / 0.664 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.246e-05/0.1797, allocations: 8 kB / 0.664 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.1797, allocations: 0 / 0.664 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.213e-05/0.1797, allocations: 95.25 kB / 0.6641 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1797, allocations: 0 / 0.6641 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002353/0.18, allocations: 12 kB / 0.6641 GB, free: 8.543 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.000518/0.1805, allocations: 0.7124 MB / 0.6648 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002214/0.1807, allocations: 39.95 kB / 0.6649 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1807, allocations: 4 kB / 0.6649 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.41e-05/0.1808, allocations: 27.97 kB / 0.6649 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.1811, allocations: 11.94 kB / 0.6649 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.1825, allocations: 1.28 MB / 0.6662 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/0.1827, allocations: 0.6807 MB / 0.6668 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.354e-05/0.1827, allocations: 11.98 kB / 0.6668 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.684e-05/0.1828, allocations: 11.44 kB / 0.6668 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1828, allocations: 0 / 0.6668 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01702/0.1998, allocations: 1.721 MB / 0.6685 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.527/7.727, allocations: 7.703 kB / 0.6685 GB, free: 4.012 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_FallingFactorial.fmu > IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)