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.702/1.702, allocations: 285.4 MB / 298 MB, free: 5.996 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.001272/0.001272, allocations: 176.8 kB / 366.4 MB, free: 2.113 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.751/1.751, allocations: 205.1 MB / 0.6248 GB, free: 7.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009683/0.0009677, allocations: 99.83 kB / 0.738 GB, free: 40.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.938e-05/3.941e-05, allocations: 4 kB / 0.8583 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8668/0.8669, allocations: 115.3 MB / 0.9709 GB, free: 77.92 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.164/7.031, allocations: 2.375 GB / 3.346 GB, free: 76.57 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/7.031, allocations: 91.36 kB / 3.346 GB, free: 76.52 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 10.08/17.11, allocations: 2.42 GB / 5.766 GB, free: 91.47 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.254e-06/17.11, allocations: 0 / 5.766 GB, free: 91.47 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001425/17.11, allocations: 148 kB / 5.766 GB, free: 91.45 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.02694/17.14, allocations: 5.722 MB / 5.772 GB, free: 89.46 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/17.14, allocations: 11.06 kB / 5.772 GB, free: 89.46 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01164/17.15, allocations: 1.397 MB / 5.773 GB, free: 89.12 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0225/17.17, allocations: 7.042 MB / 5.78 GB, free: 88.25 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005702/17.17, allocations: 356 kB / 5.78 GB, free: 88.24 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00291/17.18, allocations: 478.3 kB / 5.781 GB, free: 88.23 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02332/17.2, allocations: 6.347 MB / 5.787 GB, free: 87.82 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004422/17.2, allocations: 13.69 kB / 5.787 GB, free: 87.82 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00243/17.2, allocations: 192.5 kB / 5.787 GB, free: 87.82 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003228/17.2, allocations: 210.6 kB / 5.787 GB, free: 87.81 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01679/17.22, allocations: 5.586 MB / 5.793 GB, free: 87.76 MB / 0.9948 GB Warning: The model contains alias variables with conflicting start and/or 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.05916/17.28, allocations: 26.61 MB / 5.819 GB, free: 78.28 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007423/17.29, allocations: 4.003 MB / 5.823 GB, free: 77.84 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004477/17.29, allocations: 2.435 MB / 5.825 GB, free: 77.8 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00134/17.29, allocations: 1.009 MB / 5.826 GB, free: 76.77 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004973/17.3, allocations: 2.147 MB / 5.828 GB, free: 76.6 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=313): time 7.935e-06/17.3, allocations: 0 / 5.828 GB, free: 76.6 MB / 0.9948 GB Notification: Performance of matching and sorting (n=317): time 0.03048/17.33, allocations: 9.48 MB / 5.837 GB, free: 74.86 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/17.33, allocations: 139.5 kB / 5.838 GB, free: 74.73 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01296/17.34, allocations: 4.197 MB / 5.842 GB, free: 74.43 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.001226/17.34, allocations: 93.08 kB / 5.842 GB, free: 74.39 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003963/17.35, allocations: 2.491 MB / 5.844 GB, free: 73.57 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002282/17.35, allocations: 1.086 MB / 5.845 GB, free: 72.87 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008068/17.35, allocations: 61.53 kB / 5.845 GB, free: 72.87 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.000449/17.35, allocations: 443.8 kB / 5.846 GB, free: 72.56 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003675/17.35, allocations: 1.688 MB / 5.847 GB, free: 72.55 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004349/17.36, allocations: 2.486 MB / 5.85 GB, free: 71.79 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004687/17.36, allocations: 2.228 MB / 5.852 GB, free: 71.67 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.152e-05/17.36, allocations: 3.406 kB / 5.852 GB, free: 71.67 MB / 0.9948 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.0135/17.38, allocations: 4.858 MB / 5.857 GB, free: 71.25 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002782/17.38, allocations: 5.676 MB / 5.862 GB, free: 65.31 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.699e-05/17.38, allocations: 11.12 kB / 5.862 GB, free: 65.31 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006588/17.38, allocations: 127.5 kB / 5.862 GB, free: 65.3 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003918/17.38, allocations: 0.7154 MB / 5.863 GB, free: 65.3 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002965/17.39, allocations: 2.742 MB / 5.866 GB, free: 63.38 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007209/17.39, allocations: 0.5402 MB / 5.866 GB, free: 63.34 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000849/17.4, allocations: 130.4 kB / 5.866 GB, free: 63.34 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/17.4, allocations: 3.969 kB / 5.866 GB, free: 63.34 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0102/17.41, allocations: 4.474 MB / 5.871 GB, free: 63.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.289e-05/17.41, allocations: 11.97 kB / 5.871 GB, free: 63.18 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004816/17.41, allocations: 135 kB / 5.871 GB, free: 63.17 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0032/17.41, allocations: 0.7029 MB / 5.872 GB, free: 63.17 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0022/17.41, allocations: 2.14 MB / 5.874 GB, free: 61.84 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007006/17.42, allocations: 0.5324 MB / 5.874 GB, free: 61.8 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000696/17.42, allocations: 121.5 kB / 5.874 GB, free: 61.8 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 () * 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.001593/17.42, allocations: 364.9 kB / 5.875 GB, free: 61.62 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002314/17.42, allocations: 466.4 kB / 5.875 GB, free: 61.39 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01089/17.43, allocations: 4.713 MB / 5.88 GB, free: 61.11 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.58e-05/17.43, allocations: 37.66 kB / 5.88 GB, free: 61.11 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.709e-05/17.43, allocations: 3.938 kB / 5.88 GB, free: 61.11 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006585/17.44, allocations: 3.957 MB / 5.884 GB, free: 60.78 MB / 0.9948 GB Warning: The model contains alias variables with conflicting start and/or 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.0303/17.47, allocations: 11.82 MB / 5.895 GB, free: 59.59 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.357e-05/17.47, allocations: 3.406 kB / 5.895 GB, free: 59.59 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003516/17.48, allocations: 0.7088 MB / 5.896 GB, free: 59.59 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004465/17.48, allocations: 108.5 kB / 5.896 GB, free: 59.58 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006319/17.48, allocations: 99.47 kB / 5.896 GB, free: 59.58 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002457/17.48, allocations: 2.73 MB / 5.899 GB, free: 57.65 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/17.48, allocations: 3.719 kB / 5.899 GB, free: 57.65 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0135/17.49, allocations: 7.768 MB / 5.906 GB, free: 54.36 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005038/17.5, allocations: 1.174 MB / 5.907 GB, free: 53.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002394/17.5, allocations: 77.2 kB / 5.908 GB, free: 53.66 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008021/17.51, allocations: 492.7 kB / 5.908 GB, free: 53.59 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00118/17.51, allocations: 195.1 kB / 5.908 GB, free: 53.56 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009856/17.51, allocations: 118.2 kB / 5.908 GB, free: 53.54 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.009858/17.52, allocations: 3.308 MB / 5.912 GB, free: 52.34 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7.82e-07/17.52, allocations: 0 / 5.912 GB, free: 52.34 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.01826/17.54, allocations: 2.932 MB / 5.914 GB, free: 52 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) * 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.006621/17.54, allocations: 2.871 MB / 5.917 GB, free: 50.88 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01465/17.56, allocations: 7.059 MB / 5.924 GB, free: 48.14 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.37e-05/17.56, allocations: 0 / 5.924 GB, free: 48.14 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.00429/17.56, allocations: 2.324 MB / 5.926 GB, free: 47.2 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01799/17.58, allocations: 2.933 MB / 5.929 GB, free: 46.71 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03005/17.61, allocations: 11.02 MB / 5.94 GB, free: 42.88 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008245/17.62, allocations: 4.483 MB / 5.944 GB, free: 41.27 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.01579/17.64, allocations: 4.362 MB / 5.949 GB, free: 41.05 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001553/17.64, allocations: 283 kB / 5.949 GB, free: 41.04 MB / 0.9948 GB Notification: Performance of SimCode: time 1.472e-06/17.64, allocations: 0 / 5.949 GB, free: 41.04 MB / 0.9948 GB Notification: Performance of Templates: time 1.08/18.72, allocations: 144.1 MB / 6.09 GB, free: 87.93 MB / 1.01 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)