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/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.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.593/4.593, allocations: 433.2 MB / 440.7 MB, free: 4.574 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.471e-05/2.482e-05, allocations: 1.219 kB / 0.5325 GB, free: 12.76 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2279, allocations: 98.73 MB / 0.6289 GB, free: 9.098 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.312/1.54, allocations: 431.6 MB / 1.05 GB, free: 2.949 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003944/1.54, allocations: 103.1 kB / 1.05 GB, free: 2.895 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 7.998/9.538, allocations: 1.426 GB / 2.477 GB, free: 75.06 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.366e-06/9.538, allocations: 3.844 kB / 2.477 GB, free: 75.06 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0006007/9.539, allocations: 91.05 kB / 2.477 GB, free: 75.04 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.01255/9.551, allocations: 3.243 MB / 2.48 GB, free: 73.64 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/9.551, allocations: 15.34 kB / 2.48 GB, free: 73.64 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006435/9.558, allocations: 0.7885 MB / 2.481 GB, free: 73.45 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01317/9.571, allocations: 3.436 MB / 2.484 GB, free: 72.84 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002378/9.573, allocations: 346.8 kB / 2.485 GB, free: 72.83 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001006/9.574, allocations: 125.7 kB / 2.485 GB, free: 72.83 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006264/9.581, allocations: 1.801 MB / 2.486 GB, free: 72.82 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006971/9.588, allocations: 2.021 MB / 2.488 GB, free: 72.54 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.235e-05/9.588, allocations: 0 / 2.488 GB, free: 72.54 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003237/9.588, allocations: 3.438 kB / 2.488 GB, free: 72.54 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.461e-05/9.588, allocations: 47.12 kB / 2.488 GB, free: 72.54 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.02894/9.617, allocations: 12.37 MB / 2.501 GB, free: 66.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002804/9.62, allocations: 1.178 MB / 2.502 GB, free: 66.27 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00158/9.622, allocations: 0.652 MB / 2.502 GB, free: 66.26 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001781/9.624, allocations: 1.477 MB / 2.504 GB, free: 64.66 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001931/9.626, allocations: 0.745 MB / 2.504 GB, free: 64.57 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002099/9.628, allocations: 143.6 kB / 2.505 GB, free: 64.52 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=121): time 8.897e-06/9.628, allocations: 0 / 2.505 GB, free: 64.52 MB / 0.8698 GB Notification: Performance of matching and sorting (n=121): time 0.006719/9.634, allocations: 1.619 MB / 2.506 GB, free: 64.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.126e-05/9.635, allocations: 226.7 kB / 2.506 GB, free: 64.05 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004794/9.639, allocations: 1.908 MB / 2.508 GB, free: 63.82 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005215/9.64, allocations: 31.48 kB / 2.508 GB, free: 63.79 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001759/9.642, allocations: 1.381 MB / 2.51 GB, free: 63.34 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006959/9.642, allocations: 405.9 kB / 2.51 GB, free: 63.07 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/9.643, allocations: 3.625 kB / 2.51 GB, free: 63.07 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001253/9.643, allocations: 356.9 kB / 2.51 GB, free: 62.77 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001494/9.644, allocations: 0.5793 MB / 2.511 GB, free: 62.77 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001941/9.646, allocations: 1.02 MB / 2.512 GB, free: 62.29 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003897/9.65, allocations: 0.8479 MB / 2.513 GB, free: 62.27 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.481e-05/9.65, allocations: 1.844 kB / 2.513 GB, free: 62.27 MB / 0.8698 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.008555/9.659, allocations: 2.051 MB / 2.515 GB, free: 62.05 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008786/9.66, allocations: 3.469 MB / 2.518 GB, free: 58.46 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.886e-05/9.66, allocations: 13.25 kB / 2.518 GB, free: 58.45 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000445/9.66, allocations: 104.2 kB / 2.518 GB, free: 58.44 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0038/9.664, allocations: 430.2 kB / 2.519 GB, free: 58.44 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001076/9.665, allocations: 1.216 MB / 2.52 GB, free: 57.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005065/9.67, allocations: 279.4 kB / 2.52 GB, free: 57.39 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006494/9.671, allocations: 89.59 kB / 2.52 GB, free: 57.39 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/9.671, allocations: 6.219 kB / 2.52 GB, free: 57.39 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006501/9.678, allocations: 1.713 MB / 2.522 GB, free: 57.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.065e-05/9.678, allocations: 15.81 kB / 2.522 GB, free: 57.34 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004663/9.678, allocations: 102 kB / 2.522 GB, free: 57.32 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003554/9.682, allocations: 425.9 kB / 2.522 GB, free: 57.32 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003546/9.685, allocations: 3.147 MB / 2.525 GB, free: 54.65 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004957/9.69, allocations: 257.2 kB / 2.526 GB, free: 54.64 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006142/9.691, allocations: 80.33 kB / 2.526 GB, free: 54.64 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.0007089/9.692, allocations: 178 kB / 2.526 GB, free: 54.5 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006095/9.698, allocations: 1.596 MB / 2.528 GB, free: 54.27 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001169/9.699, allocations: 278.2 kB / 2.528 GB, free: 54.12 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007512/9.707, allocations: 2.038 MB / 2.53 GB, free: 53.96 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.227e-05/9.707, allocations: 16.62 kB / 2.53 GB, free: 53.96 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/9.707, allocations: 0 / 2.53 GB, free: 53.96 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00521/9.712, allocations: 1.65 MB / 2.531 GB, free: 53.66 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01405/9.726, allocations: 4.636 MB / 2.536 GB, free: 52.88 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.366e-05/9.726, allocations: 6.438 kB / 2.536 GB, free: 52.88 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002801/9.729, allocations: 316.4 kB / 2.536 GB, free: 52.88 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003065/9.729, allocations: 78.5 kB / 2.536 GB, free: 52.87 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002457/9.73, allocations: 34.92 kB / 2.536 GB, free: 52.87 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008427/9.73, allocations: 1.18 MB / 2.538 GB, free: 51.83 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/9.73, allocations: 4.406 kB / 2.538 GB, free: 51.83 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008473/9.739, allocations: 2.979 MB / 2.54 GB, free: 51.18 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002353/9.741, allocations: 0.6124 MB / 2.541 GB, free: 50.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009067/9.742, allocations: 9.719 kB / 2.541 GB, free: 50.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004525/9.747, allocations: 251.4 kB / 2.541 GB, free: 50.92 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004263/9.747, allocations: 97.23 kB / 2.541 GB, free: 50.92 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003027/9.748, allocations: 66.7 kB / 2.541 GB, free: 50.92 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.003855/9.751, allocations: 1.42 MB / 2.543 GB, free: 50.77 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.01e-07/9.751, allocations: 1.156 kB / 2.543 GB, free: 50.77 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.009087/9.761, allocations: 1.554 MB / 2.544 GB, free: 50.54 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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.0121/9.773, allocations: 5.433 MB / 2.55 GB, free: 48.53 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.007206/9.78, allocations: 2.908 MB / 2.552 GB, free: 48.09 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/9.78, allocations: 3.188 kB / 2.552 GB, free: 48.09 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002071/9.782, allocations: 0.8441 MB / 2.553 GB, free: 48.03 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01011/9.792, allocations: 1.145 MB / 2.554 GB, free: 48 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01637/9.809, allocations: 4.493 MB / 2.559 GB, free: 46.77 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001693/9.81, allocations: 1.838 MB / 2.561 GB, free: 46.02 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.006745/9.817, allocations: 0.7509 MB / 2.561 GB, free: 45.91 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002767/9.82, allocations: 1.206 MB / 2.563 GB, free: 45.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.563e-06/9.82, allocations: 0 / 2.563 GB, free: 45.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2118/10.03, allocations: 81.51 MB / 2.642 GB, free: 34.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003015/10.03, allocations: 209.6 kB / 2.642 GB, free: 34.12 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.453/16.49, allocations: 0 / 2.642 GB, free: 34.12 MB / 0.8698 GB