Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.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.Functions.Examples.Polynomial,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.1/2.1, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001626/0.001626, allocations: 187.2 kB / 325.5 MB, free: 2.891 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.405/2.405, allocations: 205.4 MB / 0.5764 GB, free: 20.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.001083/0.001083, allocations: 98.22 kB / 0.6809 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007385/0.0007386, allocations: 11.72 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2735, allocations: 106.3 MB / 0.8988 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2792/0.5527, allocations: 130.8 MB / 1.027 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004226/0.5532, allocations: 75.95 kB / 1.027 GB, free: 14.41 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00213/0.5554, allocations: 480.6 kB / 1.027 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.076e-06/0.5554, allocations: 11.88 kB / 1.027 GB, free: 13.92 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.968e-06/0.5555, allocations: 4 kB / 1.027 GB, free: 13.92 MB / 0.6823 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.0004046/0.5559, allocations: 315.4 kB / 1.027 GB, free: 13.56 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.497e-05/0.556, allocations: 8.031 kB / 1.027 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.876e-05/0.5561, allocations: 30.56 kB / 1.027 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.651e-05/0.5561, allocations: 4 kB / 1.027 GB, free: 13.51 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.5563, allocations: 163 kB / 1.028 GB, free: 13.31 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.5563, allocations: 0 / 1.028 GB, free: 13.31 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.5563, allocations: 4 kB / 1.028 GB, free: 13.31 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.5565, allocations: 29.7 kB / 1.028 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.5565, allocations: 3.984 kB / 1.028 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.5566, allocations: 0 / 1.028 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.5566, allocations: 0 / 1.028 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.812e-05/0.5567, allocations: 7.938 kB / 1.028 GB, free: 13.26 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002238/0.5569, allocations: 149.6 kB / 1.028 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.793e-05/0.557, allocations: 18.61 kB / 1.028 GB, free: 13.04 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.397e-05/0.5571, allocations: 0 / 1.028 GB, free: 13.04 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.5571, allocations: 34.56 kB / 1.028 GB, free: 13 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 2.755e-06/0.5571, allocations: 0 / 1.028 GB, free: 13 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0002286/0.5574, allocations: 45.69 kB / 1.028 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/0.5575, allocations: 51.41 kB / 1.028 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.973e-05/0.5575, allocations: 85 kB / 1.028 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.5576, allocations: 25.7 kB / 1.028 GB, free: 12.76 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.19e-05/0.5576, allocations: 80.14 kB / 1.028 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.103e-05/0.5577, allocations: 16.23 kB / 1.028 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-06/0.5577, allocations: 0 / 1.028 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.5579, allocations: 310.8 kB / 1.028 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.124e-05/0.558, allocations: 7.938 kB / 1.028 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.746e-05/0.558, allocations: 0 / 1.028 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.954e-05/0.5581, allocations: 3.953 kB / 1.028 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.5581, allocations: 4 kB / 1.028 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001337/0.5582, allocations: 37.69 kB / 1.028 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.019e-05/0.5583, allocations: 4 kB / 1.028 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.5583, allocations: 8.031 kB / 1.028 GB, free: 12.28 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.5583, allocations: 0 / 1.028 GB, free: 12.28 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.521e-05/0.5584, allocations: 7.938 kB / 1.028 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.5585, allocations: 0 / 1.028 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.001e-05/0.5585, allocations: 0 / 1.028 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/0.5586, allocations: 4 kB / 1.028 GB, free: 12.27 MB / 0.6823 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 0.0001218/0.5587, allocations: 109.8 kB / 1.029 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.934e-05/0.5587, allocations: 3.984 kB / 1.029 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000203/0.559, allocations: 40.83 kB / 1.029 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.559, allocations: 4 kB / 1.029 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.559, allocations: 0 / 1.029 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.559, allocations: 0 / 1.029 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/0.5592, allocations: 145.7 kB / 1.029 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.5593, allocations: 3.953 kB / 1.029 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.656e-05/0.5593, allocations: 4 kB / 1.029 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.5594, allocations: 0 / 1.029 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.5594, allocations: 4.031 kB / 1.029 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.995e-06/0.5594, allocations: 3.938 kB / 1.029 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.5594, allocations: 0 / 1.029 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.5596, allocations: 61.12 kB / 1.029 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.682e-05/0.5597, allocations: 81.06 kB / 1.029 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.5597, allocations: 4 kB / 1.029 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.657e-05/0.5598, allocations: 0 / 1.029 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.76e-05/0.5598, allocations: 3.984 kB / 1.029 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.5598, allocations: 8.031 kB / 1.029 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.139e-05/0.5599, allocations: 75.28 kB / 1.029 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.72e-07/0.5599, allocations: 0 / 1.029 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004255/0.5604, allocations: 8 kB / 1.029 GB, free: 11.62 MB / 0.6823 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.0007343/0.5611, allocations: 0.6055 MB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001131/0.5613, allocations: 7.984 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.5613, allocations: 0 / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.351e-05/0.5613, allocations: 0 / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001814/0.5615, allocations: 7.938 kB / 1.03 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005168/0.5621, allocations: 104.4 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.5625, allocations: 0.677 MB / 1.03 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.533e-05/0.5626, allocations: 8.062 kB / 1.03 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.487e-05/0.5626, allocations: 11.44 kB / 1.03 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of SimCode: time 1.653e-06/0.5626, allocations: 0 / 1.03 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02311/0.5858, allocations: 0.8119 MB / 1.031 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003543/0.5862, allocations: 188 kB / 1.031 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.395/2.981, allocations: 0 / 1.031 GB, free: 9.176 MB / 0.6823 GB