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 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: "" <> 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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01598/0.01598, allocations: 106.6 kB / 15.05 MB, free: 5.984 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.001829/0.001829, allocations: 184.9 kB / 15.94 MB, free: 5.941 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 2.045/2.045, allocations: 194.5 MB / 211.2 MB, free: 11.1 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.269/2.269, allocations: 236.1 MB / 492.6 MB, free: 11.41 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004662/0.0004661, allocations: 12 kB / 0.587 GB, free: 2.062 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.732/0.7325, allocations: 98.72 MB / 0.6834 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.234/1.966, allocations: 432.2 MB / 1.106 GB, free: 17.73 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004077/1.967, allocations: 112.5 kB / 1.106 GB, free: 17.67 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 8.191/10.16, allocations: 1.438 GB / 2.544 GB, free: 73.59 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.224e-06/10.16, allocations: 0 / 2.544 GB, free: 73.59 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0007249/10.16, allocations: 86.28 kB / 2.544 GB, free: 73.59 MB / 0.8855 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.01592/10.17, allocations: 3.882 MB / 2.548 GB, free: 72.18 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/10.17, allocations: 7.375 kB / 2.548 GB, free: 72.18 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00127/10.18, allocations: 275.7 kB / 2.548 GB, free: 72.13 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006453/10.18, allocations: 0.7924 MB / 2.549 GB, free: 71.94 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0135/10.2, allocations: 3.467 MB / 2.552 GB, free: 71.44 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002709/10.2, allocations: 420.6 kB / 2.553 GB, free: 71.43 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001229/10.2, allocations: 210.8 kB / 2.553 GB, free: 71.43 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00989/10.21, allocations: 2.534 MB / 2.555 GB, free: 71.13 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.659e-05/10.21, allocations: 3.719 kB / 2.555 GB, free: 71.13 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003979/10.21, allocations: 80.78 kB / 2.555 GB, free: 71.13 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.192e-05/10.21, allocations: 50.06 kB / 2.555 GB, free: 71.13 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01103/10.22, allocations: 2.355 MB / 2.558 GB, free: 71.12 MB / 0.8855 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.03064/10.25, allocations: 12.63 MB / 2.57 GB, free: 65.07 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006155/10.26, allocations: 1.574 MB / 2.572 GB, free: 64.95 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002106/10.26, allocations: 1.642 MB / 2.573 GB, free: 63.16 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004369/10.26, allocations: 0.9723 MB / 2.574 GB, free: 63.08 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002685/10.27, allocations: 193.1 kB / 2.574 GB, free: 63.01 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=122): time 9.287e-06/10.27, allocations: 0 / 2.574 GB, free: 63.01 MB / 0.8855 GB Notification: Performance of matching and sorting (n=122): time 0.01245/10.28, allocations: 2.961 MB / 2.577 GB, free: 62.46 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/10.28, allocations: 226.1 kB / 2.577 GB, free: 62.21 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006273/10.29, allocations: 2.389 MB / 2.58 GB, free: 61.98 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0005733/10.29, allocations: 52.2 kB / 2.58 GB, free: 61.95 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001681/10.29, allocations: 1.365 MB / 2.581 GB, free: 61.57 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007039/10.29, allocations: 429.4 kB / 2.581 GB, free: 61.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001944/10.29, allocations: 30.59 kB / 2.582 GB, free: 61.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001286/10.29, allocations: 366.6 kB / 2.582 GB, free: 60.99 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003542/10.29, allocations: 0.8149 MB / 2.583 GB, free: 60.99 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003998/10.3, allocations: 1.281 MB / 2.584 GB, free: 60.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00393/10.3, allocations: 0.961 MB / 2.585 GB, free: 60.45 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.476e-05/10.3, allocations: 0 / 2.585 GB, free: 60.45 MB / 0.8855 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.01019/10.31, allocations: 2.482 MB / 2.587 GB, free: 60.19 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008712/10.31, allocations: 3.532 MB / 2.591 GB, free: 56.46 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.485e-05/10.31, allocations: 11.72 kB / 2.591 GB, free: 56.46 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005431/10.31, allocations: 109.4 kB / 2.591 GB, free: 56.44 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00381/10.32, allocations: 429.8 kB / 2.591 GB, free: 56.44 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001001/10.32, allocations: 1.2 MB / 2.592 GB, free: 55.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005456/10.32, allocations: 325.5 kB / 2.593 GB, free: 55.39 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005149/10.32, allocations: 85.36 kB / 2.593 GB, free: 55.39 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/10.32, allocations: 5.406 kB / 2.593 GB, free: 55.39 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00859/10.33, allocations: 2.165 MB / 2.595 GB, free: 55.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.982e-05/10.33, allocations: 13.55 kB / 2.595 GB, free: 55.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004849/10.33, allocations: 109.4 kB / 2.595 GB, free: 55.29 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003559/10.34, allocations: 423.8 kB / 2.595 GB, free: 55.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003818/10.34, allocations: 3.308 MB / 2.599 GB, free: 52.49 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005181/10.35, allocations: 297.4 kB / 2.599 GB, free: 52.48 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004827/10.35, allocations: 85.58 kB / 2.599 GB, free: 52.48 MB / 0.8855 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 () * Number of clocked 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.00232/10.35, allocations: 0.7006 MB / 2.6 GB, free: 52.25 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009962/10.35, allocations: 312.6 kB / 2.6 GB, free: 52.09 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009749/10.36, allocations: 2.525 MB / 2.602 GB, free: 51.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.675e-05/10.36, allocations: 19.73 kB / 2.603 GB, free: 51.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/10.36, allocations: 2.531 kB / 2.603 GB, free: 51.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008428/10.37, allocations: 2.034 MB / 2.604 GB, free: 51.57 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01714/10.39, allocations: 4.986 MB / 2.609 GB, free: 51.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/10.39, allocations: 3.469 kB / 2.609 GB, free: 51.05 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002783/10.39, allocations: 314.6 kB / 2.61 GB, free: 51.05 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003951/10.39, allocations: 103.9 kB / 2.61 GB, free: 51.03 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000186/10.39, allocations: 46.53 kB / 2.61 GB, free: 51.03 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008407/10.39, allocations: 1.18 MB / 2.611 GB, free: 49.99 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/10.39, allocations: 0 / 2.611 GB, free: 49.99 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01228/10.4, allocations: 3.504 MB / 2.614 GB, free: 49.47 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002573/10.4, allocations: 0.647 MB / 2.615 GB, free: 49.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007914/10.41, allocations: 28.28 kB / 2.615 GB, free: 49.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004359/10.41, allocations: 273 kB / 2.615 GB, free: 49.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002747/10.41, allocations: 98.7 kB / 2.615 GB, free: 49.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002416/10.41, allocations: 62.38 kB / 2.615 GB, free: 49.2 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.004782/10.41, allocations: 1.857 MB / 2.617 GB, free: 49.05 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.62e-07/10.41, allocations: 0 / 2.617 GB, free: 49.05 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.008575/10.42, allocations: 1.585 MB / 2.619 GB, free: 48.86 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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) * Number of clocked states: 0 () * 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.0162/10.44, allocations: 5.636 MB / 2.624 GB, free: 47.29 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01346/10.45, allocations: 3.572 MB / 2.628 GB, free: 46.86 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/10.45, allocations: 3.859 kB / 2.628 GB, free: 46.86 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.004072/10.46, allocations: 1.075 MB / 2.629 GB, free: 46.79 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01263/10.47, allocations: 1.425 MB / 2.63 GB, free: 46.76 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0239/10.49, allocations: 13.33 MB / 2.643 GB, free: 37.45 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001809/10.5, allocations: 1.846 MB / 2.645 GB, free: 36.66 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.005386/10.5, allocations: 0.6588 MB / 2.646 GB, free: 36.55 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003321/10.5, allocations: 1.276 MB / 2.647 GB, free: 36.55 MB / 0.8855 GB Notification: Performance of SimCode: time 1.683e-06/10.5, allocations: 4 kB / 2.647 GB, free: 36.54 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2239/10.73, allocations: 93.91 MB / 2.739 GB, free: 31.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003069/10.73, allocations: 295.1 kB / 2.739 GB, free: 30.74 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.912/17.64, allocations: 2.922 kB / 2.739 GB, free: 30.74 MB / 0.8855 GB