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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009236/0.009235, allocations: 107.4 kB / 15.06 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.00113/0.00113, allocations: 173.6 kB / 15.94 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.938/1.938, allocations: 194.6 MB / 211.3 MB, free: 11.02 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.268/2.268, allocations: 236.2 MB / 492.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004704/0.0004707, allocations: 12 kB / 0.5869 GB, free: 2.164 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5349/0.5354, allocations: 98.71 MB / 0.6833 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02821/0.5637, allocations: 23.74 MB / 0.7065 GB, free: 164 kB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01326/0.577, allocations: 6.782 MB / 0.7132 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001448/0.5785, allocations: 26.44 kB / 0.7132 GB, free: 10.72 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001535/0.58, allocations: 392 kB / 0.7136 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.004044/0.5841, allocations: 0.9908 MB / 0.7145 GB, free: 9.555 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.004235/0.5884, allocations: 0.992 MB / 0.7155 GB, free: 8.84 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.005064/0.5934, allocations: 2.717 MB / 0.7181 GB, free: 7.07 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002784/0.5963, allocations: 1.604 MB / 0.7197 GB, free: 6.18 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0029/0.5992, allocations: 1.159 MB / 0.7208 GB, free: 5.508 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001999/0.6012, allocations: 0.9348 MB / 0.7218 GB, free: 4.941 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.000291/0.6015, allocations: 77.78 kB / 0.7218 GB, free: 4.941 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00293/0.6045, allocations: 0.8462 MB / 0.7227 GB, free: 4.559 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.000664/0.6052, allocations: 338.5 kB / 0.723 GB, free: 4.309 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0008653/0.6061, allocations: 424 kB / 0.7234 GB, free: 4.074 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.004481/0.6106, allocations: 2.713 MB / 0.726 GB, free: 2.238 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.055e-06/0.6106, allocations: 0 / 0.726 GB, free: 2.238 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.639e-06/0.6106, allocations: 1.062 kB / 0.726 GB, free: 2.238 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.509e-05/0.6107, allocations: 0 / 0.726 GB, free: 2.238 MB / 0.5417 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.005799/0.6165, allocations: 2.129 MB / 0.7281 GB, free: 424 kB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.6166, allocations: 12.03 kB / 0.7281 GB, free: 412 kB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001275/0.6179, allocations: 229.5 kB / 0.7283 GB, free: 180 kB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00431/0.6222, allocations: 1.601 MB / 0.7299 GB, free: 14.52 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001315/0.6224, allocations: 114.7 kB / 0.73 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003722/0.6227, allocations: 148 kB / 0.7302 GB, free: 14.26 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004717/0.6275, allocations: 1.951 MB / 0.7321 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.803e-05/0.6276, allocations: 7.906 kB / 0.7321 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002051/0.6278, allocations: 59.98 kB / 0.7321 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.052e-05/0.6279, allocations: 39.98 kB / 0.7322 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004237/0.6321, allocations: 1.786 MB / 0.7339 GB, free: 10.35 MB / 0.5573 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01656/0.6487, allocations: 7.645 MB / 0.7414 GB, free: 2.391 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00284/0.6516, allocations: 1.377 MB / 0.7427 GB, free: 1.016 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009103/0.6607, allocations: 3.784 MB / 0.7464 GB, free: 12.93 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.843e-05/0.6608, allocations: 43.55 kB / 0.7465 GB, free: 12.88 MB / 0.573 GB Notification: Performance of pre-optimization done (n=87): time 4.659e-06/0.6608, allocations: 0 / 0.7465 GB, free: 12.88 MB / 0.573 GB Notification: Performance of matching and sorting (n=87): time 0.003631/0.6645, allocations: 1.49 MB / 0.7479 GB, free: 11.38 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.261e-05/0.6646, allocations: 60.41 kB / 0.748 GB, free: 11.3 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00328/0.6679, allocations: 1.672 MB / 0.7496 GB, free: 9.621 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002496/0.6682, allocations: 49.7 kB / 0.7496 GB, free: 9.566 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009548/0.6691, allocations: 0.7612 MB / 0.7504 GB, free: 8.797 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004439/0.6696, allocations: 307.5 kB / 0.7507 GB, free: 8.492 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.6697, allocations: 24 kB / 0.7507 GB, free: 8.469 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002244/0.6699, allocations: 369.9 kB / 0.7511 GB, free: 8.102 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001477/0.6714, allocations: 0.6753 MB / 0.7517 GB, free: 7.426 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001819/0.6733, allocations: 1.009 MB / 0.7527 GB, free: 6.285 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001888/0.6752, allocations: 0.8767 MB / 0.7536 GB, free: 5.41 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.231e-05/0.6752, allocations: 4 kB / 0.7536 GB, free: 5.406 MB / 0.573 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.004601/0.6798, allocations: 1.94 MB / 0.7555 GB, free: 3.457 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001851/0.6817, allocations: 3.523 MB / 0.7589 GB, free: 15.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.31e-05/0.6818, allocations: 11.98 kB / 0.7589 GB, free: 15.68 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.68e-05/0.6818, allocations: 20 kB / 0.7589 GB, free: 15.66 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00194/0.6838, allocations: 343.5 kB / 0.7593 GB, free: 15.33 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.643e-05/0.6838, allocations: 23.94 kB / 0.7593 GB, free: 15.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001954/0.6858, allocations: 226 kB / 0.7595 GB, free: 15.08 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002424/0.6861, allocations: 59.98 kB / 0.7595 GB, free: 15.02 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.6861, allocations: 8 kB / 0.7596 GB, free: 15.02 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004087/0.6902, allocations: 1.783 MB / 0.7613 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.174e-05/0.6903, allocations: 12 kB / 0.7613 GB, free: 13.22 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-05/0.6903, allocations: 16.91 kB / 0.7613 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002044/0.6923, allocations: 351.5 kB / 0.7617 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.433e-05/0.6924, allocations: 23.89 kB / 0.7617 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001916/0.6943, allocations: 194.4 kB / 0.7619 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002182/0.6946, allocations: 59.98 kB / 0.7619 GB, free: 12.59 MB / 0.5886 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 () * Number of clocked 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.001581/0.6962, allocations: 0.7463 MB / 0.7627 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004977/0.6967, allocations: 146.2 kB / 0.7628 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002886/0.6996, allocations: 1.267 MB / 0.764 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-05/0.6996, allocations: 8 kB / 0.764 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/0.6997, allocations: 7.938 kB / 0.764 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00216/0.7018, allocations: 1.273 MB / 0.7653 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006661/0.7085, allocations: 2.903 MB / 0.7681 GB, free: 6.051 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.485e-06/0.7086, allocations: 0 / 0.7681 GB, free: 6.051 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001223/0.7098, allocations: 175.8 kB / 0.7683 GB, free: 5.879 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-05/0.7099, allocations: 11.89 kB / 0.7683 GB, free: 5.867 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001288/0.71, allocations: 32.05 kB / 0.7683 GB, free: 5.836 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.058e-05/0.71, allocations: 4 kB / 0.7683 GB, free: 5.832 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.172e-06/0.71, allocations: 4 kB / 0.7683 GB, free: 5.828 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004095/0.7141, allocations: 1.936 MB / 0.7702 GB, free: 3.832 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001319/0.7155, allocations: 430.8 kB / 0.7706 GB, free: 3.391 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003296/0.7159, allocations: 16 kB / 0.7707 GB, free: 3.375 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001169/0.717, allocations: 78.41 kB / 0.7707 GB, free: 3.301 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.7172, allocations: 56.86 kB / 0.7708 GB, free: 3.246 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/0.7173, allocations: 35.98 kB / 0.7708 GB, free: 3.211 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002515/0.7198, allocations: 1.253 MB / 0.772 GB, free: 1.961 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.968e-06/0.7199, allocations: 0 / 0.772 GB, free: 1.961 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003496/0.7234, allocations: 0.92 MB / 0.7729 GB, free: 1.039 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001006/0.7244, allocations: 364.5 kB / 0.7733 GB, free: 0.6797 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.005125/0.7296, allocations: 2.305 MB / 0.7755 GB, free: 14.38 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.199e-06/0.7296, allocations: 0 / 0.7755 GB, free: 14.38 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001101/0.7307, allocations: 0.517 MB / 0.776 GB, free: 13.86 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004783/0.7355, allocations: 0.8438 MB / 0.7769 GB, free: 13.03 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00809/0.7436, allocations: 4.322 MB / 0.7811 GB, free: 8.664 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001893/0.7456, allocations: 1.696 MB / 0.7827 GB, free: 6.934 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.003931/0.7495, allocations: 0.9103 MB / 0.7836 GB, free: 6.02 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006236/0.7502, allocations: 135.4 kB / 0.7838 GB, free: 5.887 MB / 0.6042 GB Notification: Performance of SimCode: time 1.701e-06/0.7502, allocations: 0 / 0.7838 GB, free: 5.887 MB / 0.6042 GB Notification: Performance of Templates: time 0.07754/0.8278, allocations: 33.2 MB / 0.8162 GB, free: 5.082 MB / 0.6355 GB