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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 175 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9069/0.9069, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.587/1.587, allocations: 221.3 MB / 400.4 MB, free: 5.812 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 93.47 kB / 483.3 MB, free: 5.867 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.92e-05/4.933e-05, allocations: 12.69 kB / 0.5601 GB, free: 87.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.169, allocations: 82.3 MB / 0.6405 GB, free: 7.711 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6144/0.7834, allocations: 110.5 MB / 0.7484 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/0.7837, allocations: 71.16 kB / 0.7485 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.001502/0.7852, allocations: 484.7 kB / 0.749 GB, free: 27.57 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7853, allocations: 1.562 kB / 0.749 GB, free: 27.57 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.533e-06/0.7853, allocations: 0 / 0.749 GB, free: 27.57 MB / 0.5105 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.0002408/0.7855, allocations: 316.4 kB / 0.7493 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.7856, allocations: 12.94 kB / 0.7493 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.78e-05/0.7856, allocations: 30.56 kB / 0.7493 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.007e-05/0.7856, allocations: 0 / 0.7493 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.05e-05/0.7857, allocations: 163 kB / 0.7495 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.7858, allocations: 9.422 kB / 0.7495 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.665e-06/0.7858, allocations: 0 / 0.7495 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.023e-05/0.7859, allocations: 33.05 kB / 0.7495 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.7859, allocations: 0 / 0.7495 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.7859, allocations: 2.312 kB / 0.7495 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.7859, allocations: 0 / 0.7495 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.273e-05/0.7859, allocations: 0 / 0.7495 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000126/0.7861, allocations: 160.9 kB / 0.7497 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.086e-05/0.7861, allocations: 18.58 kB / 0.7497 GB, free: 26.74 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.559e-05/0.7861, allocations: 8.828 kB / 0.7497 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.402e-05/0.7862, allocations: 7.922 kB / 0.7497 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.7862, allocations: 30.56 kB / 0.7497 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.7862, allocations: 0 / 0.7497 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.00012/0.7863, allocations: 40.86 kB / 0.7498 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.7864, allocations: 51.41 kB / 0.7498 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.24e-05/0.7864, allocations: 89.03 kB / 0.7499 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.7864, allocations: 25.7 kB / 0.7499 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.375e-05/0.7864, allocations: 84.08 kB / 0.75 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/0.7865, allocations: 8.25 kB / 0.75 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.355e-06/0.7865, allocations: 0 / 0.75 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.7866, allocations: 310.8 kB / 0.7503 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.298e-06/0.7866, allocations: 3.781 kB / 0.7503 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.501e-06/0.7866, allocations: 0 / 0.7503 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.729e-05/0.7867, allocations: 4.062 kB / 0.7503 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.7867, allocations: 3.688 kB / 0.7503 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.837e-05/0.7867, allocations: 37.34 kB / 0.7504 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.7867, allocations: 6.875 kB / 0.7504 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.7868, allocations: 3.844 kB / 0.7504 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.739e-06/0.7868, allocations: 0 / 0.7504 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.021e-05/0.7868, allocations: 3.938 kB / 0.7504 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.7868, allocations: 0 / 0.7504 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.147e-05/0.7869, allocations: 3.938 kB / 0.7504 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.7869, allocations: 3.875 kB / 0.7504 GB, free: 26.01 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.379e-05/0.7869, allocations: 105 kB / 0.7505 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.921e-06/0.7869, allocations: 3.953 kB / 0.7505 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.602e-05/0.787, allocations: 43.64 kB / 0.7505 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.7871, allocations: 0 / 0.7505 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.7871, allocations: 0 / 0.7505 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-06/0.7871, allocations: 0 / 0.7505 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.693e-05/0.7871, allocations: 151.9 kB / 0.7507 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.7872, allocations: 3.906 kB / 0.7507 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.494e-05/0.7872, allocations: 0 / 0.7507 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.7872, allocations: 3.953 kB / 0.7507 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.7872, allocations: 0 / 0.7507 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.7872, allocations: 0 / 0.7507 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.7872, allocations: 7.844 kB / 0.7507 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.669e-05/0.7873, allocations: 56.09 kB / 0.7507 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.865e-05/0.7873, allocations: 81.14 kB / 0.7508 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.7873, allocations: 7.859 kB / 0.7508 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.032e-05/0.7873, allocations: 0 / 0.7508 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.196e-05/0.7874, allocations: 2.953 kB / 0.7508 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.7874, allocations: 0 / 0.7508 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.302e-05/0.7874, allocations: 79.22 kB / 0.7509 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7874, allocations: 3.938 kB / 0.7509 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001871/0.7876, allocations: 7.906 kB / 0.7509 GB, free: 25.42 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003743/0.788, allocations: 0.6035 MB / 0.7515 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 5.65e-05/0.7881, allocations: 3.844 kB / 0.7515 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.7881, allocations: 0 / 0.7515 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.821e-06/0.7881, allocations: 0 / 0.7515 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.142e-05/0.7882, allocations: 8.578 kB / 0.7515 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002165/0.7884, allocations: 78.03 kB / 0.7516 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.7886, allocations: 0.6762 MB / 0.7522 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.379e-05/0.7887, allocations: 3.938 kB / 0.7522 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.014e-05/0.7887, allocations: 7.438 kB / 0.7523 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/0.7887, allocations: 0 / 0.7523 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01253/0.8012, allocations: 0.8137 MB / 0.753 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001436/0.8014, allocations: 149.9 kB / 0.7532 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.416/2.218, allocations: 3.938 kB / 0.7532 GB, free: 23.63 MB / 0.5105 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/linux/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)