Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 3.186/3.186, allocations: 287.5 MB / 302.4 MB, free: 8.262 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.001295/0.001295, allocations: 179 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.207/2.207, allocations: 205.4 MB / 0.6297 GB, free: 10.64 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.000913/0.0009127, allocations: 87.66 kB / 0.743 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004922/0.0004924, allocations: 15 kB / 0.8659 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.216, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.0007307/0.2167, allocations: 311.6 kB / 0.9788 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000205/0.217, allocations: 31.97 kB / 0.9788 GB, free: 27.92 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.348e-06/0.217, allocations: 3.938 kB / 0.9788 GB, free: 27.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.027e-05/0.217, allocations: 0 / 0.9788 GB, free: 27.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.923e-06/0.217, allocations: 4 kB / 0.9788 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002356/0.2173, allocations: 7.984 kB / 0.9788 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.852e-05/0.2173, allocations: 0 / 0.9788 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.872e-05/0.2174, allocations: 0 / 0.9788 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.677e-05/0.2174, allocations: 8 kB / 0.9788 GB, free: 27.9 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.178e-05/0.2175, allocations: 0 / 0.9788 GB, free: 27.9 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.041e-05/0.2175, allocations: 0 / 0.9788 GB, free: 27.9 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.115e-05/0.2176, allocations: 19.92 kB / 0.9788 GB, free: 27.88 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.837e-06/0.2176, allocations: 3.984 kB / 0.9788 GB, free: 27.88 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.401e-05/0.2176, allocations: 29.69 kB / 0.9789 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.28e-05/0.2177, allocations: 12 kB / 0.9789 GB, free: 27.83 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.2177, allocations: 4 kB / 0.9789 GB, free: 27.82 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2177, allocations: 3.938 kB / 0.9789 GB, free: 27.82 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.2177, allocations: 0 / 0.9789 GB, free: 27.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.0002223/0.218, allocations: 311.4 kB / 0.9792 GB, free: 27.47 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.218, allocations: 16.08 kB / 0.9792 GB, free: 27.45 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.697e-05/0.2181, allocations: 30.56 kB / 0.9792 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.089e-05/0.2181, allocations: 0 / 0.9792 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.564e-05/0.2182, allocations: 163 kB / 0.9794 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.2182, allocations: 0 / 0.9794 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.2182, allocations: 3.984 kB / 0.9794 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.115e-05/0.2183, allocations: 29.7 kB / 0.9794 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.2183, allocations: 0 / 0.9794 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.164e-06/0.2183, allocations: 7.938 kB / 0.9794 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.2184, allocations: 0 / 0.9794 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.327e-05/0.2184, allocations: 3.938 kB / 0.9794 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001085/0.2185, allocations: 153.6 kB / 0.9796 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.832e-05/0.2186, allocations: 18.56 kB / 0.9796 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.981e-05/0.2186, allocations: 8.953 kB / 0.9796 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.773e-05/0.2186, allocations: 0 / 0.9796 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.2187, allocations: 34.56 kB / 0.9796 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.442e-06/0.2187, allocations: 0 / 0.9796 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001283/0.2188, allocations: 41.64 kB / 0.9797 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/0.2189, allocations: 51.41 kB / 0.9797 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.007e-05/0.2189, allocations: 89.86 kB / 0.9798 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.767e-06/0.2189, allocations: 25.7 kB / 0.9798 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.464e-05/0.2189, allocations: 80.14 kB / 0.9799 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.219, allocations: 7.891 kB / 0.9799 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-06/0.219, allocations: 0 / 0.9799 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.797e-05/0.219, allocations: 315 kB / 0.9802 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.259e-05/0.2191, allocations: 4 kB / 0.9802 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.637e-06/0.2191, allocations: 0 / 0.9802 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.323e-05/0.2191, allocations: 11.95 kB / 0.9802 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2191, allocations: 0 / 0.9802 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.937e-05/0.2192, allocations: 33.7 kB / 0.9803 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.2192, allocations: 7.938 kB / 0.9803 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2192, allocations: 0 / 0.9803 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.2193, allocations: 8.078 kB / 0.9803 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.428e-05/0.2193, allocations: 4 kB / 0.9803 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.2193, allocations: 3.938 kB / 0.9803 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.525e-05/0.2194, allocations: 0 / 0.9803 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.2194, allocations: 0 / 0.9803 GB, free: 26.16 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 5.356e-05/0.2195, allocations: 115.1 kB / 0.9804 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.376e-06/0.2195, allocations: 0 / 0.9804 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.2196, allocations: 45.09 kB / 0.9804 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.2196, allocations: 4 kB / 0.9804 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2196, allocations: 0 / 0.9804 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.2196, allocations: 3.984 kB / 0.9805 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.47e-05/0.2197, allocations: 141.7 kB / 0.9806 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2197, allocations: 7.891 kB / 0.9806 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.563e-05/0.2197, allocations: 7.984 kB / 0.9806 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.2198, allocations: 7.938 kB / 0.9806 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.403e-06/0.2198, allocations: 0 / 0.9806 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2198, allocations: 0 / 0.9806 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2198, allocations: 4.031 kB / 0.9806 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.735e-05/0.2199, allocations: 57.14 kB / 0.9807 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.248e-05/0.2199, allocations: 88.98 kB / 0.9808 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.2199, allocations: 0 / 0.9808 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.424e-05/0.2199, allocations: 0 / 0.9808 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.653e-05/0.22, allocations: 0 / 0.9808 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.22, allocations: 4 kB / 0.9808 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.547e-05/0.22, allocations: 79.31 kB / 0.9808 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.22, allocations: 0 / 0.9808 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002293/0.2203, allocations: 4 kB / 0.9808 GB, free: 25.5 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.0003028/0.2206, allocations: 0.6046 MB / 0.9814 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.259e-05/0.2207, allocations: 8.031 kB / 0.9814 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2207, allocations: 0 / 0.9814 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.224e-05/0.2207, allocations: 4 kB / 0.9814 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001519/0.2209, allocations: 4 kB / 0.9814 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002913/0.2212, allocations: 104.3 kB / 0.9815 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.2213, allocations: 0.6731 MB / 0.9822 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.757e-05/0.2213, allocations: 4.125 kB / 0.9822 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.863e-05/0.2214, allocations: 7.438 kB / 0.9822 GB, free: 24 MB / 0.6198 GB Notification: Performance of SimCode: time 8.72e-07/0.2214, allocations: 3.938 kB / 0.9822 GB, free: 24 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02091/0.2423, allocations: 0.8346 MB / 0.983 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002897/0.2427, allocations: 187.8 kB / 0.9832 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.537/2.78, allocations: 0.7031 kB / 0.9832 GB, free: 23.06 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_Polynomial.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)