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.66/1.66, allocations: 285.6 MB / 293.1 MB, free: 10.19 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.001257/0.001257, allocations: 176.9 kB / 361.4 MB, free: 6.816 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.531/1.531, allocations: 205.2 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009876/0.0009875, allocations: 93.22 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.054e-05/4.072e-05, allocations: 8 kB / 0.8518 GB, free: 2.621 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8492/0.8492, allocations: 115.3 MB / 0.9645 GB, free: 78.79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2142/1.064, allocations: 136.5 MB / 1.098 GB, free: 3.227 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003126/1.064, allocations: 75.95 kB / 1.098 GB, free: 3.152 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001282/1.065, allocations: 476 kB / 1.098 GB, free: 2.691 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.023e-06/1.065, allocations: 0 / 1.098 GB, free: 2.691 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.491e-06/1.065, allocations: 0.5312 kB / 1.098 GB, free: 2.691 MB / 0.698 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.0002867/1.066, allocations: 314.1 kB / 1.099 GB, free: 2.348 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/1.066, allocations: 12.91 kB / 1.099 GB, free: 2.336 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.44e-05/1.066, allocations: 1.031 kB / 1.099 GB, free: 2.336 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/1.066, allocations: 171.5 kB / 1.099 GB, free: 2.129 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/1.066, allocations: 0 / 1.099 GB, free: 2.129 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/1.066, allocations: 0.625 kB / 1.099 GB, free: 2.129 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.007e-05/1.066, allocations: 0.6875 kB / 1.099 GB, free: 2.129 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.815e-05/1.066, allocations: 31.64 kB / 1.099 GB, free: 2.094 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/1.066, allocations: 0 / 1.099 GB, free: 2.094 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/1.066, allocations: 0.625 kB / 1.099 GB, free: 2.094 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/1.066, allocations: 1 kB / 1.099 GB, free: 2.094 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001443/1.066, allocations: 125.5 kB / 1.099 GB, free: 1.938 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.796e-05/1.066, allocations: 31.27 kB / 1.099 GB, free: 1.898 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.876e-05/1.066, allocations: 9.484 kB / 1.099 GB, free: 1.887 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.228e-05/1.066, allocations: 4.594 kB / 1.099 GB, free: 1.883 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/1.066, allocations: 31.19 kB / 1.099 GB, free: 1.844 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 9.41e-07/1.066, allocations: 1.344 kB / 1.099 GB, free: 1.844 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.000196/1.067, allocations: 29.7 kB / 1.099 GB, free: 1.809 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/1.067, allocations: 51.91 kB / 1.099 GB, free: 1.746 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.431e-05/1.067, allocations: 85.5 kB / 1.099 GB, free: 1.656 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/1.067, allocations: 25.7 kB / 1.099 GB, free: 1.625 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.254e-05/1.067, allocations: 81.73 kB / 1.099 GB, free: 1.543 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/1.067, allocations: 0 / 1.099 GB, free: 1.543 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-06/1.067, allocations: 4 kB / 1.099 GB, free: 1.539 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001268/1.067, allocations: 319.4 kB / 1.1 GB, free: 1.219 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.107e-06/1.067, allocations: 1.531 kB / 1.1 GB, free: 1.219 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.225e-06/1.067, allocations: 0.5938 kB / 1.1 GB, free: 1.219 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.837e-05/1.067, allocations: 8.484 kB / 1.1 GB, free: 1.215 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.067, allocations: 0 / 1.1 GB, free: 1.215 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.72e-05/1.067, allocations: 38.11 kB / 1.1 GB, free: 1.172 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/1.067, allocations: 8.453 kB / 1.1 GB, free: 1.164 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/1.067, allocations: 4.531 kB / 1.1 GB, free: 1.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/1.067, allocations: 1.594 kB / 1.1 GB, free: 1.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.421e-05/1.067, allocations: 4.875 kB / 1.1 GB, free: 1.156 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/1.067, allocations: 0 / 1.1 GB, free: 1.156 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.423e-05/1.067, allocations: 5.156 kB / 1.1 GB, free: 1.152 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/1.067, allocations: 4 kB / 1.1 GB, free: 1.148 MB / 0.698 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 () * 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 7.676e-05/1.067, allocations: 102.9 kB / 1.1 GB, free: 1.043 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.19e-05/1.067, allocations: 35.11 kB / 1.1 GB, free: 1.004 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.783e-06/1.067, allocations: 3.953 kB / 1.1 GB, free: 1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001288/1.067, allocations: 46.75 kB / 1.1 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/1.067, allocations: 0 / 1.1 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/1.068, allocations: 1.031 kB / 1.1 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/1.068, allocations: 4 kB / 1.1 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.742e-05/1.068, allocations: 126.2 kB / 1.1 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/1.068, allocations: 0.875 kB / 1.1 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.432e-05/1.068, allocations: 0 / 1.1 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/1.068, allocations: 3.734 kB / 1.1 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/1.068, allocations: 11.14 kB / 1.1 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/1.068, allocations: 1.797 kB / 1.1 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.068, allocations: 0 / 1.1 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001075/1.068, allocations: 64.59 kB / 1.1 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.586e-05/1.068, allocations: 81.11 kB / 1.1 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/1.068, allocations: 0 / 1.1 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.325e-05/1.068, allocations: 3.953 kB / 1.1 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.219e-05/1.068, allocations: 0 / 1.1 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/1.068, allocations: 4 kB / 1.1 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.014e-05/1.068, allocations: 79.28 kB / 1.1 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/1.068, allocations: 0 / 1.1 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001983/1.068, allocations: 4 kB / 1.1 GB, free: 0.5156 MB / 0.698 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 () * 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.0004286/1.069, allocations: 0.6043 MB / 1.101 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.901e-05/1.069, allocations: 19.92 kB / 1.101 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.069, allocations: 0 / 1.101 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.189e-06/1.069, allocations: 0 / 1.101 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001011/1.069, allocations: 5.203 kB / 1.101 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002586/1.069, allocations: 69.73 kB / 1.101 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/1.069, allocations: 0.6729 MB / 1.102 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.14e-05/1.069, allocations: 8.125 kB / 1.102 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.312e-05/1.069, allocations: 7.438 kB / 1.102 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/1.069, allocations: 0 / 1.102 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01822/1.088, allocations: 0.5331 MB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002392/1.088, allocations: 157.8 kB / 1.102 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.569/2.657, allocations: 4.25 kB / 1.102 GB, free: 14.35 MB / 0.7136 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)