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.008498/0.008498, allocations: 100.6 kB / 15.73 MB, free: 6.062 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.00217/0.00217, allocations: 190.9 kB / 16.67 MB, free: 5.977 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9049/0.9049, allocations: 135.1 MB / 425.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001364, allocations: 64.64 kB / 0.5856 GB, free: 21.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1662, allocations: 80.93 MB / 0.6646 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.003133/0.1694, allocations: 1.427 MB / 0.666 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003958/0.1698, allocations: 100.6 kB / 0.6661 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.206e-05/0.1699, allocations: 4 kB / 0.6661 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.429e-05/0.17, allocations: 0 / 0.6661 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.313e-05/0.1701, allocations: 3.938 kB / 0.6661 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003134/0.1704, allocations: 19.92 kB / 0.6662 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.59e-05/0.1705, allocations: 19.98 kB / 0.6662 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.1706, allocations: 11.94 kB / 0.6662 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.954e-05/0.1707, allocations: 15.92 kB / 0.6662 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.696e-05/0.1707, allocations: 4 kB / 0.6662 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.1707, allocations: 4 kB / 0.6662 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.1709, allocations: 23.97 kB / 0.6662 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.784e-05/0.1709, allocations: 11.92 kB / 0.6662 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.526e-05/0.171, allocations: 7.938 kB / 0.6663 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.1712, allocations: 31.95 kB / 0.6663 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1712, allocations: 3.938 kB / 0.6663 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1712, allocations: 4 kB / 0.6663 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.1712, allocations: 0 / 0.6663 GB, free: 4.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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006344/0.1718, allocations: 347.3 kB / 0.6666 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/0.1719, allocations: 13.11 kB / 0.6666 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.218e-05/0.172, allocations: 0.9375 kB / 0.6666 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.1721, allocations: 164.4 kB / 0.6668 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.1721, allocations: 8.312 kB / 0.6668 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.1722, allocations: 4.375 kB / 0.6668 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.1724, allocations: 50.23 kB / 0.6669 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.1724, allocations: 4.172 kB / 0.6669 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.1724, allocations: 7.938 kB / 0.6669 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.1724, allocations: 0 / 0.6669 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001858/0.1726, allocations: 39.95 kB / 0.6669 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004347/0.1731, allocations: 252.9 kB / 0.6671 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.1732, allocations: 54.42 kB / 0.6672 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.376e-05/0.1733, allocations: 20.91 kB / 0.6672 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.241e-05/0.1734, allocations: 4 kB / 0.6672 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.1734, allocations: 30.56 kB / 0.6673 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.452e-06/0.1734, allocations: 0 / 0.6673 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003837/0.1738, allocations: 93.62 kB / 0.6673 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/0.1739, allocations: 55.34 kB / 0.6674 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.396e-05/0.1739, allocations: 101.9 kB / 0.6675 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.174, allocations: 29.64 kB / 0.6675 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.153e-05/0.174, allocations: 92.12 kB / 0.6676 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.1741, allocations: 7.844 kB / 0.6676 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-05/0.1741, allocations: 13.72 kB / 0.6676 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.1742, allocations: 319 kB / 0.6679 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.785e-05/0.1743, allocations: 15.97 kB / 0.6679 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.707e-05/0.1744, allocations: 19.98 kB / 0.668 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.1746, allocations: 40.83 kB / 0.668 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1746, allocations: 64 / 0.668 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002059/0.1748, allocations: 73.59 kB / 0.6681 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.1748, allocations: 4 kB / 0.6681 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.1748, allocations: 7.938 kB / 0.6681 GB, free: 2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.1749, allocations: 3.938 kB / 0.6681 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.553e-05/0.175, allocations: 11.98 kB / 0.6681 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.175, allocations: 0 / 0.6681 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.982e-05/0.175, allocations: 7.984 kB / 0.6681 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.175, allocations: 4.031 kB / 0.6681 GB, free: 1.973 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 (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.319e-05/0.1751, allocations: 113.8 kB / 0.6682 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.647e-05/0.1752, allocations: 3.906 kB / 0.6682 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002482/0.1754, allocations: 81.42 kB / 0.6683 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1754, allocations: 0 / 0.6683 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.1754, allocations: 4 kB / 0.6683 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1754, allocations: 0 / 0.6683 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.1756, allocations: 165.6 kB / 0.6685 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1756, allocations: 0 / 0.6685 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.395e-05/0.1757, allocations: 11.92 kB / 0.6685 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1757, allocations: 0 / 0.6685 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.1757, allocations: 4 kB / 0.6685 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.1757, allocations: 0 / 0.6685 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.1757, allocations: 0 / 0.6685 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.176, allocations: 167.5 kB / 0.6686 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.871e-05/0.1761, allocations: 85.09 kB / 0.6687 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.1761, allocations: 0 / 0.6687 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.344e-05/0.1762, allocations: 4 kB / 0.6687 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.677e-05/0.1762, allocations: 7.984 kB / 0.6687 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-06/0.1762, allocations: 0 / 0.6687 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.011e-05/0.1763, allocations: 83.28 kB / 0.6688 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1763, allocations: 0 / 0.6688 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000235/0.1765, allocations: 16.03 kB / 0.6688 GB, free: 1.141 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.0001756/0.1767, allocations: 104.6 kB / 0.6689 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002254/0.177, allocations: 39.91 kB / 0.669 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.177, allocations: 0 / 0.669 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.1771, allocations: 31.91 kB / 0.669 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.1774, allocations: 8.062 kB / 0.669 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003533/0.1777, allocations: 117.4 kB / 0.6691 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.178, allocations: 0.6768 MB / 0.6698 GB, free: 108 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.917e-05/0.1781, allocations: 0 / 0.6698 GB, free: 108 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.213e-05/0.1781, allocations: 15.38 kB / 0.6698 GB, free: 92 kB / 0.4981 GB Notification: Performance of SimCode: time 1.9e-07/0.1781, allocations: 0 / 0.6698 GB, free: 92 kB / 0.4981 GB Notification: Performance of Templates: time 0.002971/0.1811, allocations: 0.5495 MB / 0.6703 GB, free: 15.55 MB / 0.5137 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)