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.392/1.392, allocations: 249.5 MB / 257 MB, free: 6.922 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009855/0.0009854, allocations: 183 kB / 316.3 MB, free: 3.262 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.681/1.681, allocations: 205.3 MB / 0.5671 GB, free: 15.82 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.0008536/0.000854, allocations: 84.64 kB / 0.6714 GB, free: 4.934 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.674e-05/2.677e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2492, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8065/1.056, allocations: 131.2 MB / 1.013 GB, free: 6.195 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/1.056, allocations: 72.52 kB / 1.014 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0009882/1.057, allocations: 474.4 kB / 1.014 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.383e-06/1.057, allocations: 3.656 kB / 1.014 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.918e-06/1.057, allocations: 0 / 1.014 GB, free: 5.711 MB / 0.6355 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.00025/1.057, allocations: 310.6 kB / 1.014 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/1.057, allocations: 16.08 kB / 1.014 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.632e-05/1.057, allocations: 0 / 1.014 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/1.058, allocations: 167 kB / 1.014 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/1.058, allocations: 0 / 1.014 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.043e-06/1.058, allocations: 0 / 1.014 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.812e-05/1.058, allocations: 4.688 kB / 1.014 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.979e-05/1.058, allocations: 28.61 kB / 1.014 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/1.058, allocations: 0 / 1.014 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.455e-06/1.058, allocations: 0 / 1.014 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/1.058, allocations: 0 / 1.014 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00013/1.058, allocations: 137 kB / 1.015 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.843e-05/1.058, allocations: 22.55 kB / 1.015 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.609e-05/1.058, allocations: 8.859 kB / 1.015 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.868e-05/1.058, allocations: 8.047 kB / 1.015 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/1.058, allocations: 30.56 kB / 1.015 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/1.058, allocations: 0 / 1.015 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.000167/1.058, allocations: 33.14 kB / 1.015 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/1.058, allocations: 55.39 kB / 1.015 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.303e-05/1.058, allocations: 85 kB / 1.015 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/1.058, allocations: 25.7 kB / 1.015 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.456e-05/1.058, allocations: 84.17 kB / 1.015 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/1.058, allocations: 4 kB / 1.015 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-06/1.058, allocations: 0 / 1.015 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001052/1.058, allocations: 310.8 kB / 1.015 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.304e-06/1.058, allocations: 0 / 1.015 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.566e-06/1.059, allocations: 3.938 kB / 1.015 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.426e-05/1.059, allocations: 4 kB / 1.015 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/1.059, allocations: 0 / 1.015 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.568e-05/1.059, allocations: 41.7 kB / 1.015 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/1.059, allocations: 8 kB / 1.015 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/1.059, allocations: 0 / 1.015 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/1.059, allocations: 0 / 1.015 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.548e-05/1.059, allocations: 0.5625 kB / 1.015 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/1.059, allocations: 0 / 1.015 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.256e-05/1.059, allocations: 14.88 kB / 1.015 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/1.059, allocations: 3.5 kB / 1.015 GB, free: 4.16 MB / 0.6355 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 6.914e-05/1.059, allocations: 101 kB / 1.015 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.314e-05/1.059, allocations: 49.61 kB / 1.015 GB, free: 4 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.14e-06/1.059, allocations: 3.938 kB / 1.015 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/1.059, allocations: 37.41 kB / 1.015 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/1.059, allocations: 3.984 kB / 1.015 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/1.059, allocations: 4 kB / 1.015 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/1.059, allocations: 0 / 1.015 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.281e-05/1.059, allocations: 126 kB / 1.016 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/1.059, allocations: 4.062 kB / 1.016 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.447e-05/1.059, allocations: 0 / 1.016 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/1.059, allocations: 7.953 kB / 1.016 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/1.059, allocations: 0 / 1.016 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/1.059, allocations: 0 / 1.016 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/1.059, allocations: 0.9375 kB / 1.016 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.308e-05/1.059, allocations: 61.06 kB / 1.016 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.667e-05/1.059, allocations: 81.02 kB / 1.016 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/1.059, allocations: 7.984 kB / 1.016 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.043e-05/1.059, allocations: 0 / 1.016 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.602e-05/1.059, allocations: 0 / 1.016 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/1.059, allocations: 11.98 kB / 1.016 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.17e-05/1.06, allocations: 75.28 kB / 1.016 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.2e-07/1.06, allocations: 0 / 1.016 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000191/1.06, allocations: 4 kB / 1.016 GB, free: 3.5 MB / 0.6355 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.0004168/1.06, allocations: 0.6028 MB / 1.016 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 5.917e-05/1.06, allocations: 7.938 kB / 1.016 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/1.06, allocations: 0 / 1.016 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.578e-06/1.06, allocations: 0 / 1.016 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001094/1.06, allocations: 7.953 kB / 1.016 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000257/1.061, allocations: 85.75 kB / 1.017 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/1.061, allocations: 0.669 MB / 1.017 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.722e-05/1.061, allocations: 4 kB / 1.017 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.106e-05/1.061, allocations: 7.438 kB / 1.017 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of SimCode: time 2.41e-07/1.061, allocations: 0 / 1.017 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01746/1.078, allocations: 0.5422 MB / 1.018 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001949/1.079, allocations: 155.9 kB / 1.018 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.31/2.389, allocations: 0 / 1.018 GB, free: 1.312 MB / 0.6355 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)