Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadModel(Buildings): time 4.041/4.041, allocations: 432.7 MB / 445.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.326e-05/3.341e-05, allocations: 5.312 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1773, allocations: 98.72 MB / 0.6347 GB, free: 1.93 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.19/0.3674, allocations: 123.8 MB / 0.7556 GB, free: 6.008 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/0.3677, allocations: 75.94 kB / 0.7557 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001361/0.369, allocations: 488.6 kB / 0.7561 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.04e-06/0.3691, allocations: 0 / 0.7561 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.654e-06/0.3691, allocations: 0 / 0.7561 GB, free: 5.453 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.0002776/0.3694, allocations: 306.7 kB / 0.7564 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.3694, allocations: 12.09 kB / 0.7564 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.875e-05/0.3695, allocations: 3.906 kB / 0.7564 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.3696, allocations: 167 kB / 0.7566 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-06/0.3696, allocations: 0 / 0.7566 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.3696, allocations: 4 kB / 0.7566 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.534e-05/0.3697, allocations: 37.69 kB / 0.7566 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.3697, allocations: 3.938 kB / 0.7566 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.093e-06/0.3698, allocations: 0 / 0.7566 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.858e-06/0.3698, allocations: 0 / 0.7566 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.342e-05/0.3698, allocations: 4 kB / 0.7566 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001753/0.37, allocations: 145.6 kB / 0.7568 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.938e-05/0.37, allocations: 14.58 kB / 0.7568 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.597e-05/0.3701, allocations: 16.95 kB / 0.7568 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.3701, allocations: 4 kB / 0.7568 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.3702, allocations: 34.55 kB / 0.7568 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 4.926e-06/0.3702, allocations: 0 / 0.7568 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.00012/0.3703, allocations: 37.64 kB / 0.7569 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.3704, allocations: 51.41 kB / 0.7569 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.716e-05/0.3704, allocations: 85 kB / 0.757 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.3704, allocations: 29.64 kB / 0.757 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.262e-05/0.3705, allocations: 84.17 kB / 0.7571 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.3705, allocations: 0 / 0.7571 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.903e-06/0.3705, allocations: 0 / 0.7571 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3707, allocations: 314.8 kB / 0.7574 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.356e-05/0.3707, allocations: 4 kB / 0.7574 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.13e-06/0.3707, allocations: 0 / 0.7574 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.283e-05/0.3708, allocations: 3.953 kB / 0.7574 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.56e-06/0.3708, allocations: 3.984 kB / 0.7574 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.013e-05/0.3709, allocations: 37.73 kB / 0.7575 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.3709, allocations: 10.34 kB / 0.7575 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.882e-06/0.3709, allocations: 0 / 0.7575 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.3709, allocations: 0 / 0.7575 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.23e-05/0.371, allocations: 4 kB / 0.7575 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.912e-06/0.371, allocations: 0 / 0.7575 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.623e-05/0.371, allocations: 0 / 0.7575 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.3711, allocations: 0 / 0.7575 GB, free: 3.855 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 8.137e-05/0.3712, allocations: 108.9 kB / 0.7576 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.189e-05/0.3712, allocations: 3.984 kB / 0.7576 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001236/0.3713, allocations: 44.77 kB / 0.7576 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.196e-06/0.3713, allocations: 7.984 kB / 0.7576 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.659e-06/0.3713, allocations: 0 / 0.7576 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.869e-06/0.3714, allocations: 0 / 0.7576 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.3715, allocations: 145.7 kB / 0.7578 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.3715, allocations: 3.953 kB / 0.7578 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.916e-05/0.3715, allocations: 7.938 kB / 0.7578 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.28e-06/0.3716, allocations: 32 / 0.7578 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.779e-06/0.3716, allocations: 4 kB / 0.7578 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.06e-06/0.3716, allocations: 0 / 0.7578 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3716, allocations: 0 / 0.7578 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.332e-05/0.3717, allocations: 61.12 kB / 0.7578 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.974e-05/0.3718, allocations: 81.06 kB / 0.7579 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.3718, allocations: 0 / 0.7579 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.599e-05/0.3718, allocations: 0 / 0.7579 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.122e-05/0.3718, allocations: 4.031 kB / 0.7579 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.3718, allocations: 4 kB / 0.7579 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.284e-05/0.3719, allocations: 79.22 kB / 0.758 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.47e-07/0.3719, allocations: 3.938 kB / 0.758 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002491/0.3722, allocations: 8 kB / 0.758 GB, free: 3.203 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.000199/0.3724, allocations: 110.3 kB / 0.7581 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.22e-05/0.3724, allocations: 4 kB / 0.7581 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.612e-06/0.3725, allocations: 4.062 kB / 0.7581 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.864e-05/0.3725, allocations: 8 kB / 0.7581 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.595e-05/0.3726, allocations: 0 / 0.7581 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001687/0.3728, allocations: 47.41 kB / 0.7582 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/0.3731, allocations: 0.677 MB / 0.7588 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.387e-05/0.3732, allocations: 4 kB / 0.7588 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.902e-05/0.3732, allocations: 11.5 kB / 0.7589 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of SimCode: time 1.372e-06/0.3732, allocations: 0 / 0.7589 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of Templates: time 0.002412/0.3756, allocations: 292.9 kB / 0.7591 GB, free: 2.004 MB / 0.6355 GB