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.000722/0.000722, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004677/0.004678, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.351/1.351, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9057/0.9057, allocations: 135.3 MB / 426.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003324/0.0003326, allocations: 13.06 kB / 0.5077 GB, free: 4.633 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1484, allocations: 82.3 MB / 0.5881 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.0006258/0.1491, allocations: 311.1 kB / 0.5884 GB, free: 2.195 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002261/0.1493, allocations: 35.88 kB / 0.5884 GB, free: 2.16 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.095e-06/0.1494, allocations: 4 kB / 0.5884 GB, free: 2.156 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.092e-05/0.1494, allocations: 0 / 0.5884 GB, free: 2.156 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.018e-06/0.1494, allocations: 0 / 0.5884 GB, free: 2.156 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002142/0.1496, allocations: 4 kB / 0.5884 GB, free: 2.152 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.661e-05/0.1497, allocations: 11.97 kB / 0.5884 GB, free: 2.141 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.301e-05/0.1497, allocations: 0 / 0.5884 GB, free: 2.141 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.403e-05/0.1497, allocations: 0 / 0.5884 GB, free: 2.141 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.521e-05/0.1498, allocations: 4 kB / 0.5884 GB, free: 2.137 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.574e-06/0.1498, allocations: 0 / 0.5884 GB, free: 2.137 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.207e-05/0.1499, allocations: 19.98 kB / 0.5885 GB, free: 2.117 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.154e-06/0.1499, allocations: 4 kB / 0.5885 GB, free: 2.113 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.998e-05/0.1499, allocations: 29.64 kB / 0.5885 GB, free: 2.078 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.294e-05/0.15, allocations: 19.91 kB / 0.5885 GB, free: 2.059 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.15, allocations: 0 / 0.5885 GB, free: 2.059 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.15, allocations: 0 / 0.5885 GB, free: 2.059 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.15, allocations: 3.938 kB / 0.5885 GB, free: 2.055 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.0002523/0.1503, allocations: 311.6 kB / 0.5888 GB, free: 1.699 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.1503, allocations: 12.09 kB / 0.5888 GB, free: 1.688 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.341e-05/0.1504, allocations: 34.75 kB / 0.5888 GB, free: 1.645 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.961e-05/0.1504, allocations: 0.9375 kB / 0.5889 GB, free: 1.645 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.867e-05/0.1505, allocations: 168.4 kB / 0.589 GB, free: 1.441 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.1505, allocations: 384 / 0.589 GB, free: 1.441 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.493e-06/0.1505, allocations: 384 / 0.589 GB, free: 1.441 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.782e-05/0.1506, allocations: 30.27 kB / 0.589 GB, free: 1.406 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.1506, allocations: 7.922 kB / 0.589 GB, free: 1.398 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.872e-06/0.1507, allocations: 0 / 0.589 GB, free: 1.398 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1507, allocations: 0 / 0.589 GB, free: 1.398 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.289e-05/0.1507, allocations: 7.938 kB / 0.5891 GB, free: 1.391 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001354/0.1508, allocations: 149.7 kB / 0.5892 GB, free: 1.195 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.377e-05/0.1509, allocations: 18.58 kB / 0.5892 GB, free: 1.168 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.691e-05/0.1509, allocations: 8.953 kB / 0.5892 GB, free: 1.156 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.1e-05/0.1509, allocations: 0 / 0.5892 GB, free: 1.156 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.151, allocations: 30.56 kB / 0.5893 GB, free: 1.117 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 7.22e-07/0.151, allocations: 0 / 0.5893 GB, free: 1.117 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001114/0.1511, allocations: 41.58 kB / 0.5893 GB, free: 1.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.1511, allocations: 59.53 kB / 0.5894 GB, free: 1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.419e-05/0.1512, allocations: 93.84 kB / 0.5894 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.1512, allocations: 25.7 kB / 0.5895 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.29e-05/0.1512, allocations: 84.12 kB / 0.5895 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.1513, allocations: 3.906 kB / 0.5895 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.808e-05/0.1513, allocations: 13.66 kB / 0.5896 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.512e-05/0.1514, allocations: 314.8 kB / 0.5899 GB, free: 452 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.03e-05/0.1514, allocations: 4 kB / 0.5899 GB, free: 448 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.13e-06/0.1514, allocations: 0 / 0.5899 GB, free: 448 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.429e-05/0.1514, allocations: 12.92 kB / 0.5899 GB, free: 432 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1515, allocations: 0 / 0.5899 GB, free: 432 kB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.66e-05/0.1515, allocations: 45.62 kB / 0.5899 GB, free: 380 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.1515, allocations: 4 kB / 0.5899 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1515, allocations: 3.938 kB / 0.5899 GB, free: 372 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.1516, allocations: 0 / 0.5899 GB, free: 372 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.56e-05/0.1516, allocations: 4 kB / 0.5899 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.1516, allocations: 0 / 0.5899 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.243e-05/0.1516, allocations: 0 / 0.5899 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.1517, allocations: 4.031 kB / 0.5899 GB, free: 364 kB / 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 8.548e-05/0.1518, allocations: 105.8 kB / 0.59 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.048e-05/0.1518, allocations: 4 kB / 0.59 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.1519, allocations: 48.69 kB / 0.5901 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1519, allocations: 3.938 kB / 0.5901 GB, free: 184 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1519, allocations: 0 / 0.5901 GB, free: 184 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.1519, allocations: 4.031 kB / 0.5901 GB, free: 180 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.152, allocations: 149.7 kB / 0.5902 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.152, allocations: 0 / 0.5902 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.817e-05/0.152, allocations: 0 / 0.5902 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1521, allocations: 0 / 0.5902 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.1521, allocations: 7.938 kB / 0.5902 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1521, allocations: 0 / 0.5902 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1521, allocations: 0 / 0.5902 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.559e-05/0.1521, allocations: 61.12 kB / 0.5903 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.958e-05/0.1522, allocations: 85.11 kB / 0.5904 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.1522, allocations: 3.938 kB / 0.5904 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.109e-05/0.1522, allocations: 0 / 0.5904 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.271e-05/0.1522, allocations: 3.938 kB / 0.5904 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-06/0.1523, allocations: 0 / 0.5904 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.517e-05/0.1523, allocations: 75.28 kB / 0.5905 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1523, allocations: 4 kB / 0.5905 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001822/0.1525, allocations: 4 kB / 0.5905 GB, free: 15.7 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.0003639/0.1528, allocations: 0.601 MB / 0.5911 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.504e-05/0.1529, allocations: 4 kB / 0.5911 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1529, allocations: 0 / 0.5911 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.151e-05/0.1529, allocations: 11.92 kB / 0.5911 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001246/0.1531, allocations: 11.81 kB / 0.5911 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002484/0.1533, allocations: 104.4 kB / 0.5912 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.1536, allocations: 0.6692 MB / 0.5918 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.792e-05/0.1536, allocations: 4 kB / 0.5918 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.323e-05/0.1536, allocations: 11.42 kB / 0.5919 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1536, allocations: 4 kB / 0.5919 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01858/0.1722, allocations: 0.8154 MB / 0.5927 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001695/0.1724, allocations: 201.5 kB / 0.5928 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.633/1.806, allocations: 4 kB / 0.5928 GB, free: 13.25 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)