Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.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.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger,fileNamePrefix="Buildings_6_0_0_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.156/4.156, allocations: 432.6 MB / 445.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.868e-05/3.886e-05, allocations: 4.875 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2275, allocations: 98.73 MB / 0.6347 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.288/1.516, allocations: 432.2 MB / 1.057 GB, free: 7.352 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000384/1.516, allocations: 100.2 kB / 1.057 GB, free: 7.297 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 8.051/9.567, allocations: 1.434 GB / 2.491 GB, free: 71.39 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.924e-06/9.567, allocations: 2.5 kB / 2.491 GB, free: 71.39 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0006547/9.568, allocations: 90.2 kB / 2.491 GB, free: 71.37 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.01228/9.58, allocations: 3.246 MB / 2.494 GB, free: 69.94 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/9.58, allocations: 9.25 kB / 2.494 GB, free: 69.94 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001106/9.582, allocations: 275.6 kB / 2.494 GB, free: 69.89 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006467/9.588, allocations: 0.7917 MB / 2.495 GB, free: 69.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01258/9.601, allocations: 3.442 MB / 2.498 GB, free: 69.09 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002438/9.603, allocations: 424.8 kB / 2.499 GB, free: 69.08 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001026/9.604, allocations: 207.2 kB / 2.499 GB, free: 69.08 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00722/9.611, allocations: 2.299 MB / 2.501 GB, free: 68.78 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.991e-05/9.612, allocations: 3.531 kB / 2.501 GB, free: 68.78 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003976/9.612, allocations: 83.38 kB / 2.501 GB, free: 68.78 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.644e-05/9.612, allocations: 45.25 kB / 2.501 GB, free: 68.78 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006566/9.619, allocations: 1.908 MB / 2.503 GB, free: 68.77 MB / 0.8698 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.03005/9.649, allocations: 12.63 MB / 2.515 GB, free: 62.71 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003145/9.652, allocations: 1.224 MB / 2.517 GB, free: 62.58 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00178/9.654, allocations: 0.6794 MB / 2.517 GB, free: 62.57 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00189/9.656, allocations: 1.644 MB / 2.519 GB, free: 60.79 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00223/9.658, allocations: 0.7749 MB / 2.52 GB, free: 60.69 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00234/9.66, allocations: 194.7 kB / 2.52 GB, free: 60.62 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=122): time 8.677e-06/9.66, allocations: 3.75 kB / 2.52 GB, free: 60.62 MB / 0.8698 GB Notification: Performance of matching and sorting (n=122): time 0.005348/9.666, allocations: 1.583 MB / 2.521 GB, free: 60.36 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.822e-05/9.666, allocations: 228.1 kB / 2.522 GB, free: 60.11 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006047/9.672, allocations: 2.319 MB / 2.524 GB, free: 59.86 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005264/9.673, allocations: 54.45 kB / 2.524 GB, free: 59.83 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001954/9.675, allocations: 1.366 MB / 2.525 GB, free: 59.45 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007307/9.675, allocations: 423.1 kB / 2.526 GB, free: 59.18 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001973/9.676, allocations: 31.47 kB / 2.526 GB, free: 59.18 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001362/9.676, allocations: 358.5 kB / 2.526 GB, free: 58.88 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001771/9.677, allocations: 0.6004 MB / 2.527 GB, free: 58.88 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002205/9.68, allocations: 1.06 MB / 2.528 GB, free: 58.39 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002014/9.682, allocations: 0.7376 MB / 2.528 GB, free: 58.34 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.191e-05/9.682, allocations: 6.156 kB / 2.528 GB, free: 58.34 MB / 0.8698 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.006051/9.688, allocations: 2.043 MB / 2.53 GB, free: 58.07 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000842/9.689, allocations: 3.536 MB / 2.534 GB, free: 54.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.525e-05/9.689, allocations: 14.66 kB / 2.534 GB, free: 54.34 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005581/9.689, allocations: 110.2 kB / 2.534 GB, free: 54.32 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003752/9.693, allocations: 435.1 kB / 2.534 GB, free: 54.32 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/9.694, allocations: 1.205 MB / 2.535 GB, free: 53.28 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005325/9.7, allocations: 318.7 kB / 2.536 GB, free: 53.26 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005824/9.7, allocations: 90.62 kB / 2.536 GB, free: 53.26 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/9.7, allocations: 3.75 kB / 2.536 GB, free: 53.26 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005038/9.705, allocations: 1.741 MB / 2.538 GB, free: 53.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.911e-05/9.705, allocations: 8.688 kB / 2.538 GB, free: 53.18 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004979/9.706, allocations: 111.8 kB / 2.538 GB, free: 53.16 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003497/9.709, allocations: 424.4 kB / 2.538 GB, free: 53.16 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003781/9.713, allocations: 3.276 MB / 2.541 GB, free: 50.37 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005286/9.719, allocations: 299.2 kB / 2.542 GB, free: 50.35 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005313/9.719, allocations: 88.2 kB / 2.542 GB, free: 50.35 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,$PRE.TCon_in.nextEvent,TCon_in.nextEvent,TCon_in.nextEventScaled,hex1.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (178): * Single equations (assignments): 173 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0007265/9.72, allocations: 236.6 kB / 2.542 GB, free: 50.21 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009904/9.721, allocations: 307.1 kB / 2.542 GB, free: 50.05 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006437/9.727, allocations: 2.151 MB / 2.544 GB, free: 49.86 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.233e-05/9.727, allocations: 17.88 kB / 2.544 GB, free: 49.86 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/9.727, allocations: 0 / 2.544 GB, free: 49.86 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003872/9.731, allocations: 1.661 MB / 2.546 GB, free: 49.52 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01279/9.744, allocations: 4.752 MB / 2.551 GB, free: 48.86 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-05/9.744, allocations: 2.812 kB / 2.551 GB, free: 48.86 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002803/9.747, allocations: 314.3 kB / 2.551 GB, free: 48.86 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004107/9.747, allocations: 106.6 kB / 2.551 GB, free: 48.84 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002461/9.748, allocations: 42.73 kB / 2.551 GB, free: 48.84 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008165/9.749, allocations: 1.177 MB / 2.552 GB, free: 47.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/9.749, allocations: 1.125 kB / 2.552 GB, free: 47.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007494/9.756, allocations: 3.038 MB / 2.555 GB, free: 47.15 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002565/9.759, allocations: 0.65 MB / 2.556 GB, free: 46.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009728/9.76, allocations: 33.61 kB / 2.556 GB, free: 46.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00474/9.764, allocations: 279.8 kB / 2.556 GB, free: 46.87 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003739/9.765, allocations: 94.08 kB / 2.556 GB, free: 46.87 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002836/9.765, allocations: 71.88 kB / 2.556 GB, free: 46.87 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.004466/9.77, allocations: 1.813 MB / 2.558 GB, free: 46.71 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7.71e-07/9.77, allocations: 0 / 2.558 GB, free: 46.71 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.008936/9.779, allocations: 1.574 MB / 2.56 GB, free: 46.52 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (hex1.thrWayVal.vol.dynBal.U,hex1.thrWayVal.filter.x[1],hex1.thrWayVal.filter.x[2],hex1.con.I.y,TSen1.T,TSen2.T) * Number of discrete variables: 6 ($whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,TCon_in.nextEvent,TCon_in.nextEventScaled) * Number of discrete states: 6 (TCon_in.nextEvent,TCon_in.last,TCon_in.nextEventScaled,TCon_in.b,TCon_in.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (135): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.01205/9.791, allocations: 5.319 MB / 2.565 GB, free: 44.65 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0083/9.799, allocations: 3.057 MB / 2.568 GB, free: 44.18 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/9.799, allocations: 3.188 kB / 2.568 GB, free: 44.18 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00238/9.802, allocations: 0.8802 MB / 2.569 GB, free: 44.09 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01275/9.814, allocations: 1.456 MB / 2.57 GB, free: 44.05 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01777/9.832, allocations: 4.665 MB / 2.575 GB, free: 42.77 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002042/9.834, allocations: 1.85 MB / 2.576 GB, free: 41.98 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.007533/9.842, allocations: 0.8181 MB / 2.577 GB, free: 41.84 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002817/9.845, allocations: 1.229 MB / 2.578 GB, free: 41.83 MB / 0.8698 GB Notification: Performance of SimCode: time 1.032e-06/9.845, allocations: 4 kB / 2.578 GB, free: 41.83 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2419/10.09, allocations: 102.1 MB / 2.678 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004102/10.09, allocations: 271.2 kB / 2.678 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.484/17.57, allocations: 0 / 2.678 GB, free: 13.98 MB / 0.8855 GB