Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Examples.Polynomial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Polynomial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_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.005681/0.005688, allocations: 100.9 kB / 15.73 MB, free: 6.004 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.00152/0.00152, allocations: 193.4 kB / 16.67 MB, free: 5.922 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.349/1.349, 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-master/package.mo): time 0.7788/0.7788, allocations: 135.1 MB / 425.7 MB, free: 4.066 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 61.91 kB / 0.5851 GB, free: 21.97 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1832, allocations: 80.93 MB / 0.6642 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.002613/0.1859, allocations: 1.426 MB / 0.6656 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003022/0.1862, allocations: 104.5 kB / 0.6657 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.791e-05/0.1863, allocations: 0 / 0.6657 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.03e-05/0.1863, allocations: 7.922 kB / 0.6657 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.342e-05/0.1864, allocations: 0 / 0.6657 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.1866, allocations: 19.92 kB / 0.6657 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.21e-05/0.1867, allocations: 27.91 kB / 0.6657 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.974e-05/0.1868, allocations: 4 kB / 0.6657 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.225e-05/0.1869, allocations: 8 kB / 0.6657 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.81e-05/0.1869, allocations: 11.92 kB / 0.6657 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.1869, allocations: 4 kB / 0.6657 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.1871, allocations: 23.98 kB / 0.6658 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.038e-05/0.1871, allocations: 3.984 kB / 0.6658 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.45e-05/0.1871, allocations: 15.88 kB / 0.6658 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.1873, allocations: 44.09 kB / 0.6658 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1873, allocations: 0 / 0.6658 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1873, allocations: 0 / 0.6658 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.1873, allocations: 0 / 0.6658 GB, free: 4.582 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.0004774/0.1878, allocations: 347.3 kB / 0.6661 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.1878, allocations: 13.11 kB / 0.6662 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.135e-05/0.1879, allocations: 30.75 kB / 0.6662 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.654e-05/0.1879, allocations: 8.875 kB / 0.6662 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.1881, allocations: 168.3 kB / 0.6664 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.694e-06/0.1881, allocations: 384 / 0.6664 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.1881, allocations: 4.375 kB / 0.6664 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.1883, allocations: 50.23 kB / 0.6664 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.1883, allocations: 3.938 kB / 0.6664 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.1883, allocations: 4 kB / 0.6664 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.1883, allocations: 4 kB / 0.6664 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001656/0.1885, allocations: 31.97 kB / 0.6665 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002983/0.1888, allocations: 252.9 kB / 0.6667 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.1889, allocations: 50.47 kB / 0.6667 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.189, allocations: 28.91 kB / 0.6668 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.1891, allocations: 4 kB / 0.6668 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.1891, allocations: 34.56 kB / 0.6668 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.1891, allocations: 0 / 0.6668 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003455/0.1895, allocations: 89.58 kB / 0.6669 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.1895, allocations: 55.53 kB / 0.6669 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.887e-05/0.1896, allocations: 105.8 kB / 0.667 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.1896, allocations: 25.7 kB / 0.6671 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.302e-05/0.1897, allocations: 92.08 kB / 0.6672 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.73e-05/0.1897, allocations: 11.89 kB / 0.6672 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.1897, allocations: 9.719 kB / 0.6672 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.1898, allocations: 314.8 kB / 0.6675 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.528e-05/0.1899, allocations: 19.98 kB / 0.6675 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.739e-05/0.19, allocations: 23.97 kB / 0.6675 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.1902, allocations: 36.83 kB / 0.6676 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1902, allocations: 3.938 kB / 0.6676 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002099/0.1904, allocations: 77.66 kB / 0.6676 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.1904, allocations: 5.719 kB / 0.6676 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.1904, allocations: 0 / 0.6676 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.1904, allocations: 0 / 0.6676 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.169e-05/0.1905, allocations: 11.98 kB / 0.6677 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.1905, allocations: 0 / 0.6677 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.002e-05/0.1906, allocations: 15.92 kB / 0.6677 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.1906, allocations: 7.922 kB / 0.6677 GB, free: 2.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.602e-05/0.1907, allocations: 113.8 kB / 0.6678 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/0.1907, allocations: 4.031 kB / 0.6678 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002447/0.191, allocations: 77.12 kB / 0.6679 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.191, allocations: 0 / 0.6679 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.964e-06/0.191, allocations: 7.984 kB / 0.6679 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.191, allocations: 0 / 0.6679 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.1912, allocations: 157.6 kB / 0.668 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1912, allocations: 0 / 0.668 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.721e-05/0.1913, allocations: 11.98 kB / 0.668 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1913, allocations: 4.031 kB / 0.668 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.1913, allocations: 0 / 0.668 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1913, allocations: 0 / 0.668 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1913, allocations: 0 / 0.668 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.1915, allocations: 171.4 kB / 0.6682 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.1916, allocations: 77.36 kB / 0.6683 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.1916, allocations: 12.02 kB / 0.6683 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.515e-05/0.1917, allocations: 4 kB / 0.6683 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.621e-05/0.1917, allocations: 8 kB / 0.6683 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.1918, allocations: 3.984 kB / 0.6683 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.12e-05/0.1918, allocations: 83.22 kB / 0.6684 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1918, allocations: 0 / 0.6684 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002298/0.192, allocations: 8 kB / 0.6684 GB, free: 1.617 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.000584/0.1926, allocations: 0.7137 MB / 0.6691 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002188/0.1929, allocations: 35.97 kB / 0.6691 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1929, allocations: 96 / 0.6691 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.92e-05/0.193, allocations: 27.91 kB / 0.6691 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.1933, allocations: 11.98 kB / 0.6692 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004315/0.1937, allocations: 143 kB / 0.6693 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.194, allocations: 0.6807 MB / 0.67 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.628e-05/0.1941, allocations: 0 / 0.67 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.457e-05/0.1941, allocations: 15.42 kB / 0.67 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of SimCode: time 1.693e-06/0.1941, allocations: 4.062 kB / 0.67 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01862/0.2127, allocations: 1.408 MB / 0.6713 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.597/7.81, allocations: 4 kB / 0.6714 GB, free: 14.55 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Math_Examples_Polynomial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1)