Running: ./testmodel.py --libraries=/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.355/2.355, allocations: 253.2 MB / 260.6 MB, free: 7.449 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001479/0.001479, allocations: 179 kB / 319.9 MB, free: 3.039 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.1/2.1, allocations: 205.6 MB / 0.5708 GB, free: 15.23 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001132/0.001132, allocations: 88.78 kB / 0.6751 GB, free: 4.605 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.667e-05/2.668e-05, allocations: 8 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1932, allocations: 106.3 MB / 0.8887 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.853/1.046, allocations: 131 MB / 1.017 GB, free: 6.379 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/1.047, allocations: 78.81 kB / 1.017 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001357/1.048, allocations: 481.7 kB / 1.017 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.373e-06/1.048, allocations: 0 / 1.017 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.628e-06/1.048, allocations: 0 / 1.017 GB, free: 5.887 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002806/1.048, allocations: 306.1 kB / 1.017 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/1.048, allocations: 12.02 kB / 1.017 GB, free: 5.535 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.555e-05/1.048, allocations: 0 / 1.017 GB, free: 5.535 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/1.049, allocations: 167 kB / 1.018 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/1.049, allocations: 4.625 kB / 1.018 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/1.049, allocations: 0 / 1.018 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.877e-05/1.049, allocations: 7.938 kB / 1.018 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.049e-05/1.049, allocations: 29.7 kB / 1.018 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/1.049, allocations: 0 / 1.018 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/1.049, allocations: 0 / 1.018 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/1.049, allocations: 2.625 kB / 1.018 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000139/1.049, allocations: 130.1 kB / 1.018 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.22e-05/1.049, allocations: 22.19 kB / 1.018 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.287e-05/1.049, allocations: 13.7 kB / 1.018 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.331e-05/1.049, allocations: 0 / 1.018 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/1.049, allocations: 31.25 kB / 1.018 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.353e-06/1.049, allocations: 0 / 1.018 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001592/1.049, allocations: 37.64 kB / 1.018 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/1.049, allocations: 51.41 kB / 1.018 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.621e-05/1.049, allocations: 85 kB / 1.018 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/1.049, allocations: 25.7 kB / 1.018 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.214e-05/1.049, allocations: 88.11 kB / 1.018 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/1.049, allocations: 0 / 1.018 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-06/1.05, allocations: 0 / 1.018 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001157/1.05, allocations: 318.6 kB / 1.018 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.244e-05/1.05, allocations: 4 kB / 1.018 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.873e-06/1.05, allocations: 0 / 1.018 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.1e-05/1.05, allocations: 0 / 1.018 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.05, allocations: 0 / 1.018 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.846e-05/1.05, allocations: 41.72 kB / 1.018 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/1.05, allocations: 9.5 kB / 1.018 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/1.05, allocations: 0 / 1.018 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/1.05, allocations: 3.984 kB / 1.018 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.117e-05/1.05, allocations: 4 kB / 1.018 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/1.05, allocations: 4.953 kB / 1.018 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.232e-05/1.05, allocations: 7.5 kB / 1.018 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/1.05, allocations: 0 / 1.018 GB, free: 4.332 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 (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 7.097e-05/1.05, allocations: 105 kB / 1.019 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.168e-05/1.05, allocations: 3.984 kB / 1.019 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001452/1.05, allocations: 49.2 kB / 1.019 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/1.05, allocations: 4 kB / 1.019 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/1.05, allocations: 3.984 kB / 1.019 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/1.05, allocations: 0 / 1.019 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.735e-05/1.05, allocations: 122.2 kB / 1.019 GB, free: 4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/1.05, allocations: 0 / 1.019 GB, free: 4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.583e-05/1.05, allocations: 4 kB / 1.019 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/1.05, allocations: 8.016 kB / 1.019 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.405e-06/1.051, allocations: 3.953 kB / 1.019 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/1.051, allocations: 3.938 kB / 1.019 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/1.051, allocations: 0 / 1.019 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/1.051, allocations: 53.14 kB / 1.019 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.92e-05/1.051, allocations: 77.11 kB / 1.019 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/1.051, allocations: 3.984 kB / 1.019 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.988e-05/1.051, allocations: 7.984 kB / 1.019 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.693e-05/1.051, allocations: 3.75 kB / 1.019 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/1.051, allocations: 4 kB / 1.019 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.907e-05/1.051, allocations: 75.28 kB / 1.019 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.71e-07/1.051, allocations: 0 / 1.019 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002526/1.051, allocations: 4.875 kB / 1.019 GB, free: 3.723 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 (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.0001712/1.051, allocations: 105.1 kB / 1.019 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.679e-05/1.051, allocations: 7.938 kB / 1.019 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.051, allocations: 4.062 kB / 1.019 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.618e-06/1.051, allocations: 0 / 1.019 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001077/1.052, allocations: 11.92 kB / 1.019 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001605/1.052, allocations: 51.94 kB / 1.019 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/1.052, allocations: 0.669 MB / 1.02 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.239e-05/1.052, allocations: 12.05 kB / 1.02 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.692e-05/1.052, allocations: 7.438 kB / 1.02 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of SimCode: time 7.11e-07/1.052, allocations: 0 / 1.02 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of Templates: time 0.002437/1.054, allocations: 272.5 kB / 1.02 GB, free: 2.547 MB / 0.6355 GB