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/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.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.193/4.193, allocations: 433.3 MB / 440.9 MB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.122e-05/4.131e-05, allocations: 4 kB / 0.5325 GB, free: 1.871 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5502/0.5503, allocations: 98.7 MB / 0.6289 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2021/0.7525, allocations: 123.1 MB / 0.7491 GB, free: 4.492 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/0.7528, allocations: 83.94 kB / 0.7492 GB, free: 4.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.001357/0.7541, allocations: 484.5 kB / 0.7497 GB, free: 3.934 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.979e-06/0.7542, allocations: 0 / 0.7497 GB, free: 3.934 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.474e-06/0.7542, allocations: 0 / 0.7497 GB, free: 3.934 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000286/0.7545, allocations: 307.8 kB / 0.75 GB, free: 3.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.7545, allocations: 12.02 kB / 0.75 GB, free: 3.578 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.222e-05/0.7546, allocations: 0 / 0.75 GB, free: 3.578 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.7547, allocations: 167 kB / 0.7501 GB, free: 3.375 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.7547, allocations: 0 / 0.7501 GB, free: 3.375 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.287e-06/0.7547, allocations: 4 kB / 0.7501 GB, free: 3.371 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.145e-05/0.7548, allocations: 4 kB / 0.7501 GB, free: 3.367 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.938e-05/0.7549, allocations: 29.64 kB / 0.7502 GB, free: 3.332 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.4e-06/0.7549, allocations: 0 / 0.7502 GB, free: 3.332 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.279e-06/0.7549, allocations: 0 / 0.7502 GB, free: 3.332 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.243e-06/0.7549, allocations: 4 kB / 0.7502 GB, free: 3.328 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000142/0.7551, allocations: 126.2 kB / 0.7503 GB, free: 3.168 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.316e-05/0.7551, allocations: 18.56 kB / 0.7503 GB, free: 3.141 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.112e-05/0.7552, allocations: 16.95 kB / 0.7503 GB, free: 3.121 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.7552, allocations: 0 / 0.7503 GB, free: 3.121 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.7552, allocations: 30.56 kB / 0.7504 GB, free: 3.082 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.692e-06/0.7552, allocations: 0 / 0.7504 GB, free: 3.082 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001704/0.7554, allocations: 29.7 kB / 0.7504 GB, free: 3.047 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.7555, allocations: 59.34 kB / 0.7504 GB, free: 2.977 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.016e-05/0.7555, allocations: 85 kB / 0.7505 GB, free: 2.887 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.7556, allocations: 29.73 kB / 0.7506 GB, free: 2.852 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.354e-05/0.7556, allocations: 80.14 kB / 0.7506 GB, free: 2.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.7556, allocations: 0 / 0.7506 GB, free: 2.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.656e-06/0.7557, allocations: 0 / 0.7506 GB, free: 2.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.7558, allocations: 314.8 kB / 0.7509 GB, free: 2.453 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.23e-05/0.7558, allocations: 4 kB / 0.7509 GB, free: 2.449 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.255e-05/0.7559, allocations: 4 kB / 0.7509 GB, free: 2.445 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.249e-05/0.7559, allocations: 3.938 kB / 0.7509 GB, free: 2.441 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.7559, allocations: 64 / 0.7509 GB, free: 2.441 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.782e-05/0.756, allocations: 41.66 kB / 0.751 GB, free: 2.395 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.7561, allocations: 4 kB / 0.751 GB, free: 2.391 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.303e-06/0.7561, allocations: 0 / 0.751 GB, free: 2.391 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.7561, allocations: 3.984 kB / 0.751 GB, free: 2.387 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.235e-05/0.7562, allocations: 4 kB / 0.751 GB, free: 2.383 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.706e-06/0.7562, allocations: 0 / 0.751 GB, free: 2.383 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.976e-05/0.7562, allocations: 7.875 kB / 0.751 GB, free: 2.375 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.7562, allocations: 0 / 0.751 GB, free: 2.375 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 (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.281e-05/0.7563, allocations: 105 kB / 0.7511 GB, free: 2.266 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.168e-05/0.7563, allocations: 11.95 kB / 0.7511 GB, free: 2.254 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001361/0.7565, allocations: 37.44 kB / 0.7511 GB, free: 2.215 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.663e-06/0.7565, allocations: 0 / 0.7511 GB, free: 2.215 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.7565, allocations: 0 / 0.7511 GB, free: 2.215 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.686e-06/0.7565, allocations: 4 kB / 0.7512 GB, free: 2.211 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.7566, allocations: 130.2 kB / 0.7513 GB, free: 2.047 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.911e-06/0.7567, allocations: 0 / 0.7513 GB, free: 2.047 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.254e-05/0.7567, allocations: 4.031 kB / 0.7513 GB, free: 2.043 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.281e-06/0.7567, allocations: 3.984 kB / 0.7513 GB, free: 2.039 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.7567, allocations: 7.953 kB / 0.7513 GB, free: 2.031 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.878e-06/0.7567, allocations: 0 / 0.7513 GB, free: 2.031 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/0.7567, allocations: 4 kB / 0.7513 GB, free: 2.027 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/0.7569, allocations: 57.06 kB / 0.7514 GB, free: 1.953 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.718e-05/0.7569, allocations: 81.11 kB / 0.7514 GB, free: 1.855 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.7569, allocations: 3.984 kB / 0.7514 GB, free: 1.852 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.907e-05/0.757, allocations: 7.984 kB / 0.7514 GB, free: 1.844 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.044e-05/0.757, allocations: 0 / 0.7514 GB, free: 1.844 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.272e-06/0.757, allocations: 0 / 0.7514 GB, free: 1.844 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.992e-05/0.7571, allocations: 79.28 kB / 0.7515 GB, free: 1.766 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.65e-07/0.7571, allocations: 0 / 0.7515 GB, free: 1.766 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002489/0.7573, allocations: 8 kB / 0.7515 GB, free: 1.758 MB / 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 (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.0001777/0.7575, allocations: 102.5 kB / 0.7516 GB, free: 1.648 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.284e-05/0.7576, allocations: 12 kB / 0.7516 GB, free: 1.637 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.698e-06/0.7576, allocations: 3.938 kB / 0.7516 GB, free: 1.633 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.211e-05/0.7576, allocations: 4 kB / 0.7516 GB, free: 1.629 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000103/0.7577, allocations: 3.984 kB / 0.7516 GB, free: 1.625 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001495/0.7579, allocations: 44.02 kB / 0.7517 GB, free: 1.559 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.7582, allocations: 0.6729 MB / 0.7523 GB, free: 0.8594 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.707e-05/0.7583, allocations: 8.109 kB / 0.7523 GB, free: 0.8516 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.515e-05/0.7583, allocations: 7.438 kB / 0.7524 GB, free: 0.8438 MB / 0.6198 GB Notification: Performance of SimCode: time 1.403e-06/0.7583, allocations: 0 / 0.7524 GB, free: 0.8438 MB / 0.6198 GB Notification: Performance of Templates: time 0.002226/0.7606, allocations: 279.9 kB / 0.7526 GB, free: 0.5742 MB / 0.6198 GB