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.391/1.391, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.0009547/0.0009548, allocations: 175.2 kB / 325.8 MB, free: 2.699 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.877/1.877, allocations: 205 MB / 0.576 GB, free: 20.99 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.0008077/0.0008075, allocations: 90.33 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000318/0.0003183, allocations: 11.09 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2197, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.0008114/0.2205, allocations: 331 kB / 0.8965 GB, free: 67.75 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000299/0.2208, allocations: 35.88 kB / 0.8966 GB, free: 67.71 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.101e-05/0.2209, allocations: 4 kB / 0.8966 GB, free: 67.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.758e-05/0.2209, allocations: 0 / 0.8966 GB, free: 67.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.641e-06/0.2209, allocations: 0 / 0.8966 GB, free: 67.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002762/0.2212, allocations: 12 kB / 0.8966 GB, free: 67.7 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.029e-05/0.2212, allocations: 0 / 0.8966 GB, free: 67.7 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.494e-05/0.2213, allocations: 7.984 kB / 0.8966 GB, free: 67.69 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.96e-05/0.2213, allocations: 3.938 kB / 0.8966 GB, free: 67.69 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.058e-05/0.2214, allocations: 0 / 0.8966 GB, free: 67.69 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.2214, allocations: 0 / 0.8966 GB, free: 67.69 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.892e-05/0.2215, allocations: 15.98 kB / 0.8966 GB, free: 67.67 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.789e-06/0.2215, allocations: 3.938 kB / 0.8966 GB, free: 67.67 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.218e-05/0.2215, allocations: 4 kB / 0.8966 GB, free: 67.66 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.594e-05/0.2216, allocations: 19.97 kB / 0.8966 GB, free: 67.64 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.2216, allocations: 0 / 0.8966 GB, free: 67.64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.344e-06/0.2217, allocations: 3.938 kB / 0.8966 GB, free: 67.64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.2217, allocations: 0 / 0.8966 GB, free: 67.64 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.0002691/0.2219, allocations: 315.9 kB / 0.8969 GB, free: 67.28 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.222, allocations: 8.031 kB / 0.8969 GB, free: 67.27 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.956e-05/0.222, allocations: 30.75 kB / 0.897 GB, free: 67.23 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.8e-05/0.2221, allocations: 4.938 kB / 0.897 GB, free: 67.23 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.876e-05/0.2221, allocations: 168.4 kB / 0.8971 GB, free: 67.03 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.2222, allocations: 4.359 kB / 0.8971 GB, free: 67.02 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.2222, allocations: 384 / 0.8971 GB, free: 67.02 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.2223, allocations: 30.25 kB / 0.8972 GB, free: 66.99 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.2223, allocations: 3.938 kB / 0.8972 GB, free: 66.98 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-06/0.2223, allocations: 4 kB / 0.8972 GB, free: 66.98 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.2223, allocations: 0 / 0.8972 GB, free: 66.98 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.642e-05/0.2224, allocations: 3.938 kB / 0.8972 GB, free: 66.98 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000126/0.2225, allocations: 149.6 kB / 0.8973 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.876e-05/0.2226, allocations: 30.59 kB / 0.8974 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.869e-05/0.2226, allocations: 4.859 kB / 0.8974 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.976e-05/0.2226, allocations: 4.062 kB / 0.8974 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.2226, allocations: 30.56 kB / 0.8974 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.2227, allocations: 0 / 0.8974 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001387/0.2228, allocations: 37.58 kB / 0.8974 GB, free: 66.65 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.2228, allocations: 51.53 kB / 0.8975 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.944e-05/0.2229, allocations: 97.86 kB / 0.8976 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.826e-06/0.2229, allocations: 25.7 kB / 0.8976 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.487e-05/0.2229, allocations: 80.14 kB / 0.8977 GB, free: 66.37 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.2229, allocations: 4 kB / 0.8977 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.834e-05/0.223, allocations: 13.7 kB / 0.8977 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.003e-05/0.223, allocations: 310.8 kB / 0.898 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.726e-06/0.223, allocations: 0 / 0.898 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.012e-06/0.223, allocations: 4 kB / 0.898 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.285e-05/0.2231, allocations: 12.92 kB / 0.898 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2231, allocations: 0 / 0.898 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.22e-05/0.2231, allocations: 37.64 kB / 0.898 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.2231, allocations: 4 kB / 0.898 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.2232, allocations: 7.922 kB / 0.898 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.2232, allocations: 4 kB / 0.8981 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.606e-05/0.2232, allocations: 0 / 0.8981 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.2232, allocations: 0 / 0.8981 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.248e-05/0.2232, allocations: 4.75 kB / 0.8981 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.2233, allocations: 8.031 kB / 0.8981 GB, free: 65.94 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.381e-05/0.2233, allocations: 105.8 kB / 0.8982 GB, free: 65.83 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.522e-06/0.2233, allocations: 0 / 0.8982 GB, free: 65.83 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.539e-05/0.2234, allocations: 44.75 kB / 0.8982 GB, free: 65.78 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2234, allocations: 0 / 0.8982 GB, free: 65.78 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.2234, allocations: 3.938 kB / 0.8982 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.2234, allocations: 4.031 kB / 0.8982 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.005e-05/0.2235, allocations: 145.7 kB / 0.8984 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2235, allocations: 4 kB / 0.8984 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.537e-05/0.2235, allocations: 7.984 kB / 0.8984 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.2235, allocations: 0 / 0.8984 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.2235, allocations: 7.875 kB / 0.8984 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.2235, allocations: 0 / 0.8984 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2236, allocations: 0 / 0.8984 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.375e-05/0.2236, allocations: 61.14 kB / 0.8984 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.026e-05/0.2237, allocations: 81.09 kB / 0.8985 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.048e-05/0.2237, allocations: 3.938 kB / 0.8985 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.045e-05/0.2237, allocations: 0 / 0.8985 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.446e-05/0.2237, allocations: 4 kB / 0.8985 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.2237, allocations: 0 / 0.8985 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.591e-05/0.2237, allocations: 75.28 kB / 0.8986 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8e-08/0.2237, allocations: 0 / 0.8986 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002011/0.2239, allocations: 4 kB / 0.8986 GB, free: 65.3 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.0002534/0.2242, allocations: 0.6046 MB / 0.8992 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 5.464e-05/0.2243, allocations: 4 kB / 0.8992 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2243, allocations: 0 / 0.8992 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.314e-06/0.2243, allocations: 7.938 kB / 0.8992 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.2244, allocations: 6.688 kB / 0.8992 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002384/0.2247, allocations: 108.3 kB / 0.8993 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.68e-05/0.2248, allocations: 0.6692 MB / 0.9 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.661e-05/0.2248, allocations: 4 kB / 0.9 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.066e-05/0.2248, allocations: 7.438 kB / 0.9 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of SimCode: time 3e-07/0.2248, allocations: 4 kB / 0.9 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009392/0.2342, allocations: 0.8405 MB / 0.9008 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001362/0.2344, allocations: 219.6 kB / 0.901 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.427/1.662, allocations: 7.938 kB / 0.901 GB, free: 62.82 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)