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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 3.92/3.92, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.425e-05/3.431e-05, allocations: 2.094 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2319, allocations: 98.73 MB / 0.6347 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.762/7.994, allocations: 2.487 GB / 3.121 GB, free: 134.7 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/7.994, allocations: 85.83 kB / 3.121 GB, free: 134.6 MB / 0.823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$timTab.getTableValueNoDer. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$timTab.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$timTab.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 6.531/14.53, allocations: 1.284 GB / 4.405 GB, free: 103.6 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.965e-06/14.53, allocations: 0 / 4.405 GB, free: 103.6 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0006689/14.53, allocations: 87.98 kB / 4.405 GB, free: 103.5 MB / 0.823 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.01217/14.54, allocations: 3.412 MB / 4.409 GB, free: 100 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/14.54, allocations: 8.031 kB / 4.409 GB, free: 100 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001153/14.54, allocations: 328.9 kB / 4.409 GB, free: 99.68 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01165/14.55, allocations: 1.182 MB / 4.41 GB, free: 98.49 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01909/14.57, allocations: 4.723 MB / 4.415 GB, free: 93.75 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002499/14.57, allocations: 180.5 kB / 4.415 GB, free: 93.57 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009761/14.57, allocations: 263.4 kB / 4.415 GB, free: 93.31 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008056/14.58, allocations: 3.015 MB / 4.418 GB, free: 90.13 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001109/14.58, allocations: 11.92 kB / 4.418 GB, free: 90.12 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003968/14.58, allocations: 100 kB / 4.418 GB, free: 90.02 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001274/14.58, allocations: 96.38 kB / 4.418 GB, free: 89.92 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007114/14.59, allocations: 2.512 MB / 4.421 GB, free: 87.39 MB / 0.823 GB Warning: The model contains alias variables with conflicting start and/or 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.03039/14.62, allocations: 13.15 MB / 4.433 GB, free: 73.62 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004767/14.62, allocations: 2.308 MB / 4.436 GB, free: 71.24 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002049/14.63, allocations: 0.94 MB / 4.437 GB, free: 70.3 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01368/14.64, allocations: 4.333 MB / 4.441 GB, free: 65.74 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002111/14.64, allocations: 0.9151 MB / 4.442 GB, free: 64.81 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002055/14.64, allocations: 202.1 kB / 4.442 GB, free: 64.61 MB / 0.823 GB Notification: Performance of pre-optimization done (n=141): time 5.971e-06/14.64, allocations: 4 kB / 4.442 GB, free: 64.61 MB / 0.823 GB Notification: Performance of matching and sorting (n=145): time 0.01456/14.66, allocations: 4.38 MB / 4.446 GB, free: 60.14 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.857e-05/14.66, allocations: 149.8 kB / 4.446 GB, free: 59.96 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005706/14.66, allocations: 2.69 MB / 4.449 GB, free: 57.27 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0006109/14.66, allocations: 69.62 kB / 4.449 GB, free: 57.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001784/14.67, allocations: 1.502 MB / 4.451 GB, free: 55.68 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008896/14.67, allocations: 0.5084 MB / 4.451 GB, free: 55.16 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002093/14.67, allocations: 44 kB / 4.451 GB, free: 55.12 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001529/14.67, allocations: 386.1 kB / 4.451 GB, free: 54.74 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002212/14.67, allocations: 0.8671 MB / 4.452 GB, free: 53.87 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002535/14.67, allocations: 1.51 MB / 4.454 GB, free: 52.07 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002698/14.67, allocations: 1.159 MB / 4.455 GB, free: 50.91 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-05/14.68, allocations: 8 kB / 4.455 GB, free: 50.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=270) (initialization): time 0.009509/14.68, allocations: 3.004 MB / 4.458 GB, free: 47.87 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001584/14.69, allocations: 7.178 MB / 4.465 GB, free: 40.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-05/14.69, allocations: 23.98 kB / 4.465 GB, free: 40.17 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004045/14.69, allocations: 439.4 kB / 4.465 GB, free: 39.74 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004134/14.69, allocations: 483.3 kB / 4.466 GB, free: 39.27 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00417/14.7, allocations: 2.582 MB / 4.468 GB, free: 36.52 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006032/14.7, allocations: 227.3 kB / 4.469 GB, free: 36.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009308/14.71, allocations: 115.5 kB / 4.469 GB, free: 36.19 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/14.71, allocations: 7.938 kB / 4.469 GB, free: 36.18 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009695/14.72, allocations: 2.709 MB / 4.471 GB, free: 33.46 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.149e-05/14.72, allocations: 16 kB / 4.471 GB, free: 33.45 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003845/14.72, allocations: 456.8 kB / 4.472 GB, free: 33 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003855/14.72, allocations: 471.4 kB / 4.472 GB, free: 32.54 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003698/14.73, allocations: 2.6 MB / 4.475 GB, free: 29.77 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00498/14.73, allocations: 203.4 kB / 4.475 GB, free: 29.57 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006541/14.73, allocations: 108 kB / 4.475 GB, free: 29.47 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (248): * Single equations (assignments): 242 * 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 {3 8} Notification: Performance of prepare postOptimizeDAE: time 0.0007533/14.73, allocations: 240.3 kB / 4.475 GB, free: 29.23 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001131/14.73, allocations: 308 kB / 4.476 GB, free: 28.93 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006786/14.74, allocations: 2.391 MB / 4.478 GB, free: 26.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.708e-05/14.74, allocations: 16 kB / 4.478 GB, free: 26.49 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/14.74, allocations: 8 kB / 4.478 GB, free: 26.48 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004682/14.75, allocations: 2.053 MB / 4.48 GB, free: 24.34 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01531/14.76, allocations: 5.211 MB / 4.485 GB, free: 19.04 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.407e-05/14.76, allocations: 4 kB / 4.485 GB, free: 19.03 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002598/14.76, allocations: 271.6 kB / 4.485 GB, free: 18.77 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001791/14.77, allocations: 324.5 kB / 4.486 GB, free: 18.43 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003202/14.77, allocations: 51.97 kB / 4.486 GB, free: 18.38 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007859/14.77, allocations: 8.918 MB / 4.494 GB, free: 8.676 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/14.77, allocations: 4.094 kB / 4.494 GB, free: 8.672 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009038/14.78, allocations: 3.386 MB / 4.498 GB, free: 5.219 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002768/14.79, allocations: 0.6376 MB / 4.498 GB, free: 4.559 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001227/14.79, allocations: 40 kB / 4.498 GB, free: 4.52 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004127/14.79, allocations: 155.5 kB / 4.498 GB, free: 4.367 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006172/14.79, allocations: 113.1 kB / 4.499 GB, free: 4.258 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002538/14.79, allocations: 55.97 kB / 4.499 GB, free: 4.203 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.005447/14.8, allocations: 2.069 MB / 4.501 GB, free: 2.137 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.523e-06/14.8, allocations: 0 / 4.501 GB, free: 2.137 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.009811/14.81, allocations: 1.777 MB / 4.502 GB, free: 372 kB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 (vol.hOut_internal,vol.dynBal.medium.Xi[1],vol.dynBal.m,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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 132 * 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%) 4,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01578/14.82, allocations: 6.127 MB / 4.508 GB, free: 10.24 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01506/14.84, allocations: 4.231 MB / 4.512 GB, free: 5.953 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.376e-05/14.84, allocations: 4.438 kB / 4.512 GB, free: 5.949 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.003953/14.84, allocations: 1.654 MB / 4.514 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01403/14.86, allocations: 1.653 MB / 4.516 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02137/14.88, allocations: 6.415 MB / 4.522 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003364/14.88, allocations: 2.432 MB / 4.524 GB, free: 9.641 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.01079/14.89, allocations: 1.8 MB / 4.526 GB, free: 7.832 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003459/14.9, allocations: 1.284 MB / 4.527 GB, free: 6.547 MB / 0.8542 GB Notification: Performance of SimCode: time 1.522e-06/14.9, allocations: 0 / 4.527 GB, free: 6.547 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9512/15.85, allocations: 122.5 MB / 4.647 GB, free: 130.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002979/15.85, allocations: 217 kB / 4.647 GB, free: 130.1 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.067/23.92, allocations: 7 kB / 4.647 GB, free: 130.1 MB / 0.8542 GB