Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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.Examples.Polynomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Polynomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_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.007917/0.007917, allocations: 170 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7572/0.7572, allocations: 135.2 MB / 151 MB, free: 13.83 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.352/1.352, allocations: 223.2 MB / 406.8 MB, free: 3.25 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009185/0.0009183, allocations: 100.2 kB / 489.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005212/0.0005212, allocations: 16 kB / 0.5691 GB, free: 14.11 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4465/0.447, allocations: 82.3 MB / 0.6495 GB, free: 36.17 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1392/0.5863, allocations: 111.3 MB / 0.7582 GB, free: 4.723 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002512/0.5866, allocations: 75.95 kB / 0.7583 GB, free: 4.648 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002425/0.5891, allocations: 0.7912 MB / 0.7591 GB, free: 3.859 MB / 0.5261 GB Notification: Performance of FrontEnd: time 4.148e-06/0.5891, allocations: 0 / 0.7591 GB, free: 3.859 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.5891, allocations: 3.938 kB / 0.7591 GB, free: 3.855 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000398/0.5895, allocations: 355.2 kB / 0.7594 GB, free: 3.461 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.5896, allocations: 8.031 kB / 0.7594 GB, free: 3.453 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.502e-05/0.5896, allocations: 30.56 kB / 0.7594 GB, free: 3.414 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.204e-05/0.5896, allocations: 3.938 kB / 0.7594 GB, free: 3.41 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.5898, allocations: 178.9 kB / 0.7596 GB, free: 3.195 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.5898, allocations: 0 / 0.7596 GB, free: 3.195 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.5898, allocations: 0 / 0.7596 GB, free: 3.195 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.59, allocations: 61.67 kB / 0.7597 GB, free: 3.129 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.59, allocations: 0 / 0.7597 GB, free: 3.129 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.59, allocations: 0 / 0.7597 GB, free: 3.129 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.59, allocations: 0 / 0.7597 GB, free: 3.129 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001787/0.5902, allocations: 59.88 kB / 0.7597 GB, free: 3.07 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004102/0.5906, allocations: 272.9 kB / 0.76 GB, free: 2.754 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.5908, allocations: 42.55 kB / 0.76 GB, free: 2.703 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.209e-05/0.5908, allocations: 8.062 kB / 0.76 GB, free: 2.695 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.5908, allocations: 34.56 kB / 0.7601 GB, free: 2.652 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/0.5909, allocations: 3.938 kB / 0.7601 GB, free: 2.648 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0003698/0.5912, allocations: 109.6 kB / 0.7602 GB, free: 2.535 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.5913, allocations: 51.41 kB / 0.7602 GB, free: 2.473 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.169e-05/0.5914, allocations: 105 kB / 0.7603 GB, free: 2.363 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.5914, allocations: 25.7 kB / 0.7603 GB, free: 2.332 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.559e-05/0.5914, allocations: 84.08 kB / 0.7604 GB, free: 2.246 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.349e-05/0.5914, allocations: 3.906 kB / 0.7604 GB, free: 2.242 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-06/0.5915, allocations: 4.125 kB / 0.7604 GB, free: 2.238 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.5916, allocations: 326.8 kB / 0.7607 GB, free: 1.91 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.602e-05/0.5917, allocations: 19.98 kB / 0.7608 GB, free: 1.891 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.409e-05/0.5917, allocations: 19.98 kB / 0.7608 GB, free: 1.871 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.921e-05/0.5918, allocations: 32.03 kB / 0.7608 GB, free: 1.84 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.5918, allocations: 0 / 0.7608 GB, free: 1.84 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002019/0.5921, allocations: 81.59 kB / 0.7609 GB, free: 1.754 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.5921, allocations: 8.031 kB / 0.7609 GB, free: 1.746 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.5921, allocations: 0 / 0.7609 GB, free: 1.746 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.5921, allocations: 0 / 0.7609 GB, free: 1.746 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.101e-05/0.5922, allocations: 15.98 kB / 0.7609 GB, free: 1.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.5922, allocations: 0 / 0.7609 GB, free: 1.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.843e-05/0.5923, allocations: 4 kB / 0.7609 GB, free: 1.727 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.5923, allocations: 4 kB / 0.7609 GB, free: 1.723 MB / 0.5261 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.073e-05/0.5924, allocations: 121.8 kB / 0.761 GB, free: 1.594 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.486e-05/0.5924, allocations: 7.906 kB / 0.761 GB, free: 1.586 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000254/0.5927, allocations: 81.19 kB / 0.7611 GB, free: 1.496 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.5927, allocations: 7.938 kB / 0.7611 GB, free: 1.488 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.5927, allocations: 8.016 kB / 0.7611 GB, free: 1.48 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.5927, allocations: 0 / 0.7611 GB, free: 1.48 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.5928, allocations: 157.6 kB / 0.7613 GB, free: 1.277 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.5929, allocations: 0 / 0.7613 GB, free: 1.277 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.368e-05/0.5929, allocations: 19.92 kB / 0.7613 GB, free: 1.258 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.5929, allocations: 0 / 0.7613 GB, free: 1.258 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.5929, allocations: 0 / 0.7613 GB, free: 1.258 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.5929, allocations: 0 / 0.7613 GB, free: 1.258 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.593, allocations: 0 / 0.7613 GB, free: 1.258 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000282/0.5932, allocations: 183.5 kB / 0.7615 GB, free: 1.062 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.747e-05/0.5933, allocations: 81.02 kB / 0.7616 GB, free: 0.9648 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.5933, allocations: 7.938 kB / 0.7616 GB, free: 0.957 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.721e-05/0.5934, allocations: 12.03 kB / 0.7616 GB, free: 0.9453 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.429e-05/0.5934, allocations: 3.984 kB / 0.7616 GB, free: 0.9414 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-06/0.5934, allocations: 4 kB / 0.7616 GB, free: 0.9375 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.816e-05/0.5935, allocations: 79.53 kB / 0.7617 GB, free: 0.8594 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5935, allocations: 3.938 kB / 0.7617 GB, free: 0.8555 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002088/0.5937, allocations: 15.98 kB / 0.7617 GB, free: 0.8398 MB / 0.5261 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 (2): * Single equations (assignments): 2 * 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.0005492/0.5943, allocations: 0.7085 MB / 0.7624 GB, free: 108 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002012/0.5945, allocations: 51.98 kB / 0.7624 GB, free: 56 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.5945, allocations: 0 / 0.7624 GB, free: 56 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.794e-05/0.5946, allocations: 31.92 kB / 0.7625 GB, free: 24 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/0.5947, allocations: 1.109 kB / 0.7625 GB, free: 24 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000434/0.5952, allocations: 162.4 kB / 0.7626 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.5955, allocations: 0.677 MB / 0.7633 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.052e-05/0.5955, allocations: 8.188 kB / 0.7633 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.866e-05/0.5955, allocations: 11.44 kB / 0.7633 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of SimCode: time 3.71e-07/0.5955, allocations: 0 / 0.7633 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.011/0.6065, allocations: 1.13 MB / 0.7644 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000178/0.6068, allocations: 165.9 kB / 0.7646 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.533/2.139, allocations: 2.875 kB / 0.7646 GB, free: 13.82 MB / 0.5417 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_Polynomial.fmu > IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1)