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.001191/0.001191, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.008727/0.008728, allocations: 171.1 kB / 16.27 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.391/1.391, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9954/0.9954, allocations: 135.3 MB / 426.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.0003274, allocations: 8 kB / 0.5076 GB, free: 4.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1643, allocations: 82.3 MB / 0.588 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.001587/0.166, allocations: 1.148 MB / 0.5891 GB, free: 1.449 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003315/0.1663, allocations: 106.3 kB / 0.5892 GB, free: 1.344 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.286e-05/0.1664, allocations: 0 / 0.5892 GB, free: 1.344 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.639e-05/0.1664, allocations: 3.938 kB / 0.5892 GB, free: 1.34 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.303e-05/0.1665, allocations: 3.984 kB / 0.5892 GB, free: 1.336 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002119/0.1667, allocations: 12 kB / 0.5892 GB, free: 1.324 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.886e-05/0.1667, allocations: 27.86 kB / 0.5892 GB, free: 1.297 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.912e-05/0.1668, allocations: 4 kB / 0.5892 GB, free: 1.293 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.822e-05/0.1669, allocations: 7.984 kB / 0.5892 GB, free: 1.285 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.155e-05/0.1669, allocations: 19.91 kB / 0.5893 GB, free: 1.266 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.1669, allocations: 4 kB / 0.5893 GB, free: 1.262 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.413e-05/0.167, allocations: 19.92 kB / 0.5893 GB, free: 1.242 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.415e-05/0.1671, allocations: 0 / 0.5893 GB, free: 1.242 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.405e-05/0.1671, allocations: 37.64 kB / 0.5893 GB, free: 1.199 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.636e-05/0.1672, allocations: 31.83 kB / 0.5894 GB, free: 1.168 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1672, allocations: 0 / 0.5894 GB, free: 1.168 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.017e-06/0.1672, allocations: 3.984 kB / 0.5894 GB, free: 1.164 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.487e-06/0.1673, allocations: 4 kB / 0.5894 GB, free: 1.16 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.0004003/0.1677, allocations: 351.7 kB / 0.5897 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.1677, allocations: 8.031 kB / 0.5897 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.838e-05/0.1677, allocations: 4.938 kB / 0.5897 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.1678, allocations: 164.3 kB / 0.5899 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.1679, allocations: 384 / 0.5899 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.856e-06/0.1679, allocations: 4.375 kB / 0.5899 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.1681, allocations: 62.17 kB / 0.5899 GB, free: 496 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.1681, allocations: 192 / 0.5899 GB, free: 496 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.1681, allocations: 3.938 kB / 0.5899 GB, free: 492 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1681, allocations: 3.984 kB / 0.5899 GB, free: 488 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/0.1683, allocations: 47.95 kB / 0.59 GB, free: 440 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003311/0.1686, allocations: 261 kB / 0.5902 GB, free: 128 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.1688, allocations: 50.44 kB / 0.5903 GB, free: 68 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.318e-05/0.1689, allocations: 32.91 kB / 0.5903 GB, free: 32 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.842e-05/0.1689, allocations: 11.92 kB / 0.5903 GB, free: 20 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.169, allocations: 30.56 kB / 0.5903 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.169, allocations: 0 / 0.5903 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003598/0.1693, allocations: 105.6 kB / 0.5904 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.1694, allocations: 51.41 kB / 0.5905 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.091e-05/0.1695, allocations: 105.8 kB / 0.5906 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.1695, allocations: 25.7 kB / 0.5906 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.824e-05/0.1695, allocations: 80.14 kB / 0.5907 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/0.1695, allocations: 11.91 kB / 0.5907 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.573e-05/0.1696, allocations: 13.84 kB / 0.5907 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.1697, allocations: 310.8 kB / 0.591 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.803e-05/0.1698, allocations: 27.97 kB / 0.591 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.047e-05/0.1699, allocations: 23.92 kB / 0.5911 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.1701, allocations: 60.88 kB / 0.5911 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1701, allocations: 0 / 0.5911 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002202/0.1703, allocations: 85.77 kB / 0.5912 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.1703, allocations: 4 kB / 0.5912 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.1703, allocations: 0 / 0.5912 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1703, allocations: 3.984 kB / 0.5912 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.885e-05/0.1704, allocations: 12 kB / 0.5912 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.1705, allocations: 0 / 0.5912 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.517e-05/0.1705, allocations: 19.95 kB / 0.5912 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.1705, allocations: 0 / 0.5912 GB, free: 15 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 7.637e-05/0.1706, allocations: 121.7 kB / 0.5914 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.1706, allocations: 3.938 kB / 0.5914 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002417/0.1709, allocations: 89.17 kB / 0.5915 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.1709, allocations: 0 / 0.5915 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1709, allocations: 0 / 0.5915 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.1709, allocations: 0 / 0.5915 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.1711, allocations: 165.6 kB / 0.5916 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1711, allocations: 0 / 0.5916 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.792e-05/0.1711, allocations: 11.98 kB / 0.5916 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.1711, allocations: 0 / 0.5916 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.1712, allocations: 4.031 kB / 0.5916 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1712, allocations: 3.938 kB / 0.5916 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1712, allocations: 4 kB / 0.5916 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002447/0.1714, allocations: 183.4 kB / 0.5918 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.379e-05/0.1715, allocations: 85 kB / 0.5919 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.136e-05/0.1715, allocations: 0 / 0.5919 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.652e-05/0.1716, allocations: 8 kB / 0.5919 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.404e-05/0.1716, allocations: 3.984 kB / 0.5919 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.1716, allocations: 0 / 0.5919 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.42e-05/0.1717, allocations: 87.28 kB / 0.592 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1717, allocations: 0 / 0.592 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002199/0.1719, allocations: 4.031 kB / 0.592 GB, free: 14.13 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.0001589/0.1721, allocations: 107.2 kB / 0.5921 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002218/0.1723, allocations: 47.91 kB / 0.5921 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.1723, allocations: 64 / 0.5921 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.562e-05/0.1724, allocations: 35.97 kB / 0.5922 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.1727, allocations: 3.938 kB / 0.5922 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002991/0.173, allocations: 119.1 kB / 0.5923 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.1733, allocations: 0.6849 MB / 0.593 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.373e-05/0.1733, allocations: 4.188 kB / 0.593 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.85e-05/0.1733, allocations: 7.438 kB / 0.593 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.1733, allocations: 0 / 0.593 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of Templates: time 0.002605/0.1759, allocations: 478.4 kB / 0.5934 GB, free: 12.61 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)