Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Examples.Tutorial.Boiler.System2.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: "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System2,fileNamePrefix="Buildings_6_0_0_Buildings_Examples_Tutorial_Boiler_System2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01236/0.01237, allocations: 220.2 kB / 15.17 MB, free: 5.992 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.001192/0.001192, allocations: 180.3 kB / 16.06 MB, free: 5.871 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.812/3.812, allocations: 389.1 MB / 405.9 MB, free: 13.33 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.328/4.328, allocations: 472.3 MB / 0.9017 GB, free: 3.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004821/0.0004823, allocations: 12 kB / 1.008 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.703/0.7035, allocations: 98.72 MB / 1.104 GB, free: 212.9 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System2): time 0.2457/0.9493, allocations: 189.3 MB / 1.289 GB, free: 49.06 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0331/0.9825, allocations: 18.46 MB / 1.307 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003482/0.986, allocations: 71.5 kB / 1.307 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.004694/0.9907, allocations: 1.021 MB / 1.308 GB, free: 29.51 MB / 0.7292 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01211/1.003, allocations: 3.204 MB / 1.311 GB, free: 26.3 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.01196/1.015, allocations: 3.156 MB / 1.314 GB, free: 23.21 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.01434/1.029, allocations: 11.4 MB / 1.325 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004868/1.034, allocations: 2.827 MB / 1.328 GB, free: 9.02 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006201/1.04, allocations: 2.727 MB / 1.331 GB, free: 6.281 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005776/1.046, allocations: 2.682 MB / 1.333 GB, free: 3.59 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0008382/1.047, allocations: 144 kB / 1.334 GB, free: 3.449 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006054/1.053, allocations: 1.501 MB / 1.335 GB, free: 1.945 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001379/1.055, allocations: 0.8639 MB / 1.336 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001495/1.056, allocations: 0.7693 MB / 1.337 GB, free: 308 kB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.009431/1.065, allocations: 5.081 MB / 1.342 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/1.066, allocations: 0 / 1.342 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.574e-06/1.066, allocations: 0 / 1.342 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.000115/1.066, allocations: 0 / 1.342 GB, free: 11.21 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 587 * Number of variables: 587 Notification: Performance of Generate backend data structure: time 0.01207/1.078, allocations: 3.844 MB / 1.345 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/1.078, allocations: 8.562 kB / 1.345 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001032/1.079, allocations: 340.9 kB / 1.346 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009069/1.088, allocations: 0.9555 MB / 1.347 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01319/1.101, allocations: 3.742 MB / 1.35 GB, free: 2.156 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002262/1.101, allocations: 197 kB / 1.35 GB, free: 1.961 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006927/1.102, allocations: 251.9 kB / 1.351 GB, free: 1.715 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008277/1.11, allocations: 3.149 MB / 1.354 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.974e-05/1.111, allocations: 4 kB / 1.354 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003941/1.111, allocations: 106.5 kB / 1.354 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001626/1.111, allocations: 100.3 kB / 1.354 GB, free: 14.2 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007758/1.119, allocations: 2.64 MB / 1.357 GB, free: 11.54 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 removeSimpleEquations (simulation): time 0.5798/1.699, allocations: 13.14 MB / 1.369 GB, free: 225.9 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005807/1.705, allocations: 2.153 MB / 1.371 GB, free: 225.4 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002954/1.708, allocations: 0.9364 MB / 1.372 GB, free: 225.2 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0184/1.726, allocations: 4.473 MB / 1.377 GB, free: 222.9 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002521/1.729, allocations: 0.894 MB / 1.378 GB, free: 222.6 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001621/1.73, allocations: 173 kB / 1.378 GB, free: 222.6 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=128): time 5.42e-06/1.73, allocations: 2.297 kB / 1.378 GB, free: 222.6 MB / 0.7605 GB Notification: Performance of matching and sorting (n=132): time 0.01839/1.749, allocations: 5.412 MB / 1.383 GB, free: 220 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.82e-05/1.749, allocations: 174 kB / 1.383 GB, free: 219.8 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006309/1.755, allocations: 2.862 MB / 1.386 GB, free: 218.8 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0005349/1.756, allocations: 61.27 kB / 1.386 GB, free: 218.8 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001857/1.758, allocations: 1.523 MB / 1.388 GB, free: 217.6 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007625/1.758, allocations: 471.5 kB / 1.388 GB, free: 217.3 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002096/1.759, allocations: 40.28 kB / 1.388 GB, free: 217.2 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000167/1.759, allocations: 392 kB / 1.388 GB, free: 216.9 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003799/1.763, allocations: 0.9701 MB / 1.389 GB, free: 216.6 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004239/1.767, allocations: 1.574 MB / 1.391 GB, free: 215.6 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004291/1.771, allocations: 1.23 MB / 1.392 GB, free: 215.1 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.887e-05/1.771, allocations: 4.688 kB / 1.392 GB, free: 215.1 MB / 0.7605 GB Notification: Performance of matching and sorting (n=256) (initialization): time 0.01735/1.789, allocations: 3.545 MB / 1.396 GB, free: 213.9 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004103/1.789, allocations: 0.5768 MB / 1.396 GB, free: 213.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-05/1.789, allocations: 19.66 kB / 1.396 GB, free: 213.2 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01298/1.802, allocations: 1.178 MB / 1.397 GB, free: 213.1 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003944/1.806, allocations: 470.3 kB / 1.398 GB, free: 213 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01052/1.817, allocations: 3.231 MB / 1.401 GB, free: 210.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008412/1.825, allocations: 245.2 kB / 1.401 GB, free: 210.7 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005894/1.826, allocations: 101.1 kB / 1.401 GB, free: 210.7 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/1.826, allocations: 4.188 kB / 1.401 GB, free: 210.7 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02451/1.85, allocations: 3.4 MB / 1.405 GB, free: 209.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-05/1.85, allocations: 18.42 kB / 1.405 GB, free: 209.6 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0129/1.863, allocations: 1.209 MB / 1.406 GB, free: 209.5 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003582/1.867, allocations: 451.1 kB / 1.406 GB, free: 209.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009455/1.876, allocations: 3.15 MB / 1.409 GB, free: 207.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005028/1.882, allocations: 233.2 kB / 1.41 GB, free: 207.2 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003264/1.882, allocations: 98.84 kB / 1.41 GB, free: 207.1 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.timTab.nextTimeEvent,timTab.nextTimeEvent,$PRE.timTab.nextTimeEventScaled,timTab.nextTimeEventScaled,$PRE.hysPum.y,hysPum.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (234): * Single equations (assignments): 228 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 1 {5 6} Notification: Performance of prepare postOptimizeDAE: time 0.002898/1.885, allocations: 1.078 MB / 1.411 GB, free: 206.6 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001101/1.886, allocations: 299.8 kB / 1.411 GB, free: 206.4 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007228/1.893, allocations: 2.276 MB / 1.413 GB, free: 205.5 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.225e-05/1.893, allocations: 19.56 kB / 1.413 GB, free: 205.5 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/1.893, allocations: 2.531 kB / 1.413 GB, free: 205.5 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005465/1.899, allocations: 1.973 MB / 1.415 GB, free: 204.6 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 postOpt removeSimpleEquations (simulation): time 0.01353/1.912, allocations: 4.96 MB / 1.42 GB, free: 202.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/1.912, allocations: 1.094 kB / 1.42 GB, free: 202.5 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002865/1.915, allocations: 301.2 kB / 1.42 GB, free: 202.5 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001281/1.917, allocations: 274 kB / 1.421 GB, free: 202.4 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001645/1.917, allocations: 50.06 kB / 1.421 GB, free: 202.4 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007368/1.924, allocations: 8.663 MB / 1.429 GB, free: 193.9 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.924, allocations: 0 / 1.429 GB, free: 193.9 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008539/1.933, allocations: 3.16 MB / 1.432 GB, free: 192.1 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001854/1.935, allocations: 0.5764 MB / 1.433 GB, free: 191.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007218/1.935, allocations: 34.19 kB / 1.433 GB, free: 191.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003301/1.939, allocations: 164.2 kB / 1.433 GB, free: 191.6 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000316/1.939, allocations: 108.8 kB / 1.433 GB, free: 191.5 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001826/1.939, allocations: 62.48 kB / 1.433 GB, free: 191.5 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.003788/1.943, allocations: 1.947 MB / 1.435 GB, free: 190.4 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6.81e-07/1.943, allocations: 0 / 1.435 GB, free: 190.4 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.006505/1.949, allocations: 1.59 MB / 1.436 GB, free: 189.2 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T,rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,temSup.T,pumRad.vol.dynBal.U,pumRad.filter.x[1],pumRad.filter.x[2]) * Number of discrete variables: 4 ($whenCondition1,timTab.nextTimeEvent,timTab.nextTimeEventScaled,hysPum.y) * Number of discrete states: 3 (timTab.nextTimeEvent,hysPum.y,timTab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (138): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 3,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01029/1.96, allocations: 4.444 MB / 1.441 GB, free: 185.1 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01793/1.978, allocations: 4.461 MB / 1.445 GB, free: 180.6 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/1.978, allocations: 0.625 kB / 1.445 GB, free: 180.6 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.003121/1.981, allocations: 1.579 MB / 1.447 GB, free: 178.9 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01236/1.993, allocations: 1.663 MB / 1.448 GB, free: 177.4 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07416/2.068, allocations: 23.45 MB / 1.471 GB, free: 152.5 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002141/2.07, allocations: 2.423 MB / 1.474 GB, free: 150.1 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.005758/2.076, allocations: 1.061 MB / 1.475 GB, free: 149.1 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00253/2.078, allocations: 1.304 MB / 1.476 GB, free: 147.8 MB / 0.7605 GB Notification: Performance of SimCode: time 1.823e-06/2.078, allocations: 4 kB / 1.476 GB, free: 147.8 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.213/2.291, allocations: 98.96 MB / 1.573 GB, free: 50.96 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002532/2.291, allocations: 288.8 kB / 1.573 GB, free: 50.6 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.125/8.417, allocations: 3.938 kB / 1.573 GB, free: 50.6 MB / 0.7605 GB