Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Math.Examples.Polynomial") translateModel(IDEAS.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001474/0.001474, allocations: 107.7 kB / 16.41 MB, free: 6.484 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.0017/0.0017, allocations: 187 kB / 17.34 MB, free: 5.734 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.304/1.304, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7709/0.7709, allocations: 132.2 MB / 423.4 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 72.42 kB / 0.582 GB, free: 23.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1393, allocations: 80.2 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.002606/0.142, allocations: 1.432 MB / 0.6617 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003176/0.1423, allocations: 104.5 kB / 0.6618 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.252e-05/0.1424, allocations: 0 / 0.6618 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.214e-05/0.1424, allocations: 0 / 0.6618 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.836e-05/0.1425, allocations: 7.875 kB / 0.6618 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.1427, allocations: 15.98 kB / 0.6619 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.953e-05/0.1428, allocations: 27.92 kB / 0.6619 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.836e-05/0.1429, allocations: 11.97 kB / 0.6619 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.995e-05/0.143, allocations: 8 kB / 0.6619 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.221e-05/0.143, allocations: 15.92 kB / 0.6619 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.143, allocations: 0 / 0.6619 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.62e-05/0.1431, allocations: 27.92 kB / 0.6619 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.877e-05/0.1432, allocations: 0 / 0.6619 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.965e-05/0.1432, allocations: 19.86 kB / 0.662 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.1433, allocations: 27.95 kB / 0.662 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1433, allocations: 0 / 0.662 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1434, allocations: 8 kB / 0.662 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.1434, allocations: 0 / 0.662 GB, free: 8.535 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.0004567/0.1438, allocations: 347.3 kB / 0.6623 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.1439, allocations: 12.03 kB / 0.6623 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.383e-05/0.1439, allocations: 0.9375 kB / 0.6623 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.144, allocations: 168.3 kB / 0.6625 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.144, allocations: 384 / 0.6625 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.366e-06/0.1441, allocations: 384 / 0.6625 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.1443, allocations: 58.17 kB / 0.6626 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.1443, allocations: 192 / 0.6626 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.1443, allocations: 7.938 kB / 0.6626 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.1443, allocations: 0 / 0.6626 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.1445, allocations: 39.95 kB / 0.6626 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003263/0.1448, allocations: 249 kB / 0.6628 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.145, allocations: 46.5 kB / 0.6629 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.499e-05/0.1451, allocations: 28.84 kB / 0.6629 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.511e-05/0.1451, allocations: 3.984 kB / 0.6629 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.1451, allocations: 30.56 kB / 0.6629 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.693e-06/0.1451, allocations: 0 / 0.6629 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003558/0.1455, allocations: 89.64 kB / 0.663 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.1456, allocations: 51.41 kB / 0.6631 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.066e-05/0.1456, allocations: 109.8 kB / 0.6632 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.1457, allocations: 29.7 kB / 0.6632 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.074e-05/0.1457, allocations: 84.14 kB / 0.6633 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.1457, allocations: 7.844 kB / 0.6633 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.272e-05/0.1458, allocations: 17.84 kB / 0.6633 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.1459, allocations: 318.8 kB / 0.6636 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.38e-05/0.146, allocations: 19.92 kB / 0.6636 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.033e-05/0.1461, allocations: 15.98 kB / 0.6637 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.1462, allocations: 44.81 kB / 0.6637 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1462, allocations: 8 kB / 0.6637 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001961/0.1464, allocations: 65.61 kB / 0.6638 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.1465, allocations: 11.98 kB / 0.6638 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1465, allocations: 0 / 0.6638 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1465, allocations: 0 / 0.6638 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.526e-05/0.1466, allocations: 4 kB / 0.6638 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.1466, allocations: 4 kB / 0.6638 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.899e-05/0.1466, allocations: 19.8 kB / 0.6638 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.1467, allocations: 8 kB / 0.6638 GB, free: 6.445 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.902e-05/0.1467, allocations: 109.8 kB / 0.6639 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/0.1468, allocations: 4 kB / 0.6639 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002418/0.147, allocations: 77.17 kB / 0.664 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.147, allocations: 0 / 0.664 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.147, allocations: 0 / 0.664 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1471, allocations: 4.031 kB / 0.664 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.1472, allocations: 165.6 kB / 0.6642 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1472, allocations: 0 / 0.6642 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.8e-05/0.1473, allocations: 8 kB / 0.6642 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.1473, allocations: 3.984 kB / 0.6642 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-06/0.1473, allocations: 0 / 0.6642 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.1473, allocations: 3.984 kB / 0.6642 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1473, allocations: 0 / 0.6642 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002409/0.1476, allocations: 175.4 kB / 0.6643 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.608e-05/0.1476, allocations: 81.02 kB / 0.6644 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.1476, allocations: 0 / 0.6644 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.779e-05/0.1477, allocations: 8.234 kB / 0.6644 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.128e-05/0.1478, allocations: 0 / 0.6644 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.1478, allocations: 8 kB / 0.6644 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.992e-05/0.1478, allocations: 83.28 kB / 0.6645 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.01e-07/0.1478, allocations: 4.031 kB / 0.6645 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000233/0.1481, allocations: 12 kB / 0.6645 GB, free: 5.605 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.0001317/0.1482, allocations: 99.23 kB / 0.6646 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002111/0.1484, allocations: 43.91 kB / 0.6647 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1484, allocations: 0 / 0.6647 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.681e-05/0.1485, allocations: 24.03 kB / 0.6647 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.1488, allocations: 12 kB / 0.6647 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003351/0.1492, allocations: 135.2 kB / 0.6648 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.1494, allocations: 0.6768 MB / 0.6655 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.56e-05/0.1495, allocations: 11.44 kB / 0.6655 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1495, allocations: 3.938 kB / 0.6655 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of Templates: time 0.0022/0.1517, allocations: 0.6723 MB / 0.6662 GB, free: 3.867 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1)