Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.79/1.79, allocations: 292.6 MB / 307.5 MB, free: 5.234 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.002609/0.002609, allocations: 185 kB / 377.1 MB, free: 1.543 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.745/1.745, allocations: 205.4 MB / 0.6366 GB, free: 8.652 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.0009268/0.0009266, allocations: 91.69 kB / 0.7509 GB, free: 63.03 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003641, allocations: 12 kB / 0.8749 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2673, allocations: 116.3 MB / 0.9884 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7012/0.9685, allocations: 138.2 MB / 1.123 GB, free: 36.18 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/0.9688, allocations: 76.02 kB / 1.124 GB, free: 36.12 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.001038/0.9699, allocations: 483.4 kB / 1.124 GB, free: 35.7 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9699, allocations: 1.594 kB / 1.124 GB, free: 35.7 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.9699, allocations: 0 / 1.124 GB, free: 35.7 MB / 0.7292 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.0002346/0.9701, allocations: 321.5 kB / 1.124 GB, free: 35.35 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.9702, allocations: 15.27 kB / 1.124 GB, free: 35.34 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.086e-05/0.9703, allocations: 33.39 kB / 1.124 GB, free: 35.3 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.789e-05/0.9703, allocations: 2.062 kB / 1.124 GB, free: 35.3 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.759e-05/0.9704, allocations: 162.7 kB / 1.124 GB, free: 35.11 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.9704, allocations: 1.078 kB / 1.124 GB, free: 35.11 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.9704, allocations: 7.438 kB / 1.124 GB, free: 35.1 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.167e-05/0.9705, allocations: 29.64 kB / 1.125 GB, free: 35.07 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.9705, allocations: 0 / 1.125 GB, free: 35.07 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.9705, allocations: 0.9062 kB / 1.125 GB, free: 35.07 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.9706, allocations: 0 / 1.125 GB, free: 35.07 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.566e-05/0.9706, allocations: 4.906 kB / 1.125 GB, free: 35.06 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001284/0.9707, allocations: 149.1 kB / 1.125 GB, free: 34.87 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.123e-05/0.9708, allocations: 17.16 kB / 1.125 GB, free: 34.85 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.518e-05/0.9708, allocations: 5.469 kB / 1.125 GB, free: 34.84 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.9708, allocations: 31.12 kB / 1.125 GB, free: 34.8 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 4.778e-06/0.9708, allocations: 1.844 kB / 1.125 GB, free: 34.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0001381/0.971, allocations: 48.2 kB / 1.125 GB, free: 34.76 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.971, allocations: 51.41 kB / 1.125 GB, free: 34.7 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.717e-05/0.971, allocations: 85 kB / 1.125 GB, free: 34.61 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.114e-06/0.9711, allocations: 27.23 kB / 1.125 GB, free: 34.57 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.354e-05/0.9711, allocations: 80.7 kB / 1.125 GB, free: 34.49 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.874e-05/0.9711, allocations: 5.5 kB / 1.125 GB, free: 34.49 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.073e-06/0.9711, allocations: 3.844 kB / 1.125 GB, free: 34.49 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.376e-05/0.9712, allocations: 310.8 kB / 1.125 GB, free: 34.18 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.112e-05/0.9712, allocations: 4 kB / 1.125 GB, free: 34.17 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.241e-06/0.9712, allocations: 0 / 1.125 GB, free: 34.17 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.77e-05/0.9712, allocations: 0.5625 kB / 1.125 GB, free: 34.17 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.9713, allocations: 0 / 1.125 GB, free: 34.17 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.002e-05/0.9713, allocations: 49.69 kB / 1.125 GB, free: 34.12 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.9713, allocations: 4 kB / 1.125 GB, free: 34.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.9714, allocations: 224 / 1.125 GB, free: 34.12 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/0.9714, allocations: 4.938 kB / 1.125 GB, free: 34.11 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.525e-05/0.9715, allocations: 4.562 kB / 1.125 GB, free: 34.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.9715, allocations: 0 / 1.125 GB, free: 34.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.601e-05/0.9715, allocations: 4.438 kB / 1.125 GB, free: 34.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.9715, allocations: 0 / 1.125 GB, free: 34.11 MB / 0.7292 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.606e-05/0.9716, allocations: 109.8 kB / 1.125 GB, free: 33.99 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.636e-06/0.9716, allocations: 7.469 kB / 1.125 GB, free: 33.98 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.9717, allocations: 50.11 kB / 1.126 GB, free: 33.93 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.9717, allocations: 0 / 1.126 GB, free: 33.93 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.9717, allocations: 4 kB / 1.126 GB, free: 33.93 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.9717, allocations: 3.562 kB / 1.126 GB, free: 33.93 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.618e-05/0.9718, allocations: 142.4 kB / 1.126 GB, free: 33.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.9718, allocations: 0 / 1.126 GB, free: 33.74 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.767e-05/0.9718, allocations: 4.984 kB / 1.126 GB, free: 33.74 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.9718, allocations: 0 / 1.126 GB, free: 33.74 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.9719, allocations: 3.953 kB / 1.126 GB, free: 33.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.9719, allocations: 4.594 kB / 1.126 GB, free: 33.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.9719, allocations: 4.953 kB / 1.126 GB, free: 33.73 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.048e-05/0.972, allocations: 57.14 kB / 1.126 GB, free: 33.66 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.295e-05/0.972, allocations: 77.11 kB / 1.126 GB, free: 33.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.972, allocations: 4.047 kB / 1.126 GB, free: 33.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.324e-05/0.972, allocations: 3.953 kB / 1.126 GB, free: 33.56 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.909e-05/0.9721, allocations: 3.938 kB / 1.126 GB, free: 33.55 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.9721, allocations: 8.031 kB / 1.126 GB, free: 33.55 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.747e-05/0.9721, allocations: 75.28 kB / 1.126 GB, free: 33.47 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.222e-06/0.9721, allocations: 0.5625 kB / 1.126 GB, free: 33.47 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002076/0.9723, allocations: 7.938 kB / 1.126 GB, free: 33.46 MB / 0.7292 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.0002903/0.9726, allocations: 0.5958 MB / 1.126 GB, free: 32.85 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.098e-05/0.9727, allocations: 8 kB / 1.127 GB, free: 32.84 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.9727, allocations: 0.5625 kB / 1.127 GB, free: 32.84 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.965e-06/0.9727, allocations: 7.938 kB / 1.127 GB, free: 32.83 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.49e-05/0.9728, allocations: 3.953 kB / 1.127 GB, free: 32.83 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002879/0.9731, allocations: 111.8 kB / 1.127 GB, free: 32.69 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.9732, allocations: 0.6727 MB / 1.127 GB, free: 31.99 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.888e-05/0.9733, allocations: 9.469 kB / 1.127 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.531e-05/0.9733, allocations: 7.438 kB / 1.127 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of SimCode: time 4.61e-07/0.9733, allocations: 0 / 1.127 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01342/0.9867, allocations: 0.8129 MB / 1.128 GB, free: 31.56 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001596/0.9869, allocations: 179.2 kB / 1.128 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.594/2.581, allocations: 0 / 1.128 GB, free: 31.32 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_Polynomial.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)