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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001795/0.001795, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.174/2.174, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.463/1.463, allocations: 132.3 MB / 423.2 MB, free: 2.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003524/0.0003524, allocations: 8 kB / 0.5033 GB, free: 4.152 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5856/0.586, allocations: 81.57 MB / 0.583 GB, free: 3.973 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.0009473/0.587, allocations: 313.7 kB / 0.5833 GB, free: 3.762 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002531/0.5873, allocations: 35.56 kB / 0.5833 GB, free: 3.738 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.303e-05/0.5873, allocations: 1.062 kB / 0.5833 GB, free: 3.738 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.352e-05/0.5873, allocations: 0 / 0.5833 GB, free: 3.738 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.196e-06/0.5874, allocations: 0 / 0.5833 GB, free: 3.738 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003624/0.5877, allocations: 10.84 kB / 0.5833 GB, free: 3.734 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.939e-05/0.5878, allocations: 1.344 kB / 0.5833 GB, free: 3.734 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.139e-05/0.5879, allocations: 0.6562 kB / 0.5833 GB, free: 3.734 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.294e-05/0.5879, allocations: 6.141 kB / 0.5833 GB, free: 3.73 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.522e-05/0.588, allocations: 2.5 kB / 0.5833 GB, free: 3.73 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.588, allocations: 0.8125 kB / 0.5833 GB, free: 3.73 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.5882, allocations: 14.42 kB / 0.5833 GB, free: 3.727 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.698e-06/0.5882, allocations: 0.5156 kB / 0.5833 GB, free: 3.727 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.239e-05/0.5882, allocations: 26.23 kB / 0.5834 GB, free: 3.695 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.247e-05/0.5883, allocations: 12.83 kB / 0.5834 GB, free: 3.691 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.5883, allocations: 3.938 kB / 0.5834 GB, free: 3.688 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.5883, allocations: 0.7188 kB / 0.5834 GB, free: 3.688 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.5884, allocations: 0 / 0.5834 GB, free: 3.688 MB / 430.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.0002993/0.5887, allocations: 316.2 kB / 0.5837 GB, free: 3.336 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.577e-05/0.5887, allocations: 9.891 kB / 0.5837 GB, free: 3.336 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.33e-05/0.5888, allocations: 31.44 kB / 0.5837 GB, free: 3.297 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.327e-05/0.5888, allocations: 0 / 0.5837 GB, free: 3.297 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.589, allocations: 165.5 kB / 0.5839 GB, free: 3.098 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.589, allocations: 0 / 0.5839 GB, free: 3.098 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.589, allocations: 4.812 kB / 0.5839 GB, free: 3.094 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.5892, allocations: 29.08 kB / 0.5839 GB, free: 3.062 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.5892, allocations: 7.922 kB / 0.5839 GB, free: 3.055 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.5892, allocations: 4.75 kB / 0.5839 GB, free: 3.051 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.5892, allocations: 0.5625 kB / 0.5839 GB, free: 3.051 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.04e-05/0.5893, allocations: 1.938 kB / 0.5839 GB, free: 3.051 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001617/0.5894, allocations: 153.7 kB / 0.5841 GB, free: 2.855 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.349e-05/0.5895, allocations: 15.92 kB / 0.5841 GB, free: 2.832 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.073e-05/0.5895, allocations: 10.39 kB / 0.5841 GB, free: 2.824 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.5896, allocations: 31.17 kB / 0.5841 GB, free: 2.785 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.573e-06/0.5896, allocations: 4.812 kB / 0.5841 GB, free: 2.781 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001805/0.5898, allocations: 36.11 kB / 0.5842 GB, free: 2.746 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.5898, allocations: 53 kB / 0.5842 GB, free: 2.684 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.879e-05/0.5899, allocations: 89.86 kB / 0.5843 GB, free: 2.586 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.5899, allocations: 26.89 kB / 0.5843 GB, free: 2.555 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.027e-05/0.5899, allocations: 80.94 kB / 0.5844 GB, free: 2.473 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.121e-05/0.59, allocations: 3.906 kB / 0.5844 GB, free: 2.469 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-06/0.59, allocations: 1.031 kB / 0.5844 GB, free: 2.469 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.933e-05/0.5901, allocations: 315.6 kB / 0.5847 GB, free: 2.152 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.245e-05/0.5901, allocations: 1.312 kB / 0.5847 GB, free: 2.152 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.281e-05/0.5901, allocations: 5.312 kB / 0.5847 GB, free: 2.148 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.63e-05/0.5902, allocations: 5.672 kB / 0.5847 GB, free: 2.145 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.5902, allocations: 0.8125 kB / 0.5847 GB, free: 2.145 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.344e-05/0.5903, allocations: 36.72 kB / 0.5848 GB, free: 2.109 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.5903, allocations: 5.594 kB / 0.5848 GB, free: 2.109 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.5903, allocations: 0.7031 kB / 0.5848 GB, free: 2.109 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.5904, allocations: 9.406 kB / 0.5848 GB, free: 2.102 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.46e-05/0.5904, allocations: 2.078 kB / 0.5848 GB, free: 2.102 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.5905, allocations: 0 / 0.5848 GB, free: 2.102 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.019e-05/0.5905, allocations: 1.375 kB / 0.5848 GB, free: 2.102 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.262e-05/0.5905, allocations: 1.953 kB / 0.5848 GB, free: 2.102 MB / 430.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 8.894e-05/0.5906, allocations: 111.4 kB / 0.5849 GB, free: 1.984 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.333e-05/0.5906, allocations: 0.875 kB / 0.5849 GB, free: 1.984 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001568/0.5908, allocations: 49.91 kB / 0.5849 GB, free: 1.938 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.5908, allocations: 0 / 0.5849 GB, free: 1.938 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/0.5909, allocations: 0.7812 kB / 0.5849 GB, free: 1.938 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.5909, allocations: 0.7969 kB / 0.5849 GB, free: 1.938 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.906e-05/0.591, allocations: 144.6 kB / 0.5851 GB, free: 1.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.591, allocations: 3.953 kB / 0.5851 GB, free: 1.746 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.564e-05/0.591, allocations: 2.812 kB / 0.5851 GB, free: 1.746 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.5911, allocations: 0.6875 kB / 0.5851 GB, free: 1.746 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.5911, allocations: 1.531 kB / 0.5851 GB, free: 1.746 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.5911, allocations: 4 kB / 0.5851 GB, free: 1.742 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5911, allocations: 4.844 kB / 0.5851 GB, free: 1.738 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001013/0.5912, allocations: 66.09 kB / 0.5852 GB, free: 1.664 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.206e-05/0.5913, allocations: 81.77 kB / 0.5852 GB, free: 1.566 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.5913, allocations: 1.766 kB / 0.5852 GB, free: 1.566 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.766e-05/0.5913, allocations: 0 / 0.5852 GB, free: 1.566 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.223e-05/0.5914, allocations: 1.562 kB / 0.5852 GB, free: 1.566 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.5914, allocations: 2.094 kB / 0.5852 GB, free: 1.566 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.955e-05/0.5914, allocations: 79.31 kB / 0.5853 GB, free: 1.488 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5914, allocations: 0 / 0.5853 GB, free: 1.488 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003809/0.5918, allocations: 5.203 kB / 0.5853 GB, free: 1.488 MB / 430.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.0004342/0.5922, allocations: 0.6008 MB / 0.5859 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.6e-05/0.5924, allocations: 12.91 kB / 0.5859 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.5924, allocations: 0 / 0.5859 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.629e-05/0.5924, allocations: 3.25 kB / 0.5859 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001368/0.5926, allocations: 1 kB / 0.5859 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004405/0.593, allocations: 108.8 kB / 0.586 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001538/0.5932, allocations: 0.6752 MB / 0.5867 GB, free: 52 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.858e-05/0.5933, allocations: 5.312 kB / 0.5867 GB, free: 48 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.642e-05/0.5933, allocations: 8.906 kB / 0.5867 GB, free: 40 kB / 430.1 MB Notification: Performance of SimCode: time 6.92e-07/0.5933, allocations: 0 / 0.5867 GB, free: 40 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02256/0.6159, allocations: 0.8078 MB / 0.5875 GB, free: 15.91 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003413/0.6163, allocations: 170.6 kB / 0.5877 GB, free: 15.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.3/2.916, allocations: 0 / 0.5877 GB, free: 15.68 MB / 446.1 MB (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) Environment - environmentSimulation: