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.005165/0.005165, allocations: 99.31 kB / 15.73 MB, free: 6.051 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.00116/0.001161, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7827/0.7827, allocations: 132.2 MB / 422.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 64.42 kB / 0.5809 GB, free: 1.109 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1877, allocations: 80.2 MB / 0.6592 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001835/0.1895, allocations: 0.5749 MB / 0.6598 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002597/0.1898, allocations: 39.81 kB / 0.6598 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.524e-05/0.1899, allocations: 0 / 0.6598 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.643e-05/0.1899, allocations: 0 / 0.6598 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.584e-06/0.1899, allocations: 0 / 0.6598 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003052/0.1903, allocations: 11.98 kB / 0.6598 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.388e-05/0.1903, allocations: 0 / 0.6598 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.969e-05/0.1904, allocations: 11.98 kB / 0.6599 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.629e-05/0.1904, allocations: 3.938 kB / 0.6599 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.768e-05/0.1904, allocations: 0 / 0.6599 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.628e-06/0.1904, allocations: 4 kB / 0.6599 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.1905, allocations: 23.92 kB / 0.6599 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.007e-06/0.1906, allocations: 0 / 0.6599 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.998e-05/0.1906, allocations: 0 / 0.6599 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.1907, allocations: 19.97 kB / 0.6599 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.1907, allocations: 0 / 0.6599 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.834e-06/0.1907, allocations: 0 / 0.6599 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.1907, allocations: 0 / 0.6599 GB, free: 13.31 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.0003284/0.1911, allocations: 313.3 kB / 0.6602 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.1911, allocations: 12.03 kB / 0.6602 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.4e-05/0.1911, allocations: 34.75 kB / 0.6602 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.42e-05/0.1912, allocations: 0.9375 kB / 0.6602 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.1913, allocations: 164.4 kB / 0.6604 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.265e-06/0.1913, allocations: 384 / 0.6604 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.1913, allocations: 384 / 0.6604 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.1914, allocations: 38.19 kB / 0.6604 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1914, allocations: 3.938 kB / 0.6604 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-06/0.1915, allocations: 0 / 0.6604 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1915, allocations: 0 / 0.6604 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.598e-05/0.1915, allocations: 11.94 kB / 0.6605 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001429/0.1916, allocations: 145.7 kB / 0.6606 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.818e-05/0.1917, allocations: 18.56 kB / 0.6606 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.958e-05/0.1917, allocations: 12.95 kB / 0.6606 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.301e-05/0.1917, allocations: 0 / 0.6606 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.1918, allocations: 38.5 kB / 0.6607 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.1918, allocations: 0 / 0.6607 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001427/0.1919, allocations: 41.64 kB / 0.6607 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.192, allocations: 51.41 kB / 0.6607 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.137e-05/0.192, allocations: 89.86 kB / 0.6608 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.192, allocations: 25.7 kB / 0.6609 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.451e-05/0.1921, allocations: 80.14 kB / 0.6609 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.1921, allocations: 0 / 0.6609 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-05/0.1921, allocations: 18.05 kB / 0.661 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.1922, allocations: 318.9 kB / 0.6613 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.074e-05/0.1923, allocations: 4 kB / 0.6613 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.654e-06/0.1923, allocations: 0 / 0.6613 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.081e-05/0.1923, allocations: 12.8 kB / 0.6613 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1923, allocations: 0 / 0.6613 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.34e-05/0.1924, allocations: 37.69 kB / 0.6613 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.1924, allocations: 5.875 kB / 0.6613 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.1924, allocations: 3.938 kB / 0.6613 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.1924, allocations: 0 / 0.6613 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.388e-05/0.1925, allocations: 8.094 kB / 0.6613 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.1925, allocations: 0 / 0.6613 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.38e-05/0.1925, allocations: 0 / 0.6613 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.1926, allocations: 0 / 0.6613 GB, free: 11.62 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.794e-05/0.1926, allocations: 113.8 kB / 0.6614 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.684e-06/0.1927, allocations: 0 / 0.6614 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.1928, allocations: 48.69 kB / 0.6615 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1928, allocations: 0 / 0.6615 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1928, allocations: 4 kB / 0.6615 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.185e-06/0.1928, allocations: 0 / 0.6615 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.803e-05/0.1929, allocations: 149.7 kB / 0.6616 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1929, allocations: 0 / 0.6616 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.421e-05/0.1929, allocations: 4 kB / 0.6616 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.193, allocations: 3.938 kB / 0.6616 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.193, allocations: 3.938 kB / 0.6616 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.193, allocations: 0 / 0.6616 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.193, allocations: 0 / 0.6616 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.348e-05/0.1931, allocations: 65.09 kB / 0.6617 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.995e-05/0.1931, allocations: 81.02 kB / 0.6618 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.1931, allocations: 3.938 kB / 0.6618 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.438e-05/0.1931, allocations: 8 kB / 0.6618 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.555e-05/0.1932, allocations: 4 kB / 0.6618 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.1932, allocations: 4 kB / 0.6618 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.695e-05/0.1932, allocations: 77.56 kB / 0.6619 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.1932, allocations: 4.031 kB / 0.6619 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002092/0.1934, allocations: 8 kB / 0.6619 GB, free: 10.94 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.0003943/0.1938, allocations: 0.5957 MB / 0.6625 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.014e-05/0.1939, allocations: 7.938 kB / 0.6625 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1939, allocations: 8.094 kB / 0.6625 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.966e-06/0.1939, allocations: 3.984 kB / 0.6625 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/0.1941, allocations: 3.938 kB / 0.6625 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003404/0.1944, allocations: 114.6 kB / 0.6626 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.1947, allocations: 0.669 MB / 0.6633 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.995e-05/0.1947, allocations: 12.05 kB / 0.6633 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.407e-05/0.1947, allocations: 7.438 kB / 0.6633 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of SimCode: time 4.21e-07/0.1947, allocations: 0 / 0.6633 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01844/0.2132, allocations: 1.001 MB / 0.6642 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.315/7.528, allocations: 7.703 kB / 0.6643 GB, free: 8.52 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)