Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.005715/0.005715, allocations: 100.9 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.001251/0.001251, allocations: 193 kB / 16.67 MB, free: 5.934 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.37/1.37, allocations: 222.9 MB / 240.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7934/0.7934, allocations: 135.1 MB / 425.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 63.73 kB / 0.5857 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1751, allocations: 80.92 MB / 0.6647 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001617/0.1768, allocations: 0.576 MB / 0.6652 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000255/0.1771, allocations: 35.88 kB / 0.6653 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.561e-05/0.1771, allocations: 0 / 0.6653 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.273e-05/0.1771, allocations: 0 / 0.6653 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.681e-06/0.1771, allocations: 0 / 0.6653 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002857/0.1774, allocations: 15.92 kB / 0.6653 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.195e-05/0.1775, allocations: 0 / 0.6653 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.076e-05/0.1775, allocations: 4 kB / 0.6653 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.513e-05/0.1776, allocations: 7.938 kB / 0.6653 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.696e-05/0.1776, allocations: 3.984 kB / 0.6653 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.026e-05/0.1776, allocations: 0 / 0.6653 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.694e-05/0.1777, allocations: 19.98 kB / 0.6653 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.037e-06/0.1777, allocations: 0 / 0.6653 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.713e-05/0.1778, allocations: 0 / 0.6653 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.715e-05/0.1779, allocations: 15.97 kB / 0.6653 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1779, allocations: 0 / 0.6653 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.246e-06/0.1779, allocations: 0 / 0.6653 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.1779, allocations: 3.938 kB / 0.6653 GB, free: 5.062 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.0003152/0.1782, allocations: 323.5 kB / 0.6657 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.1783, allocations: 13.11 kB / 0.6657 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.009e-05/0.1783, allocations: 0.9375 kB / 0.6657 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.784e-05/0.1784, allocations: 163 kB / 0.6658 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.1784, allocations: 384 / 0.6658 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.736e-06/0.1784, allocations: 384 / 0.6658 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.451e-05/0.1785, allocations: 34.25 kB / 0.6659 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.1785, allocations: 192 / 0.6659 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-06/0.1785, allocations: 3.938 kB / 0.6659 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1786, allocations: 4 kB / 0.6659 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.031e-05/0.1786, allocations: 0 / 0.6659 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001363/0.1787, allocations: 157.6 kB / 0.666 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.933e-05/0.1788, allocations: 18.52 kB / 0.666 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.966e-05/0.1788, allocations: 8.953 kB / 0.666 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.367e-05/0.1789, allocations: 3.984 kB / 0.666 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.1789, allocations: 30.56 kB / 0.6661 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.1789, allocations: 4 kB / 0.6661 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001263/0.179, allocations: 45.58 kB / 0.6661 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.1791, allocations: 51.41 kB / 0.6662 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.024e-05/0.1791, allocations: 89.86 kB / 0.6663 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.1791, allocations: 25.7 kB / 0.6663 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.319e-05/0.1792, allocations: 80.14 kB / 0.6664 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.1792, allocations: 0 / 0.6664 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.849e-05/0.1792, allocations: 14.06 kB / 0.6664 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.1793, allocations: 319 kB / 0.6667 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.329e-05/0.1793, allocations: 0 / 0.6667 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.662e-05/0.1794, allocations: 4 kB / 0.6667 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.624e-05/0.1794, allocations: 8.859 kB / 0.6667 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1794, allocations: 0 / 0.6667 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.454e-05/0.1795, allocations: 41.59 kB / 0.6667 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.1795, allocations: 4 kB / 0.6667 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.1795, allocations: 0 / 0.6667 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.1795, allocations: 8.031 kB / 0.6667 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.801e-05/0.1796, allocations: 11.98 kB / 0.6667 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1796, allocations: 0 / 0.6667 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.143e-05/0.1796, allocations: 0 / 0.6667 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.1796, allocations: 0 / 0.6667 GB, free: 3.402 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 6.561e-05/0.1797, allocations: 109.8 kB / 0.6669 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.722e-06/0.1797, allocations: 0 / 0.6669 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001069/0.1798, allocations: 48.75 kB / 0.6669 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.1798, allocations: 0 / 0.6669 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1798, allocations: 4 kB / 0.6669 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.1798, allocations: 0 / 0.6669 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.238e-05/0.1799, allocations: 141.7 kB / 0.667 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.18, allocations: 0 / 0.667 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.268e-05/0.18, allocations: 11.92 kB / 0.667 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.18, allocations: 0 / 0.667 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.18, allocations: 7.875 kB / 0.6671 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.18, allocations: 0 / 0.6671 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.18, allocations: 4.031 kB / 0.6671 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.25e-05/0.1801, allocations: 57.14 kB / 0.6671 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.528e-05/0.1801, allocations: 81.09 kB / 0.6672 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.051e-05/0.1802, allocations: 3.938 kB / 0.6672 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.221e-05/0.1802, allocations: 7.922 kB / 0.6672 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.096e-05/0.1802, allocations: 0 / 0.6672 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.1802, allocations: 4 kB / 0.6672 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.595e-05/0.1802, allocations: 83.31 kB / 0.6673 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1802, allocations: 0 / 0.6673 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000187/0.1804, allocations: 7.938 kB / 0.6673 GB, free: 2.734 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.0001547/0.1806, allocations: 100.6 kB / 0.6674 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.11e-05/0.1807, allocations: 15.92 kB / 0.6674 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1807, allocations: 0 / 0.6674 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.326e-06/0.1807, allocations: 4 kB / 0.6674 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001223/0.1808, allocations: 8.234 kB / 0.6674 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001752/0.181, allocations: 80.83 kB / 0.6675 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.1812, allocations: 0.6729 MB / 0.6682 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.081e-05/0.1813, allocations: 0 / 0.6682 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.315e-05/0.1813, allocations: 15.42 kB / 0.6682 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1813, allocations: 4 kB / 0.6682 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of Templates: time 0.002115/0.1834, allocations: 284.9 kB / 0.6684 GB, free: 1.5 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)