Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Polynomial,fileNamePrefix="IDEAS_dev_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.001187/0.001187, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7526/0.7526, allocations: 133.5 MB / 141.6 MB, free: 2.875 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 221.5 MB / 395.4 MB, free: 10.78 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.0008271/0.000827, allocations: 96.28 kB / 478.2 MB, free: 1.285 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.888e-05/1.891e-05, allocations: 12 kB / 0.5536 GB, free: 8.918 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4602/0.4602, allocations: 82.29 MB / 0.6339 GB, free: 40.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1427/0.603, allocations: 110.6 MB / 0.7419 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/0.6032, allocations: 75.95 kB / 0.742 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002477/0.6057, allocations: 0.7833 MB / 0.7427 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6058, allocations: 0 / 0.7427 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.6058, allocations: 0 / 0.7427 GB, free: 11.3 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.0003731/0.6062, allocations: 352.4 kB / 0.7431 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.6062, allocations: 8.031 kB / 0.7431 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.889e-05/0.6062, allocations: 3.906 kB / 0.7431 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.6064, allocations: 171 kB / 0.7432 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.6064, allocations: 0 / 0.7432 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.6064, allocations: 0 / 0.7432 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.453e-05/0.6065, allocations: 12 kB / 0.7433 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.499e-05/0.6066, allocations: 45.62 kB / 0.7433 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.6066, allocations: 4 kB / 0.7433 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.6066, allocations: 0 / 0.7433 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.6066, allocations: 4 kB / 0.7433 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004132/0.607, allocations: 249.5 kB / 0.7435 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.076e-05/0.6071, allocations: 26.58 kB / 0.7436 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.209e-05/0.6072, allocations: 20.91 kB / 0.7436 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.92e-05/0.6072, allocations: 4 kB / 0.7436 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.6072, allocations: 30.56 kB / 0.7436 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.6072, allocations: 0 / 0.7436 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0002124/0.6075, allocations: 53.53 kB / 0.7437 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.6075, allocations: 51.41 kB / 0.7437 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.634e-05/0.6076, allocations: 97 kB / 0.7438 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.6076, allocations: 33.67 kB / 0.7438 GB, free: 9.98 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.586e-05/0.6077, allocations: 84.14 kB / 0.7439 GB, free: 9.895 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.719e-05/0.6077, allocations: 11.83 kB / 0.7439 GB, free: 9.883 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-06/0.6077, allocations: 0 / 0.7439 GB, free: 9.883 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.6078, allocations: 318.8 kB / 0.7442 GB, free: 9.562 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.008e-05/0.6078, allocations: 8 kB / 0.7443 GB, free: 9.555 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.539e-05/0.6079, allocations: 8 kB / 0.7443 GB, free: 9.547 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.995e-05/0.6079, allocations: 7.984 kB / 0.7443 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.6079, allocations: 4.062 kB / 0.7443 GB, free: 9.535 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.662e-05/0.608, allocations: 41.7 kB / 0.7443 GB, free: 9.488 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.608, allocations: 4 kB / 0.7443 GB, free: 9.484 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.608, allocations: 3.984 kB / 0.7443 GB, free: 9.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.6081, allocations: 3.938 kB / 0.7443 GB, free: 9.477 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.826e-05/0.6082, allocations: 15.94 kB / 0.7443 GB, free: 9.461 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.6082, allocations: 3.984 kB / 0.7443 GB, free: 9.457 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.204e-05/0.6082, allocations: 7.984 kB / 0.7443 GB, free: 9.449 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.6083, allocations: 8.031 kB / 0.7444 GB, free: 9.441 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 () * 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.013e-05/0.6083, allocations: 104.9 kB / 0.7445 GB, free: 9.332 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.97e-05/0.6085, allocations: 45.69 kB / 0.7445 GB, free: 9.281 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.6085, allocations: 7.906 kB / 0.7445 GB, free: 9.273 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001279/0.6086, allocations: 65.56 kB / 0.7446 GB, free: 9.207 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.6086, allocations: 0 / 0.7446 GB, free: 9.207 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.6086, allocations: 0 / 0.7446 GB, free: 9.207 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.6086, allocations: 0 / 0.7446 GB, free: 9.207 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.6088, allocations: 142.2 kB / 0.7447 GB, free: 9.031 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.6088, allocations: 4 kB / 0.7447 GB, free: 9.027 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.348e-05/0.6089, allocations: 11.98 kB / 0.7447 GB, free: 9.016 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.6089, allocations: 0 / 0.7447 GB, free: 9.016 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.6089, allocations: 0 / 0.7447 GB, free: 9.016 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.6089, allocations: 0 / 0.7447 GB, free: 9.016 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6089, allocations: 0 / 0.7447 GB, free: 9.016 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/0.609, allocations: 151.8 kB / 0.7449 GB, free: 8.852 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.157e-05/0.6091, allocations: 77.11 kB / 0.7449 GB, free: 8.758 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.6091, allocations: 7.984 kB / 0.7449 GB, free: 8.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.813e-05/0.6092, allocations: 8 kB / 0.745 GB, free: 8.742 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.824e-05/0.6092, allocations: 3.984 kB / 0.745 GB, free: 8.738 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.6092, allocations: 3.938 kB / 0.745 GB, free: 8.734 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.773e-05/0.6093, allocations: 91.22 kB / 0.745 GB, free: 8.645 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6093, allocations: 0 / 0.745 GB, free: 8.645 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002038/0.6095, allocations: 8.031 kB / 0.7451 GB, free: 8.637 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 () * 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.000424/0.6099, allocations: 0.6802 MB / 0.7457 GB, free: 7.93 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 6.988e-05/0.61, allocations: 12 kB / 0.7457 GB, free: 7.918 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.61, allocations: 0 / 0.7457 GB, free: 7.918 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.423e-05/0.6101, allocations: 24.02 kB / 0.7458 GB, free: 7.895 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.6102, allocations: 1.719 kB / 0.7458 GB, free: 7.895 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003309/0.6106, allocations: 101.6 kB / 0.7459 GB, free: 7.758 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.6108, allocations: 0.6846 MB / 0.7465 GB, free: 7.047 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.305e-05/0.6109, allocations: 0 / 0.7465 GB, free: 7.047 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.825e-05/0.6109, allocations: 15.44 kB / 0.7465 GB, free: 7.031 MB / 0.5261 GB Notification: Performance of SimCode: time 2.8e-07/0.6109, allocations: 0 / 0.7465 GB, free: 7.031 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01842/0.6293, allocations: 0.8366 MB / 0.7474 GB, free: 6.199 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002124/0.6296, allocations: 123.8 kB / 0.7475 GB, free: 6.008 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.398/2.028, allocations: 0 / 0.7475 GB, free: 6.008 MB / 0.5261 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_Polynomial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1)