Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.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: translateModel(IDEAS.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00625/0.00625, allocations: 101.4 kB / 15.73 MB, free: 5.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.001242/0.001242, allocations: 186.2 kB / 16.67 MB, free: 5.422 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 14.94 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8102/0.8102, allocations: 132.2 MB / 422.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 65.06 kB / 0.5814 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1723, allocations: 80.21 MB / 0.6597 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001797/0.1742, allocations: 0.5863 MB / 0.6603 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002474/0.1745, allocations: 31.88 kB / 0.6603 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.619e-05/0.1745, allocations: 0 / 0.6603 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.542e-05/0.1745, allocations: 0 / 0.6603 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.492e-06/0.1745, allocations: 0 / 0.6603 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002979/0.1748, allocations: 8 kB / 0.6603 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.975e-05/0.1749, allocations: 4 kB / 0.6603 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.844e-05/0.175, allocations: 7.984 kB / 0.6603 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.625e-05/0.175, allocations: 3.938 kB / 0.6603 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.612e-05/0.175, allocations: 7.984 kB / 0.6603 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.586e-06/0.175, allocations: 4 kB / 0.6603 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.173e-05/0.1751, allocations: 19.92 kB / 0.6604 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.739e-06/0.1752, allocations: 0 / 0.6604 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.762e-05/0.1752, allocations: 0 / 0.6604 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.719e-05/0.1753, allocations: 11.98 kB / 0.6604 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1753, allocations: 4 kB / 0.6604 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1753, allocations: 0 / 0.6604 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.1753, allocations: 0 / 0.6604 GB, free: 9.539 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003165/0.1756, allocations: 315.5 kB / 0.6607 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.1757, allocations: 8.031 kB / 0.6607 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.532e-05/0.1757, allocations: 4.938 kB / 0.6607 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.107e-05/0.1758, allocations: 164.4 kB / 0.6609 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.1758, allocations: 384 / 0.6609 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.1758, allocations: 8.359 kB / 0.6609 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.612e-05/0.1759, allocations: 32.75 kB / 0.6609 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.1759, allocations: 192 / 0.6609 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.1759, allocations: 3.938 kB / 0.6609 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1759, allocations: 0 / 0.6609 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.124e-05/0.176, allocations: 7.984 kB / 0.6609 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001399/0.1761, allocations: 149.6 kB / 0.661 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.436e-05/0.1762, allocations: 26.59 kB / 0.6611 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.464e-05/0.1762, allocations: 4.859 kB / 0.6611 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.418e-05/0.1762, allocations: 0 / 0.6611 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.1763, allocations: 38.56 kB / 0.6611 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.1763, allocations: 0 / 0.6611 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001289/0.1764, allocations: 33.64 kB / 0.6611 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.1764, allocations: 55.53 kB / 0.6612 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.282e-05/0.1765, allocations: 89.86 kB / 0.6613 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.1765, allocations: 25.7 kB / 0.6613 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.676e-05/0.1765, allocations: 84.14 kB / 0.6614 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.1766, allocations: 7.984 kB / 0.6614 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.539e-05/0.1766, allocations: 10.06 kB / 0.6614 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1767, allocations: 310.8 kB / 0.6617 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.215e-05/0.1767, allocations: 4 kB / 0.6617 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.061e-06/0.1767, allocations: 4 kB / 0.6617 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.06e-05/0.1768, allocations: 12.8 kB / 0.6617 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1768, allocations: 0 / 0.6617 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.212e-05/0.1768, allocations: 37.69 kB / 0.6618 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.1769, allocations: 4 kB / 0.6618 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1769, allocations: 8 kB / 0.6618 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1769, allocations: 3.938 kB / 0.6618 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.28e-05/0.177, allocations: 0 / 0.6618 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.177, allocations: 96 / 0.6618 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.221e-05/0.177, allocations: 4 kB / 0.6618 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.177, allocations: 4 kB / 0.6618 GB, free: 7.883 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 8.555e-05/0.1771, allocations: 105.8 kB / 0.6619 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.642e-06/0.1771, allocations: 0 / 0.6619 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/0.1772, allocations: 52.69 kB / 0.6619 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.1772, allocations: 4.031 kB / 0.6619 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.1772, allocations: 0 / 0.6619 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1772, allocations: 3.938 kB / 0.6619 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.777e-05/0.1773, allocations: 149.7 kB / 0.6621 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1773, allocations: 0 / 0.6621 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.559e-05/0.1774, allocations: 4 kB / 0.6621 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.1774, allocations: 0 / 0.6621 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.1774, allocations: 7.875 kB / 0.6621 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.1774, allocations: 0 / 0.6621 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1774, allocations: 0 / 0.6621 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.519e-05/0.1775, allocations: 72.97 kB / 0.6622 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.396e-05/0.1775, allocations: 77.11 kB / 0.6622 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.1775, allocations: 3.938 kB / 0.6622 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.271e-05/0.1776, allocations: 4 kB / 0.6622 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.662e-05/0.1776, allocations: 0 / 0.6622 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.1776, allocations: 0 / 0.6622 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.674e-05/0.1776, allocations: 79.28 kB / 0.6623 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1776, allocations: 0 / 0.6623 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001957/0.1778, allocations: 12.03 kB / 0.6623 GB, free: 7.211 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0001842/0.178, allocations: 107.2 kB / 0.6624 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.037e-05/0.1781, allocations: 4 kB / 0.6624 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1781, allocations: 0 / 0.6624 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-05/0.1781, allocations: 4 kB / 0.6624 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001556/0.1783, allocations: 7.938 kB / 0.6624 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002257/0.1785, allocations: 85.06 kB / 0.6625 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002612/0.1788, allocations: 0.6729 MB / 0.6632 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.149e-05/0.1788, allocations: 0 / 0.6632 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.057e-05/0.1789, allocations: 11.44 kB / 0.6632 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1789, allocations: 0 / 0.6632 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of Templates: time 0.002314/0.1812, allocations: 289.7 kB / 0.6635 GB, free: 5.98 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)