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.0009988/0.0009989, allocations: 91.77 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 178.6 kB / 16.92 MB, free: 6.652 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.35/1.35, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9425/0.9425, allocations: 135.3 MB / 427.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003154/0.0003154, allocations: 12 kB / 0.5083 GB, free: 4.73 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.165, allocations: 82.3 MB / 0.5886 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.0007153/0.1658, allocations: 303 kB / 0.5889 GB, free: 2.297 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002596/0.1661, allocations: 39.94 kB / 0.589 GB, free: 2.258 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.063e-05/0.1661, allocations: 3.938 kB / 0.589 GB, free: 2.254 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.84e-05/0.1661, allocations: 4 kB / 0.589 GB, free: 2.25 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.719e-06/0.1661, allocations: 3.938 kB / 0.589 GB, free: 2.246 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002368/0.1664, allocations: 7.984 kB / 0.589 GB, free: 2.238 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.379e-05/0.1664, allocations: 8 kB / 0.589 GB, free: 2.23 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.564e-05/0.1665, allocations: 0 / 0.589 GB, free: 2.23 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.81e-05/0.1665, allocations: 3.984 kB / 0.589 GB, free: 2.227 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.313e-05/0.1666, allocations: 0 / 0.589 GB, free: 2.227 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.1666, allocations: 4 kB / 0.589 GB, free: 2.223 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.015e-05/0.1667, allocations: 11.98 kB / 0.589 GB, free: 2.211 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.031e-05/0.1667, allocations: 4 kB / 0.589 GB, free: 2.207 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.216e-05/0.1667, allocations: 33.64 kB / 0.589 GB, free: 2.168 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.85e-05/0.1668, allocations: 7.984 kB / 0.589 GB, free: 2.16 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1668, allocations: 0 / 0.589 GB, free: 2.16 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1668, allocations: 0 / 0.589 GB, free: 2.16 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.1668, allocations: 0 / 0.589 GB, free: 2.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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002983/0.1671, allocations: 315.6 kB / 0.5893 GB, free: 1.801 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.1672, allocations: 8.031 kB / 0.5894 GB, free: 1.793 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.446e-05/0.1672, allocations: 0.9375 kB / 0.5894 GB, free: 1.793 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.446e-05/0.1673, allocations: 164.4 kB / 0.5895 GB, free: 1.594 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.1673, allocations: 4.312 kB / 0.5895 GB, free: 1.59 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.1674, allocations: 12.36 kB / 0.5895 GB, free: 1.578 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.023e-05/0.1675, allocations: 30.25 kB / 0.5896 GB, free: 1.543 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.1675, allocations: 192 / 0.5896 GB, free: 1.543 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.1675, allocations: 3.938 kB / 0.5896 GB, free: 1.539 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.1675, allocations: 0 / 0.5896 GB, free: 1.539 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.191e-05/0.1675, allocations: 4 kB / 0.5896 GB, free: 1.535 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001319/0.1677, allocations: 141.7 kB / 0.5897 GB, free: 1.348 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.661e-05/0.1677, allocations: 30.55 kB / 0.5897 GB, free: 1.309 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.742e-05/0.1677, allocations: 8.844 kB / 0.5897 GB, free: 1.297 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.945e-05/0.1678, allocations: 0 / 0.5897 GB, free: 1.297 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.1678, allocations: 34.62 kB / 0.5898 GB, free: 1.254 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.1678, allocations: 0 / 0.5898 GB, free: 1.254 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001323/0.168, allocations: 33.64 kB / 0.5898 GB, free: 1.215 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.168, allocations: 51.41 kB / 0.5898 GB, free: 1.152 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.474e-05/0.168, allocations: 89.86 kB / 0.5899 GB, free: 1.055 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.1681, allocations: 29.83 kB / 0.59 GB, free: 1.02 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.802e-05/0.1681, allocations: 84.14 kB / 0.59 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.955e-05/0.1681, allocations: 7.906 kB / 0.59 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-05/0.1682, allocations: 9.719 kB / 0.5901 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.1683, allocations: 322.8 kB / 0.5904 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.058e-05/0.1683, allocations: 0 / 0.5904 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.881e-06/0.1683, allocations: 7.875 kB / 0.5904 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.37e-05/0.1683, allocations: 8.922 kB / 0.5904 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1683, allocations: 4 kB / 0.5904 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.324e-05/0.1684, allocations: 37.7 kB / 0.5904 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.1684, allocations: 4 kB / 0.5904 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.1684, allocations: 0 / 0.5904 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.1684, allocations: 3.938 kB / 0.5904 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.264e-05/0.1685, allocations: 7.984 kB / 0.5904 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.1685, allocations: 0 / 0.5904 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.229e-05/0.1685, allocations: 3.938 kB / 0.5904 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.1686, allocations: 0 / 0.5904 GB, free: 0.5 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.978e-05/0.1686, allocations: 113.9 kB / 0.5905 GB, free: 388 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.501e-06/0.1686, allocations: 0 / 0.5905 GB, free: 388 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001/0.1687, allocations: 48.75 kB / 0.5906 GB, free: 332 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.1688, allocations: 0 / 0.5906 GB, free: 332 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1688, allocations: 4 kB / 0.5906 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1688, allocations: 0 / 0.5906 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.156e-05/0.1689, allocations: 141.7 kB / 0.5907 GB, free: 136 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.1689, allocations: 4.031 kB / 0.5907 GB, free: 132 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.812e-05/0.1689, allocations: 7.984 kB / 0.5907 GB, free: 124 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.1689, allocations: 0 / 0.5907 GB, free: 124 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.585e-06/0.1689, allocations: 3.938 kB / 0.5908 GB, free: 120 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.1689, allocations: 0 / 0.5908 GB, free: 120 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1689, allocations: 0 / 0.5908 GB, free: 120 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.063e-05/0.169, allocations: 61.08 kB / 0.5908 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.849e-05/0.1691, allocations: 81.12 kB / 0.5909 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.1691, allocations: 7.938 kB / 0.5909 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.492e-05/0.1691, allocations: 0 / 0.5909 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.163e-05/0.1691, allocations: 0 / 0.5909 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.1691, allocations: 4 kB / 0.5909 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.637e-05/0.1692, allocations: 75.28 kB / 0.591 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1692, allocations: 0 / 0.591 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003332/0.1695, allocations: 4 kB / 0.591 GB, free: 15.85 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 (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.0001857/0.1697, allocations: 103.2 kB / 0.5911 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.261e-05/0.1698, allocations: 8 kB / 0.5911 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1698, allocations: 7.875 kB / 0.5911 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-05/0.1698, allocations: 7.984 kB / 0.5911 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001739/0.17, allocations: 0 / 0.5911 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001858/0.1702, allocations: 100.5 kB / 0.5912 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000202/0.1704, allocations: 0.6692 MB / 0.5918 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.507e-05/0.1705, allocations: 15.56 kB / 0.5919 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1705, allocations: 3.938 kB / 0.5919 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of Templates: time 0.001654/0.1721, allocations: 444.1 kB / 0.5923 GB, free: 14.44 MB / 0.4981 GB 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)