Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.HeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.HeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.HeatExchanger") translateModel(Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.HeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.HeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.626/1.626, allocations: 287.4 MB / 303.2 MB, free: 8.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001289/0.001289, allocations: 174 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.558/1.558, allocations: 205.4 MB / 0.6305 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008963/0.0008962, allocations: 107.2 kB / 0.7438 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003869/0.0003869, allocations: 11.34 kB / 0.8667 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2323, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.HeatExchanger): time 0.8043/1.037, allocations: 338.5 MB / 1.31 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1198/1.157, allocations: 78.24 MB / 1.386 GB, free: 224 kB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02064/1.177, allocations: 393.2 kB / 1.387 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.01411/1.191, allocations: 3.101 MB / 1.39 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.03409/1.226, allocations: 8.818 MB / 1.398 GB, free: 3.859 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.03109/1.257, allocations: 7.401 MB / 1.405 GB, free: 12.55 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.03963/1.296, allocations: 26.61 MB / 1.431 GB, free: 1.871 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.6653/1.962, allocations: 7.448 MB / 1.439 GB, free: 39.69 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02462/1.986, allocations: 8.019 MB / 1.447 GB, free: 39.66 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01679/2.003, allocations: 6.314 MB / 1.453 GB, free: 39.63 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.004275/2.008, allocations: 375.6 kB / 1.453 GB, free: 39.63 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01679/2.024, allocations: 4.079 MB / 1.457 GB, free: 39.63 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.006005/2.03, allocations: 1.903 MB / 1.459 GB, free: 39.63 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.007801/2.038, allocations: 2.057 MB / 1.461 GB, free: 39.59 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0245/2.063, allocations: 14.95 MB / 1.476 GB, free: 39.11 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.117e-06/2.063, allocations: 0.75 kB / 1.476 GB, free: 39.11 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.377e-06/2.063, allocations: 0 / 1.476 GB, free: 39.11 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0007365/2.064, allocations: 0 / 1.476 GB, free: 39.11 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: 1427 * Number of variables: 1427 Notification: Performance of Generate backend data structure: time 0.02705/2.091, allocations: 9.071 MB / 1.484 GB, free: 34.75 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/2.091, allocations: 13.44 kB / 1.484 GB, free: 34.75 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009973/2.101, allocations: 1.977 MB / 1.486 GB, free: 34.14 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02092/2.122, allocations: 8.513 MB / 1.495 GB, free: 32.62 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002613/2.124, allocations: 0.917 MB / 1.496 GB, free: 32.57 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0025/2.127, allocations: 0.5967 MB / 1.496 GB, free: 32.57 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01854/2.145, allocations: 6.775 MB / 1.503 GB, free: 32.01 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001207/2.146, allocations: 10.12 kB / 1.503 GB, free: 32.01 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007901/2.146, allocations: 241.1 kB / 1.503 GB, free: 32.01 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001171/2.147, allocations: 140.1 kB / 1.503 GB, free: 32.01 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01643/2.163, allocations: 6.089 MB / 1.509 GB, free: 31.89 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.05969/2.223, allocations: 33.72 MB / 1.542 GB, free: 13.42 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009787/2.233, allocations: 4.311 MB / 1.546 GB, free: 12.57 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005605/2.238, allocations: 2.309 MB / 1.548 GB, free: 12.24 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 evalFunc (simulation): time 0.02511/2.263, allocations: 12.77 MB / 1.561 GB, free: 20.16 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005526/2.269, allocations: 2.695 MB / 1.564 GB, free: 19.36 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005497/2.274, allocations: 0.8913 MB / 1.564 GB, free: 18.93 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=397): time 2.099e-05/2.274, allocations: 0 / 1.564 GB, free: 18.93 MB / 0.9636 GB Notification: Performance of matching and sorting (n=397): time 0.01942/2.294, allocations: 7.483 MB / 1.572 GB, free: 17.13 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/2.294, allocations: 178.5 kB / 1.572 GB, free: 16.97 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01469/2.309, allocations: 7.333 MB / 1.579 GB, free: 15.29 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.001589/2.31, allocations: 134.7 kB / 1.579 GB, free: 15.26 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.004323/2.315, allocations: 3.978 MB / 1.583 GB, free: 13.91 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.001922/2.317, allocations: 1.298 MB / 1.584 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000436/2.317, allocations: 104.2 kB / 1.584 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000333/2.317, allocations: 498.2 kB / 1.585 GB, free: 12.6 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005144/2.323, allocations: 2.21 MB / 1.587 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006814/2.329, allocations: 3.606 MB / 1.591 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01223/2.342, allocations: 5.596 MB / 1.596 GB, free: 8.422 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-05/2.342, allocations: 11.34 kB / 1.596 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of matching and sorting (n=650) (initialization): time 0.01963/2.361, allocations: 6.98 MB / 1.603 GB, free: 5.715 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.000945/2.362, allocations: 1.147 MB / 1.604 GB, free: 4.238 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.392e-05/2.363, allocations: 37.86 kB / 1.604 GB, free: 4.203 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007227/2.363, allocations: 185.8 kB / 1.604 GB, free: 4.035 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00621/2.369, allocations: 1.266 MB / 1.605 GB, free: 2.879 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001039/2.371, allocations: 1.242 MB / 1.607 GB, free: 1.672 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01039/2.381, allocations: 0.6728 MB / 1.607 GB, free: 1.082 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001876/2.383, allocations: 259.3 kB / 1.608 GB, free: 0.8711 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/2.383, allocations: 4 kB / 1.608 GB, free: 0.8672 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01984/2.403, allocations: 6.225 MB / 1.614 GB, free: 12.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001454/2.403, allocations: 36.03 kB / 1.614 GB, free: 12.67 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005868/2.404, allocations: 162.5 kB / 1.614 GB, free: 12.53 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006325/2.41, allocations: 1.261 MB / 1.615 GB, free: 11.38 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003458/2.413, allocations: 3.239 MB / 1.618 GB, free: 8.223 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01014/2.424, allocations: 0.6719 MB / 1.619 GB, free: 7.633 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001762/2.425, allocations: 259.2 kB / 1.619 GB, free: 7.418 MB / 0.9792 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.007771/2.433, allocations: 1.919 MB / 1.621 GB, free: 6.398 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003955/2.437, allocations: 0.8179 MB / 1.622 GB, free: 5.57 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02454/2.462, allocations: 7.354 MB / 1.629 GB, free: 372 kB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01493/2.477, allocations: 5.596 MB / 1.634 GB, free: 12.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.712e-05/2.477, allocations: 0 / 1.634 GB, free: 12.2 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006764/2.484, allocations: 1.674 MB / 1.636 GB, free: 11.01 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003757/2.487, allocations: 98.06 kB / 1.636 GB, free: 10.98 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008246/2.496, allocations: 0.552 MB / 1.637 GB, free: 10.48 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001303/2.497, allocations: 384.1 kB / 1.637 GB, free: 10.16 MB / 0.9948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01884/2.516, allocations: 6.43 MB / 1.643 GB, free: 5.418 MB / 0.9948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0236/2.539, allocations: 9.65 MB / 1.653 GB, free: 14.57 MB / 1.01 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006159/2.546, allocations: 2.825 MB / 1.656 GB, free: 12.76 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.01269/2.558, allocations: 4.879 MB / 1.66 GB, free: 9.445 MB / 1.01 GB Notification: Performance of Backend: time 1.272e-06/2.558, allocations: 4 kB / 1.66 GB, free: 9.441 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.03249/2.591, allocations: 9.463 MB / 1.67 GB, free: 2.492 MB / 1.01 GB Notification: Performance of SimCode: time 0.0454/2.636, allocations: 20 MB / 1.689 GB, free: 72 kB / 1.026 GB Notification: Performance of Templates: time 1.213/3.85, allocations: 186.5 MB / 1.871 GB, free: 0.5131 GB / 1.182 GB make -j1 -f Buildings_8.0.0_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.HeatExchanger.makefile (rm -f Buildings_8.0.0_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.HeatExchanger.pipe ; mkfifo Buildings_8.0.0_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.HeatExchanger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.HeatExchanger.pipe >> ../files/Buildings_8.0.0_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.HeatExchanger.sim & ./Buildings_8.0.0_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.HeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.HeatExchanger.pipe 2>&1)