Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadModel(Buildings): time 4.19/4.19, allocations: 433.3 MB / 440.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.737e-05/1.739e-05, allocations: 4 kB / 0.5325 GB, free: 1.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5029/0.5029, allocations: 98.72 MB / 0.6289 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9906/1.494, allocations: 392.6 MB / 1.012 GB, free: 5.312 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/1.494, allocations: 101.6 kB / 1.012 GB, free: 5.258 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.638/3.132, allocations: 395.4 MB / 1.399 GB, free: 16.44 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.04e-06/3.132, allocations: 0 / 1.399 GB, free: 16.44 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0002412/3.132, allocations: 51.94 kB / 1.399 GB, free: 16.39 MB / 0.8073 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.00556/3.138, allocations: 1.919 MB / 1.4 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/3.138, allocations: 12.03 kB / 1.4 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001258/3.139, allocations: 217.5 kB / 1.401 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006255/3.145, allocations: 2.06 MB / 1.403 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/3.146, allocations: 44 kB / 1.403 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007707/3.146, allocations: 97.02 kB / 1.403 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005947/3.152, allocations: 1.575 MB / 1.404 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006008/3.158, allocations: 1.618 MB / 1.406 GB, free: 8.68 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.441e-05/3.159, allocations: 7.953 kB / 1.406 GB, free: 8.672 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002628/3.159, allocations: 0 / 1.406 GB, free: 8.672 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.226e-05/3.159, allocations: 40 kB / 1.406 GB, free: 8.633 MB / 0.8073 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.02308/3.182, allocations: 7.191 MB / 1.413 GB, free: 1.168 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4929/3.675, allocations: 1.238 MB / 1.414 GB, free: 196.4 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001536/3.677, allocations: 0.5862 MB / 1.415 GB, free: 196.3 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009008/3.686, allocations: 3.849 MB / 1.419 GB, free: 194.5 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.75e-05/3.686, allocations: 51.11 kB / 1.419 GB, free: 194.4 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=83): time 4.618e-06/3.686, allocations: 0 / 1.419 GB, free: 194.4 MB / 0.8073 GB Notification: Performance of matching and sorting (n=83): time 0.003621/3.689, allocations: 1.087 MB / 1.42 GB, free: 194.4 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/3.69, allocations: 61.44 kB / 1.42 GB, free: 194.3 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002563/3.692, allocations: 1.237 MB / 1.421 GB, free: 194.2 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.000243/3.692, allocations: 26.95 kB / 1.421 GB, free: 194.1 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007075/3.693, allocations: 0.7769 MB / 1.422 GB, free: 193.9 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003739/3.694, allocations: 290.3 kB / 1.422 GB, free: 193.7 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.612e-05/3.694, allocations: 0 / 1.422 GB, free: 193.7 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001313/3.694, allocations: 362.7 kB / 1.422 GB, free: 193.4 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001293/3.695, allocations: 0.6353 MB / 1.423 GB, free: 193.4 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001625/3.697, allocations: 0.9623 MB / 1.424 GB, free: 193.1 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004287/3.701, allocations: 1.177 MB / 1.425 GB, free: 193 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.497e-05/3.701, allocations: 4.25 kB / 1.425 GB, free: 193 MB / 0.8073 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.007172/3.708, allocations: 2.122 MB / 1.427 GB, free: 192.9 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007267/3.709, allocations: 3.487 MB / 1.431 GB, free: 189.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.995e-05/3.709, allocations: 9.031 kB / 1.431 GB, free: 189.3 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.017e-05/3.709, allocations: 19.94 kB / 1.431 GB, free: 189.3 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00199/3.711, allocations: 353.4 kB / 1.431 GB, free: 189.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.338e-05/3.711, allocations: 17.97 kB / 1.431 GB, free: 189.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001961/3.713, allocations: 178.1 kB / 1.431 GB, free: 189.2 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003025/3.714, allocations: 64.61 kB / 1.431 GB, free: 189.2 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/3.714, allocations: 3.844 kB / 1.431 GB, free: 189.2 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005876/3.719, allocations: 1.953 MB / 1.433 GB, free: 189.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-05/3.72, allocations: 7.5 kB / 1.433 GB, free: 189.2 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.494e-05/3.72, allocations: 21.28 kB / 1.433 GB, free: 189.2 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001993/3.722, allocations: 342.5 kB / 1.433 GB, free: 189.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.652e-05/3.722, allocations: 24.14 kB / 1.433 GB, free: 189.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001899/3.724, allocations: 139.9 kB / 1.434 GB, free: 189.2 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002668/3.724, allocations: 61.72 kB / 1.434 GB, free: 189.2 MB / 0.8073 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.0003788/3.724, allocations: 144 kB / 1.434 GB, free: 189.1 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004492/3.725, allocations: 126.6 kB / 1.434 GB, free: 189 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003313/3.728, allocations: 1.188 MB / 1.435 GB, free: 188.9 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/3.728, allocations: 7.094 kB / 1.435 GB, free: 188.9 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.564e-06/3.728, allocations: 3.969 kB / 1.435 GB, free: 188.9 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002615/3.731, allocations: 1.271 MB / 1.436 GB, free: 188.5 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006483/3.737, allocations: 2.625 MB / 1.439 GB, free: 188.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.943e-06/3.737, allocations: 0 / 1.439 GB, free: 188.2 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009944/3.738, allocations: 180.6 kB / 1.439 GB, free: 188.2 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.175e-05/3.738, allocations: 3.844 kB / 1.439 GB, free: 188.2 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-05/3.738, allocations: 10.44 kB / 1.439 GB, free: 188.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.204e-06/3.738, allocations: 7.188 kB / 1.439 GB, free: 188.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.618e-06/3.739, allocations: 0 / 1.439 GB, free: 188.2 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003939/3.742, allocations: 1.813 MB / 1.441 GB, free: 187.9 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/3.744, allocations: 368.5 kB / 1.441 GB, free: 187.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002737/3.744, allocations: 5.891 kB / 1.441 GB, free: 187.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009646/3.745, allocations: 45.86 kB / 1.441 GB, free: 187.7 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/3.745, allocations: 56.36 kB / 1.441 GB, free: 187.7 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.421e-05/3.745, allocations: 24.56 kB / 1.441 GB, free: 187.7 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001712/3.747, allocations: 0.9486 MB / 1.442 GB, free: 187.6 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9.92e-07/3.747, allocations: 0 / 1.442 GB, free: 187.6 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.003912/3.751, allocations: 0.9456 MB / 1.443 GB, free: 187.6 MB / 0.8073 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.001123/3.752, allocations: 496.9 kB / 1.444 GB, free: 187.5 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.004319/3.756, allocations: 2.178 MB / 1.446 GB, free: 187.4 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.52e-06/3.756, allocations: 2.062 kB / 1.446 GB, free: 187.4 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0008378/3.757, allocations: 470.5 kB / 1.446 GB, free: 187.4 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003486/3.761, allocations: 0.6206 MB / 1.447 GB, free: 187.4 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006555/3.767, allocations: 2.917 MB / 1.45 GB, free: 186.9 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001573/3.769, allocations: 1.69 MB / 1.451 GB, free: 186.1 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.004922/3.774, allocations: 1.13 MB / 1.452 GB, free: 186.1 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005414/3.774, allocations: 99.22 kB / 1.453 GB, free: 186.1 MB / 0.8073 GB Notification: Performance of SimCode: time 1.927e-06/3.774, allocations: 0 / 1.453 GB, free: 186.1 MB / 0.8073 GB Notification: Performance of Templates: time 0.06244/3.837, allocations: 27.19 MB / 1.479 GB, free: 185.2 MB / 0.8073 GB