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.733/1.733, allocations: 288.2 MB / 303.2 MB, free: 8.172 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.001248/0.001248, allocations: 183.5 kB / 371.8 MB, free: 10.28 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.793/1.793, allocations: 205.4 MB / 0.6305 GB, free: 10.01 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.0009242/0.0009241, allocations: 94.92 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006126/0.0006126, allocations: 18.73 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2344, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6634/0.8979, allocations: 137.3 MB / 1.114 GB, free: 16.37 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003089/0.8982, allocations: 72 kB / 1.114 GB, free: 16.37 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001967/0.9002, allocations: 482.9 kB / 1.114 GB, free: 32.06 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9003, allocations: 0 / 1.114 GB, free: 32.06 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.9003, allocations: 0 / 1.114 GB, free: 32.06 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.0003521/0.9006, allocations: 310.5 kB / 1.114 GB, free: 31.71 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.747e-05/0.9007, allocations: 14.92 kB / 1.114 GB, free: 31.71 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.358e-05/0.9008, allocations: 36.44 kB / 1.114 GB, free: 31.67 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.251e-05/0.9009, allocations: 0 / 1.114 GB, free: 31.67 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.901, allocations: 170.8 kB / 1.115 GB, free: 31.47 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.901, allocations: 0 / 1.115 GB, free: 31.47 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.9011, allocations: 3.984 kB / 1.115 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.9012, allocations: 28.47 kB / 1.115 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.9012, allocations: 0 / 1.115 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.9012, allocations: 7.844 kB / 1.115 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.9013, allocations: 0 / 1.115 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.889e-05/0.9013, allocations: 0 / 1.115 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001841/0.9015, allocations: 152.1 kB / 1.115 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.764e-05/0.9016, allocations: 22.36 kB / 1.115 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.693e-05/0.9016, allocations: 2.734 kB / 1.115 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.777e-05/0.9017, allocations: 34.53 kB / 1.115 GB, free: 31.17 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 2.514e-06/0.9017, allocations: 4 kB / 1.115 GB, free: 31.17 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0002737/0.902, allocations: 32.7 kB / 1.115 GB, free: 31.14 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.878e-05/0.9021, allocations: 54.03 kB / 1.115 GB, free: 31.07 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.649e-05/0.9022, allocations: 85 kB / 1.115 GB, free: 30.98 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.9022, allocations: 25.7 kB / 1.115 GB, free: 30.95 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.083e-05/0.9022, allocations: 80.14 kB / 1.115 GB, free: 30.87 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.83e-05/0.9023, allocations: 4.625 kB / 1.115 GB, free: 30.87 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.706e-06/0.9023, allocations: 0 / 1.115 GB, free: 30.87 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002066/0.9025, allocations: 315 kB / 1.115 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.14e-05/0.9026, allocations: 3.938 kB / 1.115 GB, free: 30.55 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.067e-05/0.9026, allocations: 3.25 kB / 1.115 GB, free: 30.55 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.585e-05/0.9026, allocations: 7.812 kB / 1.115 GB, free: 30.55 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.9026, allocations: 0 / 1.115 GB, free: 30.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.916e-05/0.9027, allocations: 36.12 kB / 1.115 GB, free: 30.51 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.9027, allocations: 7.688 kB / 1.115 GB, free: 30.51 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.9028, allocations: 0 / 1.115 GB, free: 30.51 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.9028, allocations: 0.875 kB / 1.115 GB, free: 30.51 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.323e-05/0.9029, allocations: 7.938 kB / 1.115 GB, free: 30.51 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.9029, allocations: 2.625 kB / 1.115 GB, free: 30.51 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.932e-05/0.9029, allocations: 3.938 kB / 1.115 GB, free: 30.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.903, allocations: 0 / 1.115 GB, free: 30.5 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 () * 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 9.73e-05/0.9031, allocations: 105.8 kB / 1.116 GB, free: 30.39 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.537e-05/0.9031, allocations: 7.797 kB / 1.116 GB, free: 30.39 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001789/0.9033, allocations: 56.16 kB / 1.116 GB, free: 30.34 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.9033, allocations: 0 / 1.116 GB, free: 30.34 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.9033, allocations: 0 / 1.116 GB, free: 30.34 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.9033, allocations: 3.812 kB / 1.116 GB, free: 30.34 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.9035, allocations: 148 kB / 1.116 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.9035, allocations: 0 / 1.116 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.22e-05/0.9035, allocations: 0 / 1.116 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.9035, allocations: 3.875 kB / 1.116 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.9036, allocations: 3.953 kB / 1.116 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.9036, allocations: 0 / 1.116 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.9036, allocations: 0 / 1.116 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.9037, allocations: 63.84 kB / 1.116 GB, free: 30.08 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.71e-05/0.9038, allocations: 77.11 kB / 1.116 GB, free: 29.99 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.9038, allocations: 0 / 1.116 GB, free: 29.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.215e-05/0.9038, allocations: 9.812 kB / 1.116 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.976e-05/0.9039, allocations: 0 / 1.116 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-06/0.9039, allocations: 7.344 kB / 1.116 GB, free: 29.98 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.579e-05/0.9039, allocations: 75.28 kB / 1.116 GB, free: 29.91 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.904, allocations: 4.031 kB / 1.116 GB, free: 29.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002023/0.9042, allocations: 7.469 kB / 1.116 GB, free: 29.9 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 () * 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.0006023/0.9048, allocations: 0.6014 MB / 1.117 GB, free: 29.31 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.639e-05/0.9049, allocations: 10.78 kB / 1.117 GB, free: 29.31 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.9049, allocations: 4.094 kB / 1.117 GB, free: 29.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.407e-06/0.9049, allocations: 0 / 1.117 GB, free: 29.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001507/0.9051, allocations: 3.953 kB / 1.117 GB, free: 29.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000449/0.9055, allocations: 106.9 kB / 1.117 GB, free: 29.17 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000399/0.9059, allocations: 0.673 MB / 1.117 GB, free: 28.47 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.486e-05/0.906, allocations: 8 kB / 1.117 GB, free: 28.46 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.203e-05/0.9061, allocations: 14.38 kB / 1.117 GB, free: 28.46 MB / 0.698 GB Notification: Performance of SimCode: time 3.21e-07/0.9061, allocations: 0 / 1.117 GB, free: 28.46 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01223/0.9183, allocations: 0.8255 MB / 1.118 GB, free: 28.32 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002006/0.9186, allocations: 194.5 kB / 1.118 GB, free: 28.09 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.449/2.368, allocations: 0 / 1.118 GB, free: 28.09 MB / 0.698 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)