Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.Polynominal.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynominal,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Examples_Polynominal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.194/2.194, allocations: 248.5 MB / 261 MB, free: 6.031 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.001538/0.001538, allocations: 187.3 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.049/2.049, allocations: 205.2 MB / 0.571 GB, free: 11.74 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.001056/0.001055, allocations: 101.5 kB / 0.6754 GB, free: 0.832 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.538e-05/3.549e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.1986, allocations: 106.2 MB / 0.8907 GB, free: 7.461 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9109/1.11, allocations: 131.4 MB / 1.019 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/1.11, allocations: 72.58 kB / 1.019 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003325/1.113, allocations: 0.7815 MB / 1.02 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.623e-06/1.113, allocations: 0 / 1.02 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.813e-06/1.113, allocations: 0 / 1.02 GB, free: 3.086 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004532/1.114, allocations: 349.2 kB / 1.02 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/1.114, allocations: 8.031 kB / 1.02 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.991e-05/1.114, allocations: 30.56 kB / 1.02 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.391e-05/1.114, allocations: 0 / 1.02 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/1.114, allocations: 167 kB / 1.02 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/1.114, allocations: 3.062 kB / 1.02 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/1.114, allocations: 4 kB / 1.02 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/1.114, allocations: 45.19 kB / 1.02 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/1.114, allocations: 2.625 kB / 1.02 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/1.114, allocations: 0 / 1.02 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/1.114, allocations: 0 / 1.02 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.36e-05/1.114, allocations: 19.3 kB / 1.02 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005345/1.115, allocations: 274.7 kB / 1.021 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.796e-05/1.115, allocations: 32.95 kB / 1.021 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.608e-05/1.115, allocations: 16.05 kB / 1.021 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.34e-05/1.115, allocations: 7.922 kB / 1.021 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/1.115, allocations: 34.56 kB / 1.021 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.983e-06/1.115, allocations: 0 / 1.021 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001994/1.115, allocations: 48.06 kB / 1.021 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/1.116, allocations: 59.39 kB / 1.021 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.425e-05/1.116, allocations: 106.4 kB / 1.021 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/1.116, allocations: 25.7 kB / 1.021 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.76e-05/1.116, allocations: 82.45 kB / 1.021 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/1.116, allocations: 7.844 kB / 1.021 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-06/1.116, allocations: 0 / 1.021 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001207/1.116, allocations: 318.4 kB / 1.021 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.452e-05/1.116, allocations: 7.984 kB / 1.021 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.058e-05/1.116, allocations: 11.38 kB / 1.021 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.336e-05/1.116, allocations: 11.75 kB / 1.021 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/1.116, allocations: 0 / 1.021 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001212/1.116, allocations: 45.06 kB / 1.021 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/1.116, allocations: 8 kB / 1.021 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/1.116, allocations: 3.938 kB / 1.021 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/1.116, allocations: 0 / 1.021 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/1.116, allocations: 11.98 kB / 1.022 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/1.116, allocations: 4.094 kB / 1.022 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.747e-05/1.117, allocations: 11.95 kB / 1.022 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/1.117, allocations: 0 / 1.022 GB, free: 1.211 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 (2): * Single equations (assignments): 2 * 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.7e-05/1.117, allocations: 105 kB / 1.022 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.457e-05/1.117, allocations: 11.66 kB / 1.022 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001682/1.117, allocations: 56.55 kB / 1.022 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/1.117, allocations: 0 / 1.022 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/1.117, allocations: 4.031 kB / 1.022 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/1.117, allocations: 0 / 1.022 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/1.117, allocations: 169.3 kB / 1.022 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/1.117, allocations: 0.6875 kB / 1.022 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/1.117, allocations: 11.98 kB / 1.022 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/1.117, allocations: 3.984 kB / 1.022 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/1.117, allocations: 0 / 1.022 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/1.117, allocations: 4.25 kB / 1.022 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.117, allocations: 0 / 1.022 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/1.118, allocations: 156.4 kB / 1.022 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.477e-05/1.118, allocations: 81.02 kB / 1.022 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/1.118, allocations: 4 kB / 1.022 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/1.118, allocations: 7.984 kB / 1.022 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/1.118, allocations: 4 kB / 1.022 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/1.118, allocations: 3.938 kB / 1.022 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.148e-05/1.118, allocations: 90.48 kB / 1.022 GB, free: 452 kB / 0.6355 GB Notification: Performance of sort global known variables: time 5.31e-07/1.118, allocations: 0 / 1.022 GB, free: 452 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002896/1.118, allocations: 10.75 kB / 1.022 GB, free: 444 kB / 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 (2): * Single equations (assignments): 2 * 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.0005195/1.119, allocations: 0.6751 MB / 1.023 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001179/1.119, allocations: 25.72 kB / 1.023 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/1.119, allocations: 0 / 1.023 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.017e-05/1.119, allocations: 6.75 kB / 1.023 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001964/1.119, allocations: 4 kB / 1.023 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004264/1.12, allocations: 112.9 kB / 1.023 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/1.12, allocations: 0.677 MB / 1.024 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.515e-05/1.12, allocations: 4 kB / 1.024 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.44e-05/1.12, allocations: 11.56 kB / 1.024 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of SimCode: time 9.51e-07/1.12, allocations: 0 / 1.024 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02401/1.144, allocations: 1.157 MB / 1.025 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003389/1.144, allocations: 154.2 kB / 1.025 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.363/3.507, allocations: 11.44 kB / 1.025 GB, free: 13.56 MB / 0.6511 GB