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.705/1.705, allocations: 288.2 MB / 303.2 MB, free: 8.176 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.001201/0.001201, allocations: 183.2 kB / 371.8 MB, free: 10.28 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.408/1.408, allocations: 205.4 MB / 0.6305 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.0008648/0.0008648, allocations: 97.53 kB / 0.7439 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004298/0.0004303, allocations: 13.09 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1815, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.00059/0.1821, allocations: 314.1 kB / 0.9798 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001567/0.1823, allocations: 33.69 kB / 0.9798 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.247e-06/0.1823, allocations: 0 / 0.9798 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.287e-05/0.1823, allocations: 3.938 kB / 0.9798 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.402e-06/0.1823, allocations: 0 / 0.9798 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002483/0.1826, allocations: 11.98 kB / 0.9798 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.881e-05/0.1826, allocations: 4 kB / 0.9798 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.058e-05/0.1827, allocations: 4 kB / 0.9798 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.634e-05/0.1827, allocations: 0 / 0.9798 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.874e-05/0.1828, allocations: 4 kB / 0.9798 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.656e-06/0.1828, allocations: 0 / 0.9798 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.575e-05/0.1829, allocations: 11.98 kB / 0.9799 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.604e-06/0.1829, allocations: 3.984 kB / 0.9799 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.705e-05/0.1829, allocations: 29.7 kB / 0.9799 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.259e-05/0.183, allocations: 7.984 kB / 0.9799 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.183, allocations: 3.938 kB / 0.9799 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.563e-06/0.183, allocations: 0 / 0.9799 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.183, allocations: 0 / 0.9799 GB, free: 27.16 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.0002196/0.1833, allocations: 323.4 kB / 0.9802 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.1833, allocations: 12.02 kB / 0.9802 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.773e-05/0.1833, allocations: 34.5 kB / 0.9802 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.113e-05/0.1834, allocations: 0 / 0.9802 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.371e-05/0.1834, allocations: 163 kB / 0.9804 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.1834, allocations: 0 / 0.9804 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.1835, allocations: 4 kB / 0.9804 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.794e-05/0.1835, allocations: 33.69 kB / 0.9804 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.1836, allocations: 0 / 0.9804 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-06/0.1836, allocations: 4 kB / 0.9804 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1836, allocations: 0 / 0.9804 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.905e-05/0.1836, allocations: 4 kB / 0.9804 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001076/0.1837, allocations: 145.6 kB / 0.9806 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.214e-05/0.1838, allocations: 22.55 kB / 0.9806 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.809e-05/0.1838, allocations: 0 / 0.9806 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.1838, allocations: 34.56 kB / 0.9806 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 9.51e-07/0.1838, allocations: 4 kB / 0.9806 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001213/0.184, allocations: 37.75 kB / 0.9807 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.184, allocations: 51.41 kB / 0.9807 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.685e-05/0.184, allocations: 89.86 kB / 0.9808 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.873e-06/0.184, allocations: 29.64 kB / 0.9808 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.087e-05/0.184, allocations: 80.14 kB / 0.9809 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.1841, allocations: 3.906 kB / 0.9809 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/0.1841, allocations: 0 / 0.9809 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.473e-05/0.1841, allocations: 319 kB / 0.9812 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.995e-06/0.1841, allocations: 4 kB / 0.9812 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.789e-06/0.1842, allocations: 0 / 0.9812 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.549e-05/0.1842, allocations: 3.984 kB / 0.9812 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1842, allocations: 0 / 0.9812 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.168e-05/0.1842, allocations: 37.66 kB / 0.9813 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.1842, allocations: 4 kB / 0.9813 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1843, allocations: 0 / 0.9813 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.1843, allocations: 0 / 0.9813 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.176e-05/0.1843, allocations: 8.094 kB / 0.9813 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.1843, allocations: 0 / 0.9813 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.295e-05/0.1844, allocations: 3.938 kB / 0.9813 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.1844, allocations: 0 / 0.9813 GB, free: 25.51 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.372e-05/0.1844, allocations: 118.5 kB / 0.9814 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.852e-06/0.1844, allocations: 3.953 kB / 0.9814 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.322e-05/0.1845, allocations: 53.03 kB / 0.9815 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.1845, allocations: 4 kB / 0.9815 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1845, allocations: 0 / 0.9815 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.1846, allocations: 3.984 kB / 0.9815 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.053e-05/0.1846, allocations: 141.7 kB / 0.9816 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.1846, allocations: 0 / 0.9816 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.683e-05/0.1846, allocations: 4 kB / 0.9816 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1846, allocations: 3.953 kB / 0.9816 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.1847, allocations: 0 / 0.9816 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.1847, allocations: 0 / 0.9816 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1847, allocations: 0 / 0.9816 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.216e-05/0.1847, allocations: 69.09 kB / 0.9817 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.982e-05/0.1848, allocations: 81.05 kB / 0.9817 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.1848, allocations: 3.953 kB / 0.9818 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.111e-05/0.1848, allocations: 0 / 0.9818 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.107e-05/0.1848, allocations: 0 / 0.9818 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.1848, allocations: 4 kB / 0.9818 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.348e-05/0.1848, allocations: 75.28 kB / 0.9818 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1848, allocations: 4.031 kB / 0.9818 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002058/0.1851, allocations: 7.984 kB / 0.9818 GB, free: 24.84 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.0002383/0.1853, allocations: 0.5968 MB / 0.9824 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.845e-05/0.1854, allocations: 8 kB / 0.9824 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1854, allocations: 4.094 kB / 0.9824 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.602e-06/0.1854, allocations: 4 kB / 0.9824 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.377e-05/0.1855, allocations: 3.953 kB / 0.9824 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002407/0.1857, allocations: 104.3 kB / 0.9825 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.919e-05/0.1858, allocations: 0.6731 MB / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.84e-05/0.1859, allocations: 8.062 kB / 0.9832 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.962e-05/0.1859, allocations: 7.438 kB / 0.9832 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.1859, allocations: 0 / 0.9832 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01026/0.1962, allocations: 0.8352 MB / 0.984 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001735/0.1964, allocations: 199.8 kB / 0.9842 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.381/1.577, allocations: 0 / 0.9842 GB, free: 22.41 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)