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/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.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.071/4.071, allocations: 433.2 MB / 440.7 MB, free: 4.551 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.88e-05/2.88e-05, allocations: 3.188 kB / 0.5325 GB, free: 12.7 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2344, allocations: 98.73 MB / 0.6289 GB, free: 9.086 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.268/1.503, allocations: 392.6 MB / 1.012 GB, free: 8.926 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003439/1.503, allocations: 99.31 kB / 1.012 GB, free: 8.875 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.906/3.41, allocations: 395.4 MB / 1.399 GB, free: 22.27 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.214e-06/3.41, allocations: 0 / 1.399 GB, free: 22.27 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002481/3.41, allocations: 47.98 kB / 1.399 GB, free: 22.23 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.006748/3.417, allocations: 1.923 MB / 1.4 GB, free: 20.25 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/3.417, allocations: 8.031 kB / 1.4 GB, free: 20.24 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001547/3.418, allocations: 225.5 kB / 1.401 GB, free: 20.02 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006956/3.425, allocations: 2.064 MB / 1.403 GB, free: 17.9 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.029e-05/3.425, allocations: 44 kB / 1.403 GB, free: 17.86 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004064/3.426, allocations: 92.8 kB / 1.403 GB, free: 17.77 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004145/3.43, allocations: 1.575 MB / 1.404 GB, free: 16.19 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004035/3.434, allocations: 1.622 MB / 1.406 GB, free: 14.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.215e-05/3.434, allocations: 3.906 kB / 1.406 GB, free: 14.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001621/3.434, allocations: 8 kB / 1.406 GB, free: 14.49 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.56e-05/3.434, allocations: 43.98 kB / 1.406 GB, free: 14.45 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.01715/3.452, allocations: 7.171 MB / 1.413 GB, free: 7 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002555/3.454, allocations: 1.244 MB / 1.414 GB, free: 5.754 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001091/3.455, allocations: 0.5855 MB / 1.415 GB, free: 5.168 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009672/3.465, allocations: 3.863 MB / 1.419 GB, free: 0.9609 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/3.465, allocations: 43.34 kB / 1.419 GB, free: 0.9102 MB / 0.823 GB Notification: Performance of pre-optimization done (n=83): time 3.847e-06/3.465, allocations: 4 kB / 1.419 GB, free: 0.9062 MB / 0.823 GB Notification: Performance of matching and sorting (n=83): time 0.6199/4.085, allocations: 1.085 MB / 1.42 GB, free: 207.7 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/4.085, allocations: 63.06 kB / 1.42 GB, free: 207.7 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002966/4.088, allocations: 1.237 MB / 1.421 GB, free: 207.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.000349/4.088, allocations: 28.17 kB / 1.421 GB, free: 207.5 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000907/4.089, allocations: 0.7734 MB / 1.422 GB, free: 207.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000489/4.09, allocations: 287.6 kB / 1.422 GB, free: 207.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/4.09, allocations: 1 kB / 1.422 GB, free: 207.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001485/4.09, allocations: 365.5 kB / 1.422 GB, free: 206.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001833/4.092, allocations: 0.6333 MB / 1.423 GB, free: 206.9 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002247/4.094, allocations: 0.9628 MB / 1.424 GB, free: 206.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00529/4.1, allocations: 1.176 MB / 1.425 GB, free: 206.5 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.923e-05/4.1, allocations: 2.469 kB / 1.425 GB, free: 206.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.008831/4.109, allocations: 2.119 MB / 1.427 GB, free: 206.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009178/4.11, allocations: 3.489 MB / 1.431 GB, free: 202.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-05/4.11, allocations: 8.531 kB / 1.431 GB, free: 202.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.854e-05/4.11, allocations: 20.5 kB / 1.431 GB, free: 202.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003001/4.113, allocations: 345.6 kB / 1.431 GB, free: 202.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-05/4.113, allocations: 24.38 kB / 1.431 GB, free: 202.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002528/4.115, allocations: 180 kB / 1.431 GB, free: 202.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002979/4.116, allocations: 63.19 kB / 1.431 GB, free: 202.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/4.116, allocations: 4 kB / 1.431 GB, free: 202.7 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007991/4.124, allocations: 1.951 MB / 1.433 GB, free: 202.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.393e-05/4.124, allocations: 12.81 kB / 1.433 GB, free: 202.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.532e-05/4.124, allocations: 16.59 kB / 1.433 GB, free: 202.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002857/4.127, allocations: 348.6 kB / 1.433 GB, free: 202.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.021e-05/4.127, allocations: 21.16 kB / 1.433 GB, free: 202.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002352/4.129, allocations: 141.6 kB / 1.434 GB, free: 202.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002903/4.13, allocations: 63.41 kB / 1.434 GB, free: 202.6 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.000463/4.13, allocations: 136.6 kB / 1.434 GB, free: 202.5 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004021/4.134, allocations: 1.084 MB / 1.435 GB, free: 202.4 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005106/4.135, allocations: 127.9 kB / 1.435 GB, free: 202.4 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004369/4.139, allocations: 1.188 MB / 1.436 GB, free: 202.3 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-05/4.139, allocations: 7.469 kB / 1.436 GB, free: 202.3 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/4.139, allocations: 2.219 kB / 1.436 GB, free: 202.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00345/4.143, allocations: 1.269 MB / 1.437 GB, free: 201.8 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008227/4.151, allocations: 2.625 MB / 1.44 GB, free: 201.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/4.151, allocations: 1.625 kB / 1.44 GB, free: 201.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001693/4.153, allocations: 178.3 kB / 1.44 GB, free: 201.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.651e-05/4.153, allocations: 3.625 kB / 1.44 GB, free: 201.5 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000126/4.153, allocations: 10.83 kB / 1.44 GB, free: 201.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.047e-06/4.153, allocations: 7.188 kB / 1.44 GB, free: 201.5 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/4.153, allocations: 2.734 kB / 1.44 GB, free: 201.5 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004754/4.158, allocations: 1.803 MB / 1.442 GB, free: 201.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001383/4.159, allocations: 378.7 kB / 1.442 GB, free: 201.1 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004846/4.16, allocations: 12.58 kB / 1.442 GB, free: 201.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001412/4.161, allocations: 38.73 kB / 1.442 GB, free: 201.1 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000194/4.161, allocations: 52.98 kB / 1.442 GB, free: 201.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.362e-05/4.161, allocations: 26.23 kB / 1.442 GB, free: 201.1 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002227/4.164, allocations: 0.9486 MB / 1.443 GB, free: 201 MB / 0.823 GB Notification: Performance of sort global known variables: time 8.72e-07/4.164, allocations: 0 / 1.443 GB, free: 201 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.005742/4.169, allocations: 0.9496 MB / 1.444 GB, free: 200.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.006487/4.176, allocations: 2.807 MB / 1.447 GB, free: 200.1 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.005454/4.181, allocations: 2.179 MB / 1.449 GB, free: 200.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/4.181, allocations: 0 / 1.449 GB, free: 200.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009998/4.182, allocations: 469.2 kB / 1.449 GB, free: 200.1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005403/4.188, allocations: 0.631 MB / 1.45 GB, free: 200 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/4.198, allocations: 3.467 MB / 1.453 GB, free: 199.4 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001452/4.2, allocations: 1.688 MB / 1.455 GB, free: 198.7 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.005903/4.206, allocations: 1.136 MB / 1.456 GB, free: 198.7 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00148/4.207, allocations: 0.5748 MB / 1.457 GB, free: 198.7 MB / 0.823 GB Notification: Performance of SimCode: time 1.512e-06/4.207, allocations: 0 / 1.457 GB, free: 198.7 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1294/4.337, allocations: 41.33 MB / 1.497 GB, free: 197.3 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002654/4.337, allocations: 200.5 kB / 1.497 GB, free: 197.1 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.426/8.763, allocations: 3.75 kB / 1.497 GB, free: 197.1 MB / 0.823 GB