Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.HeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.HeatExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senT1InlPum.T|senT1OutPum.T|senT2InlPum.T|senT2OutPum.T|hexPum.m1_flow|hexPum.m2_flow|hexPum.m1_flow_nominal|hexPum.m2_flow_nominal|hexPum.con.y1|hexPum.con.yVal2|hexPum.con.yPum2|senT1InlVal.T|senT1OutVal.T|senT2InlVal.T|senT2OutVal.T|hexVal.m1_flow|hexVal.m2_flow|hexVal.m1_flow_nominal|hexVal.m2_flow_nominal|hexVal.con.y1|hexVal.con.yVal2|hexVal.con.yPum2",fileNamePrefix="Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.HeatExchanger") translateModel(Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.HeatExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senT1InlPum.T|senT1OutPum.T|senT2InlPum.T|senT2OutPum.T|hexPum.m1_flow|hexPum.m2_flow|hexPum.m1_flow_nominal|hexPum.m2_flow_nominal|hexPum.con.y1|hexPum.con.yVal2|hexPum.con.yPum2|senT1InlVal.T|senT1OutVal.T|senT2InlVal.T|senT2OutVal.T|hexVal.m1_flow|hexVal.m2_flow|hexVal.m1_flow_nominal|hexVal.m2_flow_nominal|hexVal.con.y1|hexVal.con.yVal2|hexVal.con.yPum2",fileNamePrefix="Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.HeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001679/0.00168, allocations: 115.3 kB / 16.42 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 186.1 kB / 17.35 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.42/2.42, allocations: 390.2 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 63.89 kB / 0.9516 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.01/1.011, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter hexPum.pum1.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter hexPum.pum2.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter hexVal.pum1.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter hexVal.pum2.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.HeatExchanger): time 0.3999/1.411, allocations: 347.1 MB / 1.428 GB, free: 2.145 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.1205/1.532, allocations: 76.15 MB / 1.502 GB, free: 5.809 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02111/1.553, allocations: 417.6 kB / 1.502 GB, free: 5.398 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.02109/1.574, allocations: 4.625 MB / 1.507 GB, free: 0.7461 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.03716/1.611, allocations: 11.74 MB / 1.518 GB, free: 4.961 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.02686/1.638, allocations: 9.741 MB / 1.528 GB, free: 11.29 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.04332/1.682, allocations: 22.65 MB / 1.55 GB, free: 4.586 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01911/1.701, allocations: 8.15 MB / 1.558 GB, free: 12.32 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03448/1.735, allocations: 10.08 MB / 1.568 GB, free: 2.234 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01549/1.751, allocations: 6.504 MB / 1.574 GB, free: 11.7 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.005515/1.756, allocations: 0.9531 MB / 1.575 GB, free: 10.75 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01938/1.776, allocations: 6.124 MB / 1.581 GB, free: 4.617 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.005719/1.782, allocations: 2.429 MB / 1.583 GB, free: 2.18 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 1.08/2.861, allocations: 5.098 MB / 1.588 GB, free: 79.13 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.04977/2.911, allocations: 16.96 MB / 1.605 GB, free: 78.79 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 1.071e-05/2.911, allocations: 0 / 1.605 GB, free: 78.79 MB / 1.311 GB Notification: Performance of FrontEnd: time 2.364e-06/2.911, allocations: 2.344 kB / 1.605 GB, free: 78.79 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.0008592/2.912, allocations: 0 / 1.605 GB, free: 78.79 MB / 1.311 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1247 * Number of variables: 1247 Notification: Performance of Generate backend data structure: time 0.05061/2.963, allocations: 9.966 MB / 1.615 GB, free: 74.78 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 8.185e-05/2.963, allocations: 9.672 kB / 1.615 GB, free: 74.78 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01545/2.978, allocations: 1.998 MB / 1.617 GB, free: 74.29 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02941/3.008, allocations: 8.452 MB / 1.625 GB, free: 72.86 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00101/3.009, allocations: 403.5 kB / 1.625 GB, free: 72.84 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00362/3.012, allocations: 0.5251 MB / 1.626 GB, free: 72.84 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02723/3.04, allocations: 6.045 MB / 1.632 GB, free: 72.25 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003784/3.04, allocations: 10.31 kB / 1.632 GB, free: 72.25 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002292/3.042, allocations: 201.7 kB / 1.632 GB, free: 72.25 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002003/3.043, allocations: 120.4 kB / 1.632 GB, free: 72.25 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02006/3.063, allocations: 5.441 MB / 1.637 GB, free: 72.15 MB / 1.311 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.06883/3.132, allocations: 30.85 MB / 1.667 GB, free: 57.73 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01227/3.144, allocations: 3.759 MB / 1.671 GB, free: 57.43 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006093/3.15, allocations: 1.983 MB / 1.673 GB, free: 57.38 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02901/3.179, allocations: 10.58 MB / 1.683 GB, free: 52.48 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006558/3.186, allocations: 2.285 MB / 1.686 GB, free: 52.25 MB / 1.311 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00508/3.191, allocations: 388.4 kB / 1.686 GB, free: 52.06 MB / 1.311 GB Notification: Performance of pre-optimization done (n=323): time 2.3e-05/3.191, allocations: 0 / 1.686 GB, free: 52.06 MB / 1.311 GB Notification: Performance of matching and sorting (n=323): time 0.02321/3.214, allocations: 7.234 MB / 1.693 GB, free: 50.91 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.882e-05/3.214, allocations: 173.3 kB / 1.693 GB, free: 50.75 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01751/3.232, allocations: 6.651 MB / 1.7 GB, free: 50.25 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.001515/3.233, allocations: 115.5 kB / 1.7 GB, free: 50.22 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.005031/3.238, allocations: 3.589 MB / 1.703 GB, free: 49.33 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.002521/3.241, allocations: 1.076 MB / 1.704 GB, free: 48.64 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006177/3.247, allocations: 0.9311 MB / 1.705 GB, free: 48.58 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 9.134e-05/3.247, allocations: 301.1 kB / 1.706 GB, free: 48.28 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005915/3.253, allocations: 2.003 MB / 1.708 GB, free: 48.21 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006414/3.259, allocations: 3.207 MB / 1.711 GB, free: 46.82 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01099/3.27, allocations: 5.06 MB / 1.716 GB, free: 45.38 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.465e-05/3.271, allocations: 16.56 kB / 1.716 GB, free: 45.38 MB / 1.311 GB Notification: Performance of matching and sorting (n=556) (initialization): time 0.0184/3.289, allocations: 6.399 MB / 1.722 GB, free: 44.66 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001165/3.289, allocations: 112.6 kB / 1.722 GB, free: 44.57 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.139e-05/3.289, allocations: 33.03 kB / 1.722 GB, free: 44.57 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002062/3.291, allocations: 0.5071 MB / 1.723 GB, free: 44.52 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004344/3.296, allocations: 1.038 MB / 1.724 GB, free: 44.51 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001862/3.298, allocations: 2.696 MB / 1.726 GB, free: 42.42 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007455/3.305, allocations: 351.7 kB / 1.726 GB, free: 42.4 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009473/3.306, allocations: 236 kB / 1.727 GB, free: 42.4 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008824/3.315, allocations: 3.252 MB / 1.73 GB, free: 42.13 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005927/3.321, allocations: 3.146 MB / 1.733 GB, free: 40.4 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01042/3.331, allocations: 4.936 MB / 1.738 GB, free: 38.6 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.976e-05/3.331, allocations: 12.42 kB / 1.738 GB, free: 38.59 MB / 1.311 GB Notification: Performance of matching and sorting (n=556) (initialization_lambda0): time 0.01718/3.348, allocations: 6.217 MB / 1.744 GB, free: 37.27 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 9.969e-05/3.349, allocations: 117.8 kB / 1.744 GB, free: 37.17 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.732e-05/3.349, allocations: 33.72 kB / 1.744 GB, free: 37.17 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001755/3.35, allocations: 466.6 kB / 1.744 GB, free: 37.04 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004483/3.355, allocations: 1.037 MB / 1.745 GB, free: 36.85 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003591/3.359, allocations: 4.915 MB / 1.75 GB, free: 32.66 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008667/3.367, allocations: 370.1 kB / 1.751 GB, free: 32.57 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001229/3.368, allocations: 226.7 kB / 1.751 GB, free: 32.54 MB / 1.311 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 135 * Number of states: 0 () * Number of discrete variables: 44 (hexVal.hex.flowRegime_nominal,hexPum.hex.flowRegime_nominal,TSerWat.nextEventScaled,TSerWat.nextEvent,$PRE.TSerWat.nextEvent,TSerWat.last,TSerWat.b,TSerWat.a,THotVal.nextEventScaled,THotVal.nextEvent,$PRE.THotVal.nextEvent,THotVal.last,THotVal.b,THotVal.a,TColVal.nextEventScaled,TColVal.nextEvent,$PRE.TColVal.nextEvent,TColVal.last,TColVal.b,TColVal.a,or2.y,hexVal.hex.flowRegime,hexVal.con.or1.y,hexVal.con.cooRej.greHys.y,$PRE.hexVal.con.cooRej.greHys.y,hexVal.con.heaRej.greHys.y,$PRE.hexVal.con.heaRej.greHys.y,hexVal.con.and2.y,hexVal.con.greThr.greHys.y,$PRE.hexVal.con.greThr.greHys.y,hexPum.hex.flowRegime,hexPum.con.or1.y,hexPum.con.cooRej.greHys.y,$PRE.hexPum.con.cooRej.greHys.y,hexPum.con.heaRej.greHys.y,$PRE.hexPum.con.heaRej.greHys.y,hexPum.con.and2.y,hexPum.con.greThr.greHys.y,$PRE.hexPum.con.greThr.greHys.y,uEnaColRej.y,uHeaRej.y,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (510): * Single equations (assignments): 500 * Array equations: 3 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,10), (1,4), (1,10), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.00242/3.371, allocations: 0.5592 MB / 1.751 GB, free: 32.23 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003512/3.374, allocations: 0.7326 MB / 1.752 GB, free: 31.83 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01847/3.393, allocations: 6.451 MB / 1.758 GB, free: 30.29 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01107/3.404, allocations: 5.003 MB / 1.763 GB, free: 29.01 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.739e-05/3.404, allocations: 2.938 kB / 1.763 GB, free: 29.01 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005599/3.41, allocations: 1.406 MB / 1.765 GB, free: 28.25 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003723/3.413, allocations: 82.69 kB / 1.765 GB, free: 28.25 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007025/3.42, allocations: 294.4 kB / 1.765 GB, free: 28.17 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008702/3.421, allocations: 320.3 kB / 1.765 GB, free: 28.04 MB / 1.311 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0161/3.437, allocations: 5.728 MB / 1.771 GB, free: 26.63 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01898/3.456, allocations: 8.251 MB / 1.779 GB, free: 22.92 MB / 1.311 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004594/3.461, allocations: 2.371 MB / 1.781 GB, free: 21.38 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.01121/3.472, allocations: 4.432 MB / 1.786 GB, free: 18.33 MB / 1.311 GB Notification: Performance of Backend: time 2.305e-06/3.472, allocations: 0 / 1.786 GB, free: 18.33 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.03025/3.503, allocations: 8.694 MB / 1.794 GB, free: 11.13 MB / 1.311 GB Notification: Performance of SimCode: time 0.04099/3.544, allocations: 15.96 MB / 1.81 GB, free: 11.28 MB / 1.326 GB Notification: Performance of Templates: time 0.3064/3.85, allocations: 175.7 MB / 1.981 GB, free: 14.35 MB / 1.498 GB make -j1 -f Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.HeatExchanger.makefile (rm -f Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.HeatExchanger.pipe ; mkfifo Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.HeatExchanger.pipe ; head -c 1048576 < Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.HeatExchanger.pipe >> ../files/Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.HeatExchanger.sim & ./Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.HeatExchanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.HeatExchanger.pipe 2>&1)