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.001072/0.001072, allocations: 90.44 kB / 15.06 MB, free: 1.094 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.001439/0.001439, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9112/0.9112, allocations: 135.3 MB / 426.4 MB, free: 14.4 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000327/0.000327, allocations: 12 kB / 0.5071 GB, free: 5.047 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1398, allocations: 82.31 MB / 0.5875 GB, free: 2.91 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.0005724/0.1405, allocations: 303.1 kB / 0.5878 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001637/0.1406, allocations: 27.92 kB / 0.5878 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.817e-06/0.1407, allocations: 4 kB / 0.5878 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.948e-06/0.1407, allocations: 0 / 0.5878 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.859e-06/0.1407, allocations: 0 / 0.5878 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001934/0.1409, allocations: 15.97 kB / 0.5878 GB, free: 2.562 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.216e-05/0.1409, allocations: 4 kB / 0.5878 GB, free: 2.559 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.461e-05/0.141, allocations: 0 / 0.5878 GB, free: 2.559 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.104e-05/0.141, allocations: 0 / 0.5878 GB, free: 2.559 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.798e-05/0.141, allocations: 4 kB / 0.5878 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.923e-06/0.141, allocations: 0 / 0.5878 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.392e-05/0.1411, allocations: 23.86 kB / 0.5878 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.53e-06/0.1411, allocations: 3.938 kB / 0.5879 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.801e-05/0.1412, allocations: 29.7 kB / 0.5879 GB, free: 2.492 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 4.943e-05/0.1412, allocations: 7.984 kB / 0.5879 GB, free: 2.484 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1412, allocations: 0 / 0.5879 GB, free: 2.484 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1412, allocations: 0 / 0.5879 GB, free: 2.484 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.1412, allocations: 0 / 0.5879 GB, free: 2.484 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.000226/0.1415, allocations: 319.4 kB / 0.5882 GB, free: 2.125 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.1415, allocations: 8.031 kB / 0.5882 GB, free: 2.117 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.448e-05/0.1415, allocations: 30.56 kB / 0.5882 GB, free: 2.078 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.696e-05/0.1416, allocations: 4 kB / 0.5882 GB, free: 2.074 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.229e-05/0.1416, allocations: 171 kB / 0.5884 GB, free: 1.867 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.504e-06/0.1417, allocations: 0 / 0.5884 GB, free: 1.867 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.563e-06/0.1417, allocations: 0 / 0.5884 GB, free: 1.867 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.474e-05/0.1417, allocations: 29.69 kB / 0.5884 GB, free: 1.832 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.1418, allocations: 7.922 kB / 0.5884 GB, free: 1.824 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.621e-06/0.1418, allocations: 0 / 0.5884 GB, free: 1.824 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.1418, allocations: 4 kB / 0.5884 GB, free: 1.82 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.58e-05/0.1418, allocations: 0 / 0.5884 GB, free: 1.82 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001122/0.1419, allocations: 149.6 kB / 0.5886 GB, free: 1.625 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.997e-05/0.142, allocations: 26.59 kB / 0.5886 GB, free: 1.59 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.332e-05/0.142, allocations: 4.859 kB / 0.5886 GB, free: 1.582 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/0.142, allocations: 4.062 kB / 0.5886 GB, free: 1.578 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.142, allocations: 30.56 kB / 0.5886 GB, free: 1.539 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 2.064e-06/0.142, allocations: 0 / 0.5886 GB, free: 1.539 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 9.911e-05/0.1421, allocations: 37.64 kB / 0.5887 GB, free: 1.496 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.1422, allocations: 51.53 kB / 0.5887 GB, free: 1.434 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.795e-05/0.1422, allocations: 93.86 kB / 0.5888 GB, free: 1.332 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.368e-06/0.1422, allocations: 25.7 kB / 0.5888 GB, free: 1.301 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.291e-05/0.1423, allocations: 84.14 kB / 0.5889 GB, free: 1.215 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.1423, allocations: 3.906 kB / 0.5889 GB, free: 1.211 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-06/0.1423, allocations: 0 / 0.5889 GB, free: 1.211 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.204e-05/0.1424, allocations: 314.8 kB / 0.5892 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.474e-06/0.1424, allocations: 0 / 0.5892 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.615e-06/0.1424, allocations: 4 kB / 0.5892 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.426e-05/0.1424, allocations: 11.95 kB / 0.5892 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1424, allocations: 0 / 0.5892 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.055e-05/0.1425, allocations: 37.64 kB / 0.5893 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.849e-06/0.1425, allocations: 8 kB / 0.5893 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.1425, allocations: 0 / 0.5893 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.675e-06/0.1425, allocations: 0 / 0.5893 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.295e-05/0.1426, allocations: 3.984 kB / 0.5893 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-06/0.1426, allocations: 7.938 kB / 0.5893 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.39e-05/0.1426, allocations: 4 kB / 0.5893 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.1426, allocations: 0 / 0.5893 GB, free: 0.8125 MB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.498e-05/0.1427, allocations: 113.8 kB / 0.5894 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.831e-06/0.1427, allocations: 0 / 0.5894 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.43e-05/0.1428, allocations: 48.75 kB / 0.5895 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.1428, allocations: 0 / 0.5895 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.1428, allocations: 0 / 0.5895 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.532e-06/0.1428, allocations: 0 / 0.5895 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.266e-05/0.1429, allocations: 153.7 kB / 0.5896 GB, free: 448 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1429, allocations: 3.953 kB / 0.5896 GB, free: 444 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.748e-05/0.1429, allocations: 3.984 kB / 0.5896 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1429, allocations: 0 / 0.5896 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.648e-06/0.1429, allocations: 0 / 0.5896 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.1429, allocations: 4 kB / 0.5896 GB, free: 436 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1429, allocations: 0 / 0.5896 GB, free: 436 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.487e-05/0.143, allocations: 53.14 kB / 0.5897 GB, free: 364 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.983e-05/0.143, allocations: 85.09 kB / 0.5897 GB, free: 260 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.051e-05/0.1431, allocations: 11.98 kB / 0.5898 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.999e-06/0.1431, allocations: 0 / 0.5898 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.23e-05/0.1431, allocations: 3.938 kB / 0.5898 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.1431, allocations: 0 / 0.5898 GB, free: 244 kB / 494.1 MB Notification: Performance of sorting global known variables: time 2.028e-05/0.1431, allocations: 75.28 kB / 0.5898 GB, free: 168 kB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1431, allocations: 0 / 0.5898 GB, free: 168 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001858/0.1433, allocations: 8 kB / 0.5898 GB, free: 160 kB / 494.1 MB 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 (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.000317/0.1436, allocations: 0.5971 MB / 0.5904 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 4.831e-05/0.1437, allocations: 4 kB / 0.5904 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1437, allocations: 0 / 0.5904 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.078e-05/0.1437, allocations: 11.88 kB / 0.5904 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001221/0.1439, allocations: 0 / 0.5904 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002247/0.1441, allocations: 112.6 kB / 0.5905 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001864/0.1443, allocations: 0.6692 MB / 0.5912 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.579e-05/0.1443, allocations: 4 kB / 0.5912 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.937e-05/0.1443, allocations: 7.438 kB / 0.5912 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1443, allocations: 0 / 0.5912 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009238/0.1536, allocations: 0.8257 MB / 0.592 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000243/0.1539, allocations: 187.6 kB / 0.5922 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.566/1.72, allocations: 0 / 0.5922 GB, free: 13.73 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/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) Environment - environmentSimulation: