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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001436/0.001436, 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.7938/0.7938, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.481/1.481, allocations: 221.3 MB / 400.4 MB, free: 5.883 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.0008445/0.0008445, allocations: 97.31 kB / 483.3 MB, free: 5.883 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.476e-05/3.478e-05, allocations: 5.469 kB / 0.5601 GB, free: 87.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1504, allocations: 82.32 MB / 0.6405 GB, free: 7.734 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5678/0.7183, allocations: 110.5 MB / 0.7484 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000209/0.7185, allocations: 78.66 kB / 0.7485 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.001457/0.72, allocations: 477.1 kB / 0.749 GB, free: 27.67 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.773e-06/0.72, allocations: 0 / 0.749 GB, free: 27.67 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.72, allocations: 0 / 0.749 GB, free: 27.67 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.0002453/0.7203, allocations: 310.4 kB / 0.7493 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.7203, allocations: 7.719 kB / 0.7493 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.617e-05/0.7204, allocations: 36.5 kB / 0.7493 GB, free: 27.29 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.121e-05/0.7204, allocations: 0 / 0.7493 GB, free: 27.29 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.133e-05/0.7205, allocations: 165.8 kB / 0.7495 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.7205, allocations: 5.734 kB / 0.7495 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.7205, allocations: 0 / 0.7495 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.597e-05/0.7206, allocations: 34.39 kB / 0.7495 GB, free: 27.06 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.7206, allocations: 3.984 kB / 0.7495 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.7206, allocations: 0 / 0.7495 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.7207, allocations: 4.688 kB / 0.7495 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.219e-05/0.7207, allocations: 2.859 kB / 0.7495 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001163/0.7208, allocations: 149.6 kB / 0.7497 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.155e-05/0.7209, allocations: 22.42 kB / 0.7497 GB, free: 26.83 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.469e-05/0.7209, allocations: 7.734 kB / 0.7497 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.628e-05/0.7209, allocations: 3.969 kB / 0.7497 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.7209, allocations: 37.41 kB / 0.7497 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.721, allocations: 0 / 0.7497 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001148/0.7211, allocations: 33.55 kB / 0.7498 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.7211, allocations: 51.41 kB / 0.7498 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.825e-05/0.7212, allocations: 85 kB / 0.7499 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.7212, allocations: 29.64 kB / 0.7499 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.932e-05/0.7212, allocations: 87.89 kB / 0.75 GB, free: 26.47 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.7212, allocations: 8.125 kB / 0.75 GB, free: 26.47 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.984e-06/0.7213, allocations: 0 / 0.75 GB, free: 26.47 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.7214, allocations: 313.8 kB / 0.7503 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.125e-06/0.7214, allocations: 0 / 0.7503 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.362e-06/0.7214, allocations: 7.906 kB / 0.7503 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.613e-05/0.7214, allocations: 0 / 0.7503 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.7214, allocations: 0 / 0.7503 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.371e-05/0.7215, allocations: 37.5 kB / 0.7503 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.7215, allocations: 7.797 kB / 0.7504 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.7215, allocations: 2.812 kB / 0.7504 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.7215, allocations: 0 / 0.7504 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.651e-05/0.7216, allocations: 3.812 kB / 0.7504 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.7216, allocations: 0 / 0.7504 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.309e-05/0.7216, allocations: 8.031 kB / 0.7504 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.7216, allocations: 0 / 0.7504 GB, free: 26.11 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 7.563e-05/0.7217, allocations: 111.9 kB / 0.7505 GB, free: 26 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.254e-06/0.7217, allocations: 3.953 kB / 0.7505 GB, free: 26 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.914e-05/0.7218, allocations: 35.42 kB / 0.7505 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.7219, allocations: 2.906 kB / 0.7505 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.7219, allocations: 4.031 kB / 0.7505 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.7219, allocations: 3.812 kB / 0.7505 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.343e-05/0.7219, allocations: 149 kB / 0.7507 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.722, allocations: 0 / 0.7507 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.874e-05/0.722, allocations: 6.484 kB / 0.7507 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.722, allocations: 3.953 kB / 0.7507 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.722, allocations: 0 / 0.7507 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.722, allocations: 0 / 0.7507 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.722, allocations: 0 / 0.7507 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.212e-05/0.7221, allocations: 66.31 kB / 0.7507 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.991e-05/0.7221, allocations: 77.11 kB / 0.7508 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.7221, allocations: 6.828 kB / 0.7508 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.136e-05/0.7222, allocations: 0 / 0.7508 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.07e-05/0.7222, allocations: 0 / 0.7508 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.7222, allocations: 6.969 kB / 0.7508 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.791e-05/0.7222, allocations: 75.28 kB / 0.7509 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7222, allocations: 7.875 kB / 0.7509 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001868/0.7224, allocations: 3.781 kB / 0.7509 GB, free: 25.52 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.0003916/0.7228, allocations: 0.6029 MB / 0.7515 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 5.743e-05/0.7229, allocations: 3.875 kB / 0.7515 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.7229, allocations: 0 / 0.7515 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.925e-06/0.7229, allocations: 7.906 kB / 0.7515 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.015e-05/0.723, allocations: 8.531 kB / 0.7515 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002334/0.7233, allocations: 70.19 kB / 0.7516 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.7235, allocations: 0.6755 MB / 0.7522 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.585e-05/0.7236, allocations: 3.875 kB / 0.7522 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.193e-05/0.7236, allocations: 11.5 kB / 0.7523 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of SimCode: time 3.61e-07/0.7236, allocations: 0 / 0.7523 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0119/0.7355, allocations: 0.8168 MB / 0.7531 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001482/0.7357, allocations: 152.1 kB / 0.7532 GB, free: 23.74 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.402/2.138, allocations: 3.938 kB / 0.7532 GB, free: 23.73 MB / 0.5105 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/linux/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)