Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.HeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.HeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.HeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.673/1.673, allocations: 288.4 MB / 304.3 MB, free: 8.18 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.001644/0.001643, allocations: 176.6 kB / 372.9 MB, free: 10.14 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.746/1.746, allocations: 205.4 MB / 0.6316 GB, free: 9.781 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.0009298/0.0009299, allocations: 96.16 kB / 0.745 GB, free: 5.695 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003938/0.0003938, allocations: 13.06 kB / 0.8681 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.251, allocations: 115.3 MB / 0.9808 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.HeatExchanger): time 0.9312/1.182, allocations: 338.5 MB / 1.311 GB, free: 13.22 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1291/1.311, allocations: 78.21 MB / 1.388 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02181/1.333, allocations: 389.2 kB / 1.388 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.01512/1.349, allocations: 3.183 MB / 1.391 GB, free: 11.27 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.03642/1.385, allocations: 9.31 MB / 1.4 GB, free: 1.93 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.02808/1.413, allocations: 7.534 MB / 1.408 GB, free: 10.45 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.8322/2.245, allocations: 26.61 MB / 1.434 GB, free: 40.04 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02225/2.268, allocations: 7.471 MB / 1.441 GB, free: 39.11 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02845/2.296, allocations: 8.424 MB / 1.449 GB, free: 39.07 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01856/2.315, allocations: 6.316 MB / 1.455 GB, free: 39.05 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.00562/2.32, allocations: 375.5 kB / 1.456 GB, free: 39.05 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02246/2.343, allocations: 4.984 MB / 1.461 GB, free: 39.04 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.007769/2.351, allocations: 1.9 MB / 1.462 GB, free: 39.04 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.02054/2.371, allocations: 4.62 MB / 1.467 GB, free: 39.01 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0302/2.402, allocations: 15.23 MB / 1.482 GB, free: 38.48 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/2.402, allocations: 4 kB / 1.482 GB, free: 38.48 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.565e-06/2.402, allocations: 0 / 1.482 GB, free: 38.48 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0009311/2.403, allocations: 3 kB / 1.482 GB, free: 38.48 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.03317/2.436, allocations: 9.066 MB / 1.491 GB, free: 34.12 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/2.436, allocations: 11.19 kB / 1.491 GB, free: 34.12 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01068/2.447, allocations: 1.986 MB / 1.493 GB, free: 33.51 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02595/2.473, allocations: 8.511 MB / 1.501 GB, free: 31.99 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002807/2.475, allocations: 0.92 MB / 1.502 GB, free: 31.93 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003159/2.479, allocations: 0.5924 MB / 1.502 GB, free: 31.93 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02496/2.504, allocations: 6.779 MB / 1.509 GB, free: 31.38 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003841/2.504, allocations: 13.88 kB / 1.509 GB, free: 31.37 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002278/2.506, allocations: 231.3 kB / 1.509 GB, free: 31.37 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001987/2.507, allocations: 138.9 kB / 1.509 GB, free: 31.37 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01967/2.526, allocations: 6.093 MB / 1.515 GB, free: 31.25 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.0704/2.597, allocations: 33.71 MB / 1.548 GB, free: 12.12 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009997/2.607, allocations: 4.316 MB / 1.552 GB, free: 11.27 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006345/2.613, allocations: 2.313 MB / 1.555 GB, free: 10.93 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.03509/2.648, allocations: 12.76 MB / 1.567 GB, free: 18.86 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007366/2.656, allocations: 2.692 MB / 1.57 GB, free: 18.05 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006612/2.662, allocations: 0.8902 MB / 1.571 GB, free: 17.64 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=397): time 2.561e-05/2.662, allocations: 4 kB / 1.571 GB, free: 17.63 MB / 0.9636 GB Notification: Performance of matching and sorting (n=397): time 0.02395/2.686, allocations: 7.481 MB / 1.578 GB, free: 15.83 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000171/2.687, allocations: 181.4 kB / 1.578 GB, free: 15.67 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02037/2.707, allocations: 7.334 MB / 1.585 GB, free: 13.98 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.001614/2.709, allocations: 138.1 kB / 1.585 GB, free: 13.95 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.00539/2.714, allocations: 3.97 MB / 1.589 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.002342/2.716, allocations: 1.297 MB / 1.591 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001167/2.718, allocations: 101.4 kB / 1.591 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0005391/2.718, allocations: 0.4915 MB / 1.591 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006323/2.724, allocations: 2.206 MB / 1.593 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007393/2.732, allocations: 3.605 MB / 1.597 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01229/2.744, allocations: 5.599 MB / 1.602 GB, free: 6.824 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-05/2.744, allocations: 11.94 kB / 1.602 GB, free: 6.812 MB / 0.9636 GB Notification: Performance of matching and sorting (n=650) (initialization): time 0.02049/2.765, allocations: 6.973 MB / 1.609 GB, free: 1.785 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009276/2.766, allocations: 1.156 MB / 1.61 GB, free: 308 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.352e-05/2.766, allocations: 32 kB / 1.61 GB, free: 276 kB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007152/2.767, allocations: 190.4 kB / 1.61 GB, free: 100 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006238/2.773, allocations: 1.259 MB / 1.612 GB, free: 14.95 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001156/2.774, allocations: 1.248 MB / 1.613 GB, free: 13.73 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.011/2.785, allocations: 0.6708 MB / 1.614 GB, free: 13.15 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002102/2.787, allocations: 266.3 kB / 1.614 GB, free: 12.93 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/2.787, allocations: 4 kB / 1.614 GB, free: 12.93 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02011/2.807, allocations: 6.227 MB / 1.62 GB, free: 8.762 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001272/2.807, allocations: 32 kB / 1.62 GB, free: 8.73 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000552/2.808, allocations: 168.5 kB / 1.62 GB, free: 8.582 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006135/2.814, allocations: 1.253 MB / 1.621 GB, free: 7.434 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003282/2.817, allocations: 3.244 MB / 1.624 GB, free: 4.277 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009787/2.827, allocations: 0.6701 MB / 1.625 GB, free: 3.691 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001668/2.829, allocations: 265.3 kB / 1.625 GB, free: 3.477 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.007343/2.836, allocations: 1.918 MB / 1.627 GB, free: 2.453 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003531/2.84, allocations: 0.814 MB / 1.628 GB, free: 1.629 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02185/2.862, allocations: 7.357 MB / 1.635 GB, free: 12.42 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01438/2.876, allocations: 5.596 MB / 1.641 GB, free: 8.262 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.323e-05/2.876, allocations: 1.969 kB / 1.641 GB, free: 8.262 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006649/2.883, allocations: 1.666 MB / 1.642 GB, free: 7.07 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003514/2.886, allocations: 102.8 kB / 1.642 GB, free: 7.039 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008319/2.895, allocations: 0.5588 MB / 1.643 GB, free: 6.535 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00145/2.896, allocations: 378.3 kB / 1.643 GB, free: 6.215 MB / 0.9948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01997/2.916, allocations: 6.428 MB / 1.65 GB, free: 1.48 MB / 0.9948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02501/2.941, allocations: 9.655 MB / 1.659 GB, free: 10.62 MB / 1.01 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006275/2.948, allocations: 2.821 MB / 1.662 GB, free: 8.816 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.01348/2.961, allocations: 4.876 MB / 1.667 GB, free: 5.504 MB / 1.01 GB Notification: Performance of Backend: time 1.223e-06/2.961, allocations: 0 / 1.667 GB, free: 5.504 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0344/2.996, allocations: 9.54 MB / 1.676 GB, free: 14.47 MB / 1.026 GB Notification: Performance of SimCode: time 0.04932/3.045, allocations: 19.99 MB / 1.695 GB, free: 12.07 MB / 1.042 GB Notification: Performance of Templates: time 1.248/4.293, allocations: 188.4 MB / 1.879 GB, free: 0.5262 GB / 1.182 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.HeatExchanger.makefile (rm -f Buildings_maint.8.0.x_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.HeatExchanger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.HeatExchanger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.HeatExchanger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.HeatExchanger.sim & ./Buildings_maint.8.0.x_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.HeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Generation5.Subsystems.Validation.HeatExchanger.pipe 2>&1)