Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.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.Polynomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Polynomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Polynomial",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.001383/0.001383, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.444/1.444, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7619/0.7619, allocations: 132.2 MB / 422.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 72.42 kB / 0.5019 GB, free: 8.676 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1717, allocations: 80.2 MB / 0.5802 GB, free: 8.695 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.002616/0.1743, allocations: 1.438 MB / 0.5816 GB, free: 7.238 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002781/0.1746, allocations: 88.58 kB / 0.5817 GB, free: 7.148 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.122e-05/0.1747, allocations: 0 / 0.5817 GB, free: 7.148 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.537e-05/0.1747, allocations: 7.984 kB / 0.5817 GB, free: 7.141 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.04e-05/0.1748, allocations: 7.938 kB / 0.5817 GB, free: 7.133 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000222/0.175, allocations: 19.92 kB / 0.5817 GB, free: 7.113 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.83e-05/0.1751, allocations: 23.92 kB / 0.5817 GB, free: 7.09 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.349e-05/0.1752, allocations: 8 kB / 0.5817 GB, free: 7.082 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.539e-05/0.1752, allocations: 3.938 kB / 0.5817 GB, free: 7.078 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.887e-05/0.1752, allocations: 15.92 kB / 0.5818 GB, free: 7.062 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.1753, allocations: 4 kB / 0.5818 GB, free: 7.059 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.825e-05/0.1754, allocations: 15.98 kB / 0.5818 GB, free: 7.043 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.621e-05/0.1754, allocations: 15.97 kB / 0.5818 GB, free: 7.027 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.75e-05/0.1754, allocations: 11.94 kB / 0.5818 GB, free: 7.016 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.1756, allocations: 35.89 kB / 0.5818 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.1756, allocations: 0 / 0.5818 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1756, allocations: 0 / 0.5818 GB, free: 6.98 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.236e-06/0.1756, allocations: 0 / 0.5818 GB, free: 6.98 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003954/0.176, allocations: 347.7 kB / 0.5822 GB, free: 6.59 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.176, allocations: 8.031 kB / 0.5822 GB, free: 6.582 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.758e-05/0.1761, allocations: 34.75 kB / 0.5822 GB, free: 6.539 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.442e-05/0.1761, allocations: 4.938 kB / 0.5822 GB, free: 6.535 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.1762, allocations: 168.3 kB / 0.5824 GB, free: 6.332 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.1762, allocations: 4.312 kB / 0.5824 GB, free: 6.328 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.1762, allocations: 4.375 kB / 0.5824 GB, free: 6.324 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.1764, allocations: 50.23 kB / 0.5824 GB, free: 6.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.1764, allocations: 3.938 kB / 0.5824 GB, free: 6.266 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.1764, allocations: 0 / 0.5824 GB, free: 6.266 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.1764, allocations: 0 / 0.5824 GB, free: 6.266 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001672/0.1766, allocations: 39.97 kB / 0.5825 GB, free: 6.227 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002781/0.1769, allocations: 253 kB / 0.5827 GB, free: 5.93 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.1771, allocations: 46.42 kB / 0.5828 GB, free: 5.875 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.424e-05/0.1772, allocations: 24.91 kB / 0.5828 GB, free: 5.848 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.305e-05/0.1772, allocations: 8 kB / 0.5828 GB, free: 5.84 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.1772, allocations: 34.5 kB / 0.5828 GB, free: 5.797 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.1772, allocations: 0 / 0.5828 GB, free: 5.797 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003373/0.1776, allocations: 85.64 kB / 0.5829 GB, free: 5.707 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.1776, allocations: 59.28 kB / 0.583 GB, free: 5.637 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.473e-05/0.1777, allocations: 110 kB / 0.5831 GB, free: 5.52 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.1777, allocations: 25.7 kB / 0.5831 GB, free: 5.488 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.616e-05/0.1778, allocations: 88.05 kB / 0.5832 GB, free: 5.398 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.1778, allocations: 15.91 kB / 0.5832 GB, free: 5.383 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.1778, allocations: 9.719 kB / 0.5832 GB, free: 5.367 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.85e-05/0.1779, allocations: 314.8 kB / 0.5835 GB, free: 5.051 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.746e-05/0.178, allocations: 15.98 kB / 0.5835 GB, free: 5.035 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.152e-05/0.1781, allocations: 27.97 kB / 0.5835 GB, free: 5.008 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.1783, allocations: 36.83 kB / 0.5836 GB, free: 4.969 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1783, allocations: 7.938 kB / 0.5836 GB, free: 4.961 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001941/0.1785, allocations: 69.56 kB / 0.5837 GB, free: 4.887 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.1785, allocations: 4 kB / 0.5837 GB, free: 4.883 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.1785, allocations: 8.031 kB / 0.5837 GB, free: 4.875 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.1785, allocations: 4 kB / 0.5837 GB, free: 4.871 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.435e-05/0.1786, allocations: 7.984 kB / 0.5837 GB, free: 4.863 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.1786, allocations: 256 / 0.5837 GB, free: 4.863 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.829e-05/0.1787, allocations: 7.984 kB / 0.5837 GB, free: 4.855 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.1787, allocations: 4 kB / 0.5837 GB, free: 4.852 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.689e-05/0.1788, allocations: 118.4 kB / 0.5838 GB, free: 4.727 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.347e-05/0.1788, allocations: 0 / 0.5838 GB, free: 4.727 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002264/0.179, allocations: 77.19 kB / 0.5839 GB, free: 4.645 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.179, allocations: 4 kB / 0.5839 GB, free: 4.641 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1791, allocations: 0 / 0.5839 GB, free: 4.641 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.218e-06/0.1791, allocations: 7.969 kB / 0.5839 GB, free: 4.633 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.1792, allocations: 161.6 kB / 0.584 GB, free: 4.426 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1792, allocations: 0 / 0.584 GB, free: 4.426 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.797e-05/0.1793, allocations: 11.92 kB / 0.5841 GB, free: 4.414 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1793, allocations: 0 / 0.5841 GB, free: 4.414 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.1793, allocations: 4.031 kB / 0.5841 GB, free: 4.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.1793, allocations: 4 kB / 0.5841 GB, free: 4.406 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1793, allocations: 0 / 0.5841 GB, free: 4.406 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000226/0.1795, allocations: 169.1 kB / 0.5842 GB, free: 4.227 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.328e-05/0.1796, allocations: 85.05 kB / 0.5843 GB, free: 4.125 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.1796, allocations: 0 / 0.5843 GB, free: 4.125 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.414e-05/0.1797, allocations: 12.02 kB / 0.5843 GB, free: 4.113 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.134e-05/0.1797, allocations: 0 / 0.5843 GB, free: 4.113 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-06/0.1797, allocations: 0 / 0.5843 GB, free: 4.113 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.237e-05/0.1798, allocations: 91.27 kB / 0.5844 GB, free: 4.023 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1798, allocations: 0 / 0.5844 GB, free: 4.023 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002509/0.18, allocations: 8 kB / 0.5844 GB, free: 4.016 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0004922/0.1805, allocations: 0.7045 MB / 0.5851 GB, free: 3.281 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002092/0.1808, allocations: 43.95 kB / 0.5851 GB, free: 3.238 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1808, allocations: 0 / 0.5851 GB, free: 3.238 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.977e-05/0.1809, allocations: 28 kB / 0.5852 GB, free: 3.211 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.1811, allocations: 6.5 kB / 0.5852 GB, free: 3.207 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003903/0.1815, allocations: 147 kB / 0.5853 GB, free: 3.023 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.1818, allocations: 0.6768 MB / 0.586 GB, free: 2.32 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.286e-05/0.1818, allocations: 4 kB / 0.586 GB, free: 2.316 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.054e-05/0.1818, allocations: 15.42 kB / 0.586 GB, free: 2.301 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1818, allocations: 4.062 kB / 0.586 GB, free: 2.297 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0164/0.1982, allocations: 1.375 MB / 0.5873 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.168/7.366, allocations: 7.422 kB / 0.5873 GB, free: 0.9922 MB / 494.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Examples.Polynomial_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Utilities_Math_Examples_Polynomial.fmu > IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1)