Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.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.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.638/1.638, allocations: 288.3 MB / 303.2 MB, free: 8.09 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.001213/0.001213, allocations: 190.1 kB / 371.8 MB, free: 10.26 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.371/1.371, allocations: 205.4 MB / 0.6306 GB, free: 10.01 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.0008605/0.0008604, allocations: 90.88 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004414/0.0004414, allocations: 15.91 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2059, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.218/5.424, allocations: 2.375 GB / 3.355 GB, free: 319.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/5.424, allocations: 99.94 kB / 3.355 GB, free: 319.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.189/13.61, allocations: 2.423 GB / 5.778 GB, free: 112.1 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.795e-06/13.61, allocations: 0 / 5.778 GB, free: 112.1 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001102/13.61, allocations: 147 kB / 5.778 GB, free: 112 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1189 * Number of variables: 1189 Notification: Performance of Generate backend data structure: time 0.02677/13.64, allocations: 6.898 MB / 5.785 GB, free: 105 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/13.64, allocations: 12.03 kB / 5.785 GB, free: 105 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01049/13.65, allocations: 1.405 MB / 5.787 GB, free: 103.6 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0204/13.67, allocations: 7.082 MB / 5.794 GB, free: 96.42 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005108/13.67, allocations: 357.1 kB / 5.794 GB, free: 96.07 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002499/13.67, allocations: 479.9 kB / 5.794 GB, free: 95.6 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02025/13.69, allocations: 6.444 MB / 5.801 GB, free: 89.04 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003704/13.7, allocations: 11.91 kB / 5.801 GB, free: 89.02 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002069/13.7, allocations: 194.2 kB / 5.801 GB, free: 88.84 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002375/13.7, allocations: 213 kB / 5.801 GB, free: 88.62 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0151/13.71, allocations: 5.7 MB / 5.807 GB, free: 82.91 MB / 0.9948 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.05347/13.77, allocations: 26.61 MB / 5.833 GB, free: 54.94 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006804/13.77, allocations: 4.061 MB / 5.837 GB, free: 50.82 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001307/13.77, allocations: 1.01 MB / 5.838 GB, free: 49.61 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004517/13.78, allocations: 2.18 MB / 5.84 GB, free: 47.38 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=313): time 7.293e-06/13.78, allocations: 0 / 5.84 GB, free: 47.38 MB / 0.9948 GB Notification: Performance of matching and sorting (n=317): time 0.02846/13.81, allocations: 11.32 MB / 5.851 GB, free: 35.84 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.114e-05/13.81, allocations: 145.2 kB / 5.851 GB, free: 35.67 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01072/13.82, allocations: 4.252 MB / 5.855 GB, free: 31.41 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.00112/13.82, allocations: 93.7 kB / 5.855 GB, free: 31.31 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003783/13.82, allocations: 2.482 MB / 5.857 GB, free: 28.8 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002075/13.83, allocations: 1.086 MB / 5.859 GB, free: 27.7 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007665/13.83, allocations: 64 kB / 5.859 GB, free: 27.64 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0003847/13.83, allocations: 432.4 kB / 5.859 GB, free: 27.21 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003402/13.83, allocations: 1.731 MB / 5.861 GB, free: 25.47 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003994/13.83, allocations: 2.519 MB / 5.863 GB, free: 22.68 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004015/13.84, allocations: 2.257 MB / 5.865 GB, free: 20.39 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.047e-05/13.84, allocations: 7.828 kB / 5.865 GB, free: 20.39 MB / 0.9948 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.01064/13.85, allocations: 4.932 MB / 5.87 GB, free: 15.4 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001284/13.85, allocations: 5.679 MB / 5.876 GB, free: 9.266 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.46e-05/13.85, allocations: 12 kB / 5.876 GB, free: 9.254 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005336/13.85, allocations: 124.8 kB / 5.876 GB, free: 9.129 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003742/13.85, allocations: 0.7137 MB / 5.877 GB, free: 8.414 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002426/13.86, allocations: 2.783 MB / 5.879 GB, free: 5.473 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007683/13.86, allocations: 0.5379 MB / 5.88 GB, free: 4.934 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001047/13.87, allocations: 124 kB / 5.88 GB, free: 4.812 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/13.87, allocations: 4 kB / 5.88 GB, free: 4.809 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01004/13.88, allocations: 4.557 MB / 5.884 GB, free: 212 kB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-05/13.88, allocations: 12 kB / 5.884 GB, free: 200 kB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003968/13.88, allocations: 129.5 kB / 5.885 GB, free: 68 kB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.6592/14.54, allocations: 0.6984 MB / 5.885 GB, free: 127.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002541/14.54, allocations: 2.178 MB / 5.887 GB, free: 125.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007435/14.55, allocations: 0.5302 MB / 5.888 GB, free: 125.7 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009655/14.55, allocations: 123.8 kB / 5.888 GB, free: 125.7 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (380): * Single equations (assignments): 376 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006408/14.55, allocations: 2.385 MB / 5.89 GB, free: 125.5 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001906/14.55, allocations: 460.9 kB / 5.891 GB, free: 125.5 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01045/14.57, allocations: 4.779 MB / 5.895 GB, free: 125.2 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.427e-05/14.57, allocations: 32.17 kB / 5.895 GB, free: 125.2 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/14.57, allocations: 8.375 kB / 5.895 GB, free: 125.2 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006951/14.57, allocations: 4.011 MB / 5.899 GB, free: 124.9 MB / 0.9948 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 postOpt removeSimpleEquations (simulation): time 0.02738/14.6, allocations: 11.89 MB / 5.911 GB, free: 123.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.398e-05/14.6, allocations: 6.219 kB / 5.911 GB, free: 123.8 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003175/14.6, allocations: 0.7092 MB / 5.912 GB, free: 123.8 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003592/14.6, allocations: 113.9 kB / 5.912 GB, free: 123.8 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003024/14.6, allocations: 93.8 kB / 5.912 GB, free: 123.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001966/14.61, allocations: 2.762 MB / 5.915 GB, free: 121.9 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/14.61, allocations: 9.25 kB / 5.915 GB, free: 121.9 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01067/14.62, allocations: 7.846 MB / 5.922 GB, free: 120.7 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004692/14.62, allocations: 1.171 MB / 5.923 GB, free: 120.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001659/14.62, allocations: 83.28 kB / 5.923 GB, free: 120.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005384/14.63, allocations: 484.1 kB / 5.924 GB, free: 120.6 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000506/14.63, allocations: 197.8 kB / 5.924 GB, free: 120.6 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003559/14.63, allocations: 120.4 kB / 5.924 GB, free: 120.6 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.00757/14.64, allocations: 3.355 MB / 5.927 GB, free: 120.5 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.703e-06/14.64, allocations: 0 / 5.927 GB, free: 120.5 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.01999/14.66, allocations: 2.936 MB / 5.93 GB, free: 120.5 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 18 (hex.ele[1].vol1.dynBal.U,hex.ele[1].vol2.dynBal.U,hex.ele[1].vol2.dynBal.mXi[1],hex.ele[1].mas.T,hex.ele[2].vol1.dynBal.U,hex.ele[2].vol2.dynBal.U,hex.ele[2].vol2.dynBal.mXi[1],hex.ele[2].mas.T,hex.ele[3].vol1.dynBal.U,hex.ele[3].vol2.dynBal.U,hex.ele[3].vol2.dynBal.mXi[1],hex.ele[3].mas.T,hex.ele[4].vol1.dynBal.U,hex.ele[4].vol2.dynBal.U,hex.ele[4].vol2.dynBal.m,hex.ele[4].vol2.dynBal.mXi[1],hex.ele[4].mas.T,senRelHum.phi) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (306): * Single equations (assignments): 298 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005804/14.66, allocations: 2.866 MB / 5.933 GB, free: 119.5 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01266/14.68, allocations: 7.025 MB / 5.94 GB, free: 118.9 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.572e-05/14.68, allocations: 0 / 5.94 GB, free: 118.9 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.003607/14.68, allocations: 2.356 MB / 5.942 GB, free: 118.7 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01538/14.69, allocations: 2.926 MB / 5.945 GB, free: 118.7 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02952/14.72, allocations: 14.83 MB / 5.96 GB, free: 113.6 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007438/14.73, allocations: 4.476 MB / 5.964 GB, free: 112.7 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.01073/14.74, allocations: 2.626 MB / 5.967 GB, free: 112.7 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001994/14.74, allocations: 365.3 kB / 5.967 GB, free: 112.7 MB / 0.9948 GB Notification: Performance of SimCode: time 1.302e-06/14.74, allocations: 2.812 kB / 5.967 GB, free: 112.7 MB / 0.9948 GB Notification: Performance of Templates: time 0.2078/14.95, allocations: 130 MB / 6.094 GB, free: 106.1 MB / 0.9948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe 2>&1)