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.004221/0.004227, allocations: 229.6 kB / 15.82 MB, free: 6.285 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.001104/0.001104, allocations: 174.8 kB / 16.7 MB, free: 5.438 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 3.797/3.797, allocations: 389.1 MB / 406.5 MB, free: 11.82 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.938/3.938, allocations: 472.3 MB / 0.9024 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006462/0.0006467, allocations: 8 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1805, allocations: 98.72 MB / 1.105 GB, free: 42.08 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.775/1.956, allocations: 432.2 MB / 1.527 GB, free: 217.8 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003768/1.956, allocations: 111.6 kB / 1.527 GB, free: 217.8 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.071/9.027, allocations: 1.428 GB / 2.955 GB, free: 69.96 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.575e-06/9.027, allocations: 0 / 2.955 GB, free: 69.96 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0006006/9.028, allocations: 85.58 kB / 2.955 GB, free: 69.93 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.0143/9.042, allocations: 3.868 MB / 2.959 GB, free: 67.56 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/9.042, allocations: 8.641 kB / 2.959 GB, free: 67.56 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006193/9.048, allocations: 0.7899 MB / 2.96 GB, free: 67.34 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01235/9.061, allocations: 3.421 MB / 2.963 GB, free: 65.07 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002368/9.063, allocations: 427.2 kB / 2.964 GB, free: 64.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000845/9.064, allocations: 209.1 kB / 2.964 GB, free: 64.84 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007968/9.072, allocations: 2.548 MB / 2.966 GB, free: 63.26 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.036e-05/9.072, allocations: 3.219 kB / 2.966 GB, free: 63.26 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003386/9.072, allocations: 78.84 kB / 2.966 GB, free: 63.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.437e-05/9.072, allocations: 49.19 kB / 2.967 GB, free: 63.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009378/9.082, allocations: 2.357 MB / 2.969 GB, free: 62.04 MB / 0.8698 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.02736/9.109, allocations: 12.52 MB / 2.981 GB, free: 51.08 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006089/9.115, allocations: 1.587 MB / 2.983 GB, free: 50.26 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003266/9.119, allocations: 0.8638 MB / 2.983 GB, free: 49.85 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001818/9.121, allocations: 1.642 MB / 2.985 GB, free: 47.98 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003661/9.124, allocations: 0.9592 MB / 2.986 GB, free: 47.42 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002351/9.127, allocations: 192.3 kB / 2.986 GB, free: 47.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=122): time 6.522e-06/9.127, allocations: 0 / 2.986 GB, free: 47.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=122): time 0.01269/9.139, allocations: 2.945 MB / 2.989 GB, free: 44.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.221e-05/9.14, allocations: 222.6 kB / 2.989 GB, free: 44.44 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006353/9.146, allocations: 2.675 MB / 2.992 GB, free: 41.76 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005375/9.147, allocations: 53.7 kB / 2.992 GB, free: 41.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001704/9.148, allocations: 1.369 MB / 2.993 GB, free: 40.32 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006787/9.149, allocations: 422 kB / 2.994 GB, free: 39.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/9.149, allocations: 28 kB / 2.994 GB, free: 39.87 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000121/9.149, allocations: 365.9 kB / 2.994 GB, free: 39.51 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003443/9.153, allocations: 0.8159 MB / 2.995 GB, free: 38.69 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004061/9.157, allocations: 1.287 MB / 2.996 GB, free: 37.22 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003847/9.161, allocations: 0.9516 MB / 2.997 GB, free: 36.28 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.384e-05/9.161, allocations: 4 kB / 2.997 GB, free: 36.27 MB / 0.8698 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.01015/9.171, allocations: 2.515 MB / 2.999 GB, free: 33.74 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002419/9.171, allocations: 379.8 kB / 3 GB, free: 33.24 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-05/9.171, allocations: 10.06 kB / 3 GB, free: 33.23 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001013/9.172, allocations: 155.7 kB / 3 GB, free: 33.08 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003617/9.176, allocations: 431.4 kB / 3 GB, free: 32.66 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009696/9.177, allocations: 1.202 MB / 3.002 GB, free: 31.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005278/9.182, allocations: 334.1 kB / 3.002 GB, free: 31.08 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005579/9.183, allocations: 87.95 kB / 3.002 GB, free: 31 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/9.183, allocations: 0.625 kB / 3.002 GB, free: 31 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008329/9.191, allocations: 2.158 MB / 3.004 GB, free: 28.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.084e-05/9.191, allocations: 12.8 kB / 3.004 GB, free: 28.81 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004734/9.192, allocations: 113.6 kB / 3.004 GB, free: 28.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003453/9.195, allocations: 419.4 kB / 3.005 GB, free: 28.29 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003757/9.199, allocations: 3.278 MB / 3.008 GB, free: 24.72 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004989/9.204, allocations: 299.4 kB / 3.008 GB, free: 24.43 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005639/9.205, allocations: 87.95 kB / 3.008 GB, free: 24.34 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 () * 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.002467/9.207, allocations: 0.7127 MB / 3.009 GB, free: 23.62 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009992/9.208, allocations: 304.2 kB / 3.009 GB, free: 23.32 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009228/9.217, allocations: 2.531 MB / 3.012 GB, free: 20.77 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.097e-05/9.218, allocations: 16 kB / 3.012 GB, free: 20.76 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/9.218, allocations: 3.938 kB / 3.012 GB, free: 20.75 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006802/9.224, allocations: 2.032 MB / 3.014 GB, free: 18.66 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01537/9.24, allocations: 5.07 MB / 3.019 GB, free: 13.46 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-05/9.24, allocations: 4 kB / 3.019 GB, free: 13.46 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002695/9.243, allocations: 311.8 kB / 3.019 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003971/9.243, allocations: 109.4 kB / 3.019 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002284/9.243, allocations: 51.53 kB / 3.019 GB, free: 13 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007945/9.244, allocations: 1.179 MB / 3.02 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.227e-06/9.244, allocations: 0 / 3.02 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01153/9.256, allocations: 3.435 MB / 3.024 GB, free: 8.285 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002416/9.258, allocations: 0.6297 MB / 3.024 GB, free: 7.633 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001057/9.259, allocations: 36 kB / 3.024 GB, free: 7.598 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004487/9.264, allocations: 267.5 kB / 3.024 GB, free: 7.336 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000332/9.264, allocations: 93.14 kB / 3.025 GB, free: 7.242 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002664/9.264, allocations: 71.95 kB / 3.025 GB, free: 7.172 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.004678/9.269, allocations: 1.834 MB / 3.026 GB, free: 5.348 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.51e-07/9.269, allocations: 4 kB / 3.026 GB, free: 5.344 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.009517/9.279, allocations: 1.56 MB / 3.028 GB, free: 3.781 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) * 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.003715/9.282, allocations: 1.549 MB / 3.029 GB, free: 2.273 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01356/9.296, allocations: 3.566 MB / 3.033 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/9.296, allocations: 4 kB / 3.033 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00433/9.3, allocations: 1.058 MB / 3.034 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01411/9.315, allocations: 1.487 MB / 3.035 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01965/9.334, allocations: 6.24 MB / 3.041 GB, free: 5.871 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002659/9.337, allocations: 1.845 MB / 3.043 GB, free: 3.988 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0057/9.343, allocations: 0.6624 MB / 3.044 GB, free: 3.363 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00153/9.344, allocations: 235.4 kB / 3.044 GB, free: 3.133 MB / 0.8855 GB Notification: Performance of SimCode: time 1.313e-06/9.344, allocations: 0 / 3.044 GB, free: 3.133 MB / 0.8855 GB Notification: Performance of Templates: time 0.8921/10.24, allocations: 64.71 MB / 3.107 GB, free: 98.79 MB / 0.9011 GB