Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00166/0.001659, allocations: 112.3 kB / 16.42 MB, free: 6.5 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.001852/0.001852, allocations: 189.6 kB / 17.35 MB, free: 5.758 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.483/1.483, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.692/2.692, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001614, allocations: 63.91 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.204/1.206, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.HeatExchanger): time 0.4094/1.615, allocations: 349.3 MB / 1.508 GB, free: 5.441 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 1.254/2.869, allocations: 78.88 MB / 1.585 GB, free: 42.62 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0268/2.896, allocations: 430.6 kB / 1.586 GB, free: 42.62 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.02021/2.916, allocations: 5.537 MB / 1.591 GB, free: 42.61 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.04276/2.959, allocations: 12.31 MB / 1.603 GB, free: 42.26 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.03324/2.992, allocations: 10.08 MB / 1.613 GB, free: 41.95 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.06319/3.056, allocations: 32.54 MB / 1.645 GB, free: 41.74 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02512/3.081, allocations: 8.311 MB / 1.653 GB, free: 40.82 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03726/3.118, allocations: 10.21 MB / 1.663 GB, free: 40.31 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02212/3.14, allocations: 6.813 MB / 1.67 GB, free: 39.07 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.007284/3.148, allocations: 1.005 MB / 1.671 GB, free: 39.07 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02873/3.176, allocations: 6.34 MB / 1.677 GB, free: 38.98 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.008563/3.185, allocations: 2.996 MB / 1.68 GB, free: 38.58 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.0188/3.204, allocations: 5.877 MB / 1.685 GB, free: 36.96 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.03882/3.243, allocations: 19.42 MB / 1.704 GB, free: 28.41 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 9.668e-06/3.243, allocations: 0 / 1.704 GB, free: 28.41 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.995e-06/3.243, allocations: 0 / 1.704 GB, free: 28.41 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0006201/3.243, allocations: 4 kB / 1.704 GB, free: 28.4 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1259 * Number of variables: 1259 Notification: Performance of Generate backend data structure: time 0.03541/3.279, allocations: 11.61 MB / 1.716 GB, free: 16.86 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/3.279, allocations: 8.031 kB / 1.716 GB, free: 16.85 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01122/3.29, allocations: 2.102 MB / 1.718 GB, free: 14.73 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02748/3.318, allocations: 12.58 MB / 1.73 GB, free: 2.461 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004918/3.318, allocations: 401.8 kB / 1.73 GB, free: 2.066 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002336/3.321, allocations: 0.5288 MB / 1.731 GB, free: 1.543 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01545/3.336, allocations: 6.015 MB / 1.737 GB, free: 11.36 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.75e-05/3.336, allocations: 10.66 kB / 1.737 GB, free: 11.36 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006126/3.337, allocations: 204 kB / 1.737 GB, free: 11.16 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001129/3.337, allocations: 128 kB / 1.737 GB, free: 11.04 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01455/3.352, allocations: 5.367 MB / 1.742 GB, free: 5.695 MB / 1.295 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.07395/3.426, allocations: 32.03 MB / 1.774 GB, free: 4.074 MB / 1.326 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01128/3.437, allocations: 3.546 MB / 1.777 GB, free: 0.5 MB / 1.326 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005955/3.443, allocations: 1.905 MB / 1.779 GB, free: 14.59 MB / 1.342 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02726/3.47, allocations: 10.73 MB / 1.79 GB, free: 3.078 MB / 1.342 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00664/3.477, allocations: 2.18 MB / 1.792 GB, free: 0.8516 MB / 1.342 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004762/3.482, allocations: 426.5 kB / 1.792 GB, free: 444 kB / 1.342 GB Notification: Performance of pre-optimization done (n=318): time 1.886e-05/3.482, allocations: 0 / 1.792 GB, free: 444 kB / 1.342 GB Notification: Performance of matching and sorting (n=318): time 0.0255/3.507, allocations: 7.071 MB / 1.799 GB, free: 9.227 MB / 1.357 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/3.507, allocations: 170.9 kB / 1.799 GB, free: 9.027 MB / 1.357 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02453/3.532, allocations: 8.911 MB / 1.808 GB, free: 156 kB / 1.357 GB Notification: Performance of collectPreVariables (initialization): time 0.001311/3.533, allocations: 117.7 kB / 1.808 GB, free: 32 kB / 1.357 GB Notification: Performance of collectInitialEqns (initialization): time 0.0072/3.541, allocations: 4.195 MB / 1.812 GB, free: 11.84 MB / 1.373 GB Notification: Performance of collectInitialBindings (initialization): time 0.002063/3.543, allocations: 1.073 MB / 1.813 GB, free: 10.78 MB / 1.373 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005148/3.548, allocations: 1.265 MB / 1.814 GB, free: 9.508 MB / 1.373 GB Notification: Performance of setup shared object (initialization): time 0.0001148/3.548, allocations: 301.1 kB / 1.815 GB, free: 9.211 MB / 1.373 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006708/3.555, allocations: 2.526 MB / 1.817 GB, free: 6.676 MB / 1.373 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008531/3.563, allocations: 3.902 MB / 1.821 GB, free: 2.258 MB / 1.373 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01374/3.577, allocations: 6.019 MB / 1.827 GB, free: 11.87 MB / 1.389 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.833e-05/3.577, allocations: 16 kB / 1.827 GB, free: 11.86 MB / 1.389 GB Notification: Performance of matching and sorting (n=754) (initialization): time 0.02346/3.601, allocations: 7.823 MB / 1.834 GB, free: 4.18 MB / 1.389 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001597/3.601, allocations: 117.1 kB / 1.835 GB, free: 4.047 MB / 1.389 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.221e-05/3.601, allocations: 32 kB / 1.835 GB, free: 4.016 MB / 1.389 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002132/3.603, allocations: 492.5 kB / 1.835 GB, free: 3.527 MB / 1.389 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005736/3.609, allocations: 1.19 MB / 1.836 GB, free: 2.406 MB / 1.389 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002584/3.611, allocations: 2.672 MB / 1.839 GB, free: 15.65 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008994/3.62, allocations: 400.7 kB / 1.839 GB, free: 15.26 MB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001623/3.622, allocations: 263.9 kB / 1.839 GB, free: 15 MB / 1.404 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01249/3.635, allocations: 4.274 MB / 1.844 GB, free: 10.73 MB / 1.404 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008692/3.643, allocations: 3.889 MB / 1.847 GB, free: 6.32 MB / 1.404 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01402/3.657, allocations: 5.978 MB / 1.853 GB, free: 15.97 MB / 1.42 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.176e-05/3.658, allocations: 8 kB / 1.853 GB, free: 15.96 MB / 1.42 GB Notification: Performance of matching and sorting (n=754) (initialization_lambda0): time 0.02329/3.681, allocations: 7.747 MB / 1.861 GB, free: 8.363 MB / 1.42 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001395/3.681, allocations: 121.1 kB / 1.861 GB, free: 8.227 MB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.105e-05/3.681, allocations: 32 kB / 1.861 GB, free: 8.195 MB / 1.42 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001842/3.683, allocations: 442.5 kB / 1.861 GB, free: 7.754 MB / 1.42 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005859/3.689, allocations: 1.182 MB / 1.863 GB, free: 6.641 MB / 1.42 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004674/3.693, allocations: 4.888 MB / 1.867 GB, free: 1.465 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009465/3.703, allocations: 428.6 kB / 1.868 GB, free: 1.047 MB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00165/3.705, allocations: 258 kB / 1.868 GB, free: 0.7969 MB / 1.42 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 147 * Number of states: 0 () * Number of discrete variables: 44 (hexPum.hex.flowRegime_nominal,hexPum.hex.flowRegime,hexVal.hex.flowRegime_nominal,hexVal.hex.flowRegime,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.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.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 (614): * Single equations (assignments): 601 * Array equations: 3 * Algorithm blocks: 3 * Record equations: 3 * 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,9), (1,4), (1,9), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.002768/3.707, allocations: 0.5947 MB / 1.869 GB, free: 256 kB / 1.42 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004393/3.712, allocations: 0.8792 MB / 1.869 GB, free: 15.36 MB / 1.436 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02348/3.735, allocations: 6.388 MB / 1.876 GB, free: 9.062 MB / 1.436 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01494/3.75, allocations: 4.854 MB / 1.88 GB, free: 4.09 MB / 1.436 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.254e-05/3.75, allocations: 7.562 kB / 1.88 GB, free: 4.086 MB / 1.436 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007811/3.758, allocations: 1.598 MB / 1.882 GB, free: 2.457 MB / 1.436 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004976/3.763, allocations: 80 kB / 1.882 GB, free: 2.379 MB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008115/3.771, allocations: 312.5 kB / 1.882 GB, free: 2.074 MB / 1.436 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001416/3.773, allocations: 318.4 kB / 1.883 GB, free: 1.762 MB / 1.436 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02005/3.793, allocations: 5.544 MB / 1.888 GB, free: 12.2 MB / 1.451 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02403/3.817, allocations: 8.147 MB / 1.896 GB, free: 3.98 MB / 1.451 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006263/3.823, allocations: 2.272 MB / 1.898 GB, free: 1.699 MB / 1.451 GB Notification: Performance of sorting global known variables: time 0.01802/3.841, allocations: 5.938 MB / 1.904 GB, free: 11.8 MB / 1.467 GB Notification: Performance of Backend: time 1.403e-06/3.842, allocations: 4 kB / 1.904 GB, free: 11.79 MB / 1.467 GB Notification: Performance of simCode: created initialization part: time 0.03852/3.88, allocations: 10.33 MB / 1.914 GB, free: 1.836 MB / 1.467 GB Notification: Performance of SimCode: time 0.05904/3.939, allocations: 19.46 MB / 1.933 GB, free: 14.43 MB / 1.498 GB Notification: Performance of Templates: time 0.3967/4.336, allocations: 206.1 MB / 2.134 GB, free: 3.004 MB / 1.686 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.HeatExchanger.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.HeatExchanger.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.HeatExchanger.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.HeatExchanger.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.HeatExchanger.sim & ./Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.HeatExchanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.HeatExchanger.pipe 2>&1)