Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01084/0.01085, allocations: 222.3 kB / 15.17 MB, free: 5.926 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001127/0.001127, allocations: 176 kB / 16.06 MB, free: 5.832 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.784/3.784, allocations: 389.1 MB / 405.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.24/4.24, allocations: 472.3 MB / 0.9018 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0008569/0.0008573, allocations: 16 kB / 1.008 GB, free: 21.66 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6247/0.6256, allocations: 98.72 MB / 1.104 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.0006688/0.6264, allocations: 311.2 kB / 1.104 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0001647/0.6266, allocations: 35.91 kB / 1.104 GB, free: 10.44 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.968e-06/0.6266, allocations: 0 / 1.104 GB, free: 10.44 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.21e-05/0.6266, allocations: 0 / 1.104 GB, free: 10.44 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.588e-06/0.6266, allocations: 0 / 1.104 GB, free: 10.44 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001975/0.6268, allocations: 14.64 kB / 1.104 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 3.107e-05/0.6269, allocations: 4 kB / 1.104 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.062e-05/0.6269, allocations: 0 / 1.104 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 1.446e-05/0.6269, allocations: 4 kB / 1.104 GB, free: 10.42 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 3.554e-05/0.627, allocations: 0 / 1.104 GB, free: 10.42 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 8.117e-06/0.627, allocations: 0 / 1.104 GB, free: 10.42 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 7.746e-05/0.6271, allocations: 27.8 kB / 1.104 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 6.284e-06/0.6271, allocations: 2.75 kB / 1.104 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.695e-05/0.6271, allocations: 29.69 kB / 1.104 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 5.55e-05/0.6272, allocations: 7.984 kB / 1.104 GB, free: 10.35 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.6272, allocations: 0 / 1.104 GB, free: 10.35 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.043e-06/0.6272, allocations: 4 kB / 1.104 GB, free: 10.35 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.682e-06/0.6272, allocations: 0 / 1.104 GB, free: 10.35 MB / 0.5105 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.0001907/0.6274, allocations: 310.2 kB / 1.105 GB, free: 10 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.6275, allocations: 12.09 kB / 1.105 GB, free: 9.988 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.322e-05/0.6275, allocations: 0 / 1.105 GB, free: 9.988 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.425e-05/0.6276, allocations: 165.4 kB / 1.105 GB, free: 9.789 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.6276, allocations: 0 / 1.105 GB, free: 9.789 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.6276, allocations: 0 / 1.105 GB, free: 9.789 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.592e-05/0.6277, allocations: 41.62 kB / 1.105 GB, free: 9.742 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.19e-06/0.6277, allocations: 0.6562 kB / 1.105 GB, free: 9.742 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.91e-06/0.6277, allocations: 0.875 kB / 1.105 GB, free: 9.742 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.6277, allocations: 0 / 1.105 GB, free: 9.742 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.971e-05/0.6278, allocations: 0 / 1.105 GB, free: 9.742 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.313e-05/0.6279, allocations: 150.6 kB / 1.105 GB, free: 9.547 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.279e-05/0.6279, allocations: 15.17 kB / 1.105 GB, free: 9.523 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.775e-05/0.6279, allocations: 9.969 kB / 1.105 GB, free: 9.512 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.297e-05/0.628, allocations: 4.062 kB / 1.105 GB, free: 9.508 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.513e-05/0.628, allocations: 35.78 kB / 1.105 GB, free: 9.465 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.704e-06/0.628, allocations: 3.938 kB / 1.105 GB, free: 9.461 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001044/0.6281, allocations: 31.17 kB / 1.105 GB, free: 9.426 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.348e-05/0.6282, allocations: 55.41 kB / 1.105 GB, free: 9.359 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.871e-05/0.6282, allocations: 90.61 kB / 1.105 GB, free: 9.262 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.943e-06/0.6282, allocations: 25.7 kB / 1.105 GB, free: 9.23 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 1.336e-05/0.6282, allocations: 80.64 kB / 1.105 GB, free: 9.148 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.6283, allocations: 0.5938 kB / 1.105 GB, free: 9.148 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.77e-06/0.6283, allocations: 0 / 1.105 GB, free: 9.148 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.895e-05/0.6283, allocations: 324.9 kB / 1.106 GB, free: 8.824 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.027e-05/0.6284, allocations: 3.938 kB / 1.106 GB, free: 8.82 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.686e-06/0.6284, allocations: 4 kB / 1.106 GB, free: 8.816 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.714e-05/0.6284, allocations: 2 kB / 1.106 GB, free: 8.816 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.812e-06/0.6284, allocations: 0 / 1.106 GB, free: 8.816 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.452e-05/0.6285, allocations: 37.64 kB / 1.106 GB, free: 8.773 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.6285, allocations: 4 kB / 1.106 GB, free: 8.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.351e-06/0.6285, allocations: 0 / 1.106 GB, free: 8.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.6285, allocations: 1 kB / 1.106 GB, free: 8.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.168e-05/0.6286, allocations: 11.98 kB / 1.106 GB, free: 8.758 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.6286, allocations: 0 / 1.106 GB, free: 8.758 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.626e-05/0.6286, allocations: 4.875 kB / 1.106 GB, free: 8.754 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.6287, allocations: 0 / 1.106 GB, free: 8.754 MB / 0.5105 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 () * Number of clocked 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 4.876e-05/0.6287, allocations: 114.5 kB / 1.106 GB, free: 8.633 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.394e-06/0.6287, allocations: 3.5 kB / 1.106 GB, free: 8.633 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.735e-05/0.6288, allocations: 44.75 kB / 1.106 GB, free: 8.586 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.814e-06/0.6289, allocations: 0 / 1.106 GB, free: 8.586 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.635e-06/0.6289, allocations: 0 / 1.106 GB, free: 8.586 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.998e-06/0.6289, allocations: 4 kB / 1.106 GB, free: 8.582 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.794e-05/0.6289, allocations: 145.6 kB / 1.106 GB, free: 8.391 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.707e-06/0.629, allocations: 0.5938 kB / 1.106 GB, free: 8.391 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.177e-05/0.629, allocations: 0.5625 kB / 1.106 GB, free: 8.391 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.629, allocations: 7.984 kB / 1.106 GB, free: 8.383 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.733e-06/0.629, allocations: 0.5625 kB / 1.106 GB, free: 8.383 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.809e-06/0.629, allocations: 0.9688 kB / 1.106 GB, free: 8.383 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.629e-06/0.629, allocations: 0 / 1.106 GB, free: 8.383 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.529e-05/0.6291, allocations: 62.69 kB / 1.106 GB, free: 8.305 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 1.672e-05/0.6291, allocations: 81.06 kB / 1.106 GB, free: 8.207 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.6292, allocations: 4.672 kB / 1.106 GB, free: 8.203 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.635e-05/0.6292, allocations: 0.7188 kB / 1.106 GB, free: 8.203 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.716e-05/0.6292, allocations: 3.938 kB / 1.106 GB, free: 8.199 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.528e-06/0.6292, allocations: 5.125 kB / 1.106 GB, free: 8.195 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 1.426e-05/0.6292, allocations: 75.28 kB / 1.106 GB, free: 8.121 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.14e-07/0.6293, allocations: 0.5938 kB / 1.106 GB, free: 8.121 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002432/0.6295, allocations: 4 kB / 1.106 GB, free: 8.117 MB / 0.5105 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 () * Number of clocked 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.0001314/0.6296, allocations: 108.8 kB / 1.106 GB, free: 8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.893e-05/0.6297, allocations: 13.09 kB / 1.106 GB, free: 7.988 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.659e-06/0.6297, allocations: 0 / 1.106 GB, free: 7.988 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.271e-05/0.6298, allocations: 3.984 kB / 1.106 GB, free: 7.984 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001551/0.6299, allocations: 9.281 kB / 1.106 GB, free: 7.977 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001481/0.6301, allocations: 74.67 kB / 1.107 GB, free: 7.879 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.6302, allocations: 0.6776 MB / 1.107 GB, free: 7.176 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.471e-05/0.6303, allocations: 2.719 kB / 1.107 GB, free: 7.176 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.136e-05/0.6303, allocations: 11.38 kB / 1.107 GB, free: 7.164 MB / 0.5105 GB Notification: Performance of SimCode: time 1.256e-06/0.6303, allocations: 0 / 1.107 GB, free: 7.164 MB / 0.5105 GB Notification: Performance of Templates: time 0.002263/0.6326, allocations: 278.6 kB / 1.108 GB, free: 6.895 MB / 0.5105 GB