Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.0152/0.01521, allocations: 88.36 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001793/0.001793, allocations: 173.8 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.152/2.152, allocations: 205.5 MB / 222.2 MB, free: 13.75 MB / 186.8 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.565/2.565, allocations: 252.8 MB / 0.511 GB, free: 8.383 MB / 426.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0005124/0.0005126, allocations: 17.11 kB / 0.6243 GB, free: 28.31 MB / 0.4949 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2418, allocations: 106.2 MB / 0.7281 GB, free: 10.17 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.04099/0.2829, allocations: 24.01 MB / 0.7515 GB, free: 2.082 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.01538/0.2983, allocations: 6.796 MB / 0.7582 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001477/0.2998, allocations: 31.75 kB / 0.7582 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.002046/0.3019, allocations: 394 kB / 0.7586 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.004746/0.3067, allocations: 0.9971 MB / 0.7595 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.005064/0.3118, allocations: 1.04 MB / 0.7606 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.006111/0.3179, allocations: 2.694 MB / 0.7632 GB, free: 6.113 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00339/0.3214, allocations: 1.613 MB / 0.7648 GB, free: 4.473 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003532/0.325, allocations: 1.152 MB / 0.7659 GB, free: 3.316 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002478/0.3275, allocations: 0.9333 MB / 0.7668 GB, free: 2.379 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0003677/0.3279, allocations: 80 kB / 0.7669 GB, free: 2.301 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003282/0.3312, allocations: 0.8426 MB / 0.7677 GB, free: 1.457 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0007142/0.332, allocations: 350.6 kB / 0.768 GB, free: 1.113 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0008424/0.3328, allocations: 416.8 kB / 0.7684 GB, free: 0.6992 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.005017/0.3379, allocations: 2.732 MB / 0.7711 GB, free: 13.96 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3379, allocations: 4 kB / 0.7711 GB, free: 13.96 MB / 0.6043 GB Notification: Performance of FrontEnd: time 3.777e-06/0.3379, allocations: 4 kB / 0.7711 GB, free: 13.95 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 7.438e-05/0.338, allocations: 0 / 0.7711 GB, free: 13.95 MB / 0.6043 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.007201/0.3452, allocations: 2.128 MB / 0.7732 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.3453, allocations: 12.03 kB / 0.7732 GB, free: 11.76 MB / 0.6043 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007005/0.346, allocations: 210.8 kB / 0.7734 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001237/0.3473, allocations: 229.5 kB / 0.7736 GB, free: 11.32 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004866/0.3522, allocations: 1.597 MB / 0.7752 GB, free: 9.664 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001324/0.3523, allocations: 114.7 kB / 0.7753 GB, free: 9.551 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004189/0.3528, allocations: 152 kB / 0.7754 GB, free: 9.402 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005138/0.3579, allocations: 1.955 MB / 0.7773 GB, free: 7.383 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.649e-05/0.358, allocations: 4 kB / 0.7773 GB, free: 7.379 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000277/0.3583, allocations: 59.95 kB / 0.7774 GB, free: 7.32 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.922e-05/0.3584, allocations: 39.94 kB / 0.7774 GB, free: 7.281 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004911/0.3633, allocations: 1.786 MB / 0.7792 GB, free: 5.488 MB / 0.6043 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.01959/0.383, allocations: 7.672 MB / 0.7867 GB, free: 13.51 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003549/0.3866, allocations: 1.455 MB / 0.7881 GB, free: 12.02 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01085/0.3975, allocations: 3.866 MB / 0.7919 GB, free: 7.844 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.067e-05/0.3976, allocations: 47.56 kB / 0.7919 GB, free: 7.789 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=88): time 4.87e-06/0.3976, allocations: 0 / 0.7919 GB, free: 7.789 MB / 0.6199 GB Notification: Performance of matching and sorting (n=88): time 0.004289/0.4019, allocations: 1.502 MB / 0.7934 GB, free: 6.277 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.82e-05/0.402, allocations: 64.41 kB / 0.7934 GB, free: 6.203 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003601/0.4056, allocations: 1.664 MB / 0.7951 GB, free: 4.527 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 0.0002773/0.406, allocations: 45.7 kB / 0.7951 GB, free: 4.477 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.001005/0.407, allocations: 0.7507 MB / 0.7958 GB, free: 3.719 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 0.000479/0.4075, allocations: 315.6 kB / 0.7961 GB, free: 3.406 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.4076, allocations: 32 kB / 0.7962 GB, free: 3.375 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 0.0001906/0.4078, allocations: 361.9 kB / 0.7965 GB, free: 3.016 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001836/0.4097, allocations: 0.6792 MB / 0.7972 GB, free: 2.336 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002227/0.4119, allocations: 1.005 MB / 0.7982 GB, free: 1.199 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002387/0.4143, allocations: 0.8728 MB / 0.799 GB, free: 336 kB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-05/0.4144, allocations: 4 kB / 0.799 GB, free: 332 kB / 0.6199 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.005697/0.4201, allocations: 1.94 MB / 0.8009 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.001499/0.4217, allocations: 3.518 MB / 0.8043 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.524e-05/0.4217, allocations: 8 kB / 0.8044 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.346e-05/0.4218, allocations: 19.94 kB / 0.8044 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002939/0.4248, allocations: 347.5 kB / 0.8047 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.386e-05/0.4248, allocations: 19.94 kB / 0.8047 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002421/0.4273, allocations: 225.9 kB / 0.8049 GB, free: 10 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002266/0.4275, allocations: 64.05 kB / 0.805 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.4276, allocations: 4 kB / 0.805 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004699/0.4323, allocations: 1.791 MB / 0.8068 GB, free: 8.145 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.116e-05/0.4323, allocations: 8 kB / 0.8068 GB, free: 8.137 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.136e-05/0.4324, allocations: 20 kB / 0.8068 GB, free: 8.117 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002653/0.435, allocations: 348.2 kB / 0.8071 GB, free: 7.777 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.553e-05/0.4351, allocations: 23.94 kB / 0.8071 GB, free: 7.754 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002147/0.4373, allocations: 182.5 kB / 0.8073 GB, free: 7.574 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001966/0.4375, allocations: 63.98 kB / 0.8074 GB, free: 7.512 MB / 0.6355 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 (175): * Single equations (assignments): 175 * 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.001686/0.4392, allocations: 0.7513 MB / 0.8081 GB, free: 6.75 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005472/0.4398, allocations: 150.2 kB / 0.8082 GB, free: 6.602 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003386/0.4431, allocations: 1.29 MB / 0.8095 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.091e-05/0.4432, allocations: 8 kB / 0.8095 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.4432, allocations: 0 / 0.8095 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00249/0.4457, allocations: 1.284 MB / 0.8108 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007366/0.4531, allocations: 2.943 MB / 0.8136 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.777e-06/0.4532, allocations: 0 / 0.8136 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001645/0.4548, allocations: 179.8 kB / 0.8138 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.549e-05/0.4549, allocations: 4 kB / 0.8138 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.74e-05/0.455, allocations: 23.98 kB / 0.8138 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.029e-05/0.455, allocations: 8 kB / 0.8138 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.455, allocations: 0 / 0.8138 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004548/0.4596, allocations: 1.971 MB / 0.8158 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001402/0.461, allocations: 434.7 kB / 0.8162 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003681/0.4614, allocations: 23.95 kB / 0.8162 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001635/0.4631, allocations: 83.77 kB / 0.8163 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001708/0.4633, allocations: 56.92 kB / 0.8163 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001175/0.4634, allocations: 31.98 kB / 0.8164 GB, free: 14 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.002897/0.4663, allocations: 1.249 MB / 0.8176 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.829e-06/0.4664, allocations: 0 / 0.8176 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003749/0.4701, allocations: 0.9123 MB / 0.8185 GB, free: 11.84 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (89): * Single equations (assignments): 87 * 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.005761/0.4759, allocations: 3.019 MB / 0.8214 GB, free: 8.773 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.005882/0.4819, allocations: 2.312 MB / 0.8237 GB, free: 6.465 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.4819, allocations: 0 / 0.8237 GB, free: 6.465 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001245/0.4832, allocations: 0.5146 MB / 0.8242 GB, free: 5.953 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006757/0.4899, allocations: 0.8611 MB / 0.825 GB, free: 5.102 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01498/0.5049, allocations: 11.51 MB / 0.8363 GB, free: 9.328 MB / 0.6668 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001898/0.5069, allocations: 1.692 MB / 0.8379 GB, free: 7.605 MB / 0.6668 GB Notification: Performance of simCode: alias equations: time 0.004597/0.5115, allocations: 0.9266 MB / 0.8388 GB, free: 6.676 MB / 0.6668 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001518/0.5131, allocations: 0.6164 MB / 0.8394 GB, free: 6.059 MB / 0.6668 GB Notification: Performance of SimCode: time 1.172e-06/0.5131, allocations: 0 / 0.8394 GB, free: 6.059 MB / 0.6668 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7421/1.255, allocations: 48.75 MB / 0.887 GB, free: 93.2 MB / 0.6668 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002508/1.255, allocations: 253.9 kB / 0.8873 GB, free: 92.86 MB / 0.6668 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.023/5.279, allocations: 0 / 0.8873 GB, free: 92.86 MB / 0.6668 GB