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.763/1.763, allocations: 288.4 MB / 303.3 MB, free: 8.152 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.0009669/0.000967, allocations: 196.5 kB / 372 MB, free: 10.25 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.435/1.435, allocations: 205.4 MB / 0.6307 GB, free: 9.973 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.0007054/0.0007054, allocations: 94.92 kB / 0.744 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003947/0.0003948, allocations: 17.03 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2012, allocations: 115.3 MB / 0.9797 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.000575/0.2018, allocations: 315.8 kB / 0.98 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001625/0.2019, allocations: 27.97 kB / 0.98 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.538e-06/0.202, allocations: 0 / 0.98 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.736e-06/0.202, allocations: 3.938 kB / 0.98 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.869e-06/0.202, allocations: 0 / 0.98 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002017/0.2022, allocations: 12 kB / 0.98 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.203e-05/0.2022, allocations: 0 / 0.98 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.045e-05/0.2023, allocations: 7.922 kB / 0.98 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.541e-05/0.2023, allocations: 4 kB / 0.98 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.591e-05/0.2024, allocations: 4 kB / 0.98 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.085e-06/0.2024, allocations: 0 / 0.98 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.807e-05/0.2025, allocations: 15.98 kB / 0.98 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.039e-06/0.2025, allocations: 0 / 0.98 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.392e-05/0.2025, allocations: 25.7 kB / 0.9801 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.218e-05/0.2025, allocations: 11.98 kB / 0.9801 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2026, allocations: 0 / 0.9801 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2026, allocations: 4 kB / 0.9801 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.2026, allocations: 3.938 kB / 0.9801 GB, free: 27.12 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.0001785/0.2028, allocations: 307.4 kB / 0.9804 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.2028, allocations: 20.08 kB / 0.9804 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.714e-05/0.2028, allocations: 34.56 kB / 0.9804 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.931e-05/0.2029, allocations: 0 / 0.9804 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.822e-05/0.2029, allocations: 167 kB / 0.9806 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.2029, allocations: 3.938 kB / 0.9806 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.561e-06/0.2029, allocations: 0 / 0.9806 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.92e-05/0.203, allocations: 29.7 kB / 0.9806 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.203, allocations: 0 / 0.9806 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.091e-06/0.203, allocations: 0 / 0.9806 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.2031, allocations: 0 / 0.9806 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.751e-05/0.2031, allocations: 7.984 kB / 0.9806 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.193e-05/0.2032, allocations: 157.6 kB / 0.9808 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 2.84e-05/0.2032, allocations: 18.58 kB / 0.9808 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.307e-05/0.2032, allocations: 8.953 kB / 0.9808 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.2033, allocations: 0 / 0.9808 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.416e-05/0.2033, allocations: 30.56 kB / 0.9808 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 6.81e-07/0.2033, allocations: 4 kB / 0.9808 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 9.933e-05/0.2034, allocations: 41.62 kB / 0.9809 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.01e-05/0.2034, allocations: 51.41 kB / 0.9809 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.503e-05/0.2034, allocations: 93.86 kB / 0.981 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.442e-06/0.2034, allocations: 25.7 kB / 0.981 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.188e-06/0.2035, allocations: 80.14 kB / 0.9811 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/0.2035, allocations: 3.906 kB / 0.9811 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.014e-06/0.2035, allocations: 0 / 0.9811 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.963e-05/0.2035, allocations: 315 kB / 0.9814 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.686e-06/0.2036, allocations: 4 kB / 0.9814 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.31e-06/0.2036, allocations: 0 / 0.9814 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.447e-05/0.2036, allocations: 4 kB / 0.9814 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2036, allocations: 0 / 0.9814 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.37e-05/0.2036, allocations: 41.64 kB / 0.9815 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.2037, allocations: 7.938 kB / 0.9815 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.2037, allocations: 3.938 kB / 0.9815 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.2037, allocations: 0 / 0.9815 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.453e-05/0.2037, allocations: 4.094 kB / 0.9815 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.2037, allocations: 7.984 kB / 0.9815 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.411e-05/0.2038, allocations: 0 / 0.9815 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.2038, allocations: 0 / 0.9815 GB, free: 25.45 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.175e-05/0.2039, allocations: 117.8 kB / 0.9816 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.532e-06/0.2039, allocations: 3.953 kB / 0.9816 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.322e-05/0.204, allocations: 37.11 kB / 0.9816 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.204, allocations: 7.938 kB / 0.9816 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.204, allocations: 3.984 kB / 0.9816 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.204, allocations: 0 / 0.9816 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.86e-05/0.204, allocations: 149.7 kB / 0.9818 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.204, allocations: 0 / 0.9818 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.73e-05/0.2041, allocations: 4 kB / 0.9818 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.2041, allocations: 3.953 kB / 0.9818 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.209e-06/0.2041, allocations: 3.938 kB / 0.9818 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2041, allocations: 0 / 0.9818 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2041, allocations: 0 / 0.9818 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.174e-05/0.2041, allocations: 61.16 kB / 0.9819 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.61e-05/0.2042, allocations: 85.05 kB / 0.9819 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.909e-06/0.2042, allocations: 3.953 kB / 0.9819 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.184e-05/0.2042, allocations: 4 kB / 0.9819 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.088e-05/0.2042, allocations: 0 / 0.9819 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-06/0.2042, allocations: 4 kB / 0.9819 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.244e-05/0.2042, allocations: 75.28 kB / 0.982 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2043, allocations: 4.031 kB / 0.982 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001917/0.2045, allocations: 7.984 kB / 0.982 GB, free: 24.79 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.0002688/0.2047, allocations: 0.6007 MB / 0.9826 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.426e-05/0.2048, allocations: 4 kB / 0.9826 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2048, allocations: 4.094 kB / 0.9826 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.512e-06/0.2048, allocations: 0 / 0.9826 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001265/0.2049, allocations: 7.953 kB / 0.9826 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002221/0.2052, allocations: 108.3 kB / 0.9827 GB, free: 24 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.656e-05/0.2053, allocations: 0.677 MB / 0.9834 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.027e-05/0.2053, allocations: 4.062 kB / 0.9834 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.998e-05/0.2053, allocations: 11.44 kB / 0.9834 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.2053, allocations: 0 / 0.9834 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009507/0.2149, allocations: 0.8408 MB / 0.9842 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001408/0.215, allocations: 201.5 kB / 0.9844 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.461/1.676, allocations: 0 / 0.9844 GB, free: 22.36 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)