Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.338/1.338, allocations: 252 MB / 267.3 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009652/0.000965, allocations: 175.5 kB / 327 MB, free: 2.09 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.56/1.56, allocations: 205.4 MB / 0.578 GB, free: 20.11 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007122/0.0007123, allocations: 87.75 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003306/0.0003307, allocations: 13.09 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1848, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.0007067/0.1855, allocations: 326.1 kB / 0.9012 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002377/0.1858, allocations: 37.23 kB / 0.9013 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.145e-05/0.1858, allocations: 0 / 0.9013 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.241e-05/0.1859, allocations: 3.938 kB / 0.9013 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.63e-06/0.1859, allocations: 0 / 0.9013 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002619/0.1861, allocations: 7.984 kB / 0.9013 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.053e-05/0.1862, allocations: 8 kB / 0.9013 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.96e-05/0.1862, allocations: 3.984 kB / 0.9013 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.873e-05/0.1863, allocations: 0 / 0.9013 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.862e-05/0.1863, allocations: 11.98 kB / 0.9013 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.1863, allocations: 0 / 0.9013 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.986e-05/0.1864, allocations: 15.92 kB / 0.9013 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.17e-05/0.1865, allocations: 4 kB / 0.9013 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.127e-05/0.1865, allocations: 25.7 kB / 0.9014 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.353e-05/0.1866, allocations: 11.98 kB / 0.9014 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.1866, allocations: 4 kB / 0.9014 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.993e-06/0.1866, allocations: 0 / 0.9014 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.1866, allocations: 0 / 0.9014 GB, free: 62.94 MB / 0.6042 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.0002361/0.1869, allocations: 311.5 kB / 0.9017 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.1869, allocations: 16.09 kB / 0.9017 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.182e-05/0.187, allocations: 30.75 kB / 0.9017 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.213e-05/0.187, allocations: 4.938 kB / 0.9017 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.329e-05/0.1871, allocations: 160.4 kB / 0.9019 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.1871, allocations: 4.312 kB / 0.9019 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.301e-06/0.1871, allocations: 384 / 0.9019 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.82e-05/0.1872, allocations: 38.19 kB / 0.9019 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1872, allocations: 7.922 kB / 0.9019 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.323e-06/0.1872, allocations: 0 / 0.9019 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1872, allocations: 4 kB / 0.9019 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.031e-05/0.1873, allocations: 0 / 0.9019 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001033/0.1874, allocations: 153.6 kB / 0.9021 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.461e-05/0.1874, allocations: 14.58 kB / 0.9021 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.577e-05/0.1874, allocations: 8.953 kB / 0.9021 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.665e-05/0.1875, allocations: 3.984 kB / 0.9021 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.444e-05/0.1875, allocations: 34.5 kB / 0.9021 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.1875, allocations: 4 kB / 0.9021 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001149/0.1876, allocations: 41.64 kB / 0.9022 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.991e-05/0.1876, allocations: 51.41 kB / 0.9022 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.622e-05/0.1877, allocations: 89.86 kB / 0.9023 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.542e-06/0.1877, allocations: 25.7 kB / 0.9023 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.839e-06/0.1877, allocations: 80.14 kB / 0.9024 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.633e-05/0.1877, allocations: 3.984 kB / 0.9024 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-06/0.1877, allocations: 0 / 0.9024 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.517e-05/0.1878, allocations: 319 kB / 0.9027 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.145e-06/0.1878, allocations: 4 kB / 0.9027 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.25e-06/0.1878, allocations: 0 / 0.9027 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.896e-05/0.1878, allocations: 16.8 kB / 0.9027 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1878, allocations: 0 / 0.9027 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.812e-05/0.1879, allocations: 29.7 kB / 0.9028 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.1879, allocations: 8 kB / 0.9028 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1879, allocations: 3.938 kB / 0.9028 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.1879, allocations: 4.094 kB / 0.9028 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.551e-05/0.188, allocations: 3.984 kB / 0.9028 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.188, allocations: 0 / 0.9028 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.38e-05/0.188, allocations: 4 kB / 0.9028 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.1881, allocations: 0 / 0.9028 GB, free: 61.26 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.742e-05/0.1881, allocations: 105.8 kB / 0.9029 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.562e-06/0.1881, allocations: 0 / 0.9029 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.253e-05/0.1882, allocations: 56.69 kB / 0.9029 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.1882, allocations: 3.938 kB / 0.9029 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.1882, allocations: 0 / 0.9029 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.1882, allocations: 0 / 0.9029 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.411e-05/0.1883, allocations: 141.7 kB / 0.9031 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1883, allocations: 4 kB / 0.9031 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.803e-05/0.1883, allocations: 0 / 0.9031 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1883, allocations: 0 / 0.9031 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-06/0.1884, allocations: 7.922 kB / 0.9031 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1884, allocations: 0 / 0.9031 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1884, allocations: 8.031 kB / 0.9031 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.187e-05/0.1884, allocations: 57.08 kB / 0.9032 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.85e-05/0.1885, allocations: 77.11 kB / 0.9032 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.1885, allocations: 15.92 kB / 0.9032 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.082e-05/0.1885, allocations: 3.938 kB / 0.9032 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.504e-05/0.1885, allocations: 0 / 0.9032 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.1885, allocations: 0 / 0.9032 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.383e-05/0.1885, allocations: 79.31 kB / 0.9033 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.01e-07/0.1885, allocations: 0 / 0.9033 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002093/0.1888, allocations: 4 kB / 0.9033 GB, free: 60.6 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002687/0.189, allocations: 0.6007 MB / 0.9039 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 5.654e-05/0.1891, allocations: 15.97 kB / 0.9039 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1891, allocations: 0 / 0.9039 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.404e-06/0.1891, allocations: 4 kB / 0.9039 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.1893, allocations: 0 / 0.9039 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000264/0.1895, allocations: 113.8 kB / 0.904 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.307e-05/0.1896, allocations: 0.6692 MB / 0.9047 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.836e-05/0.1897, allocations: 8.125 kB / 0.9047 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.005e-05/0.1897, allocations: 7.438 kB / 0.9047 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of SimCode: time 2.7e-07/0.1897, allocations: 0 / 0.9047 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01009/0.1998, allocations: 0.8358 MB / 0.9055 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001757/0.2, allocations: 218.5 kB / 0.9057 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.51/1.71, allocations: 0 / 0.9057 GB, free: 58.14 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_Polynomial.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)