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.0013/0.0013, allocations: 107.3 kB / 15.33 MB, free: 0.5039 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.001259/0.001259, allocations: 199.8 kB / 16.26 MB, free: 6.633 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.341/1.341, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9312/0.9312, allocations: 135.6 MB / 425.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 67.36 kB / 0.5054 GB, free: 5.164 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.154, allocations: 81.02 MB / 0.5845 GB, free: 4.293 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001681/0.1557, allocations: 0.6426 MB / 0.5851 GB, free: 3.641 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002032/0.156, allocations: 35.88 kB / 0.5852 GB, free: 3.605 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.337e-06/0.156, allocations: 0 / 0.5852 GB, free: 3.605 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.201e-05/0.156, allocations: 0 / 0.5852 GB, free: 3.605 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.638e-06/0.156, allocations: 0 / 0.5852 GB, free: 3.605 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002431/0.1563, allocations: 19.98 kB / 0.5852 GB, free: 3.586 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.206e-05/0.1563, allocations: 4 kB / 0.5852 GB, free: 3.582 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.082e-05/0.1563, allocations: 0 / 0.5852 GB, free: 3.582 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.098e-05/0.1563, allocations: 0 / 0.5852 GB, free: 3.582 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.96e-05/0.1564, allocations: 4 kB / 0.5852 GB, free: 3.578 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.704e-06/0.1564, allocations: 0 / 0.5852 GB, free: 3.578 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.404e-05/0.1565, allocations: 15.98 kB / 0.5852 GB, free: 3.562 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.448e-06/0.1565, allocations: 3.938 kB / 0.5852 GB, free: 3.559 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.771e-05/0.1565, allocations: 3.984 kB / 0.5852 GB, free: 3.555 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.759e-05/0.1566, allocations: 19.97 kB / 0.5852 GB, free: 3.535 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1566, allocations: 3.938 kB / 0.5852 GB, free: 3.531 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1566, allocations: 4 kB / 0.5852 GB, free: 3.527 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.1566, allocations: 0 / 0.5852 GB, free: 3.527 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.0003093/0.1569, allocations: 311.6 kB / 0.5855 GB, free: 3.172 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.157, allocations: 12.02 kB / 0.5856 GB, free: 3.16 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.165e-05/0.157, allocations: 0.9375 kB / 0.5856 GB, free: 3.16 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.715e-05/0.1571, allocations: 160.4 kB / 0.5857 GB, free: 2.965 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.1571, allocations: 4.375 kB / 0.5857 GB, free: 2.961 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.318e-06/0.1571, allocations: 384 / 0.5857 GB, free: 2.961 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.861e-05/0.1572, allocations: 30.27 kB / 0.5857 GB, free: 2.926 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.1572, allocations: 4.188 kB / 0.5857 GB, free: 2.922 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.1573, allocations: 3.938 kB / 0.5858 GB, free: 2.918 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.1573, allocations: 4 kB / 0.5858 GB, free: 2.914 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.605e-05/0.1573, allocations: 0 / 0.5858 GB, free: 2.914 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001362/0.1574, allocations: 145.7 kB / 0.5859 GB, free: 2.723 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.003e-05/0.1575, allocations: 22.55 kB / 0.5859 GB, free: 2.691 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.366e-05/0.1575, allocations: 8.859 kB / 0.5859 GB, free: 2.68 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.064e-05/0.1575, allocations: 8.062 kB / 0.5859 GB, free: 2.672 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.1576, allocations: 30.56 kB / 0.586 GB, free: 2.633 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.1576, allocations: 0 / 0.586 GB, free: 2.633 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001152/0.1577, allocations: 41.56 kB / 0.586 GB, free: 2.586 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.1577, allocations: 51.41 kB / 0.586 GB, free: 2.523 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.685e-05/0.1578, allocations: 89.86 kB / 0.5861 GB, free: 2.426 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.1578, allocations: 33.64 kB / 0.5862 GB, free: 2.387 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.959e-05/0.1578, allocations: 84.08 kB / 0.5862 GB, free: 2.301 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/0.1579, allocations: 8.031 kB / 0.5863 GB, free: 2.293 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-05/0.1579, allocations: 17.72 kB / 0.5863 GB, free: 2.27 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.1581, allocations: 314.8 kB / 0.5866 GB, free: 1.953 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.346e-06/0.1581, allocations: 0 / 0.5866 GB, free: 1.953 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.47e-06/0.1581, allocations: 0 / 0.5866 GB, free: 1.953 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.106e-05/0.1581, allocations: 12.84 kB / 0.5866 GB, free: 1.938 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1581, allocations: 0 / 0.5866 GB, free: 1.938 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.543e-05/0.1582, allocations: 41.7 kB / 0.5866 GB, free: 1.891 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.1582, allocations: 8 kB / 0.5866 GB, free: 1.883 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.1582, allocations: 0 / 0.5866 GB, free: 1.883 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.1582, allocations: 3.938 kB / 0.5866 GB, free: 1.879 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.123e-05/0.1583, allocations: 0 / 0.5866 GB, free: 1.879 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.1583, allocations: 0 / 0.5866 GB, free: 1.879 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.11e-05/0.1583, allocations: 4 kB / 0.5866 GB, free: 1.875 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.1583, allocations: 4 kB / 0.5866 GB, free: 1.871 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.741e-05/0.1584, allocations: 109.8 kB / 0.5867 GB, free: 1.754 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.052e-06/0.1584, allocations: 0 / 0.5867 GB, free: 1.754 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.41e-05/0.1585, allocations: 44.8 kB / 0.5868 GB, free: 1.703 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.1585, allocations: 0 / 0.5868 GB, free: 1.703 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.1585, allocations: 0 / 0.5868 GB, free: 1.703 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.1585, allocations: 7.969 kB / 0.5868 GB, free: 1.695 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.1586, allocations: 149.7 kB / 0.5869 GB, free: 1.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1586, allocations: 3.938 kB / 0.5869 GB, free: 1.496 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.443e-05/0.1586, allocations: 0 / 0.5869 GB, free: 1.496 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.1587, allocations: 4.031 kB / 0.5869 GB, free: 1.492 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.1587, allocations: 3.938 kB / 0.587 GB, free: 1.488 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1587, allocations: 4 kB / 0.587 GB, free: 1.484 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1587, allocations: 0 / 0.587 GB, free: 1.484 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.674e-05/0.1587, allocations: 57.12 kB / 0.587 GB, free: 1.41 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.824e-05/0.1588, allocations: 77.11 kB / 0.5871 GB, free: 1.316 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.1588, allocations: 7.938 kB / 0.5871 GB, free: 1.309 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.049e-05/0.1588, allocations: 32 / 0.5871 GB, free: 1.309 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.887e-06/0.1588, allocations: 4 kB / 0.5871 GB, free: 1.305 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.1588, allocations: 0 / 0.5871 GB, free: 1.305 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.087e-05/0.1589, allocations: 79.27 kB / 0.5872 GB, free: 1.227 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1589, allocations: 3.938 kB / 0.5872 GB, free: 1.223 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001778/0.1591, allocations: 4 kB / 0.5872 GB, free: 1.219 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.0001404/0.1592, allocations: 103.2 kB / 0.5873 GB, free: 1.105 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.684e-05/0.1593, allocations: 7.938 kB / 0.5873 GB, free: 1.098 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1593, allocations: 4.062 kB / 0.5873 GB, free: 1.094 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.494e-06/0.1593, allocations: 3.938 kB / 0.5873 GB, free: 1.09 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001187/0.1594, allocations: 4 kB / 0.5873 GB, free: 1.086 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001642/0.1596, allocations: 84.91 kB / 0.5874 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.1599, allocations: 0.669 MB / 0.588 GB, free: 288 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.875e-05/0.1599, allocations: 12.06 kB / 0.588 GB, free: 276 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.917e-05/0.16, allocations: 7.438 kB / 0.588 GB, free: 268 kB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.16, allocations: 0 / 0.588 GB, free: 268 kB / 494.1 MB Notification: Performance of Templates: time 0.002178/0.1621, allocations: 282.6 kB / 0.5883 GB, free: 15.99 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)