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.001353/0.001353, allocations: 104.8 kB / 16.41 MB, free: 6.512 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.001555/0.001555, allocations: 189.7 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.422/1.422, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8669/0.8669, allocations: 135.2 MB / 426.4 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 65.34 kB / 0.5864 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1491, allocations: 80.93 MB / 0.6654 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001679/0.1508, allocations: 0.5643 MB / 0.666 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002369/0.151, allocations: 35.81 kB / 0.666 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.361e-05/0.1511, allocations: 0 / 0.666 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.087e-05/0.1511, allocations: 0 / 0.666 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.891e-06/0.1511, allocations: 0 / 0.666 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002657/0.1513, allocations: 12 kB / 0.666 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.221e-05/0.1514, allocations: 7.969 kB / 0.666 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.57e-05/0.1514, allocations: 4 kB / 0.666 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.713e-05/0.1514, allocations: 7.938 kB / 0.666 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.613e-05/0.1515, allocations: 0 / 0.666 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.714e-06/0.1515, allocations: 0 / 0.666 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.945e-05/0.1516, allocations: 19.92 kB / 0.666 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.013e-06/0.1516, allocations: 0 / 0.666 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.63e-05/0.1516, allocations: 0 / 0.666 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.077e-05/0.1517, allocations: 19.97 kB / 0.6661 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.1517, allocations: 3.984 kB / 0.6661 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.794e-06/0.1517, allocations: 0 / 0.6661 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.1517, allocations: 0 / 0.6661 GB, free: 5.035 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003884/0.1521, allocations: 315.5 kB / 0.6664 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.1521, allocations: 13.11 kB / 0.6664 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/0.1522, allocations: 4.922 kB / 0.6664 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.1523, allocations: 167 kB / 0.6665 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.1523, allocations: 4.375 kB / 0.6665 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.214e-06/0.1523, allocations: 384 / 0.6665 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.1524, allocations: 34.2 kB / 0.6666 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.1524, allocations: 192 / 0.6666 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.1524, allocations: 3.938 kB / 0.6666 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1524, allocations: 0 / 0.6666 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.216e-05/0.1525, allocations: 7.938 kB / 0.6666 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001683/0.1526, allocations: 153.6 kB / 0.6667 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.57e-05/0.1527, allocations: 18.58 kB / 0.6668 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.813e-05/0.1527, allocations: 4.859 kB / 0.6668 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.159e-05/0.1527, allocations: 4.094 kB / 0.6668 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.1528, allocations: 34.56 kB / 0.6668 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.1528, allocations: 4 kB / 0.6668 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001369/0.1529, allocations: 37.58 kB / 0.6668 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.1529, allocations: 55.41 kB / 0.6669 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.924e-05/0.153, allocations: 93.84 kB / 0.667 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.153, allocations: 25.7 kB / 0.667 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.469e-05/0.153, allocations: 80.14 kB / 0.6671 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.1531, allocations: 4 kB / 0.6671 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-05/0.1531, allocations: 14.06 kB / 0.6671 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1532, allocations: 315 kB / 0.6674 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.048e-05/0.1533, allocations: 0 / 0.6674 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.071e-06/0.1533, allocations: 0 / 0.6674 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.952e-05/0.1533, allocations: 8.859 kB / 0.6674 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1533, allocations: 0 / 0.6674 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.693e-05/0.1534, allocations: 49.58 kB / 0.6674 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.1534, allocations: 4 kB / 0.6675 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.1534, allocations: 0 / 0.6675 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.1534, allocations: 8.031 kB / 0.6675 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.369e-05/0.1534, allocations: 4 kB / 0.6675 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.1534, allocations: 0 / 0.6675 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.179e-05/0.1535, allocations: 0 / 0.6675 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.1535, allocations: 0 / 0.6675 GB, free: 3.375 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 (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 8.543e-05/0.1536, allocations: 105.8 kB / 0.6676 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.592e-06/0.1536, allocations: 4 kB / 0.6676 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/0.1537, allocations: 52.69 kB / 0.6676 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.1537, allocations: 0 / 0.6676 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.1537, allocations: 0 / 0.6676 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-06/0.1537, allocations: 0 / 0.6676 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.1538, allocations: 149.7 kB / 0.6678 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.1538, allocations: 0 / 0.6678 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.517e-05/0.1538, allocations: 0 / 0.6678 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.1538, allocations: 0 / 0.6678 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.1538, allocations: 11.88 kB / 0.6678 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.1538, allocations: 3.938 kB / 0.6678 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1538, allocations: 4.031 kB / 0.6678 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.244e-05/0.1539, allocations: 57.12 kB / 0.6678 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.244e-05/0.1539, allocations: 81.11 kB / 0.6679 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.154, allocations: 3.938 kB / 0.6679 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.032e-05/0.154, allocations: 0 / 0.6679 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.075e-05/0.154, allocations: 0 / 0.6679 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.154, allocations: 7.938 kB / 0.6679 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.862e-05/0.154, allocations: 87.31 kB / 0.668 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6e-08/0.154, allocations: 0 / 0.668 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001932/0.1542, allocations: 7.938 kB / 0.668 GB, free: 2.703 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.0001641/0.1544, allocations: 103.2 kB / 0.6681 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.722e-05/0.1545, allocations: 4 kB / 0.6681 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1545, allocations: 0 / 0.6681 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.073e-06/0.1545, allocations: 0 / 0.6681 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001296/0.1546, allocations: 5.844 kB / 0.6681 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002109/0.1548, allocations: 118.5 kB / 0.6682 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.1551, allocations: 0.6729 MB / 0.6689 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.902e-05/0.1552, allocations: 11.44 kB / 0.6689 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of SimCode: time 4.81e-07/0.1552, allocations: 0 / 0.6689 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of Templates: time 0.001996/0.1572, allocations: 455.5 kB / 0.6693 GB, free: 1.277 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)