Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.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.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0104/0.0104, allocations: 222.5 kB / 15.17 MB, free: 5.93 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.00111/0.00111, allocations: 176.5 kB / 16.06 MB, free: 5.836 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.369/3.369, allocations: 389.1 MB / 405.9 MB, free: 68.5 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.105/4.105, allocations: 472.3 MB / 0.9018 GB, free: 13.26 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004778/0.0004781, allocations: 12 kB / 1.008 GB, free: 0.7188 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4778/0.4783, allocations: 98.72 MB / 1.104 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop): time 0.7407/1.219, allocations: 256.8 MB / 1.355 GB, free: 52.58 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0754/1.295, allocations: 49.45 MB / 1.403 GB, free: 26.87 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01065/1.305, allocations: 279.4 kB / 1.403 GB, free: 26.75 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.01107/1.316, allocations: 2.974 MB / 1.406 GB, free: 23.98 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.03264/1.349, allocations: 9.712 MB / 1.416 GB, free: 14.24 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.02368/1.373, allocations: 7.362 MB / 1.423 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.02014/1.393, allocations: 14.26 MB / 1.437 GB, free: 8.691 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007132/1.4, allocations: 3.442 MB / 1.44 GB, free: 5.199 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01086/1.411, allocations: 4.288 MB / 1.444 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007022/1.418, allocations: 3.582 MB / 1.448 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0009503/1.419, allocations: 204 kB / 1.448 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008403/1.427, allocations: 2.183 MB / 1.45 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.002254/1.43, allocations: 1.042 MB / 1.451 GB, free: 9.859 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.002393/1.432, allocations: 1.034 MB / 1.452 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.01058/1.443, allocations: 5.845 MB / 1.458 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/1.443, allocations: 0 / 1.458 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.556e-06/1.443, allocations: 0 / 1.458 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001189/1.443, allocations: 0 / 1.458 GB, free: 2.961 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 676 * Number of variables: 676 Notification: Performance of Generate backend data structure: time 0.01289/1.456, allocations: 5.145 MB / 1.463 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/1.456, allocations: 8.031 kB / 1.463 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005092/1.461, allocations: 0.9925 MB / 1.464 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01046/1.471, allocations: 3.881 MB / 1.468 GB, free: 8.77 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009637/1.472, allocations: 357.1 kB / 1.468 GB, free: 8.422 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006758/1.473, allocations: 304.7 kB / 1.468 GB, free: 8.125 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008458/1.482, allocations: 3.243 MB / 1.472 GB, free: 4.734 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.907e-05/1.482, allocations: 4 kB / 1.472 GB, free: 4.73 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003745/1.482, allocations: 112 kB / 1.472 GB, free: 4.621 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.998e-05/1.482, allocations: 67.98 kB / 1.472 GB, free: 4.555 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008485/1.491, allocations: 2.694 MB / 1.474 GB, free: 1.848 MB / 0.7292 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03292/1.524, allocations: 18.12 MB / 1.492 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00593/1.53, allocations: 1.959 MB / 1.494 GB, free: 12.16 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003189/1.533, allocations: 1.083 MB / 1.495 GB, free: 11.08 MB / 0.7605 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.009952/1.543, allocations: 3.845 MB / 1.499 GB, free: 7.059 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.545e-05/1.543, allocations: 55.83 kB / 1.499 GB, free: 6.996 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004025/1.547, allocations: 0.8453 MB / 1.5 GB, free: 6.148 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=142): time 6.829e-06/1.547, allocations: 0 / 1.5 GB, free: 6.148 MB / 0.7605 GB Notification: Performance of matching and sorting (n=147): time 0.03123/1.578, allocations: 7.64 MB / 1.507 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001858/1.578, allocations: 300 kB / 1.507 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007788/1.586, allocations: 3.994 MB / 1.511 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0004305/1.587, allocations: 69.7 kB / 1.511 GB, free: 9.973 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.002729/1.589, allocations: 2.259 MB / 1.514 GB, free: 7.699 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007696/1.59, allocations: 0.5083 MB / 1.514 GB, free: 7.184 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001847/1.59, allocations: 47.94 kB / 1.514 GB, free: 7.137 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002548/1.591, allocations: 394.3 kB / 1.514 GB, free: 6.746 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003116/1.594, allocations: 0.9647 MB / 1.515 GB, free: 5.777 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003969/1.598, allocations: 1.842 MB / 1.517 GB, free: 3.539 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003515/1.601, allocations: 1.165 MB / 1.518 GB, free: 2.375 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.589e-05/1.601, allocations: 4 kB / 1.518 GB, free: 2.371 MB / 0.7761 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01319/1.615, allocations: 3.741 MB / 1.522 GB, free: 14.61 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006054/1.615, allocations: 0.6556 MB / 1.523 GB, free: 13.69 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.063e-05/1.615, allocations: 29.98 kB / 1.523 GB, free: 13.66 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004091/1.619, allocations: 0.6384 MB / 1.523 GB, free: 13.02 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003207/1.623, allocations: 0.5362 MB / 1.524 GB, free: 12.48 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009954/1.633, allocations: 5.29 MB / 1.529 GB, free: 6.891 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004692/1.637, allocations: 356.6 kB / 1.529 GB, free: 6.543 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003793/1.638, allocations: 127.9 kB / 1.529 GB, free: 6.418 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/1.638, allocations: 4 kB / 1.529 GB, free: 6.414 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01084/1.649, allocations: 3.114 MB / 1.532 GB, free: 3.289 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.709e-05/1.649, allocations: 28.08 kB / 1.533 GB, free: 3.262 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003795/1.653, allocations: 0.5862 MB / 1.533 GB, free: 2.668 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002973/1.656, allocations: 0.5109 MB / 1.534 GB, free: 2.156 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01207/1.668, allocations: 6.63 MB / 1.54 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004494/1.672, allocations: 340.7 kB / 1.54 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004214/1.673, allocations: 119.9 kB / 1.541 GB, free: 10.65 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 85 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.onOffController.y,onOffController.y,conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (247): * Single equations (assignments): 236 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(3,100.0%) 11} * Non-linear torn systems: 1 {2 9} Notification: Performance of prepare postOptimizeDAE: time 0.002544/1.675, allocations: 0.8754 MB / 1.541 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001104/1.676, allocations: 450.3 kB / 1.542 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009705/1.686, allocations: 3.011 MB / 1.545 GB, free: 6.293 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.044e-05/1.686, allocations: 20 kB / 1.545 GB, free: 6.273 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/1.686, allocations: 4 kB / 1.545 GB, free: 6.27 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007373/1.694, allocations: 2.279 MB / 1.547 GB, free: 3.957 MB / 0.8073 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01666/1.71, allocations: 5.89 MB / 1.553 GB, free: 14 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/1.71, allocations: 0 / 1.553 GB, free: 14 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002503/1.713, allocations: 363.5 kB / 1.553 GB, free: 13.64 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001803/1.715, allocations: 364.9 kB / 1.553 GB, free: 13.28 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002127/1.715, allocations: 47.97 kB / 1.553 GB, free: 13.23 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006466/1.721, allocations: 4.306 MB / 1.558 GB, free: 8.633 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.063e-06/1.721, allocations: 0 / 1.558 GB, free: 8.633 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01209/1.733, allocations: 3.902 MB / 1.561 GB, free: 4.707 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002499/1.736, allocations: 0.7098 MB / 1.562 GB, free: 3.973 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008645/1.737, allocations: 43.94 kB / 1.562 GB, free: 3.93 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003919/1.741, allocations: 315 kB / 1.563 GB, free: 3.625 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003407/1.741, allocations: 117.8 kB / 1.563 GB, free: 3.512 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002344/1.741, allocations: 63.95 kB / 1.563 GB, free: 3.449 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.00613/1.748, allocations: 2.642 MB / 1.565 GB, free: 0.8242 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.1e-06/1.748, allocations: 0 / 1.565 GB, free: 0.8242 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.009211/1.757, allocations: 1.965 MB / 1.567 GB, free: 14.86 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (boi.heaCapDry.T,val.filter.x[1],val.filter.x[2],pumLoa.filter.x[1],pumLoa.filter.x[2],pumBoi.filter.x[1],pumBoi.filter.x[2],conPID.I.y,exp.m,exp.H,vol.dynBal.U) * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 149 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(3,100.0%) 11} * Non-linear torn systems: 1 {2 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.002019/1.759, allocations: 0.7801 MB / 1.568 GB, free: 14.07 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01315/1.772, allocations: 4.832 MB / 1.573 GB, free: 9.156 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/1.772, allocations: 4 kB / 1.573 GB, free: 9.152 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.003961/1.776, allocations: 1.407 MB / 1.574 GB, free: 7.719 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01307/1.789, allocations: 2.295 MB / 1.576 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01808/1.807, allocations: 8.839 MB / 1.585 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003163/1.811, allocations: 2.544 MB / 1.587 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.005829/1.816, allocations: 0.9308 MB / 1.588 GB, free: 9.102 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001293/1.818, allocations: 351.3 kB / 1.589 GB, free: 8.758 MB / 0.8542 GB Notification: Performance of SimCode: time 1.514e-06/1.818, allocations: 0 / 1.589 GB, free: 8.758 MB / 0.8542 GB Notification: Performance of Templates: time 0.6336/2.451, allocations: 83.83 MB / 1.671 GB, free: 306.4 MB / 0.8698 GB