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.Examples.Polynominal.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Examples.Polynominal") Notification: Performance of loadModel(Buildings): time 4.337/4.337, allocations: 433.3 MB / 440.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.056e-05/2.058e-05, allocations: 7.938 kB / 0.5325 GB, free: 1.852 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5013/0.5013, allocations: 98.72 MB / 0.6289 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1945/0.6959, allocations: 123.7 MB / 0.7497 GB, free: 3.695 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/0.6962, allocations: 67.97 kB / 0.7498 GB, free: 3.629 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.002843/0.6991, allocations: 0.7749 MB / 0.7506 GB, free: 2.852 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.289e-06/0.6991, allocations: 0 / 0.7506 GB, free: 2.852 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.589e-06/0.6991, allocations: 4 kB / 0.7506 GB, free: 2.848 MB / 0.6198 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.000402/0.6995, allocations: 342.4 kB / 0.7509 GB, free: 2.469 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.6996, allocations: 12.02 kB / 0.7509 GB, free: 2.457 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.318e-05/0.6996, allocations: 4 kB / 0.7509 GB, free: 2.453 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.6998, allocations: 170.9 kB / 0.7511 GB, free: 2.246 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.6998, allocations: 0 / 0.7511 GB, free: 2.246 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.6998, allocations: 0 / 0.7511 GB, free: 2.246 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.971e-05/0.6999, allocations: 19.98 kB / 0.7511 GB, free: 2.227 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.886e-05/0.7, allocations: 41.69 kB / 0.7511 GB, free: 2.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.7001, allocations: 0 / 0.7511 GB, free: 2.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.6e-06/0.7001, allocations: 3.938 kB / 0.7511 GB, free: 2.176 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.7001, allocations: 0 / 0.7511 GB, free: 2.176 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000451/0.7006, allocations: 253.4 kB / 0.7514 GB, free: 1.891 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.022e-05/0.7007, allocations: 30.61 kB / 0.7514 GB, free: 1.852 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.675e-05/0.7007, allocations: 12.92 kB / 0.7514 GB, free: 1.836 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.618e-05/0.7008, allocations: 0 / 0.7514 GB, free: 1.836 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.7008, allocations: 34.56 kB / 0.7515 GB, free: 1.793 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.931e-06/0.7008, allocations: 0 / 0.7515 GB, free: 1.793 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002279/0.701, allocations: 45.69 kB / 0.7515 GB, free: 1.742 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.7011, allocations: 55.44 kB / 0.7516 GB, free: 1.676 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.29e-05/0.7012, allocations: 100.9 kB / 0.7516 GB, free: 1.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.7012, allocations: 25.7 kB / 0.7517 GB, free: 1.539 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.907e-05/0.7013, allocations: 88.14 kB / 0.7518 GB, free: 1.449 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.7013, allocations: 7.844 kB / 0.7518 GB, free: 1.441 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.235e-06/0.7014, allocations: 0 / 0.7518 GB, free: 1.441 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.7015, allocations: 314.8 kB / 0.7521 GB, free: 1.125 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.498e-05/0.7016, allocations: 8 kB / 0.7521 GB, free: 1.117 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.882e-05/0.7016, allocations: 11.98 kB / 0.7521 GB, free: 1.105 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.127e-05/0.7017, allocations: 12 kB / 0.7521 GB, free: 1.094 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.426e-06/0.7017, allocations: 0 / 0.7521 GB, free: 1.094 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001396/0.7018, allocations: 45.69 kB / 0.7521 GB, free: 1.043 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.7019, allocations: 4 kB / 0.7521 GB, free: 1.039 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.897e-06/0.7019, allocations: 0 / 0.7521 GB, free: 1.039 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.7019, allocations: 0 / 0.7521 GB, free: 1.039 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.702, allocations: 15.98 kB / 0.7522 GB, free: 1.023 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.546e-06/0.702, allocations: 96 / 0.7522 GB, free: 1.023 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.128e-05/0.7021, allocations: 8 kB / 0.7522 GB, free: 1.016 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.378e-05/0.7022, allocations: 3.984 kB / 0.7522 GB, free: 1.012 MB / 0.6198 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.25e-05/0.7023, allocations: 112.9 kB / 0.7523 GB, free: 0.8945 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.761e-05/0.7023, allocations: 3.906 kB / 0.7523 GB, free: 0.8906 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001775/0.7025, allocations: 57.59 kB / 0.7523 GB, free: 0.832 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.796e-06/0.7025, allocations: 0 / 0.7523 GB, free: 0.832 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.981e-06/0.7025, allocations: 4 kB / 0.7523 GB, free: 0.8281 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.443e-06/0.7026, allocations: 4.031 kB / 0.7523 GB, free: 0.8242 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.7028, allocations: 146.2 kB / 0.7525 GB, free: 0.6445 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.098e-06/0.7028, allocations: 256 / 0.7525 GB, free: 0.6445 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.774e-05/0.7029, allocations: 15.92 kB / 0.7525 GB, free: 0.6289 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.726e-06/0.7029, allocations: 4 kB / 0.7525 GB, free: 0.625 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.437e-06/0.7029, allocations: 4 kB / 0.7525 GB, free: 0.6211 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.7029, allocations: 0 / 0.7525 GB, free: 0.6211 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.377e-06/0.7029, allocations: 0 / 0.7525 GB, free: 0.6211 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001934/0.7031, allocations: 147.4 kB / 0.7526 GB, free: 472 kB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.352e-05/0.7032, allocations: 85.02 kB / 0.7527 GB, free: 368 kB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.7032, allocations: 0 / 0.7527 GB, free: 368 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.7033, allocations: 11.97 kB / 0.7527 GB, free: 356 kB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.7034, allocations: 8 kB / 0.7527 GB, free: 348 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.7034, allocations: 0 / 0.7527 GB, free: 348 kB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.153e-05/0.7035, allocations: 83.27 kB / 0.7528 GB, free: 264 kB / 0.6198 GB Notification: Performance of sort global known variables: time 8.1e-07/0.7035, allocations: 4.031 kB / 0.7528 GB, free: 260 kB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003137/0.7038, allocations: 12 kB / 0.7528 GB, free: 248 kB / 0.6198 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.0001794/0.704, allocations: 100.4 kB / 0.7529 GB, free: 136 kB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.583e-05/0.7041, allocations: 16 kB / 0.753 GB, free: 120 kB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.7041, allocations: 0 / 0.753 GB, free: 120 kB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.003e-05/0.7042, allocations: 15.94 kB / 0.753 GB, free: 104 kB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001987/0.7044, allocations: 0.9375 kB / 0.753 GB, free: 104 kB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002383/0.7047, allocations: 76.06 kB / 0.753 GB, free: 4 kB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.705, allocations: 0.6846 MB / 0.7537 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.959e-05/0.7051, allocations: 0 / 0.7537 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.417e-05/0.7051, allocations: 7.438 kB / 0.7537 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of SimCode: time 1.468e-06/0.7051, allocations: 0 / 0.7537 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of Templates: time 0.002886/0.708, allocations: 443.1 kB / 0.7541 GB, free: 14.86 MB / 0.6355 GB