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: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0159/0.0159, allocations: 110.6 kB / 15.05 MB, free: 5.961 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.001142/0.001142, allocations: 184.1 kB / 15.94 MB, free: 5.926 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.864/1.864, allocations: 194.6 MB / 211.3 MB, free: 11.07 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.105/2.105, allocations: 236.2 MB / 492.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004745/0.0004747, allocations: 16 kB / 0.587 GB, free: 2.133 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5378/0.5383, allocations: 98.7 MB / 0.6833 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9685/1.507, allocations: 432.2 MB / 1.105 GB, free: 20.57 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002937/1.507, allocations: 109.7 kB / 1.106 GB, free: 20.51 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.727/8.234, allocations: 1.438 GB / 2.544 GB, free: 74.17 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.954e-06/8.234, allocations: 1.438 kB / 2.544 GB, free: 74.17 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0005935/8.235, allocations: 93.3 kB / 2.544 GB, free: 74.17 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.01256/8.247, allocations: 3.849 MB / 2.548 GB, free: 72.79 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/8.247, allocations: 11.16 kB / 2.548 GB, free: 72.79 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004543/8.252, allocations: 0.7948 MB / 2.548 GB, free: 72.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01026/8.262, allocations: 3.469 MB / 2.552 GB, free: 72.09 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001654/8.264, allocations: 426.2 kB / 2.552 GB, free: 72.09 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008648/8.265, allocations: 208.8 kB / 2.552 GB, free: 72.09 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007874/8.273, allocations: 2.535 MB / 2.555 GB, free: 71.79 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.326e-05/8.273, allocations: 1.125 kB / 2.555 GB, free: 71.79 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003457/8.273, allocations: 82.62 kB / 2.555 GB, free: 71.79 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.281e-05/8.273, allocations: 51.06 kB / 2.555 GB, free: 71.79 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008128/8.282, allocations: 2.363 MB / 2.557 GB, free: 71.77 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.02434/8.306, allocations: 12.64 MB / 2.57 GB, free: 65.72 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004368/8.31, allocations: 1.572 MB / 2.571 GB, free: 65.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001396/8.312, allocations: 1.645 MB / 2.573 GB, free: 63.82 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002884/8.315, allocations: 0.9619 MB / 2.574 GB, free: 63.74 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002089/8.317, allocations: 193.6 kB / 2.574 GB, free: 63.66 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=122): time 7.055e-06/8.317, allocations: 3.875 kB / 2.574 GB, free: 63.66 MB / 0.8855 GB Notification: Performance of matching and sorting (n=122): time 0.009797/8.327, allocations: 2.966 MB / 2.577 GB, free: 63.12 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.932e-05/8.327, allocations: 219.2 kB / 2.577 GB, free: 62.87 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005401/8.332, allocations: 2.397 MB / 2.579 GB, free: 62.64 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004212/8.333, allocations: 52.17 kB / 2.579 GB, free: 62.61 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001473/8.334, allocations: 1.364 MB / 2.581 GB, free: 62.23 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.00052/8.335, allocations: 424.3 kB / 2.581 GB, free: 61.96 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/8.335, allocations: 32.84 kB / 2.581 GB, free: 61.96 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001153/8.335, allocations: 363.7 kB / 2.581 GB, free: 61.65 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002471/8.337, allocations: 0.8167 MB / 2.582 GB, free: 61.65 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002954/8.34, allocations: 1.274 MB / 2.584 GB, free: 61.16 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003141/8.344, allocations: 0.9604 MB / 2.584 GB, free: 61.11 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.318e-05/8.344, allocations: 3.125 kB / 2.584 GB, free: 61.11 MB / 0.8855 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.007899/8.351, allocations: 2.487 MB / 2.587 GB, free: 60.85 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007474/8.352, allocations: 3.523 MB / 2.59 GB, free: 57.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.636e-05/8.352, allocations: 16.31 kB / 2.59 GB, free: 57.12 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004425/8.353, allocations: 114.7 kB / 2.59 GB, free: 57.11 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00258/8.355, allocations: 427.3 kB / 2.591 GB, free: 57.11 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008594/8.356, allocations: 1.204 MB / 2.592 GB, free: 56.06 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004011/8.36, allocations: 327.3 kB / 2.592 GB, free: 56.05 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003582/8.361, allocations: 82.91 kB / 2.592 GB, free: 56.05 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/8.361, allocations: 8.469 kB / 2.592 GB, free: 56.05 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006827/8.368, allocations: 2.159 MB / 2.595 GB, free: 55.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.51e-05/8.368, allocations: 13.81 kB / 2.595 GB, free: 55.96 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004079/8.368, allocations: 110.6 kB / 2.595 GB, free: 55.95 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002452/8.371, allocations: 419.9 kB / 2.595 GB, free: 55.95 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003496/8.374, allocations: 3.304 MB / 2.598 GB, free: 53.15 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003918/8.378, allocations: 300.9 kB / 2.599 GB, free: 53.14 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004082/8.378, allocations: 85.86 kB / 2.599 GB, free: 53.14 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.002092/8.381, allocations: 0.7076 MB / 2.599 GB, free: 52.91 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008255/8.381, allocations: 304.1 kB / 2.6 GB, free: 52.75 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007243/8.389, allocations: 2.531 MB / 2.602 GB, free: 52.56 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-05/8.389, allocations: 21.47 kB / 2.602 GB, free: 52.56 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.416e-06/8.389, allocations: 1.938 kB / 2.602 GB, free: 52.56 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005877/8.395, allocations: 2.034 MB / 2.604 GB, free: 52.23 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.013/8.408, allocations: 4.99 MB / 2.609 GB, free: 51.71 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/8.408, allocations: 8.531 kB / 2.609 GB, free: 51.71 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00189/8.41, allocations: 312.1 kB / 2.609 GB, free: 51.71 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003554/8.41, allocations: 96.58 kB / 2.609 GB, free: 51.69 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000191/8.41, allocations: 50.16 kB / 2.609 GB, free: 51.69 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007282/8.411, allocations: 1.178 MB / 2.611 GB, free: 50.65 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.684e-06/8.411, allocations: 4.438 kB / 2.611 GB, free: 50.65 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009412/8.42, allocations: 3.5 MB / 2.614 GB, free: 50.14 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00217/8.423, allocations: 0.6496 MB / 2.615 GB, free: 49.88 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006456/8.423, allocations: 30.06 kB / 2.615 GB, free: 49.88 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003084/8.426, allocations: 271.1 kB / 2.615 GB, free: 49.87 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002234/8.427, allocations: 95.39 kB / 2.615 GB, free: 49.86 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002162/8.427, allocations: 62.31 kB / 2.615 GB, free: 49.86 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0039/8.431, allocations: 1.858 MB / 2.617 GB, free: 49.71 MB / 0.8855 GB Notification: Performance of sort global known variables: time 9.5e-07/8.431, allocations: 0 / 2.617 GB, free: 49.71 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.007176/8.438, allocations: 1.588 MB / 2.618 GB, free: 49.52 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.00309/8.441, allocations: 1.574 MB / 2.62 GB, free: 49.06 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01003/8.451, allocations: 3.572 MB / 2.623 GB, free: 48.63 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.797e-06/8.451, allocations: 2.719 kB / 2.623 GB, free: 48.63 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.003505/8.455, allocations: 1.075 MB / 2.625 GB, free: 48.56 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008466/8.463, allocations: 1.426 MB / 2.626 GB, free: 48.53 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01365/8.477, allocations: 6.219 MB / 2.632 GB, free: 45.93 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001613/8.479, allocations: 1.852 MB / 2.634 GB, free: 45.18 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004578/8.483, allocations: 0.6589 MB / 2.634 GB, free: 45.08 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008478/8.484, allocations: 239.1 kB / 2.635 GB, free: 45.07 MB / 0.8855 GB Notification: Performance of SimCode: time 1.669e-06/8.484, allocations: 0 / 2.635 GB, free: 45.07 MB / 0.8855 GB Notification: Performance of Templates: time 0.1581/8.642, allocations: 64.57 MB / 2.698 GB, free: 40.89 MB / 0.8855 GB