Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.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.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.127/4.127, allocations: 432.6 MB / 445.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.52e-05/4.556e-05, allocations: 9.438 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2366, allocations: 98.72 MB / 0.6347 GB, free: 1.914 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.175/1.412, allocations: 393.2 MB / 1.019 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003438/1.412, allocations: 94.12 kB / 1.019 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.876/3.288, allocations: 397.6 MB / 1.407 GB, free: 6.504 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.604e-06/3.288, allocations: 4 kB / 1.407 GB, free: 6.5 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0003017/3.288, allocations: 51.92 kB / 1.407 GB, free: 6.449 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: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.007185/3.296, allocations: 1.904 MB / 1.409 GB, free: 4.492 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/3.296, allocations: 11.97 kB / 1.409 GB, free: 4.48 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006719/3.296, allocations: 218.7 kB / 1.409 GB, free: 4.258 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/3.298, allocations: 221.5 kB / 1.409 GB, free: 4.039 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007254/3.305, allocations: 2.072 MB / 1.411 GB, free: 1.91 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/3.305, allocations: 110.7 kB / 1.412 GB, free: 1.801 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000479/3.306, allocations: 152 kB / 1.412 GB, free: 1.652 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5929/3.898, allocations: 1.832 MB / 1.413 GB, free: 203.2 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.694e-05/3.899, allocations: 6.25 kB / 1.414 GB, free: 203.2 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002454/3.899, allocations: 56.94 kB / 1.414 GB, free: 203.2 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.946e-05/3.899, allocations: 42.3 kB / 1.414 GB, free: 203.2 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005495/3.904, allocations: 1.656 MB / 1.415 GB, free: 203.2 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.0221/3.927, allocations: 7.477 MB / 1.423 GB, free: 200.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003425/3.93, allocations: 1.296 MB / 1.424 GB, free: 200.8 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001636/3.932, allocations: 0.6199 MB / 1.424 GB, free: 200.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0119/3.944, allocations: 3.789 MB / 1.428 GB, free: 199.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.152e-05/3.944, allocations: 42.2 kB / 1.428 GB, free: 199 MB / 0.823 GB Notification: Performance of pre-optimization done (n=84): time 3.777e-06/3.944, allocations: 0 / 1.428 GB, free: 199 MB / 0.823 GB Notification: Performance of matching and sorting (n=84): time 0.003498/3.947, allocations: 1.035 MB / 1.429 GB, free: 198.9 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.344e-05/3.947, allocations: 61.16 kB / 1.429 GB, free: 198.9 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004249/3.952, allocations: 1.5 MB / 1.431 GB, free: 198.7 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003624/3.952, allocations: 46.02 kB / 1.431 GB, free: 198.7 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001091/3.953, allocations: 0.7736 MB / 1.431 GB, free: 198.4 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006017/3.954, allocations: 302.7 kB / 1.432 GB, free: 198.3 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/3.954, allocations: 28 kB / 1.432 GB, free: 198.3 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001693/3.954, allocations: 363 kB / 1.432 GB, free: 197.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002001/3.956, allocations: 0.6617 MB / 1.433 GB, free: 197.9 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002302/3.959, allocations: 1.005 MB / 1.434 GB, free: 197.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002361/3.961, allocations: 0.8593 MB / 1.435 GB, free: 197.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.065e-05/3.961, allocations: 3.688 kB / 1.435 GB, free: 197.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.005734/3.967, allocations: 1.907 MB / 1.436 GB, free: 197.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008306/3.968, allocations: 3.531 MB / 1.44 GB, free: 193.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.535e-05/3.968, allocations: 8.281 kB / 1.44 GB, free: 193.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.819e-05/3.968, allocations: 16.84 kB / 1.44 GB, free: 193.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003021/3.971, allocations: 348.4 kB / 1.44 GB, free: 193.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-05/3.971, allocations: 24.27 kB / 1.44 GB, free: 193.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002862/3.974, allocations: 224.1 kB / 1.44 GB, free: 193.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003867/3.974, allocations: 68.84 kB / 1.441 GB, free: 193.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/3.974, allocations: 6.234 kB / 1.441 GB, free: 193.7 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004749/3.979, allocations: 1.755 MB / 1.442 GB, free: 193.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-05/3.979, allocations: 7.125 kB / 1.442 GB, free: 193.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.873e-05/3.979, allocations: 18.34 kB / 1.442 GB, free: 193.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002675/3.982, allocations: 347.3 kB / 1.443 GB, free: 193.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.685e-05/3.982, allocations: 19.25 kB / 1.443 GB, free: 193.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002744/3.985, allocations: 193.1 kB / 1.443 GB, free: 193.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000387/3.985, allocations: 67.27 kB / 1.443 GB, free: 193.7 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (176): * Single equations (assignments): 176 * 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 0.0004551/3.986, allocations: 183.1 kB / 1.443 GB, free: 193.6 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006006/3.986, allocations: 154.2 kB / 1.443 GB, free: 193.5 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003136/3.989, allocations: 1.194 MB / 1.444 GB, free: 193.4 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.727e-05/3.989, allocations: 7.781 kB / 1.444 GB, free: 193.4 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/3.989, allocations: 0 / 1.444 GB, free: 193.4 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002051/3.992, allocations: 1.206 MB / 1.446 GB, free: 192.9 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01048/4.002, allocations: 2.758 MB / 1.448 GB, free: 192.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.464e-05/4.002, allocations: 3.844 kB / 1.448 GB, free: 192.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00262/4.005, allocations: 172.9 kB / 1.448 GB, free: 192.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.279e-05/4.005, allocations: 3.906 kB / 1.448 GB, free: 192.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001991/4.005, allocations: 26.83 kB / 1.448 GB, free: 192.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.167e-05/4.005, allocations: 3.969 kB / 1.448 GB, free: 192.6 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/4.005, allocations: 1.594 kB / 1.448 GB, free: 192.6 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006165/4.011, allocations: 1.776 MB / 1.45 GB, free: 192.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002153/4.014, allocations: 415.8 kB / 1.451 GB, free: 192.1 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009843/4.015, allocations: 14.81 kB / 1.451 GB, free: 192.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002986/4.018, allocations: 71.58 kB / 1.451 GB, free: 192.1 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003479/4.018, allocations: 50.48 kB / 1.451 GB, free: 192.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001553/4.018, allocations: 28.59 kB / 1.451 GB, free: 192.1 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.004512/4.023, allocations: 1.252 MB / 1.452 GB, free: 192 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.663e-06/4.023, allocations: 0 / 1.452 GB, free: 192 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.007088/4.03, allocations: 0.9595 MB / 1.453 GB, free: 191.9 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (indTanHex.vol[1].dynBal.U,indTanHex.vol[2].dynBal.U,indTanHex.vol[3].dynBal.U,indTanHex.cap[1].T,indTanHex.cap[2].T,indTanHex.cap[3].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.008392/4.038, allocations: 2.776 MB / 1.456 GB, free: 191.1 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.009235/4.048, allocations: 2.299 MB / 1.458 GB, free: 191 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.077e-05/4.048, allocations: 0 / 1.458 GB, free: 191 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0018/4.05, allocations: 484.6 kB / 1.458 GB, free: 191 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01077/4.06, allocations: 0.8501 MB / 1.459 GB, free: 191 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01545/4.076, allocations: 3.621 MB / 1.463 GB, free: 190.4 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002709/4.079, allocations: 1.689 MB / 1.464 GB, free: 189.7 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.009893/4.089, allocations: 1.257 MB / 1.466 GB, free: 189.7 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002125/4.091, allocations: 0.5898 MB / 1.466 GB, free: 189.6 MB / 0.823 GB Notification: Performance of SimCode: time 2.114e-06/4.091, allocations: 0 / 1.466 GB, free: 189.6 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1315/4.222, allocations: 52.35 MB / 1.517 GB, free: 187.9 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003159/4.223, allocations: 218 kB / 1.517 GB, free: 187.7 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.766/8.988, allocations: 3.594 kB / 1.517 GB, free: 187.7 MB / 0.823 GB