Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Examples.Polynomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Polynomial,fileNamePrefix="IBPSA_latest_IBPSA_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.001107/0.001107, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4829/0.4829, allocations: 90.81 MB / 104.5 MB, free: 13.94 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 221.3 MB / 348.3 MB, free: 12.57 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008218/0.0008218, allocations: 102.6 kB / 421.2 MB, free: 5.695 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.499e-05/2.5e-05, allocations: 4 kB / 0.4897 GB, free: 46.55 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1143, allocations: 72.31 MB / 0.5603 GB, free: 6.332 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3814/0.4957, allocations: 101.4 MB / 0.6594 GB, free: 6.43 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000178/0.496, allocations: 71.58 kB / 0.6595 GB, free: 6.391 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002311/0.4983, allocations: 0.7915 MB / 0.6602 GB, free: 5.664 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4983, allocations: 0 / 0.6602 GB, free: 5.664 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.4983, allocations: 0 / 0.6602 GB, free: 5.664 MB / 458.7 MB 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.0003497/0.4987, allocations: 345.8 kB / 0.6606 GB, free: 5.285 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.4987, allocations: 11.98 kB / 0.6606 GB, free: 5.273 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.716e-05/0.4988, allocations: 30.56 kB / 0.6606 GB, free: 5.234 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.313e-05/0.4988, allocations: 7.953 kB / 0.6606 GB, free: 5.227 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.4989, allocations: 159.1 kB / 0.6608 GB, free: 5.031 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.4989, allocations: 0 / 0.6608 GB, free: 5.031 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.4989, allocations: 9.062 kB / 0.6608 GB, free: 5.027 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.938e-05/0.499, allocations: 37.31 kB / 0.6608 GB, free: 4.988 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.4991, allocations: 3.938 kB / 0.6608 GB, free: 4.984 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.4991, allocations: 2.734 kB / 0.6608 GB, free: 4.984 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.4991, allocations: 8 kB / 0.6608 GB, free: 4.977 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.806e-05/0.4991, allocations: 19.25 kB / 0.6608 GB, free: 4.961 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003915/0.4995, allocations: 270.9 kB / 0.6611 GB, free: 4.656 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.418e-05/0.4996, allocations: 26.08 kB / 0.6611 GB, free: 4.625 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.654e-05/0.4996, allocations: 20.41 kB / 0.6611 GB, free: 4.605 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.73e-05/0.4997, allocations: 0 / 0.6611 GB, free: 4.605 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.4997, allocations: 38.5 kB / 0.6612 GB, free: 4.559 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.4997, allocations: 0 / 0.6612 GB, free: 4.559 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001402/0.4999, allocations: 52.2 kB / 0.6612 GB, free: 4.508 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.4999, allocations: 51.41 kB / 0.6613 GB, free: 4.445 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.333e-05/0.5, allocations: 96.25 kB / 0.6614 GB, free: 4.348 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.5, allocations: 29.73 kB / 0.6614 GB, free: 4.312 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.605e-05/0.5, allocations: 83.7 kB / 0.6615 GB, free: 4.23 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.567e-05/0.5001, allocations: 11.84 kB / 0.6615 GB, free: 4.219 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-06/0.5001, allocations: 0 / 0.6615 GB, free: 4.219 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.5002, allocations: 317.8 kB / 0.6618 GB, free: 3.902 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.5002, allocations: 4 kB / 0.6618 GB, free: 3.898 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.505e-05/0.5002, allocations: 7.938 kB / 0.6618 GB, free: 3.895 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.128e-05/0.5002, allocations: 4 kB / 0.6618 GB, free: 3.891 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5003, allocations: 4 kB / 0.6618 GB, free: 3.887 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.786e-05/0.5003, allocations: 57.25 kB / 0.6619 GB, free: 3.832 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.5004, allocations: 4.938 kB / 0.6619 GB, free: 3.828 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.5004, allocations: 0.875 kB / 0.6619 GB, free: 3.828 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.5004, allocations: 3.938 kB / 0.6619 GB, free: 3.824 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.16e-05/0.5005, allocations: 19.88 kB / 0.6619 GB, free: 3.805 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.5005, allocations: 3.984 kB / 0.6619 GB, free: 3.801 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.151e-05/0.5006, allocations: 11.98 kB / 0.6619 GB, free: 3.789 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.5006, allocations: 4.031 kB / 0.6619 GB, free: 3.785 MB / 458.7 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 () * 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 6.64e-05/0.5006, allocations: 101 kB / 0.662 GB, free: 3.68 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.5007, allocations: 7.906 kB / 0.662 GB, free: 3.672 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001229/0.5008, allocations: 60.78 kB / 0.6621 GB, free: 3.613 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.5008, allocations: 0 / 0.6621 GB, free: 3.613 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.5008, allocations: 7.938 kB / 0.6621 GB, free: 3.605 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.5008, allocations: 4 kB / 0.6621 GB, free: 3.602 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/0.501, allocations: 153.4 kB / 0.6622 GB, free: 3.406 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.501, allocations: 4.031 kB / 0.6622 GB, free: 3.402 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.559e-05/0.5011, allocations: 15.05 kB / 0.6623 GB, free: 3.391 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.5011, allocations: 0 / 0.6623 GB, free: 3.391 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.5011, allocations: 4 kB / 0.6623 GB, free: 3.387 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.5011, allocations: 0 / 0.6623 GB, free: 3.387 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.5011, allocations: 0 / 0.6623 GB, free: 3.387 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.5013, allocations: 149.4 kB / 0.6624 GB, free: 3.23 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.239e-05/0.5013, allocations: 85.14 kB / 0.6625 GB, free: 3.129 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.5013, allocations: 3.984 kB / 0.6625 GB, free: 3.125 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.726e-05/0.5014, allocations: 4 kB / 0.6625 GB, free: 3.121 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.335e-05/0.5015, allocations: 7.984 kB / 0.6625 GB, free: 3.113 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.5015, allocations: 0 / 0.6625 GB, free: 3.113 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.955e-05/0.5015, allocations: 82.78 kB / 0.6626 GB, free: 3.035 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5015, allocations: 0 / 0.6626 GB, free: 3.035 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002063/0.5017, allocations: 19.86 kB / 0.6626 GB, free: 3.016 MB / 458.7 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 () * 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.0003844/0.5021, allocations: 0.6827 MB / 0.6633 GB, free: 2.312 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 7.32e-05/0.5022, allocations: 18.44 kB / 0.6633 GB, free: 2.297 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.5022, allocations: 0 / 0.6633 GB, free: 2.297 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.492e-05/0.5022, allocations: 10.86 kB / 0.6633 GB, free: 2.289 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001351/0.5024, allocations: 8.156 kB / 0.6633 GB, free: 2.281 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003188/0.5027, allocations: 104.9 kB / 0.6634 GB, free: 2.148 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.503, allocations: 0.6809 MB / 0.6641 GB, free: 1.441 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.267e-05/0.503, allocations: 4 kB / 0.6641 GB, free: 1.438 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.647e-05/0.503, allocations: 10.31 kB / 0.6641 GB, free: 1.43 MB / 458.7 MB Notification: Performance of SimCode: time 2.4e-07/0.503, allocations: 0 / 0.6641 GB, free: 1.43 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01026/0.5133, allocations: 1.15 MB / 0.6652 GB, free: 396 kB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/0.5135, allocations: 140.9 kB / 0.6653 GB, free: 168 kB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.345/1.859, allocations: 0 / 0.6653 GB, free: 168 kB / 458.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_Polynomial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe 2>&1)