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.837/4.837, allocations: 0.5623 GB / 0.5776 GB, free: 3.379 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00249/0.002489, allocations: 358.2 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.358/4.358, allocations: 410.7 MB / 1.113 GB, free: 6.023 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001898/0.001898, allocations: 184.1 kB / 1.226 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005174/0.0005179, allocations: 12 kB / 1.349 GB, free: 8.203 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7187/0.7192, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.HeatExchanger): time 1.187/1.907, allocations: 338.3 MB / 1.792 GB, free: 51.55 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1485/2.055, allocations: 77.36 MB / 1.867 GB, free: 47.54 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0207/2.076, allocations: 392.1 kB / 1.868 GB, free: 47.54 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.02133/2.097, allocations: 4.347 MB / 1.872 GB, free: 46.61 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.05521/2.153, allocations: 13.2 MB / 1.885 GB, free: 38.91 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0534/2.206, allocations: 12.7 MB / 1.897 GB, free: 32.25 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.04343/2.25, allocations: 26.43 MB / 1.923 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01703/2.267, allocations: 6.451 MB / 1.929 GB, free: 6.676 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02328/2.29, allocations: 7.743 MB / 1.937 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01715/2.307, allocations: 6.316 MB / 1.943 GB, free: 9.461 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.003869/2.311, allocations: 376 kB / 1.943 GB, free: 9.094 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01992/2.331, allocations: 4.063 MB / 1.947 GB, free: 5.227 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.005302/2.336, allocations: 1.898 MB / 1.949 GB, free: 3.375 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.006204/2.343, allocations: 2.059 MB / 1.951 GB, free: 1.305 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.02949/2.372, allocations: 14.96 MB / 1.966 GB, free: 2.871 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 8.236e-06/2.372, allocations: 0 / 1.966 GB, free: 2.871 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.457e-06/2.372, allocations: 0 / 1.966 GB, free: 2.871 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0005976/2.373, allocations: 0 / 1.966 GB, free: 2.871 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: 1427 * Number of variables: 1427 Notification: Performance of Generate backend data structure: time 0.03338/2.406, allocations: 9.173 MB / 1.975 GB, free: 9.715 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/2.406, allocations: 8.562 kB / 1.975 GB, free: 9.707 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01463/2.421, allocations: 1.982 MB / 1.977 GB, free: 7.711 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03062/2.452, allocations: 8.199 MB / 1.985 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00493/2.457, allocations: 0.9147 MB / 1.986 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002609/2.459, allocations: 0.5976 MB / 1.986 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02572/2.485, allocations: 6.781 MB / 1.993 GB, free: 7.23 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001808/2.485, allocations: 7.938 kB / 1.993 GB, free: 7.223 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001022/2.486, allocations: 232 kB / 1.993 GB, free: 6.996 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001829/2.487, allocations: 136 kB / 1.993 GB, free: 6.863 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02699/2.514, allocations: 6.093 MB / 1.999 GB, free: 0.7617 MB / 0.9167 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.08571/2.599, allocations: 33.71 MB / 2.032 GB, free: 13.27 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01725/2.617, allocations: 4.301 MB / 2.036 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009688/2.626, allocations: 2.312 MB / 2.039 GB, free: 6.637 MB / 0.9636 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 evalFunc (simulation): time 0.03576/2.662, allocations: 12.78 MB / 2.051 GB, free: 8.91 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01078/2.673, allocations: 2.689 MB / 2.054 GB, free: 6.176 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006359/2.679, allocations: 0.8932 MB / 2.055 GB, free: 5.281 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=397): time 1.777e-05/2.68, allocations: 0 / 2.055 GB, free: 5.281 MB / 0.9792 GB Notification: Performance of matching and sorting (n=397): time 0.03667/2.716, allocations: 7.483 MB / 2.062 GB, free: 13.71 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001739/2.716, allocations: 179.5 kB / 2.062 GB, free: 13.5 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02142/2.738, allocations: 7.338 MB / 2.069 GB, free: 6.207 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.001368/2.739, allocations: 137.6 kB / 2.069 GB, free: 6.066 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.006759/2.746, allocations: 3.968 MB / 2.073 GB, free: 2.098 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002665/2.749, allocations: 1.302 MB / 2.074 GB, free: 0.8086 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007689/2.75, allocations: 104 kB / 2.075 GB, free: 0.707 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0005121/2.75, allocations: 497.1 kB / 2.075 GB, free: 220 kB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01058/2.761, allocations: 2.208 MB / 2.077 GB, free: 14 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01239/2.773, allocations: 3.609 MB / 2.081 GB, free: 9.828 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01176/2.785, allocations: 2.58 MB / 2.083 GB, free: 7.23 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-05/2.785, allocations: 8 kB / 2.083 GB, free: 7.223 MB / 1.01 GB Notification: Performance of matching and sorting (n=650) (initialization): time 0.03221/2.817, allocations: 6.975 MB / 2.09 GB, free: 216 kB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001114/2.818, allocations: 1.157 MB / 2.091 GB, free: 14.6 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.12e-05/2.819, allocations: 31.98 kB / 2.091 GB, free: 14.57 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001305/2.82, allocations: 185.6 kB / 2.091 GB, free: 14.38 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0112/2.831, allocations: 1.264 MB / 2.093 GB, free: 13.12 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001522/2.833, allocations: 1.245 MB / 2.094 GB, free: 11.82 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01288/2.846, allocations: 0.6822 MB / 2.095 GB, free: 11.15 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001594/2.847, allocations: 259.9 kB / 2.095 GB, free: 10.9 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/2.847, allocations: 4 kB / 2.095 GB, free: 10.89 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02868/2.876, allocations: 6.228 MB / 2.101 GB, free: 4.641 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001102/2.876, allocations: 35.98 kB / 2.101 GB, free: 4.605 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008255/2.877, allocations: 169.9 kB / 2.101 GB, free: 4.434 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01116/2.888, allocations: 1.248 MB / 2.102 GB, free: 3.184 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005006/2.893, allocations: 3.245 MB / 2.105 GB, free: 15.67 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01282/2.906, allocations: 0.6669 MB / 2.106 GB, free: 15.01 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00178/2.908, allocations: 259.9 kB / 2.106 GB, free: 14.75 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * Number of states: 0 () * Number of discrete variables: 66 ($whenCondition9,$whenCondition8,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5,$whenCondition6,$whenCondition7,uHeaRej.y,uEnaColRej.y,$PRE.hexPum.con.greThr.greHys.y,hexPum.con.greThr.greHys.y,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,hexPum.con.or1.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.y,$PRE.hexVal.con.heaRej.greHys.y,hexVal.con.heaRej.greHys.y,$PRE.hexVal.con.cooRej.greHys.y,hexVal.con.cooRej.greHys.y,hexVal.con.or1.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.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 (624): * Single equations (assignments): 616 * 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.007735/2.916, allocations: 1.919 MB / 2.108 GB, free: 12.8 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003363/2.919, allocations: 0.8141 MB / 2.109 GB, free: 11.98 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03444/2.954, allocations: 7.375 MB / 2.116 GB, free: 4.637 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02634/2.98, allocations: 5.599 MB / 2.122 GB, free: 14.86 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.397e-05/2.98, allocations: 4 kB / 2.122 GB, free: 14.86 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00676/2.987, allocations: 1.661 MB / 2.123 GB, free: 13.17 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003123/2.99, allocations: 104 kB / 2.123 GB, free: 13.07 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01117/3.001, allocations: 0.5578 MB / 2.124 GB, free: 12.51 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001628/3.003, allocations: 379.1 kB / 2.124 GB, free: 12.14 MB / 1.057 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03199/3.035, allocations: 6.435 MB / 2.131 GB, free: 5.641 MB / 1.057 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 1.418/4.453, allocations: 9.639 MB / 2.14 GB, free: 437.8 MB / 1.057 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01047/4.464, allocations: 2.825 MB / 2.143 GB, free: 436.7 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.01506/4.479, allocations: 4.88 MB / 2.148 GB, free: 435 MB / 1.057 GB Notification: Performance of Backend: time 8.92e-07/4.479, allocations: 0 / 2.148 GB, free: 435 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.04985/4.529, allocations: 9.464 MB / 2.157 GB, free: 431.9 MB / 1.057 GB Notification: Performance of SimCode: time 0.06867/4.598, allocations: 20.06 MB / 2.176 GB, free: 422.4 MB / 1.057 GB Notification: Performance of Templates: time 0.4344/5.032, allocations: 186.4 MB / 2.358 GB, free: 246.7 MB / 1.057 GB