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.001279/0.00128, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.001298/0.001298, allocations: 194.1 kB / 16.26 MB, free: 6.637 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.377/1.377, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9311/0.9311, allocations: 135.6 MB / 425.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 71.22 kB / 0.5054 GB, free: 5.184 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1633, allocations: 81.02 MB / 0.5845 GB, free: 4.309 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.002597/0.166, allocations: 1.492 MB / 0.586 GB, free: 2.797 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002824/0.1663, allocations: 92.66 kB / 0.586 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.566e-05/0.1663, allocations: 0 / 0.586 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.302e-05/0.1664, allocations: 3.938 kB / 0.586 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.886e-05/0.1664, allocations: 0 / 0.586 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.1666, allocations: 19.98 kB / 0.5861 GB, free: 2.68 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.48e-05/0.1667, allocations: 31.84 kB / 0.5861 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.011e-05/0.1668, allocations: 8 kB / 0.5861 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.612e-05/0.1668, allocations: 11.98 kB / 0.5861 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.367e-05/0.1669, allocations: 7.938 kB / 0.5861 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.218e-06/0.1669, allocations: 0 / 0.5861 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.977e-05/0.167, allocations: 31.91 kB / 0.5862 GB, free: 2.59 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.126e-05/0.167, allocations: 0 / 0.5862 GB, free: 2.59 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.154e-05/0.1671, allocations: 11.94 kB / 0.5862 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.1672, allocations: 35.88 kB / 0.5862 GB, free: 2.543 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.1672, allocations: 0 / 0.5862 GB, free: 2.543 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1672, allocations: 4 kB / 0.5862 GB, free: 2.539 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.219e-06/0.1672, allocations: 4 kB / 0.5862 GB, free: 2.535 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.0004464/0.1677, allocations: 339.7 kB / 0.5865 GB, free: 2.152 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.1677, allocations: 12.03 kB / 0.5865 GB, free: 2.141 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.092e-05/0.1677, allocations: 4.844 kB / 0.5865 GB, free: 2.137 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.1679, allocations: 168.4 kB / 0.5867 GB, free: 1.934 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.1679, allocations: 384 / 0.5867 GB, free: 1.934 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.184e-06/0.1679, allocations: 384 / 0.5867 GB, free: 1.934 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.1681, allocations: 62.09 kB / 0.5868 GB, free: 1.867 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.1681, allocations: 4.188 kB / 0.5868 GB, free: 1.863 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.1681, allocations: 7.938 kB / 0.5868 GB, free: 1.855 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.1681, allocations: 0 / 0.5868 GB, free: 1.855 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.1683, allocations: 35.95 kB / 0.5868 GB, free: 1.82 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003195/0.1686, allocations: 249 kB / 0.5871 GB, free: 1.527 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.1688, allocations: 50.48 kB / 0.5871 GB, free: 1.469 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.918e-05/0.1689, allocations: 28.84 kB / 0.5871 GB, free: 1.438 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/0.1689, allocations: 3.938 kB / 0.5871 GB, free: 1.434 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.1689, allocations: 30.56 kB / 0.5872 GB, free: 1.395 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1689, allocations: 0 / 0.5872 GB, free: 1.395 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003362/0.1693, allocations: 93.55 kB / 0.5872 GB, free: 1.297 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.1693, allocations: 55.39 kB / 0.5873 GB, free: 1.23 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.145e-05/0.1694, allocations: 109.9 kB / 0.5874 GB, free: 1.113 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.1694, allocations: 25.7 kB / 0.5874 GB, free: 1.082 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.677e-05/0.1695, allocations: 88.12 kB / 0.5875 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.451e-05/0.1695, allocations: 3.906 kB / 0.5875 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.282e-05/0.1696, allocations: 13.72 kB / 0.5875 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1697, allocations: 319 kB / 0.5878 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.499e-05/0.1698, allocations: 19.97 kB / 0.5879 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.128e-05/0.1699, allocations: 19.92 kB / 0.5879 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.17, allocations: 40.83 kB / 0.5879 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.17, allocations: 0 / 0.5879 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001857/0.1702, allocations: 73.66 kB / 0.588 GB, free: 500 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.1702, allocations: 8 kB / 0.588 GB, free: 492 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.1703, allocations: 0 / 0.588 GB, free: 492 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.1703, allocations: 0 / 0.588 GB, free: 492 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.903e-05/0.1703, allocations: 7.984 kB / 0.588 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.1704, allocations: 4 kB / 0.588 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.393e-05/0.1704, allocations: 7.922 kB / 0.588 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.1704, allocations: 4 kB / 0.588 GB, free: 468 kB / 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 9.331e-05/0.1705, allocations: 121.8 kB / 0.5881 GB, free: 336 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.1705, allocations: 4 kB / 0.5881 GB, free: 332 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002223/0.1708, allocations: 73.19 kB / 0.5882 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.1708, allocations: 3.984 kB / 0.5882 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1708, allocations: 0 / 0.5882 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1708, allocations: 0 / 0.5882 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/0.171, allocations: 165.6 kB / 0.5884 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.171, allocations: 0 / 0.5884 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.689e-05/0.171, allocations: 11.98 kB / 0.5884 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1711, allocations: 0 / 0.5884 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.1711, allocations: 0 / 0.5884 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.1711, allocations: 3.938 kB / 0.5884 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1711, allocations: 3.938 kB / 0.5884 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000262/0.1713, allocations: 179.3 kB / 0.5886 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.822e-05/0.1714, allocations: 77.11 kB / 0.5886 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.1714, allocations: 4.234 kB / 0.5886 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.164e-05/0.1715, allocations: 8 kB / 0.5886 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.867e-05/0.1715, allocations: 3.984 kB / 0.5886 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.688e-06/0.1715, allocations: 4 kB / 0.5886 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.925e-05/0.1716, allocations: 83.28 kB / 0.5887 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1716, allocations: 0 / 0.5887 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002199/0.1718, allocations: 16.03 kB / 0.5887 GB, free: 15.61 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 (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.0001441/0.172, allocations: 95.25 kB / 0.5888 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002105/0.1722, allocations: 51.89 kB / 0.5889 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1722, allocations: 0 / 0.5889 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.47e-05/0.1723, allocations: 19.97 kB / 0.5889 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.1725, allocations: 12.06 kB / 0.5889 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002643/0.1728, allocations: 113.5 kB / 0.589 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.1732, allocations: 0.6845 MB / 0.5897 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.131e-05/0.1732, allocations: 0 / 0.5897 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.852e-05/0.1732, allocations: 7.438 kB / 0.5897 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1732, allocations: 0 / 0.5897 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of Templates: time 0.00267/0.1759, allocations: 0.4919 MB / 0.5902 GB, free: 14.08 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)