Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial") translateModel(IDEAS.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001815/0.001815, allocations: 197.2 kB / 16.14 MB, free: 6.711 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.386/1.386, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9468/0.9468, allocations: 135.1 MB / 425.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 64.66 kB / 0.5047 GB, free: 5.812 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1596, allocations: 80.93 MB / 0.5837 GB, free: 5.051 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.002927/0.1626, allocations: 1.48 MB / 0.5852 GB, free: 3.555 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003118/0.1629, allocations: 104.5 kB / 0.5853 GB, free: 3.449 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.742e-05/0.163, allocations: 0 / 0.5853 GB, free: 3.449 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.466e-05/0.163, allocations: 3.984 kB / 0.5853 GB, free: 3.445 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.394e-05/0.1631, allocations: 11.88 kB / 0.5853 GB, free: 3.434 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002097/0.1633, allocations: 15.98 kB / 0.5853 GB, free: 3.418 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.522e-05/0.1634, allocations: 19.94 kB / 0.5853 GB, free: 3.398 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.694e-05/0.1635, allocations: 15.97 kB / 0.5853 GB, free: 3.383 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.779e-05/0.1635, allocations: 4 kB / 0.5853 GB, free: 3.379 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.25e-05/0.1636, allocations: 15.92 kB / 0.5853 GB, free: 3.363 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.1636, allocations: 0 / 0.5853 GB, free: 3.363 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.962e-05/0.1637, allocations: 15.98 kB / 0.5853 GB, free: 3.348 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.19e-05/0.1637, allocations: 4 kB / 0.5854 GB, free: 3.344 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.053e-05/0.1638, allocations: 11.92 kB / 0.5854 GB, free: 3.332 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.1639, allocations: 35.89 kB / 0.5854 GB, free: 3.297 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.1639, allocations: 3.984 kB / 0.5854 GB, free: 3.293 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1639, allocations: 4 kB / 0.5854 GB, free: 3.289 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1639, allocations: 0 / 0.5854 GB, free: 3.289 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.0004298/0.1643, allocations: 347.7 kB / 0.5857 GB, free: 2.898 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.1644, allocations: 11.97 kB / 0.5857 GB, free: 2.887 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.217e-05/0.1644, allocations: 4.938 kB / 0.5858 GB, free: 2.883 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.1645, allocations: 168.2 kB / 0.5859 GB, free: 2.68 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.1645, allocations: 4.375 kB / 0.5859 GB, free: 2.676 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.1646, allocations: 4.375 kB / 0.5859 GB, free: 2.672 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.1647, allocations: 54.23 kB / 0.586 GB, free: 2.613 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.1648, allocations: 192 / 0.586 GB, free: 2.613 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.1648, allocations: 3.938 kB / 0.586 GB, free: 2.609 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1648, allocations: 0 / 0.586 GB, free: 2.609 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001676/0.165, allocations: 39.95 kB / 0.586 GB, free: 2.57 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000383/0.1654, allocations: 256.9 kB / 0.5863 GB, free: 2.27 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.1655, allocations: 42.5 kB / 0.5863 GB, free: 2.219 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.967e-05/0.1656, allocations: 20.91 kB / 0.5863 GB, free: 2.195 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.513e-05/0.1657, allocations: 11.98 kB / 0.5863 GB, free: 2.184 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.1657, allocations: 30.56 kB / 0.5864 GB, free: 2.145 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1657, allocations: 0 / 0.5864 GB, free: 2.145 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004089/0.1661, allocations: 93.58 kB / 0.5865 GB, free: 2.047 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.1662, allocations: 51.41 kB / 0.5865 GB, free: 1.984 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.961e-05/0.1663, allocations: 105.8 kB / 0.5866 GB, free: 1.871 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.1663, allocations: 25.7 kB / 0.5866 GB, free: 1.84 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.495e-05/0.1664, allocations: 88.05 kB / 0.5867 GB, free: 1.75 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.686e-05/0.1664, allocations: 4 kB / 0.5867 GB, free: 1.746 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/0.1664, allocations: 13.84 kB / 0.5867 GB, free: 1.727 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1665, allocations: 318.8 kB / 0.587 GB, free: 1.406 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.776e-05/0.1666, allocations: 15.98 kB / 0.587 GB, free: 1.391 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.518e-05/0.1667, allocations: 15.98 kB / 0.5871 GB, free: 1.375 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.1669, allocations: 52.88 kB / 0.5871 GB, free: 1.32 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.1669, allocations: 3.938 kB / 0.5871 GB, free: 1.316 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002007/0.1671, allocations: 77.44 kB / 0.5872 GB, free: 1.234 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.1671, allocations: 4 kB / 0.5872 GB, free: 1.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.1671, allocations: 0 / 0.5872 GB, free: 1.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.1671, allocations: 4 kB / 0.5872 GB, free: 1.227 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.1673, allocations: 4 kB / 0.5872 GB, free: 1.223 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.1673, allocations: 3.984 kB / 0.5872 GB, free: 1.219 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.429e-05/0.1674, allocations: 11.97 kB / 0.5872 GB, free: 1.207 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.1674, allocations: 0 / 0.5872 GB, free: 1.207 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 8.737e-05/0.1675, allocations: 117.8 kB / 0.5873 GB, free: 1.082 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/0.1675, allocations: 0 / 0.5873 GB, free: 1.082 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002525/0.1678, allocations: 85.05 kB / 0.5874 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1678, allocations: 0 / 0.5874 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1678, allocations: 32 / 0.5874 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1678, allocations: 4 kB / 0.5874 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.168, allocations: 169.6 kB / 0.5876 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.168, allocations: 0 / 0.5876 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.522e-05/0.168, allocations: 4.25 kB / 0.5876 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.168, allocations: 0 / 0.5876 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.1681, allocations: 7.984 kB / 0.5876 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1681, allocations: 4 kB / 0.5876 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1681, allocations: 0 / 0.5876 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.1683, allocations: 171.4 kB / 0.5878 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.861e-05/0.1684, allocations: 81.11 kB / 0.5878 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.1684, allocations: 3.984 kB / 0.5878 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.502e-05/0.1685, allocations: 7.984 kB / 0.5878 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.076e-05/0.1685, allocations: 0 / 0.5878 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.1685, allocations: 3.938 kB / 0.5878 GB, free: 468 kB / 494.1 MB Notification: Performance of sorting global known variables: time 4.621e-05/0.1686, allocations: 87.28 kB / 0.5879 GB, free: 380 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1686, allocations: 4.031 kB / 0.5879 GB, free: 376 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002355/0.1688, allocations: 11.98 kB / 0.5879 GB, free: 364 kB / 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.0001588/0.169, allocations: 95.25 kB / 0.588 GB, free: 260 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002163/0.1692, allocations: 39.95 kB / 0.5881 GB, free: 220 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1692, allocations: 0 / 0.5881 GB, free: 220 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.897e-05/0.1693, allocations: 24.05 kB / 0.5881 GB, free: 196 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.1696, allocations: 8.5 kB / 0.5881 GB, free: 188 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003502/0.17, allocations: 123.2 kB / 0.5882 GB, free: 40 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.1703, allocations: 0.6809 MB / 0.5889 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.839e-05/0.1703, allocations: 4 kB / 0.5889 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.265e-05/0.1704, allocations: 7.438 kB / 0.5889 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of SimCode: time 5.01e-07/0.1704, allocations: 8 kB / 0.5889 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of Templates: time 0.002945/0.1733, allocations: 474.8 kB / 0.5894 GB, free: 14.85 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1)