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.005635/0.005635, allocations: 103.7 kB / 15.74 MB, free: 5.992 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.001153/0.001153, allocations: 191.9 kB / 16.67 MB, free: 5.918 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.794/0.794, allocations: 135.1 MB / 425.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002334/0.002334, allocations: 62.28 kB / 0.5856 GB, free: 21.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1625, allocations: 80.94 MB / 0.6647 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.003082/0.1656, allocations: 1.423 MB / 0.666 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003473/0.166, allocations: 100.5 kB / 0.6661 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.06e-05/0.166, allocations: 0 / 0.6661 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.556e-05/0.1661, allocations: 0 / 0.6661 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.065e-05/0.1662, allocations: 7.938 kB / 0.6661 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002572/0.1664, allocations: 11.98 kB / 0.6662 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.989e-05/0.1665, allocations: 23.92 kB / 0.6662 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.437e-05/0.1666, allocations: 15.97 kB / 0.6662 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.254e-05/0.1667, allocations: 8 kB / 0.6662 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.392e-05/0.1667, allocations: 15.92 kB / 0.6662 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.1667, allocations: 0 / 0.6662 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.266e-05/0.1668, allocations: 27.92 kB / 0.6662 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.841e-05/0.1669, allocations: 0 / 0.6662 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.774e-05/0.1669, allocations: 19.86 kB / 0.6663 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.167, allocations: 31.95 kB / 0.6663 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.167, allocations: 0 / 0.6663 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.167, allocations: 0 / 0.6663 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.167, allocations: 0 / 0.6663 GB, free: 4.18 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.0004746/0.1675, allocations: 359.2 kB / 0.6666 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.1676, allocations: 9.109 kB / 0.6666 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/0.1676, allocations: 4.938 kB / 0.6666 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.1677, allocations: 168.3 kB / 0.6668 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.1678, allocations: 384 / 0.6668 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.1678, allocations: 384 / 0.6668 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.1679, allocations: 58.17 kB / 0.6669 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.168, allocations: 4.188 kB / 0.6669 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.168, allocations: 7.938 kB / 0.6669 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.168, allocations: 0 / 0.6669 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001455/0.1681, allocations: 35.95 kB / 0.6669 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003373/0.1685, allocations: 252.9 kB / 0.6672 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.1686, allocations: 46.5 kB / 0.6672 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.107e-05/0.1687, allocations: 28.84 kB / 0.6672 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.454e-05/0.1687, allocations: 3.984 kB / 0.6672 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.1688, allocations: 34.56 kB / 0.6673 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.1688, allocations: 0 / 0.6673 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003395/0.1691, allocations: 89.73 kB / 0.6673 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.1692, allocations: 51.41 kB / 0.6674 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.543e-05/0.1693, allocations: 105.8 kB / 0.6675 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.586e-05/0.1693, allocations: 25.7 kB / 0.6675 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.277e-05/0.1694, allocations: 84.14 kB / 0.6676 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/0.1694, allocations: 7.844 kB / 0.6676 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.831e-05/0.1694, allocations: 13.72 kB / 0.6676 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1696, allocations: 318.8 kB / 0.6679 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.286e-05/0.1696, allocations: 23.95 kB / 0.6679 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.351e-05/0.1697, allocations: 19.98 kB / 0.668 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.1699, allocations: 40.81 kB / 0.668 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1699, allocations: 0 / 0.668 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001727/0.17, allocations: 77.66 kB / 0.6681 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.1701, allocations: 4 kB / 0.6681 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1701, allocations: 0 / 0.6681 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1701, allocations: 0 / 0.6681 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.523e-05/0.1702, allocations: 12 kB / 0.6681 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.1702, allocations: 0 / 0.6681 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.224e-05/0.1702, allocations: 11.92 kB / 0.6681 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.1702, allocations: 0 / 0.6681 GB, free: 2.094 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.479e-05/0.1703, allocations: 121.8 kB / 0.6682 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.238e-05/0.1704, allocations: 3.906 kB / 0.6682 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002084/0.1706, allocations: 77.17 kB / 0.6683 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.1706, allocations: 0 / 0.6683 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.1706, allocations: 0 / 0.6683 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.1706, allocations: 4.25 kB / 0.6683 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002833/0.1709, allocations: 161.6 kB / 0.6685 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.1709, allocations: 4 kB / 0.6685 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.349e-05/0.171, allocations: 15.97 kB / 0.6685 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.171, allocations: 0 / 0.6685 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.171, allocations: 0 / 0.6685 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.171, allocations: 3.984 kB / 0.6685 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.171, allocations: 0 / 0.6685 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.1712, allocations: 171.4 kB / 0.6686 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.986e-05/0.1713, allocations: 81.14 kB / 0.6687 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.1713, allocations: 0 / 0.6687 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.817e-05/0.1714, allocations: 7.984 kB / 0.6687 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.804e-05/0.1714, allocations: 11.98 kB / 0.6687 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.1714, allocations: 0 / 0.6687 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.289e-05/0.1715, allocations: 79.28 kB / 0.6688 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1715, allocations: 0 / 0.6688 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002254/0.1717, allocations: 12 kB / 0.6688 GB, free: 1.254 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.0001545/0.1719, allocations: 112.6 kB / 0.6689 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002138/0.1721, allocations: 43.89 kB / 0.669 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1721, allocations: 0 / 0.669 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.395e-05/0.1722, allocations: 15.98 kB / 0.669 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.1725, allocations: 11.94 kB / 0.669 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003124/0.1728, allocations: 117.5 kB / 0.6691 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.1732, allocations: 0.6807 MB / 0.6698 GB, free: 220 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.047e-05/0.1732, allocations: 0 / 0.6698 GB, free: 220 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.11e-05/0.1732, allocations: 7.438 kB / 0.6698 GB, free: 212 kB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1732, allocations: 0 / 0.6698 GB, free: 212 kB / 0.4981 GB Notification: Performance of Templates: time 0.002795/0.176, allocations: 0.5522 MB / 0.6703 GB, free: 15.66 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)