Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.HeatExchanger.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.HeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.HeatExchanger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.609/4.609, allocations: 0.5623 GB / 0.5775 GB, free: 66.93 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003396/0.003395, allocations: 365.3 kB / 0.6446 GB, free: 21.47 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.472/4.472, allocations: 410.7 MB / 1.113 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001941/0.00194, allocations: 188.9 kB / 1.226 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.000523/0.0005232, allocations: 17.75 kB / 1.349 GB, free: 320.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2581, allocations: 115.2 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.319/1.577, allocations: 487.2 MB / 1.937 GB, free: 7.281 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005103/1.578, allocations: 127.4 kB / 1.937 GB, free: 7.203 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 33.87/35.44, allocations: 5.927 GB / 7.864 GB, free: 56.82 MB / 1.182 GB Notification: Performance of FrontEnd: time 2.975e-06/35.44, allocations: 0 / 7.864 GB, free: 56.82 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.002464/35.45, allocations: 257.1 kB / 7.864 GB, free: 56.78 MB / 1.182 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1427 * Number of variables: 1427 Notification: Performance of Generate backend data structure: time 0.05605/35.5, allocations: 10.78 MB / 7.875 GB, free: 52.26 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/35.5, allocations: 7.531 kB / 7.875 GB, free: 52.26 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01623/35.52, allocations: 1.87 MB / 7.877 GB, free: 51.71 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05179/35.57, allocations: 10.91 MB / 7.887 GB, free: 50.23 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001718/35.57, allocations: 0.5401 MB / 7.888 GB, free: 50.22 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003538/35.58, allocations: 0.6107 MB / 7.888 GB, free: 50.21 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02973/35.61, allocations: 6.563 MB / 7.895 GB, free: 49.61 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003838/35.61, allocations: 2.906 kB / 7.895 GB, free: 49.61 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00263/35.61, allocations: 235 kB / 7.895 GB, free: 49.61 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001742/35.61, allocations: 149.5 kB / 7.895 GB, free: 49.61 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02543/35.63, allocations: 5.499 MB / 7.901 GB, free: 49.56 MB / 1.182 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.08458/35.72, allocations: 32.23 MB / 7.932 GB, free: 35.34 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01343/35.73, allocations: 3.714 MB / 7.936 GB, free: 35.27 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008197/35.74, allocations: 2.093 MB / 7.938 GB, free: 35.25 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03945/35.78, allocations: 12.18 MB / 7.95 GB, free: 29.22 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01045/35.79, allocations: 2.631 MB / 7.952 GB, free: 28.96 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009229/35.8, allocations: 1.014 MB / 7.953 GB, free: 28.72 MB / 1.182 GB Notification: Performance of pre-optimization done (n=401): time 2.336e-05/35.8, allocations: 5.125 kB / 7.953 GB, free: 28.71 MB / 1.182 GB Notification: Performance of matching and sorting (n=401): time 0.03227/35.83, allocations: 6.804 MB / 7.96 GB, free: 27.79 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001949/35.83, allocations: 390.3 kB / 7.96 GB, free: 27.37 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0222/35.85, allocations: 7.172 MB / 7.967 GB, free: 26.84 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.001677/35.86, allocations: 136 kB / 7.967 GB, free: 26.81 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.007278/35.86, allocations: 3.979 MB / 7.971 GB, free: 25.86 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.00261/35.87, allocations: 1.313 MB / 7.972 GB, free: 25.02 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008656/35.87, allocations: 97.94 kB / 7.973 GB, free: 25.02 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0004735/35.87, allocations: 0.4904 MB / 7.973 GB, free: 24.71 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008331/35.88, allocations: 1.918 MB / 7.975 GB, free: 24.68 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01041/35.89, allocations: 3.461 MB / 7.978 GB, free: 22.98 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00945/35.9, allocations: 2.335 MB / 7.981 GB, free: 22.76 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.856e-05/35.9, allocations: 7.469 kB / 7.981 GB, free: 22.76 MB / 1.182 GB Notification: Performance of matching and sorting (n=643) (initialization): time 0.03089/35.93, allocations: 6.393 MB / 7.987 GB, free: 22.05 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001101/35.93, allocations: 1.07 MB / 7.988 GB, free: 20.74 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001031/35.93, allocations: 26.59 kB / 7.988 GB, free: 20.74 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001501/35.93, allocations: 187.9 kB / 7.988 GB, free: 20.72 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01504/35.94, allocations: 1.133 MB / 7.989 GB, free: 20.71 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004981/35.95, allocations: 1.233 MB / 7.99 GB, free: 19.67 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03542/35.99, allocations: 0.6199 MB / 7.991 GB, free: 19.61 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005688/35.99, allocations: 273.6 kB / 7.991 GB, free: 19.61 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/35.99, allocations: 3.312 kB / 7.991 GB, free: 19.61 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03715/36.03, allocations: 5.62 MB / 7.997 GB, free: 19.36 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001238/36.03, allocations: 29.5 kB / 7.997 GB, free: 19.36 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004762/36.03, allocations: 135.5 kB / 7.997 GB, free: 19.34 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00992/36.04, allocations: 1.135 MB / 7.998 GB, free: 19.33 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003775/36.04, allocations: 3.113 MB / 8.001 GB, free: 16.66 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01299/36.06, allocations: 0.6184 MB / 8.002 GB, free: 16.59 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002067/36.06, allocations: 267.8 kB / 8.002 GB, free: 16.59 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 130 * Number of states: 0 () * Number of discrete variables: 66 ($whenCondition9,$whenCondition8,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5,$whenCondition6,$whenCondition7,$PRE.hexPum.con.greThr.greHys.y,hexPum.con.greThr.greHys.y,hexPum.con.and2.u2,hexPum.con.and2.y,$PRE.hexPum.con.heaRej.greHys.y,hexPum.con.heaRej.greHys.y,$PRE.hexPum.con.cooRej.greHys.y,hexPum.con.cooRej.greHys.y,$PRE.hexPum.con.setAct.index,hexPum.con.setAct.index,hexPum.con.setAct.k[1],hexPum.con.setAct.k[2],$PRE.hexPum.con.gaiAct.index,hexPum.con.gaiAct.index,hexPum.con.gaiAct.k[1],hexPum.con.gaiAct.k[2],hexPum.hex.flowRegime,$PRE.hexVal.con.greThr.greHys.y,hexVal.con.greThr.greHys.y,hexVal.con.and2.u2,hexVal.con.and2.y,$PRE.hexVal.con.heaRej.greHys.y,hexVal.con.heaRej.greHys.y,$PRE.hexVal.con.cooRej.greHys.y,hexVal.con.cooRej.greHys.y,$PRE.hexVal.con.setAct.index,hexVal.con.setAct.index,hexVal.con.setAct.k[1],hexVal.con.setAct.k[2],$PRE.hexVal.con.gaiAct.index,hexVal.con.gaiAct.index,hexVal.con.gaiAct.k[1],hexVal.con.gaiAct.k[2],hexVal.hex.flowRegime,or2.u1,or2.u2,or2.y,TColVal.a,TColVal.b,TColVal.last,$PRE.TColVal.nextEvent,TColVal.nextEvent,TColVal.nextEventScaled,THotVal.a,THotVal.b,THotVal.last,$PRE.THotVal.nextEvent,THotVal.nextEvent,THotVal.nextEventScaled,TDisVal.a,TDisVal.b,TDisVal.last,$PRE.TDisVal.nextEvent,TDisVal.nextEvent,TDisVal.nextEventScaled,hexPum.hex.flowRegime_nominal,hexVal.hex.flowRegime_nominal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (617): * Single equations (assignments): 609 * Array equations: 3 * Algorithm blocks: 3 * Record equations: 0 * 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.009191/36.07, allocations: 1.919 MB / 8.004 GB, free: 16.27 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003815/36.07, allocations: 0.8214 MB / 8.005 GB, free: 15.84 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02996/36.1, allocations: 6.924 MB / 8.011 GB, free: 14.12 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001205/36.1, allocations: 69.64 kB / 8.011 GB, free: 14.11 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/36.1, allocations: 1.531 kB / 8.011 GB, free: 14.11 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02039/36.12, allocations: 5.174 MB / 8.016 GB, free: 11.8 MB / 1.182 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 postOpt removeSimpleEquations (simulation): time 0.04931/36.17, allocations: 13.04 MB / 8.029 GB, free: 6.289 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.757e-05/36.17, allocations: 3.844 kB / 8.029 GB, free: 6.289 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007536/36.18, allocations: 0.761 MB / 8.03 GB, free: 6.254 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005161/36.18, allocations: 115 kB / 8.03 GB, free: 6.215 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001192/36.18, allocations: 141.8 kB / 8.03 GB, free: 6.152 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009067/36.18, allocations: 1.17 MB / 8.031 GB, free: 5.047 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/36.18, allocations: 9.094 kB / 8.031 GB, free: 5.043 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0328/36.21, allocations: 8.953 MB / 8.04 GB, free: 1.086 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00692/36.22, allocations: 1.544 MB / 8.042 GB, free: 108 kB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003518/36.22, allocations: 102.9 kB / 8.042 GB, free: 40 kB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01151/36.24, allocations: 0.5331 MB / 8.042 GB, free: 0 / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00186/36.24, allocations: 393.7 kB / 8.043 GB, free: 15.99 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001094/36.24, allocations: 205.1 kB / 8.043 GB, free: 15.95 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.01591/36.26, allocations: 4.749 MB / 8.047 GB, free: 14.23 MB / 1.198 GB Notification: Performance of sort global known variables: time 4.81e-07/36.26, allocations: 0 / 8.047 GB, free: 14.23 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.02864/36.28, allocations: 4.453 MB / 8.052 GB, free: 13.21 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (hexPum.con.con1Hex.I.y,hexPum.senT2HexWatEnt.T,hexPum.senT2HexWatLvg.T,hexPum.senT1HexWatEnt.T,hexPum.senT1HexWatLvg.T,hexPum.val2Hex.vol.dynBal.U,senT1OutPum.T,senT1InlPum.T,senT2OutPum.T,senT2InlPum.T,hexVal.con.con1Hex.I.y,hexVal.senT2HexWatEnt.T,hexVal.senT2HexWatLvg.T,hexVal.senT1HexWatEnt.T,hexVal.senT1HexWatLvg.T,hexVal.val2Hex.vol.dynBal.U,senT1InlVal.T,senT1OutVal.T,senT2OutVal.T,senT2InlVal.T) * Number of discrete variables: 51 (hexPum.con.and2.y,hexVal.con.and2.y,$whenCondition9,$whenCondition8,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5,$whenCondition6,$whenCondition7,hexPum.con.greThr.greHys.y,hexPum.con.and2.u2,hexPum.con.heaRej.greHys.y,hexPum.con.cooRej.greHys.y,hexPum.con.setAct.index,hexPum.con.setAct.k[1],hexPum.con.setAct.k[2],hexPum.con.gaiAct.index,hexPum.con.gaiAct.k[1],hexPum.con.gaiAct.k[2],hexPum.hex.flowRegime,hexVal.con.greThr.greHys.y,hexVal.con.and2.u2,hexVal.con.heaRej.greHys.y,hexVal.con.cooRej.greHys.y,hexVal.con.setAct.index,hexVal.con.setAct.k[1],hexVal.con.setAct.k[2],hexVal.con.gaiAct.index,hexVal.con.gaiAct.k[1],hexVal.con.gaiAct.k[2],hexVal.hex.flowRegime,or2.u1,or2.u2,or2.y,TColVal.a,TColVal.b,TColVal.last,TColVal.nextEvent,TColVal.nextEventScaled,THotVal.a,THotVal.b,THotVal.last,THotVal.nextEvent,THotVal.nextEventScaled,TDisVal.a,TDisVal.b,TDisVal.last,TDisVal.nextEvent,TDisVal.nextEventScaled) * Number of discrete states: 28 (hexVal.con.heaRej.greHys.y,hexPum.con.heaRej.greHys.y,hexVal.con.cooRej.greHys.y,hexVal.con.setAct.index,hexVal.con.gaiAct.index,hexPum.con.cooRej.greHys.y,hexPum.con.setAct.index,hexPum.con.gaiAct.index,hexVal.con.greThr.greHys.y,hexPum.con.greThr.greHys.y,TColVal.nextEvent,TColVal.last,TColVal.nextEventScaled,TColVal.b,TColVal.a,$whenCondition7,THotVal.nextEvent,THotVal.last,THotVal.nextEventScaled,THotVal.b,THotVal.a,$whenCondition6,TDisVal.nextEvent,TDisVal.last,TDisVal.nextEventScaled,TDisVal.b,TDisVal.a,$whenCondition5) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (463): * Single equations (assignments): 407 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 43 * When equations: 8 * 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.01436/36.3, allocations: 5.75 MB / 8.057 GB, free: 9.711 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.03376/36.33, allocations: 8.742 MB / 8.066 GB, free: 1.789 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.348e-05/36.33, allocations: 0 / 8.066 GB, free: 1.789 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.01251/36.34, allocations: 3.045 MB / 8.069 GB, free: 15.26 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03713/36.38, allocations: 3.826 MB / 8.073 GB, free: 12.52 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.244/37.63, allocations: 17.89 MB / 8.09 GB, free: 79.34 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01125/37.64, allocations: 4.263 MB / 8.094 GB, free: 78.48 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.02211/37.66, allocations: 2.03 MB / 8.096 GB, free: 78.41 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004658/37.66, allocations: 0.6634 MB / 8.097 GB, free: 78.41 MB / 1.214 GB Notification: Performance of SimCode: time 1.082e-06/37.66, allocations: 0 / 8.097 GB, free: 78.41 MB / 1.214 GB Notification: Performance of Templates: time 0.4962/38.16, allocations: 177.7 MB / 8.27 GB, free: 67.68 MB / 1.214 GB