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: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="IDEAS_dev_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.001668/0.001668, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00196/0.00196, allocations: 197.9 kB / 16.14 MB, free: 6.688 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.368/1.368, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9645/0.9645, allocations: 135.1 MB / 425.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 60.59 kB / 0.5048 GB, free: 5.629 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1491, allocations: 80.92 MB / 0.5838 GB, free: 4.867 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001837/0.151, allocations: 0.6271 MB / 0.5844 GB, free: 4.23 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002272/0.1512, allocations: 35.88 kB / 0.5845 GB, free: 4.195 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.044e-05/0.1513, allocations: 4 kB / 0.5845 GB, free: 4.191 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.43e-05/0.1513, allocations: 4 kB / 0.5845 GB, free: 4.188 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.06e-06/0.1513, allocations: 0 / 0.5845 GB, free: 4.188 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.1515, allocations: 4 kB / 0.5845 GB, free: 4.184 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.278e-05/0.1516, allocations: 7.922 kB / 0.5845 GB, free: 4.176 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.489e-05/0.1516, allocations: 4 kB / 0.5845 GB, free: 4.172 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.567e-05/0.1516, allocations: 3.984 kB / 0.5845 GB, free: 4.168 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.451e-05/0.1517, allocations: 0 / 0.5845 GB, free: 4.168 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.917e-06/0.1517, allocations: 0 / 0.5845 GB, free: 4.168 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.221e-05/0.1518, allocations: 19.98 kB / 0.5845 GB, free: 4.148 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.456e-06/0.1518, allocations: 4 kB / 0.5845 GB, free: 4.145 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.768e-05/0.1518, allocations: 4 kB / 0.5845 GB, free: 4.141 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.484e-05/0.1519, allocations: 15.91 kB / 0.5845 GB, free: 4.125 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1519, allocations: 0 / 0.5845 GB, free: 4.125 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.81e-07/0.1519, allocations: 0 / 0.5845 GB, free: 4.125 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.1519, allocations: 0 / 0.5845 GB, free: 4.125 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.0003642/0.1523, allocations: 315.6 kB / 0.5848 GB, free: 3.766 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.1523, allocations: 12.03 kB / 0.5848 GB, free: 3.754 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.958e-05/0.1523, allocations: 30.75 kB / 0.5849 GB, free: 3.715 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.02e-05/0.1524, allocations: 0.9375 kB / 0.5849 GB, free: 3.715 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.1525, allocations: 168.4 kB / 0.585 GB, free: 3.512 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.286e-06/0.1525, allocations: 384 / 0.585 GB, free: 3.512 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.1525, allocations: 384 / 0.585 GB, free: 3.512 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.145e-05/0.1526, allocations: 30.27 kB / 0.5851 GB, free: 3.477 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1526, allocations: 3.938 kB / 0.5851 GB, free: 3.473 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.1527, allocations: 3.938 kB / 0.5851 GB, free: 3.469 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.1527, allocations: 0 / 0.5851 GB, free: 3.469 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.809e-05/0.1527, allocations: 7.938 kB / 0.5851 GB, free: 3.461 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001611/0.1529, allocations: 149.7 kB / 0.5852 GB, free: 3.266 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.51e-05/0.1529, allocations: 18.58 kB / 0.5852 GB, free: 3.238 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.775e-05/0.153, allocations: 8.953 kB / 0.5853 GB, free: 3.227 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.222e-05/0.153, allocations: 3.938 kB / 0.5853 GB, free: 3.223 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.153, allocations: 34.56 kB / 0.5853 GB, free: 3.18 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.153, allocations: 0 / 0.5853 GB, free: 3.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001796/0.1532, allocations: 45.58 kB / 0.5853 GB, free: 3.129 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.1533, allocations: 63.52 kB / 0.5854 GB, free: 3.055 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.721e-05/0.1533, allocations: 89.86 kB / 0.5855 GB, free: 2.957 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.1533, allocations: 25.7 kB / 0.5855 GB, free: 2.926 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.224e-05/0.1534, allocations: 80.14 kB / 0.5856 GB, free: 2.844 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.1534, allocations: 3.906 kB / 0.5856 GB, free: 2.84 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/0.1534, allocations: 13.72 kB / 0.5856 GB, free: 2.82 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.1535, allocations: 310.8 kB / 0.5859 GB, free: 2.508 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.117e-06/0.1535, allocations: 0 / 0.5859 GB, free: 2.508 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.716e-06/0.1535, allocations: 8 kB / 0.5859 GB, free: 2.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.746e-05/0.1536, allocations: 8.859 kB / 0.5859 GB, free: 2.488 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1536, allocations: 4 kB / 0.5859 GB, free: 2.484 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.017e-05/0.1536, allocations: 37.62 kB / 0.586 GB, free: 2.441 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.1537, allocations: 4 kB / 0.586 GB, free: 2.438 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1537, allocations: 3.938 kB / 0.586 GB, free: 2.434 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.1537, allocations: 0 / 0.586 GB, free: 2.434 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.744e-05/0.1537, allocations: 4 kB / 0.586 GB, free: 2.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.1537, allocations: 0 / 0.586 GB, free: 2.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.156e-05/0.1538, allocations: 4.094 kB / 0.586 GB, free: 2.426 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.1538, allocations: 4 kB / 0.586 GB, free: 2.422 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 5.672e-05/0.1538, allocations: 105.8 kB / 0.5861 GB, free: 2.309 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.087e-06/0.1539, allocations: 3.984 kB / 0.5861 GB, free: 2.305 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.964e-05/0.154, allocations: 52.69 kB / 0.5861 GB, free: 2.246 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.154, allocations: 0 / 0.5861 GB, free: 2.246 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.154, allocations: 4.031 kB / 0.5861 GB, free: 2.242 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.154, allocations: 0 / 0.5861 GB, free: 2.242 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.723e-05/0.1541, allocations: 149.7 kB / 0.5863 GB, free: 2.047 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1541, allocations: 3.938 kB / 0.5863 GB, free: 2.043 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.685e-05/0.1541, allocations: 4 kB / 0.5863 GB, free: 2.039 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.1541, allocations: 0 / 0.5863 GB, free: 2.039 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.1541, allocations: 3.938 kB / 0.5863 GB, free: 2.035 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.1541, allocations: 0 / 0.5863 GB, free: 2.035 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1541, allocations: 0 / 0.5863 GB, free: 2.035 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.1543, allocations: 65.12 kB / 0.5863 GB, free: 1.953 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.284e-05/0.1543, allocations: 77.11 kB / 0.5864 GB, free: 1.859 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.085e-05/0.1543, allocations: 3.938 kB / 0.5864 GB, free: 1.855 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.019e-05/0.1543, allocations: 0 / 0.5864 GB, free: 1.855 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.011e-05/0.1543, allocations: 0 / 0.5864 GB, free: 1.855 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.1544, allocations: 8 kB / 0.5864 GB, free: 1.848 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.585e-05/0.1544, allocations: 83.16 kB / 0.5865 GB, free: 1.766 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1544, allocations: 0 / 0.5865 GB, free: 1.766 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000182/0.1546, allocations: 4 kB / 0.5865 GB, free: 1.762 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.0004725/0.1551, allocations: 0.601 MB / 0.5871 GB, free: 1.129 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.899e-05/0.1551, allocations: 11.98 kB / 0.5871 GB, free: 1.117 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1551, allocations: 0 / 0.5871 GB, free: 1.117 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.173e-05/0.1552, allocations: 8.031 kB / 0.5871 GB, free: 1.109 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.1553, allocations: 7.156 kB / 0.5871 GB, free: 1.105 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003137/0.1556, allocations: 110.3 kB / 0.5872 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.1559, allocations: 0.6731 MB / 0.5879 GB, free: 268 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.587e-05/0.1559, allocations: 0 / 0.5879 GB, free: 268 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.777e-05/0.156, allocations: 15.5 kB / 0.5879 GB, free: 252 kB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.156, allocations: 0 / 0.5879 GB, free: 252 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01015/0.1661, allocations: 0.8781 MB / 0.5888 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002715/0.1664, allocations: 199.8 kB / 0.589 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.601/1.767, allocations: 0 / 0.589 GB, free: 15.23 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Polynomial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)