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.00149/0.00149, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001817/0.001817, allocations: 195.4 kB / 16.14 MB, free: 6.648 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.402/1.402, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.004/1.004, allocations: 135.1 MB / 425.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 71.45 kB / 0.5047 GB, free: 5.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.169, allocations: 80.92 MB / 0.5837 GB, free: 4.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001977/0.171, allocations: 0.631 MB / 0.5843 GB, free: 4.355 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003021/0.1714, allocations: 39.88 kB / 0.5844 GB, free: 4.316 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.164e-05/0.1714, allocations: 0 / 0.5844 GB, free: 4.316 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.901e-05/0.1714, allocations: 4 kB / 0.5844 GB, free: 4.312 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.701e-06/0.1714, allocations: 0 / 0.5844 GB, free: 4.312 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002738/0.1717, allocations: 11.92 kB / 0.5844 GB, free: 4.301 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.096e-05/0.1718, allocations: 0 / 0.5844 GB, free: 4.301 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.639e-05/0.1718, allocations: 4 kB / 0.5844 GB, free: 4.297 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.705e-05/0.1718, allocations: 4 kB / 0.5844 GB, free: 4.293 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.83e-05/0.1719, allocations: 3.984 kB / 0.5844 GB, free: 4.289 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.1719, allocations: 0 / 0.5844 GB, free: 4.289 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.172, allocations: 19.98 kB / 0.5844 GB, free: 4.27 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.174e-05/0.172, allocations: 3.984 kB / 0.5844 GB, free: 4.266 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.431e-05/0.1721, allocations: 7.938 kB / 0.5844 GB, free: 4.258 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.985e-05/0.1722, allocations: 7.984 kB / 0.5844 GB, free: 4.25 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1722, allocations: 0 / 0.5844 GB, free: 4.25 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1722, allocations: 0 / 0.5844 GB, free: 4.25 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1722, allocations: 3.938 kB / 0.5844 GB, free: 4.246 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000338/0.1725, allocations: 323.6 kB / 0.5847 GB, free: 3.879 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.1726, allocations: 12.03 kB / 0.5848 GB, free: 3.867 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.062e-05/0.1726, allocations: 0.9375 kB / 0.5848 GB, free: 3.867 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.1727, allocations: 160.4 kB / 0.5849 GB, free: 3.672 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.1727, allocations: 4.312 kB / 0.5849 GB, free: 3.668 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.1728, allocations: 384 / 0.5849 GB, free: 3.668 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.1729, allocations: 34.25 kB / 0.5849 GB, free: 3.629 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.1729, allocations: 192 / 0.5849 GB, free: 3.629 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.1729, allocations: 3.938 kB / 0.585 GB, free: 3.625 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.1729, allocations: 4 kB / 0.585 GB, free: 3.621 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.475e-05/0.1729, allocations: 0 / 0.585 GB, free: 3.621 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001426/0.1731, allocations: 149.7 kB / 0.5851 GB, free: 3.426 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.85e-05/0.1731, allocations: 22.5 kB / 0.5851 GB, free: 3.395 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.804e-05/0.1732, allocations: 8.953 kB / 0.5851 GB, free: 3.383 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.315e-05/0.1732, allocations: 0 / 0.5851 GB, free: 3.383 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.1732, allocations: 34.55 kB / 0.5852 GB, free: 3.34 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.1732, allocations: 4 kB / 0.5852 GB, free: 3.336 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001275/0.1734, allocations: 37.64 kB / 0.5852 GB, free: 3.293 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.1734, allocations: 55.41 kB / 0.5853 GB, free: 3.227 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.593e-05/0.1734, allocations: 89.86 kB / 0.5853 GB, free: 3.129 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.1735, allocations: 25.7 kB / 0.5854 GB, free: 3.098 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.678e-05/0.1735, allocations: 80.14 kB / 0.5854 GB, free: 3.016 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/0.1736, allocations: 3.906 kB / 0.5854 GB, free: 3.012 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.89e-05/0.1736, allocations: 21.66 kB / 0.5855 GB, free: 2.984 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.1737, allocations: 319 kB / 0.5858 GB, free: 2.664 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.438e-06/0.1737, allocations: 3.938 kB / 0.5858 GB, free: 2.66 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.983e-06/0.1737, allocations: 4 kB / 0.5858 GB, free: 2.656 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.458e-05/0.1738, allocations: 8.859 kB / 0.5858 GB, free: 2.645 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1738, allocations: 0 / 0.5858 GB, free: 2.645 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.344e-05/0.1738, allocations: 33.7 kB / 0.5858 GB, free: 2.605 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.1738, allocations: 4 kB / 0.5858 GB, free: 2.602 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1739, allocations: 0 / 0.5858 GB, free: 2.602 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.1739, allocations: 12.03 kB / 0.5858 GB, free: 2.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.174, allocations: 7.984 kB / 0.5858 GB, free: 2.582 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.174, allocations: 0 / 0.5858 GB, free: 2.582 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.378e-05/0.174, allocations: 0 / 0.5858 GB, free: 2.582 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.1741, allocations: 3.938 kB / 0.5858 GB, free: 2.578 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 (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.546e-05/0.1741, allocations: 109.8 kB / 0.5859 GB, free: 2.461 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.412e-06/0.1741, allocations: 0 / 0.5859 GB, free: 2.461 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.1742, allocations: 48.75 kB / 0.586 GB, free: 2.406 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-06/0.1743, allocations: 0 / 0.586 GB, free: 2.406 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1743, allocations: 7.938 kB / 0.586 GB, free: 2.398 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.053e-06/0.1743, allocations: 0 / 0.586 GB, free: 2.398 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.942e-05/0.1744, allocations: 141.7 kB / 0.5861 GB, free: 2.211 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1744, allocations: 0 / 0.5861 GB, free: 2.211 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.987e-05/0.1744, allocations: 7.984 kB / 0.5861 GB, free: 2.203 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1744, allocations: 0 / 0.5861 GB, free: 2.203 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.1744, allocations: 3.938 kB / 0.5861 GB, free: 2.199 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.1744, allocations: 32 / 0.5861 GB, free: 2.199 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1744, allocations: 4 kB / 0.5862 GB, free: 2.195 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.54e-05/0.1745, allocations: 61.08 kB / 0.5862 GB, free: 2.117 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.949e-05/0.1746, allocations: 77.11 kB / 0.5863 GB, free: 2.023 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.1746, allocations: 7.922 kB / 0.5863 GB, free: 2.016 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.127e-05/0.1746, allocations: 0 / 0.5863 GB, free: 2.016 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.177e-06/0.1746, allocations: 0 / 0.5863 GB, free: 2.016 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.1746, allocations: 4 kB / 0.5863 GB, free: 2.012 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.278e-05/0.1746, allocations: 79.31 kB / 0.5864 GB, free: 1.934 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1747, allocations: 0 / 0.5864 GB, free: 1.934 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002174/0.1749, allocations: 4 kB / 0.5864 GB, free: 1.93 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 (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.0001539/0.175, allocations: 103.2 kB / 0.5865 GB, free: 1.816 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.119e-05/0.1751, allocations: 11.98 kB / 0.5865 GB, free: 1.805 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.1751, allocations: 0 / 0.5865 GB, free: 1.805 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.048e-05/0.1751, allocations: 7.938 kB / 0.5865 GB, free: 1.797 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/0.1753, allocations: 4.125 kB / 0.5865 GB, free: 1.793 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000179/0.1755, allocations: 70.77 kB / 0.5866 GB, free: 1.699 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.1758, allocations: 0.6731 MB / 0.5872 GB, free: 1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.435e-05/0.1758, allocations: 0 / 0.5872 GB, free: 1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.074e-05/0.1758, allocations: 11.42 kB / 0.5872 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1759, allocations: 8 kB / 0.5872 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of Templates: time 0.002253/0.1781, allocations: 280.7 kB / 0.5875 GB, free: 0.7109 MB / 494.1 MB 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)