Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.501/1.501, allocations: 288.4 MB / 303.6 MB, free: 8.109 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001307/0.001307, allocations: 184.5 kB / 372.3 MB, free: 10.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.227/1.227, allocations: 205.4 MB / 0.631 GB, free: 9.895 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000659/0.0006591, allocations: 82.38 kB / 0.7444 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004072/0.0004073, allocations: 18.16 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.175, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.0005865/0.1757, allocations: 319.8 kB / 0.9805 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001746/0.1759, allocations: 31.92 kB / 0.9805 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.588e-06/0.1759, allocations: 0 / 0.9805 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.877e-06/0.1759, allocations: 0 / 0.9805 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.314e-06/0.1759, allocations: 0 / 0.9805 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002236/0.1761, allocations: 19.92 kB / 0.9805 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.404e-05/0.1762, allocations: 4 kB / 0.9806 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.012e-05/0.1762, allocations: 0 / 0.9806 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.457e-05/0.1763, allocations: 8 kB / 0.9806 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.245e-05/0.1763, allocations: 7.969 kB / 0.9806 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.207e-06/0.1763, allocations: 0 / 0.9806 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.811e-05/0.1764, allocations: 11.98 kB / 0.9806 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.746e-06/0.1764, allocations: 4 kB / 0.9806 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.076e-05/0.1764, allocations: 25.7 kB / 0.9806 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.583e-05/0.1765, allocations: 7.984 kB / 0.9806 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1765, allocations: 4 kB / 0.9806 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.873e-06/0.1765, allocations: 4 kB / 0.9806 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.1765, allocations: 0 / 0.9806 GB, free: 26.82 MB / 0.6198 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.0001878/0.1767, allocations: 303.6 kB / 0.9809 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.1768, allocations: 16.03 kB / 0.9809 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.438e-05/0.1768, allocations: 34.69 kB / 0.981 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.111e-05/0.1768, allocations: 8.922 kB / 0.981 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.224e-05/0.1769, allocations: 160.4 kB / 0.9811 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.926e-06/0.1769, allocations: 384 / 0.9811 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.831e-06/0.1769, allocations: 384 / 0.9811 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.872e-05/0.177, allocations: 38.27 kB / 0.9812 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.177, allocations: 3.938 kB / 0.9812 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.177, allocations: 0 / 0.9812 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.177, allocations: 0 / 0.9812 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.776e-05/0.1771, allocations: 0 / 0.9812 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.193e-05/0.1772, allocations: 149.7 kB / 0.9813 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.197e-05/0.1772, allocations: 18.52 kB / 0.9813 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.417e-05/0.1772, allocations: 12.95 kB / 0.9813 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.1772, allocations: 4 kB / 0.9813 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.158e-05/0.1773, allocations: 30.56 kB / 0.9814 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.1773, allocations: 0 / 0.9814 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001145/0.1774, allocations: 49.5 kB / 0.9814 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.848e-05/0.1774, allocations: 51.41 kB / 0.9815 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.503e-05/0.1774, allocations: 89.86 kB / 0.9815 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.342e-06/0.1775, allocations: 25.7 kB / 0.9816 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.037e-06/0.1775, allocations: 84.27 kB / 0.9817 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.35e-05/0.1775, allocations: 3.906 kB / 0.9817 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.304e-06/0.1775, allocations: 0 / 0.9817 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.082e-05/0.1775, allocations: 318.8 kB / 0.982 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.326e-06/0.1776, allocations: 4 kB / 0.982 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.48e-06/0.1776, allocations: 0 / 0.982 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.178e-05/0.1776, allocations: 8.859 kB / 0.982 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.1776, allocations: 0 / 0.982 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.828e-05/0.1777, allocations: 41.69 kB / 0.982 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.1777, allocations: 5.875 kB / 0.982 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1777, allocations: 7.938 kB / 0.982 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.1777, allocations: 0 / 0.982 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.964e-05/0.1778, allocations: 0 / 0.982 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.1778, allocations: 0 / 0.982 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.269e-05/0.1778, allocations: 0 / 0.982 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.1778, allocations: 4 kB / 0.982 GB, free: 25.15 MB / 0.6198 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 4.24e-05/0.1778, allocations: 119.1 kB / 0.9821 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.311e-06/0.1779, allocations: 4 kB / 0.9821 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.724e-05/0.178, allocations: 49.02 kB / 0.9822 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.178, allocations: 0 / 0.9822 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.178, allocations: 0 / 0.9822 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.178, allocations: 0 / 0.9822 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.851e-05/0.178, allocations: 149.7 kB / 0.9823 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.178, allocations: 0 / 0.9823 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.814e-05/0.1781, allocations: 11.97 kB / 0.9823 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1781, allocations: 0 / 0.9823 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.72e-06/0.1781, allocations: 3.938 kB / 0.9824 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1781, allocations: 0 / 0.9824 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1781, allocations: 0 / 0.9824 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.641e-05/0.1781, allocations: 57.12 kB / 0.9824 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.374e-05/0.1782, allocations: 81.05 kB / 0.9825 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.011e-05/0.1782, allocations: 7.938 kB / 0.9825 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.114e-05/0.1782, allocations: 4.031 kB / 0.9825 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.397e-05/0.1782, allocations: 8 kB / 0.9825 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.1782, allocations: 0 / 0.9825 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.081e-05/0.1782, allocations: 75.28 kB / 0.9826 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.1782, allocations: 0 / 0.9826 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002018/0.1784, allocations: 8 kB / 0.9826 GB, free: 24.48 MB / 0.6198 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.0002332/0.1787, allocations: 0.6084 MB / 0.9832 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.27e-05/0.1787, allocations: 7.984 kB / 0.9832 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1788, allocations: 0 / 0.9832 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.084e-06/0.1788, allocations: 4 kB / 0.9832 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001243/0.1789, allocations: 0 / 0.9832 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002273/0.1791, allocations: 112.5 kB / 0.9833 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.207e-05/0.1792, allocations: 0.677 MB / 0.984 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.681e-05/0.1793, allocations: 4 kB / 0.984 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.137e-05/0.1793, allocations: 7.438 kB / 0.984 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of SimCode: time 4.21e-07/0.1793, allocations: 0 / 0.984 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2106/0.3899, allocations: 0.8286 MB / 0.9848 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000165/0.3901, allocations: 202.1 kB / 0.985 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.68/2.07, allocations: 0 / 0.985 GB, free: 22.05 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_Polynomial.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)