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.466/2.466, allocations: 248.7 MB / 256.2 MB, free: 7.043 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.001548/0.001547, allocations: 176.8 kB / 315.4 MB, free: 4.016 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.273/2.273, allocations: 205.3 MB / 0.5662 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 78.55 kB / 0.6704 GB, free: 5.766 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.64e-05/2.656e-05, allocations: 8 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2128, allocations: 106.3 MB / 0.8841 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8674/1.08, allocations: 131.7 MB / 1.013 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/1.081, allocations: 77.75 kB / 1.013 GB, free: 7.078 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003213/1.084, allocations: 0.7759 MB / 1.014 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.433e-06/1.084, allocations: 0 / 1.014 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.739e-06/1.084, allocations: 0 / 1.014 GB, free: 6.367 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.000479/1.084, allocations: 350.1 kB / 1.014 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.526e-05/1.084, allocations: 8.031 kB / 1.014 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.185e-05/1.085, allocations: 4 kB / 1.014 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/1.085, allocations: 167 kB / 1.014 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/1.085, allocations: 0 / 1.014 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/1.085, allocations: 4 kB / 1.014 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.793e-05/1.085, allocations: 11.81 kB / 1.014 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.312e-05/1.085, allocations: 41.61 kB / 1.014 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/1.085, allocations: 2.625 kB / 1.014 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/1.085, allocations: 0 / 1.014 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/1.085, allocations: 4 kB / 1.014 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005003/1.085, allocations: 261 kB / 1.014 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.961e-05/1.086, allocations: 26.39 kB / 1.014 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.932e-05/1.086, allocations: 12.91 kB / 1.014 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.103e-05/1.086, allocations: 8 kB / 1.014 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/1.086, allocations: 30.56 kB / 1.014 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.623e-06/1.086, allocations: 0 / 1.014 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002206/1.086, allocations: 49.25 kB / 1.014 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.479e-05/1.086, allocations: 51.41 kB / 1.015 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.127e-05/1.086, allocations: 103.2 kB / 1.015 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/1.086, allocations: 25.7 kB / 1.015 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.253e-05/1.086, allocations: 84.17 kB / 1.015 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/1.086, allocations: 7.844 kB / 1.015 GB, free: 5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-06/1.086, allocations: 0 / 1.015 GB, free: 5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001394/1.086, allocations: 326 kB / 1.015 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.812e-05/1.086, allocations: 7.938 kB / 1.015 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.597e-05/1.086, allocations: 4 kB / 1.015 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.113e-05/1.087, allocations: 11.8 kB / 1.015 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/1.087, allocations: 0 / 1.015 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001306/1.087, allocations: 45.58 kB / 1.015 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/1.087, allocations: 4 kB / 1.015 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/1.087, allocations: 0 / 1.015 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/1.087, allocations: 11.92 kB / 1.015 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/1.087, allocations: 8.75 kB / 1.015 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-06/1.087, allocations: 0 / 1.015 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.829e-05/1.087, allocations: 7.984 kB / 1.015 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/1.087, allocations: 4 kB / 1.015 GB, free: 4.578 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 9.518e-05/1.087, allocations: 112.9 kB / 1.015 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001412/1.087, allocations: 49.47 kB / 1.015 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/1.087, allocations: 4 kB / 1.015 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001822/1.088, allocations: 61.34 kB / 1.015 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/1.088, allocations: 3.938 kB / 1.015 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/1.088, allocations: 0 / 1.015 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/1.088, allocations: 0 / 1.015 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/1.088, allocations: 142.1 kB / 1.015 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/1.088, allocations: 4.875 kB / 1.015 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/1.088, allocations: 15.92 kB / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/1.088, allocations: 0 / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/1.088, allocations: 0 / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/1.088, allocations: 0 / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.088, allocations: 0.5 kB / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/1.088, allocations: 147.1 kB / 1.016 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.369e-05/1.088, allocations: 85.02 kB / 1.016 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/1.088, allocations: 3.984 kB / 1.016 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/1.088, allocations: 8.25 kB / 1.016 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.137e-05/1.088, allocations: 3.984 kB / 1.016 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/1.089, allocations: 4 kB / 1.016 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.219e-05/1.089, allocations: 83.28 kB / 1.016 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.21e-07/1.089, allocations: 0 / 1.016 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002984/1.089, allocations: 12 kB / 1.016 GB, free: 3.781 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 (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.0005469/1.089, allocations: 0.683 MB / 1.017 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.959e-05/1.09, allocations: 11.75 kB / 1.017 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/1.09, allocations: 4 kB / 1.017 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.133e-05/1.09, allocations: 11.8 kB / 1.017 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/1.09, allocations: 4.156 kB / 1.017 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004249/1.09, allocations: 100.9 kB / 1.017 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/1.091, allocations: 0.6884 MB / 1.017 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.34e-05/1.091, allocations: 0 / 1.017 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.659e-05/1.091, allocations: 14.88 kB / 1.017 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of SimCode: time 6.82e-07/1.091, allocations: 0 / 1.017 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03304/1.124, allocations: 0.8407 MB / 1.018 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003123/1.124, allocations: 134 kB / 1.018 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.212/3.336, allocations: 4 kB / 1.018 GB, free: 1.176 MB / 0.6355 GB