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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.913/3.913, allocations: 433.2 MB / 440.7 MB, free: 4.586 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.098e-05/2.113e-05, allocations: 2.891 kB / 0.5325 GB, free: 12.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2058, allocations: 98.74 MB / 0.6289 GB, free: 9.145 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.683/7.889, allocations: 2.486 GB / 3.115 GB, free: 152.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003082/7.889, allocations: 85.14 kB / 3.115 GB, free: 152 MB / 0.823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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.543/14.43, allocations: 1.276 GB / 4.391 GB, free: 111.1 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.933e-06/14.43, allocations: 4 kB / 4.391 GB, free: 111.1 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0007162/14.43, allocations: 100.7 kB / 4.391 GB, free: 111 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.01329/14.45, allocations: 3.397 MB / 4.394 GB, free: 109.4 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/14.45, allocations: 20.2 kB / 4.394 GB, free: 109.4 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01221/14.46, allocations: 1.174 MB / 4.396 GB, free: 109.2 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02042/14.48, allocations: 4.718 MB / 4.4 GB, free: 108.4 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001883/14.48, allocations: 74.84 kB / 4.4 GB, free: 108.4 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001093/14.48, allocations: 151.9 kB / 4.4 GB, free: 108.4 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007641/14.49, allocations: 2.383 MB / 4.403 GB, free: 108.4 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01023/14.5, allocations: 2.686 MB / 4.405 GB, free: 108 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001648/14.5, allocations: 11.81 kB / 4.405 GB, free: 108 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008231/14.5, allocations: 3.875 kB / 4.405 GB, free: 108 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000155/14.5, allocations: 106.8 kB / 4.405 GB, free: 108 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.03213/14.53, allocations: 12.74 MB / 4.418 GB, free: 101.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00569/14.54, allocations: 2.012 MB / 4.42 GB, free: 100.7 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00242/14.54, allocations: 1.03 MB / 4.421 GB, free: 100.3 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01373/14.55, allocations: 4.234 MB / 4.425 GB, free: 97.78 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001994/14.56, allocations: 0.9172 MB / 4.426 GB, free: 97.43 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001895/14.56, allocations: 138.3 kB / 4.426 GB, free: 97.35 MB / 0.823 GB Notification: Performance of pre-optimization done (n=141): time 6.843e-06/14.56, allocations: 0 / 4.426 GB, free: 97.35 MB / 0.823 GB Notification: Performance of matching and sorting (n=145): time 0.02014/14.58, allocations: 4.681 MB / 4.431 GB, free: 93.26 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.573e-05/14.58, allocations: 149.3 kB / 4.431 GB, free: 93.09 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006397/14.58, allocations: 2.34 MB / 4.433 GB, free: 91.03 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0007096/14.59, allocations: 33.7 kB / 4.433 GB, free: 90.99 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0025/14.59, allocations: 1.498 MB / 4.435 GB, free: 89.62 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.00118/14.59, allocations: 0.4887 MB / 4.435 GB, free: 89.18 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002919/14.59, allocations: 0 / 4.435 GB, free: 89.18 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002303/14.59, allocations: 386.4 kB / 4.435 GB, free: 88.82 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003158/14.59, allocations: 0.8982 MB / 4.436 GB, free: 88.01 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003622/14.6, allocations: 1.526 MB / 4.438 GB, free: 86.34 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005861/14.6, allocations: 1.249 MB / 4.439 GB, free: 85.29 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-05/14.6, allocations: 4 kB / 4.439 GB, free: 85.29 MB / 0.823 GB Notification: Performance of matching and sorting (n=270) (initialization): time 0.01466/14.62, allocations: 2.987 MB / 4.442 GB, free: 82.69 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.002043/14.62, allocations: 7.098 MB / 4.449 GB, free: 75.02 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001044/14.62, allocations: 19.52 kB / 4.449 GB, free: 75.01 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004633/14.62, allocations: 410.6 kB / 4.449 GB, free: 74.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005309/14.63, allocations: 483.5 kB / 4.45 GB, free: 74.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006042/14.64, allocations: 2.617 MB / 4.452 GB, free: 71.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007037/14.64, allocations: 176.7 kB / 4.452 GB, free: 71.57 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000765/14.64, allocations: 117.6 kB / 4.453 GB, free: 71.47 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/14.64, allocations: 4 kB / 4.453 GB, free: 71.47 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01186/14.66, allocations: 2.543 MB / 4.455 GB, free: 69.29 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-05/14.66, allocations: 16 kB / 4.455 GB, free: 69.27 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003482/14.66, allocations: 436 kB / 4.455 GB, free: 68.95 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003732/14.66, allocations: 465 kB / 4.456 GB, free: 68.57 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004444/14.67, allocations: 2.635 MB / 4.458 GB, free: 65.95 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004665/14.67, allocations: 157.3 kB / 4.459 GB, free: 65.83 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004661/14.67, allocations: 103.5 kB / 4.459 GB, free: 65.74 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 {5 6} Notification: Performance of prepare postOptimizeDAE: time 0.0007498/14.67, allocations: 172.3 kB / 4.459 GB, free: 65.57 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00661/14.68, allocations: 1.992 MB / 4.461 GB, free: 63.81 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001089/14.68, allocations: 282.8 kB / 4.461 GB, free: 63.54 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0072/14.69, allocations: 2.339 MB / 4.463 GB, free: 61.59 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.783e-05/14.69, allocations: 20 kB / 4.463 GB, free: 61.57 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/14.69, allocations: 4 kB / 4.463 GB, free: 61.57 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00521/14.69, allocations: 2.026 MB / 4.465 GB, free: 59.72 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01395/14.71, allocations: 4.916 MB / 4.47 GB, free: 54.82 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-05/14.71, allocations: 0 / 4.47 GB, free: 54.82 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002527/14.71, allocations: 277 kB / 4.47 GB, free: 54.55 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001758/14.71, allocations: 317 kB / 4.471 GB, free: 54.23 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002572/14.71, allocations: 31.06 kB / 4.471 GB, free: 54.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007697/14.72, allocations: 8.661 MB / 4.479 GB, free: 44.86 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/14.72, allocations: 4.031 kB / 4.479 GB, free: 44.86 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008449/14.73, allocations: 3.354 MB / 4.483 GB, free: 41.43 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002516/14.73, allocations: 0.6196 MB / 4.483 GB, free: 40.79 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000859/14.73, allocations: 19.78 kB / 4.483 GB, free: 40.77 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003227/14.74, allocations: 115.7 kB / 4.483 GB, free: 40.66 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004244/14.74, allocations: 117.1 kB / 4.483 GB, free: 40.54 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002083/14.74, allocations: 59.97 kB / 4.483 GB, free: 40.48 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.003786/14.74, allocations: 1.75 MB / 4.485 GB, free: 38.73 MB / 0.823 GB Notification: Performance of sort global known variables: time 7.61e-07/14.74, allocations: 0 / 4.485 GB, free: 38.73 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00958/14.75, allocations: 1.683 MB / 4.487 GB, free: 37.05 MB / 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.01304/14.76, allocations: 6.088 MB / 4.493 GB, free: 30.98 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01106/14.77, allocations: 4.016 MB / 4.497 GB, free: 26.91 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/14.77, allocations: 4.562 kB / 4.497 GB, free: 26.91 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002935/14.78, allocations: 1.608 MB / 4.498 GB, free: 25.25 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01172/14.79, allocations: 1.437 MB / 4.5 GB, free: 23.85 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01811/14.81, allocations: 6.212 MB / 4.506 GB, free: 17.61 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002357/14.81, allocations: 2.435 MB / 4.508 GB, free: 15.14 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.009546/14.82, allocations: 1.626 MB / 4.51 GB, free: 13.55 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002955/14.82, allocations: 1.276 MB / 4.511 GB, free: 12.27 MB / 0.823 GB Notification: Performance of SimCode: time 1.453e-06/14.82, allocations: 0 / 4.511 GB, free: 12.27 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9093/15.73, allocations: 98.81 MB / 4.607 GB, free: 120.9 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.001168/15.73, allocations: 170.8 kB / 4.608 GB, free: 120.7 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.083/22.82, allocations: 1.031 kB / 4.608 GB, free: 120.7 MB / 0.8386 GB