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.0113/0.0113, allocations: 171.1 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8621/0.8621, allocations: 135.2 MB / 151 MB, free: 13.8 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.558/1.558, allocations: 223.2 MB / 406.8 MB, free: 3.219 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.0008752/0.0008752, allocations: 104.3 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003881/0.000388, allocations: 12 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4602/0.4606, allocations: 82.31 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1488/0.6094, allocations: 110.6 MB / 0.7575 GB, free: 5.402 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/0.6097, allocations: 71.95 kB / 0.7576 GB, free: 5.332 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.001229/0.611, allocations: 487 kB / 0.7581 GB, free: 4.855 MB / 0.5261 GB Notification: Performance of FrontEnd: time 4.449e-06/0.611, allocations: 0 / 0.7581 GB, free: 4.855 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.6111, allocations: 0 / 0.7581 GB, free: 4.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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002823/0.6113, allocations: 319.4 kB / 0.7584 GB, free: 4.496 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.713e-05/0.6114, allocations: 8.031 kB / 0.7584 GB, free: 4.488 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.279e-05/0.6115, allocations: 30.56 kB / 0.7584 GB, free: 4.449 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.971e-05/0.6115, allocations: 4 kB / 0.7584 GB, free: 4.445 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.6116, allocations: 167 kB / 0.7586 GB, free: 4.242 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.6117, allocations: 0 / 0.7586 GB, free: 4.242 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.6117, allocations: 4 kB / 0.7586 GB, free: 4.238 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.6118, allocations: 25.7 kB / 0.7586 GB, free: 4.207 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.6118, allocations: 3.938 kB / 0.7586 GB, free: 4.203 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.6118, allocations: 4 kB / 0.7586 GB, free: 4.199 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.6119, allocations: 3.984 kB / 0.7586 GB, free: 4.195 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.816e-05/0.6119, allocations: 4 kB / 0.7586 GB, free: 4.191 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000195/0.6121, allocations: 149.6 kB / 0.7588 GB, free: 3.996 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.471e-05/0.6122, allocations: 26.06 kB / 0.7588 GB, free: 3.965 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.071e-05/0.6122, allocations: 3.938 kB / 0.7588 GB, free: 3.961 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.6122, allocations: 34.56 kB / 0.7588 GB, free: 3.918 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.362e-06/0.6122, allocations: 0 / 0.7588 GB, free: 3.918 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.000158/0.6124, allocations: 37.7 kB / 0.7589 GB, free: 3.875 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.6125, allocations: 55.34 kB / 0.7589 GB, free: 3.809 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.108e-05/0.6125, allocations: 85 kB / 0.759 GB, free: 3.719 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.6125, allocations: 25.7 kB / 0.759 GB, free: 3.688 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.574e-05/0.6126, allocations: 80.14 kB / 0.7591 GB, free: 3.605 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.587e-05/0.6126, allocations: 11.89 kB / 0.7591 GB, free: 3.594 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-06/0.6126, allocations: 0 / 0.7591 GB, free: 3.594 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.6128, allocations: 319 kB / 0.7594 GB, free: 3.273 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.718e-06/0.6128, allocations: 0 / 0.7594 GB, free: 3.273 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.041e-06/0.6128, allocations: 0 / 0.7594 GB, free: 3.273 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.07e-05/0.6129, allocations: 0 / 0.7594 GB, free: 3.273 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.6129, allocations: 4 kB / 0.7594 GB, free: 3.27 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.924e-05/0.6129, allocations: 37.59 kB / 0.7594 GB, free: 3.227 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.613, allocations: 4 kB / 0.7594 GB, free: 3.223 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.613, allocations: 0 / 0.7594 GB, free: 3.223 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.613, allocations: 0 / 0.7594 GB, free: 3.223 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.246e-05/0.6131, allocations: 12.08 kB / 0.7595 GB, free: 3.211 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.6131, allocations: 0 / 0.7595 GB, free: 3.211 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.7e-05/0.6131, allocations: 3.938 kB / 0.7595 GB, free: 3.207 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.6131, allocations: 4 kB / 0.7595 GB, free: 3.203 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 (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.287e-05/0.6132, allocations: 109.8 kB / 0.7596 GB, free: 3.086 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.005e-05/0.6132, allocations: 7.953 kB / 0.7596 GB, free: 3.078 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001229/0.6133, allocations: 48.75 kB / 0.7596 GB, free: 3.023 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.6134, allocations: 0 / 0.7596 GB, free: 3.023 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.6134, allocations: 0 / 0.7596 GB, free: 3.023 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.6134, allocations: 0 / 0.7596 GB, free: 3.023 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.101e-05/0.6135, allocations: 141.7 kB / 0.7598 GB, free: 2.836 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.6135, allocations: 0 / 0.7598 GB, free: 2.836 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.992e-05/0.6135, allocations: 11.98 kB / 0.7598 GB, free: 2.824 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.6135, allocations: 3.953 kB / 0.7598 GB, free: 2.82 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.6135, allocations: 0 / 0.7598 GB, free: 2.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.6135, allocations: 0 / 0.7598 GB, free: 2.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6135, allocations: 0 / 0.7598 GB, free: 2.82 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.529e-05/0.6136, allocations: 57.17 kB / 0.7598 GB, free: 2.746 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.511e-05/0.6137, allocations: 81.09 kB / 0.7599 GB, free: 2.648 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.6137, allocations: 3.953 kB / 0.7599 GB, free: 2.645 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.413e-05/0.6137, allocations: 0 / 0.7599 GB, free: 2.645 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.63e-05/0.6137, allocations: 3.938 kB / 0.7599 GB, free: 2.641 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.6137, allocations: 4 kB / 0.7599 GB, free: 2.637 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.572e-05/0.6138, allocations: 91.19 kB / 0.76 GB, free: 2.547 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6138, allocations: 0 / 0.76 GB, free: 2.547 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002078/0.614, allocations: 4 kB / 0.76 GB, free: 2.543 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 (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.0004261/0.6144, allocations: 0.5969 MB / 0.7606 GB, free: 1.914 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 6.798e-05/0.6145, allocations: 8.031 kB / 0.7606 GB, free: 1.906 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.6145, allocations: 0 / 0.7606 GB, free: 1.906 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.436e-06/0.6145, allocations: 3.938 kB / 0.7606 GB, free: 1.902 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001003/0.6146, allocations: 8.938 kB / 0.7606 GB, free: 1.895 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003058/0.615, allocations: 100.4 kB / 0.7607 GB, free: 1.754 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.6153, allocations: 0.6731 MB / 0.7614 GB, free: 1.055 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.414e-05/0.6153, allocations: 12.11 kB / 0.7614 GB, free: 1.043 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.446e-05/0.6153, allocations: 7.438 kB / 0.7614 GB, free: 1.035 MB / 0.5261 GB Notification: Performance of SimCode: time 3.1e-07/0.6153, allocations: 0 / 0.7614 GB, free: 1.035 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01351/0.6289, allocations: 0.8082 MB / 0.7622 GB, free: 336 kB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002973/0.6292, allocations: 166.5 kB / 0.7623 GB, free: 96 kB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.422/2.052, allocations: 0 / 0.7623 GB, free: 96 kB / 0.5261 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)