Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005102/0.005102, allocations: 106 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.00121/0.00121, allocations: 195.5 kB / 16.67 MB, free: 5.914 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7977/0.7977, allocations: 132.2 MB / 422.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 64.83 kB / 0.5809 GB, free: 24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.172, allocations: 80.2 MB / 0.6592 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001838/0.1739, allocations: 0.5799 MB / 0.6598 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000257/0.1742, allocations: 39.81 kB / 0.6598 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.989e-05/0.1742, allocations: 0 / 0.6598 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.38e-05/0.1743, allocations: 0 / 0.6598 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.973e-06/0.1743, allocations: 0 / 0.6598 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003066/0.1746, allocations: 11.97 kB / 0.6598 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.507e-05/0.1747, allocations: 7.938 kB / 0.6598 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.037e-05/0.1747, allocations: 0 / 0.6598 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.475e-05/0.1747, allocations: 0 / 0.6598 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.656e-05/0.1748, allocations: 4 kB / 0.6599 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.1748, allocations: 4 kB / 0.6599 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.1749, allocations: 27.92 kB / 0.6599 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.147e-05/0.1749, allocations: 3.984 kB / 0.6599 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.2e-05/0.175, allocations: 0 / 0.6599 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.1751, allocations: 15.97 kB / 0.6599 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1751, allocations: 0 / 0.6599 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1751, allocations: 0 / 0.6599 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.73e-06/0.1751, allocations: 0 / 0.6599 GB, free: 10.02 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.0003977/0.1755, allocations: 315.6 kB / 0.6602 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.1756, allocations: 8.031 kB / 0.6602 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.485e-05/0.1756, allocations: 34.75 kB / 0.6602 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.817e-05/0.1756, allocations: 0.9375 kB / 0.6602 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.677e-05/0.1757, allocations: 164.4 kB / 0.6604 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.1758, allocations: 384 / 0.6604 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-06/0.1758, allocations: 384 / 0.6604 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.1759, allocations: 28.81 kB / 0.6604 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.1759, allocations: 7.875 kB / 0.6604 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.1759, allocations: 4 kB / 0.6604 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1759, allocations: 3.938 kB / 0.6604 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.631e-05/0.176, allocations: 7.984 kB / 0.6605 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001445/0.1761, allocations: 145.7 kB / 0.6606 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.508e-05/0.1762, allocations: 18.61 kB / 0.6606 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.717e-05/0.1762, allocations: 4.859 kB / 0.6606 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.909e-05/0.1763, allocations: 4.062 kB / 0.6606 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.1763, allocations: 30.56 kB / 0.6606 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.1763, allocations: 0 / 0.6606 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001372/0.1764, allocations: 49.56 kB / 0.6607 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.295e-05/0.1765, allocations: 55.34 kB / 0.6607 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.277e-05/0.1765, allocations: 89.86 kB / 0.6608 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.1766, allocations: 29.7 kB / 0.6609 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.161e-05/0.1766, allocations: 80.14 kB / 0.6609 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.1767, allocations: 0 / 0.6609 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.766e-05/0.1767, allocations: 10.06 kB / 0.6609 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.1768, allocations: 319 kB / 0.6613 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.3e-05/0.1768, allocations: 4 kB / 0.6613 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.657e-06/0.1768, allocations: 3.984 kB / 0.6613 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.44e-05/0.1769, allocations: 12.8 kB / 0.6613 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1769, allocations: 0 / 0.6613 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.864e-05/0.177, allocations: 29.7 kB / 0.6613 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.177, allocations: 9.719 kB / 0.6613 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.177, allocations: 3.938 kB / 0.6613 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.177, allocations: 0 / 0.6613 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.259e-05/0.1771, allocations: 4.094 kB / 0.6613 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.1771, allocations: 4 kB / 0.6613 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.55e-05/0.1771, allocations: 3.984 kB / 0.6613 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.1771, allocations: 0 / 0.6613 GB, free: 8.328 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 7.672e-05/0.1772, allocations: 105.8 kB / 0.6614 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.655e-06/0.1772, allocations: 0 / 0.6614 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001216/0.1773, allocations: 64.59 kB / 0.6615 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.1774, allocations: 0 / 0.6615 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1774, allocations: 0 / 0.6615 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1774, allocations: 3.984 kB / 0.6615 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.1775, allocations: 149.6 kB / 0.6616 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.1775, allocations: 0 / 0.6616 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.051e-05/0.1775, allocations: 0 / 0.6616 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1775, allocations: 0 / 0.6616 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.1775, allocations: 3.938 kB / 0.6616 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.1775, allocations: 7.984 kB / 0.6616 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.1775, allocations: 0 / 0.6616 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.807e-05/0.1776, allocations: 57.17 kB / 0.6617 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.065e-05/0.1777, allocations: 77.11 kB / 0.6618 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.1777, allocations: 11.88 kB / 0.6618 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.349e-05/0.1777, allocations: 4 kB / 0.6618 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.498e-05/0.1777, allocations: 3.984 kB / 0.6618 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.1777, allocations: 0 / 0.6618 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.735e-05/0.1778, allocations: 79.31 kB / 0.6619 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1778, allocations: 0 / 0.6619 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002165/0.178, allocations: 12 kB / 0.6619 GB, free: 7.652 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.0004142/0.1784, allocations: 0.6034 MB / 0.6625 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.025e-05/0.1785, allocations: 11.97 kB / 0.6625 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.1785, allocations: 0 / 0.6625 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.897e-06/0.1785, allocations: 4 kB / 0.6625 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001323/0.1787, allocations: 0 / 0.6625 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003562/0.179, allocations: 120.2 kB / 0.6626 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.1793, allocations: 0.669 MB / 0.6633 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.575e-05/0.1793, allocations: 8.125 kB / 0.6633 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.37e-05/0.1793, allocations: 7.438 kB / 0.6633 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.1793, allocations: 0 / 0.6633 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01684/0.1962, allocations: 0.9941 MB / 0.6642 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.351/7.548, allocations: 18.64 kB / 0.6643 GB, free: 5.219 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_Polynomial.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)