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_ResetController.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_ResetController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009015/0.009015, allocations: 110.2 kB / 15.05 MB, free: 6.031 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.001126/0.001126, allocations: 191 kB / 15.95 MB, free: 5.965 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.795/1.795, allocations: 194.6 MB / 211.3 MB, free: 11.08 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.102/2.102, allocations: 236.2 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004729/0.000473, allocations: 8 kB / 0.587 GB, free: 2.164 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.548/0.5485, allocations: 98.7 MB / 0.6833 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.017/1.566, allocations: 433.6 MB / 1.107 GB, free: 19.33 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/1.566, allocations: 110 kB / 1.107 GB, free: 19.26 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 11.95/13.52, allocations: 2.519 GB / 3.626 GB, free: 50.82 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.633e-06/13.52, allocations: 0 / 3.626 GB, free: 50.82 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001153/13.52, allocations: 171.7 kB / 3.627 GB, free: 50.79 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 950 * Number of variables: 950 Notification: Performance of Generate backend data structure: time 0.02305/13.54, allocations: 6.94 MB / 3.633 GB, free: 47.91 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/13.54, allocations: 10.78 kB / 3.633 GB, free: 47.91 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007718/13.55, allocations: 1.341 MB / 3.635 GB, free: 47.54 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0202/13.57, allocations: 6.699 MB / 3.641 GB, free: 46.57 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002224/13.57, allocations: 0.6873 MB / 3.642 GB, free: 46.56 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001616/13.57, allocations: 406.4 kB / 3.642 GB, free: 46.56 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01479/13.59, allocations: 4.834 MB / 3.647 GB, free: 45.99 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001102/13.59, allocations: 6.312 kB / 3.647 GB, free: 45.99 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007753/13.59, allocations: 161.1 kB / 3.647 GB, free: 45.99 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001013/13.59, allocations: 100.3 kB / 3.647 GB, free: 45.99 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0148/13.6, allocations: 4.35 MB / 3.651 GB, free: 45.96 MB / 0.948 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.04473/13.65, allocations: 23.54 MB / 3.674 GB, free: 35.45 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008755/13.66, allocations: 3.042 MB / 3.677 GB, free: 35.11 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001714/13.66, allocations: 1.927 MB / 3.679 GB, free: 33.04 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005448/13.66, allocations: 1.869 MB / 3.681 GB, free: 32.94 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004053/13.67, allocations: 479.1 kB / 3.682 GB, free: 32.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=250): time 1.333e-05/13.67, allocations: 0 / 3.682 GB, free: 32.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=250): time 0.02008/13.69, allocations: 5.749 MB / 3.687 GB, free: 32.07 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001382/13.69, allocations: 499.5 kB / 3.688 GB, free: 31.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01036/13.7, allocations: 4.24 MB / 3.692 GB, free: 31.14 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008766/13.7, allocations: 94.28 kB / 3.692 GB, free: 31.11 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003228/13.7, allocations: 2.619 MB / 3.694 GB, free: 30.45 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001211/13.7, allocations: 0.8419 MB / 3.695 GB, free: 29.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000322/13.7, allocations: 60 kB / 3.695 GB, free: 29.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002058/13.7, allocations: 424 kB / 3.696 GB, free: 29.59 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004866/13.71, allocations: 1.557 MB / 3.697 GB, free: 29.59 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005882/13.71, allocations: 2.471 MB / 3.7 GB, free: 28.62 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006029/13.72, allocations: 1.823 MB / 3.701 GB, free: 28.53 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-05/13.72, allocations: 6.312 kB / 3.701 GB, free: 28.53 MB / 0.948 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01591/13.74, allocations: 4.741 MB / 3.706 GB, free: 28.07 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001451/13.74, allocations: 7.676 MB / 3.714 GB, free: 20.25 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.505e-05/13.74, allocations: 23.36 kB / 3.714 GB, free: 20.25 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000951/13.74, allocations: 282.5 kB / 3.714 GB, free: 20.23 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005235/13.74, allocations: 0.7936 MB / 3.715 GB, free: 20.23 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00205/13.75, allocations: 1.514 MB / 3.716 GB, free: 19.18 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0072/13.75, allocations: 0.5444 MB / 3.717 GB, free: 19.15 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009299/13.76, allocations: 157.2 kB / 3.717 GB, free: 19.15 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/13.76, allocations: 5.5 kB / 3.717 GB, free: 19.15 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01324/13.77, allocations: 4.111 MB / 3.721 GB, free: 19 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-05/13.77, allocations: 21.98 kB / 3.721 GB, free: 19 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009698/13.77, allocations: 268.2 kB / 3.721 GB, free: 18.98 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005043/13.77, allocations: 0.7697 MB / 3.722 GB, free: 18.98 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007581/13.78, allocations: 4.434 MB / 3.726 GB, free: 32.29 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007206/13.79, allocations: 0.5203 MB / 3.727 GB, free: 32.22 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008912/13.79, allocations: 152.4 kB / 3.727 GB, free: 32.22 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$whenCondition3,hex1.trigger,$PRE.tri.pulsStart,tri.pulsStart,$whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,$PRE.TCon_in.nextEvent,TCon_in.nextEvent,TCon_in.nextEventScaled,hex3.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (356): * Single equations (assignments): 347 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 3 * 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 {6 13,3 4} Notification: Performance of prepare postOptimizeDAE: time 0.004284/13.79, allocations: 1.212 MB / 3.728 GB, free: 31.99 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001637/13.8, allocations: 0.5487 MB / 3.729 GB, free: 31.7 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01469/13.81, allocations: 4.659 MB / 3.733 GB, free: 31.31 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.363e-05/13.81, allocations: 32.81 kB / 3.733 GB, free: 31.31 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.69e-06/13.81, allocations: 2.016 kB / 3.733 GB, free: 31.31 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01079/13.82, allocations: 3.682 MB / 3.737 GB, free: 30.94 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02545/13.85, allocations: 9.463 MB / 3.746 GB, free: 30.23 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.535e-05/13.85, allocations: 0 / 3.746 GB, free: 30.23 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00421/13.85, allocations: 0.6035 MB / 3.747 GB, free: 30.21 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007464/13.85, allocations: 238.5 kB / 3.747 GB, free: 30.18 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004587/13.85, allocations: 89.75 kB / 3.747 GB, free: 30.18 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001559/13.85, allocations: 1.399 MB / 3.748 GB, free: 29.13 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.694e-06/13.85, allocations: 2.469 kB / 3.748 GB, free: 29.13 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01961/13.87, allocations: 6.499 MB / 3.755 GB, free: 28.27 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004108/13.88, allocations: 1.126 MB / 3.756 GB, free: 27.88 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001936/13.88, allocations: 61.88 kB / 3.756 GB, free: 27.88 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007037/13.89, allocations: 0.5235 MB / 3.756 GB, free: 27.81 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007068/13.89, allocations: 174.6 kB / 3.756 GB, free: 27.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004767/13.89, allocations: 121.7 kB / 3.757 GB, free: 27.8 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.008508/13.9, allocations: 3.241 MB / 3.76 GB, free: 27.59 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.177e-06/13.9, allocations: 0 / 3.76 GB, free: 27.59 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01585/13.91, allocations: 2.985 MB / 3.763 GB, free: 27.24 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 15 (hex1.thrWayVal.vol.dynBal.U,hex1.thrWayVal.filter.x[1],hex1.thrWayVal.filter.x[2],hex1.con.I.y,TSen1.T,TSen2.T,hex2.thrWayVal.vol.dynBal.U,hex2.thrWayVal.filter.x[1],hex2.thrWayVal.filter.x[2],hex2.con.I.y,hex3.thrWayVal.vol.dynBal.U,hex3.thrWayVal.filter.x[1],hex3.thrWayVal.filter.x[2],hex3.con.I.y,TSen3.T) * Number of discrete variables: 10 (hex1.trigger,$whenCondition3,$whenCondition2,$whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,TCon_in.nextEvent,TCon_in.nextEventScaled,tri.pulsStart) * 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 (269): * Single equations (assignments): 252 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 13 * When equations: 1 * 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 {6 10,3 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.005468/13.92, allocations: 2.647 MB / 3.765 GB, free: 26.02 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01953/13.94, allocations: 6.653 MB / 3.772 GB, free: 25.28 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-05/13.94, allocations: 11.05 kB / 3.772 GB, free: 25.28 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.005895/13.94, allocations: 2.009 MB / 3.774 GB, free: 25.16 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01595/13.96, allocations: 2.664 MB / 3.776 GB, free: 25.01 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02601/13.99, allocations: 11.77 MB / 3.788 GB, free: 19.67 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004509/13.99, allocations: 2.943 MB / 3.791 GB, free: 18.81 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.009364/14, allocations: 1.218 MB / 3.792 GB, free: 18.6 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002348/14, allocations: 438.7 kB / 3.792 GB, free: 18.59 MB / 0.9636 GB Notification: Performance of SimCode: time 1.568e-06/14, allocations: 0 / 3.792 GB, free: 18.59 MB / 0.9636 GB Notification: Performance of Templates: time 0.2678/14.27, allocations: 116.9 MB / 3.906 GB, free: 11.05 MB / 0.9792 GB