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.001237/0.001242, allocations: 100.1 kB / 15.88 MB, free: 12 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.001319/0.001319, allocations: 197.1 kB / 16.79 MB, free: 6.809 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.306/1.306, allocations: 222.9 MB / 240.5 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9072/0.9072, allocations: 135.1 MB / 425.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 66.86 kB / 0.5053 GB, free: 5.73 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.162, allocations: 80.91 MB / 0.5844 GB, free: 4.984 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001852/0.1639, allocations: 0.631 MB / 0.585 GB, free: 4.344 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000269/0.1641, allocations: 39.88 kB / 0.585 GB, free: 4.305 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.224e-05/0.1642, allocations: 0 / 0.585 GB, free: 4.305 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.673e-05/0.1642, allocations: 3.938 kB / 0.585 GB, free: 4.301 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.422e-06/0.1642, allocations: 0 / 0.585 GB, free: 4.301 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002504/0.1645, allocations: 15.98 kB / 0.585 GB, free: 4.285 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.086e-05/0.1645, allocations: 0 / 0.585 GB, free: 4.285 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.833e-05/0.1645, allocations: 0 / 0.585 GB, free: 4.285 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.923e-05/0.1646, allocations: 4 kB / 0.585 GB, free: 4.281 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.276e-05/0.1646, allocations: 0 / 0.585 GB, free: 4.281 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.1646, allocations: 0 / 0.585 GB, free: 4.281 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.807e-05/0.1647, allocations: 23.92 kB / 0.5851 GB, free: 4.258 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.105e-05/0.1647, allocations: 0 / 0.5851 GB, free: 4.258 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.58e-05/0.1648, allocations: 11.91 kB / 0.5851 GB, free: 4.246 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.424e-05/0.1648, allocations: 4 kB / 0.5851 GB, free: 4.242 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.1649, allocations: 4 kB / 0.5851 GB, free: 4.238 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1649, allocations: 7.984 kB / 0.5851 GB, free: 4.23 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.1649, allocations: 0 / 0.5851 GB, free: 4.23 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.0003016/0.1652, allocations: 311.6 kB / 0.5854 GB, free: 3.875 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.1652, allocations: 8.031 kB / 0.5854 GB, free: 3.867 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.987e-05/0.1653, allocations: 0.9375 kB / 0.5854 GB, free: 3.867 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.1654, allocations: 168.4 kB / 0.5856 GB, free: 3.664 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.993e-06/0.1654, allocations: 384 / 0.5856 GB, free: 3.664 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-06/0.1654, allocations: 384 / 0.5856 GB, free: 3.664 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.697e-05/0.1655, allocations: 34.27 kB / 0.5856 GB, free: 3.625 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.1655, allocations: 4.188 kB / 0.5856 GB, free: 3.621 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.1655, allocations: 3.938 kB / 0.5856 GB, free: 3.617 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1655, allocations: 0 / 0.5856 GB, free: 3.617 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.332e-05/0.1656, allocations: 7.938 kB / 0.5856 GB, free: 3.609 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001384/0.1657, allocations: 145.7 kB / 0.5857 GB, free: 3.418 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.686e-05/0.1657, allocations: 18.67 kB / 0.5858 GB, free: 3.391 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.11e-05/0.1658, allocations: 12.86 kB / 0.5858 GB, free: 3.375 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.618e-05/0.1658, allocations: 0 / 0.5858 GB, free: 3.375 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.1658, allocations: 34.56 kB / 0.5858 GB, free: 3.332 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.1659, allocations: 4 kB / 0.5858 GB, free: 3.328 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001358/0.166, allocations: 41.56 kB / 0.5858 GB, free: 3.281 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.166, allocations: 51.41 kB / 0.5859 GB, free: 3.219 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.078e-05/0.1661, allocations: 89.86 kB / 0.586 GB, free: 3.121 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.1661, allocations: 25.7 kB / 0.586 GB, free: 3.09 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.733e-05/0.1661, allocations: 84.12 kB / 0.5861 GB, free: 3.004 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.694e-05/0.1662, allocations: 8.031 kB / 0.5861 GB, free: 2.996 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-05/0.1662, allocations: 17.72 kB / 0.5861 GB, free: 2.973 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.1663, allocations: 310.8 kB / 0.5864 GB, free: 2.66 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.866e-06/0.1663, allocations: 3.938 kB / 0.5864 GB, free: 2.656 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.871e-06/0.1663, allocations: 4 kB / 0.5864 GB, free: 2.652 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.967e-05/0.1664, allocations: 12.8 kB / 0.5864 GB, free: 2.637 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.1664, allocations: 0 / 0.5864 GB, free: 2.637 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.717e-05/0.1664, allocations: 45.69 kB / 0.5865 GB, free: 2.586 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.1665, allocations: 4 kB / 0.5865 GB, free: 2.582 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.1665, allocations: 0 / 0.5865 GB, free: 2.582 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.1665, allocations: 7.938 kB / 0.5865 GB, free: 2.574 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.252e-05/0.1665, allocations: 0 / 0.5865 GB, free: 2.574 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.1666, allocations: 0 / 0.5865 GB, free: 2.574 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.204e-05/0.1666, allocations: 0 / 0.5865 GB, free: 2.574 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.1666, allocations: 4 kB / 0.5865 GB, free: 2.57 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.321e-05/0.1667, allocations: 105.8 kB / 0.5866 GB, free: 2.457 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.321e-06/0.1667, allocations: 0 / 0.5866 GB, free: 2.457 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.1668, allocations: 56.72 kB / 0.5866 GB, free: 2.395 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.1668, allocations: 0 / 0.5866 GB, free: 2.395 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1668, allocations: 0 / 0.5866 GB, free: 2.395 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.1668, allocations: 0 / 0.5866 GB, free: 2.395 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.829e-05/0.1669, allocations: 145.7 kB / 0.5868 GB, free: 2.203 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.1669, allocations: 0 / 0.5868 GB, free: 2.203 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.711e-05/0.1669, allocations: 4 kB / 0.5868 GB, free: 2.199 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.1669, allocations: 4.031 kB / 0.5868 GB, free: 2.195 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.1669, allocations: 3.938 kB / 0.5868 GB, free: 2.191 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.1669, allocations: 4 kB / 0.5868 GB, free: 2.188 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.167, allocations: 0 / 0.5868 GB, free: 2.188 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.201e-05/0.167, allocations: 61.12 kB / 0.5869 GB, free: 2.109 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.057e-05/0.1671, allocations: 77.11 kB / 0.5869 GB, free: 2.016 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.1671, allocations: 3.938 kB / 0.5869 GB, free: 2.012 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.098e-05/0.1671, allocations: 0 / 0.5869 GB, free: 2.012 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.777e-05/0.1671, allocations: 11.97 kB / 0.5869 GB, free: 2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.1671, allocations: 0 / 0.5869 GB, free: 2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.893e-05/0.1672, allocations: 75.28 kB / 0.587 GB, free: 1.926 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1672, allocations: 0 / 0.587 GB, free: 1.926 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001978/0.1674, allocations: 4 kB / 0.587 GB, free: 1.922 MB / 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 (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.0001705/0.1675, allocations: 103.2 kB / 0.5871 GB, free: 1.809 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.309e-05/0.1676, allocations: 7.938 kB / 0.5871 GB, free: 1.801 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1676, allocations: 4.062 kB / 0.5871 GB, free: 1.797 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.799e-06/0.1676, allocations: 4 kB / 0.5871 GB, free: 1.793 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.1678, allocations: 1.969 kB / 0.5871 GB, free: 1.793 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001918/0.168, allocations: 104.5 kB / 0.5872 GB, free: 1.66 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.1682, allocations: 0.6731 MB / 0.5879 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.473e-05/0.1683, allocations: 7.438 kB / 0.5879 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1683, allocations: 3.938 kB / 0.5879 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of Templates: time 0.001873/0.1701, allocations: 445.3 kB / 0.5883 GB, free: 0.5156 MB / 494.1 MB 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)