Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Polynomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Polynomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8088/0.8088, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001274, allocations: 178.3 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.684/1.684, allocations: 221.3 MB / 441.4 MB, free: 4.578 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.001095/0.001095, allocations: 96.55 kB / 0.5124 GB, free: 24.22 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001959/0.001959, allocations: 280 kB / 0.5939 GB, free: 7.949 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 5.157e-05/5.159e-05, allocations: 4 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5863/0.5864, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1393/0.7258, allocations: 108.6 MB / 0.8704 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/0.7261, allocations: 71.89 kB / 0.8705 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.002501/0.7286, allocations: 0.789 MB / 0.8712 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.924e-06/0.7287, allocations: 4 kB / 0.8712 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.306e-06/0.7287, allocations: 0 / 0.8712 GB, free: 15.12 MB / 0.5417 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.0004028/0.7291, allocations: 338.4 kB / 0.8716 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.7292, allocations: 8.031 kB / 0.8716 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.314e-05/0.7292, allocations: 30.56 kB / 0.8716 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.748e-05/0.7293, allocations: 4 kB / 0.8716 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.7294, allocations: 171 kB / 0.8718 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.7294, allocations: 11.95 kB / 0.8718 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.7294, allocations: 0 / 0.8718 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.7296, allocations: 37.7 kB / 0.8718 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.7296, allocations: 3.984 kB / 0.8718 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.7296, allocations: 0 / 0.8718 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.7296, allocations: 0 / 0.8718 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.546e-05/0.7297, allocations: 15.94 kB / 0.8718 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004757/0.7302, allocations: 280.9 kB / 0.8721 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 6.526e-05/0.7303, allocations: 30.56 kB / 0.8721 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.079e-05/0.7303, allocations: 12.91 kB / 0.8721 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.658e-05/0.7303, allocations: 4 kB / 0.8721 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.7304, allocations: 34.56 kB / 0.8722 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.213e-06/0.7304, allocations: 4 kB / 0.8722 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0001742/0.7306, allocations: 49.62 kB / 0.8722 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.7306, allocations: 51.41 kB / 0.8723 GB, free: 13.87 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.803e-05/0.7307, allocations: 101 kB / 0.8724 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.7307, allocations: 25.7 kB / 0.8724 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.407e-05/0.7308, allocations: 84.14 kB / 0.8725 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.7308, allocations: 15.83 kB / 0.8725 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-06/0.7308, allocations: 0 / 0.8725 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.731, allocations: 322.8 kB / 0.8728 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.169e-05/0.731, allocations: 8 kB / 0.8728 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.46e-05/0.731, allocations: 4 kB / 0.8728 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.663e-05/0.7311, allocations: 11.98 kB / 0.8728 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.7311, allocations: 4 kB / 0.8728 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.656e-05/0.7311, allocations: 49.55 kB / 0.8729 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.7312, allocations: 5.562 kB / 0.8729 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.7312, allocations: 0 / 0.8729 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.7312, allocations: 0 / 0.8729 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.643e-05/0.7313, allocations: 20.02 kB / 0.8729 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.7313, allocations: 4 kB / 0.8729 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.968e-05/0.7314, allocations: 7.984 kB / 0.8729 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.7314, allocations: 0 / 0.8729 GB, free: 13.19 MB / 0.5417 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.497e-05/0.7315, allocations: 108.9 kB / 0.873 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.083e-05/0.7315, allocations: 0 / 0.873 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001312/0.7316, allocations: 61.33 kB / 0.8731 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.7317, allocations: 4 kB / 0.8731 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.7317, allocations: 0 / 0.8731 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.7317, allocations: 3.938 kB / 0.8731 GB, free: 13 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.7318, allocations: 157.6 kB / 0.8732 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.7318, allocations: 0 / 0.8732 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.442e-05/0.7319, allocations: 15.98 kB / 0.8732 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.7319, allocations: 0 / 0.8732 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.7319, allocations: 0 / 0.8732 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.7319, allocations: 32 / 0.8732 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.732, allocations: 4 kB / 0.8732 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.7321, allocations: 143.5 kB / 0.8734 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.51e-05/0.7321, allocations: 88.95 kB / 0.8735 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.7322, allocations: 0 / 0.8735 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.003e-05/0.7323, allocations: 8 kB / 0.8735 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.865e-05/0.7323, allocations: 4.016 kB / 0.8735 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.7323, allocations: 8 kB / 0.8735 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.248e-05/0.7324, allocations: 83.28 kB / 0.8736 GB, free: 12.42 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7324, allocations: 0 / 0.8736 GB, free: 12.42 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002076/0.7326, allocations: 12 kB / 0.8736 GB, free: 12.41 MB / 0.5417 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.0004517/0.733, allocations: 0.6855 MB / 0.8742 GB, free: 11.69 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 9.183e-05/0.7331, allocations: 19.98 kB / 0.8743 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.7331, allocations: 0 / 0.8743 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.774e-05/0.7332, allocations: 15.94 kB / 0.8743 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001622/0.7333, allocations: 0 / 0.8743 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003446/0.7337, allocations: 98.77 kB / 0.8744 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.734, allocations: 0.6887 MB / 0.875 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.58e-05/0.734, allocations: 4.125 kB / 0.875 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.076e-05/0.734, allocations: 11.44 kB / 0.8751 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of SimCode: time 4.51e-07/0.734, allocations: 0 / 0.8751 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01232/0.7464, allocations: 1.162 MB / 0.8762 GB, free: 9.766 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002483/0.7467, allocations: 153.9 kB / 0.8763 GB, free: 9.543 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.669/2.416, allocations: 3.938 kB / 0.8763 GB, free: 9.539 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Polynomial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe 2>&1)