Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.722/1.722, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.001088/0.001088, allocations: 191.4 kB / 377.1 MB, free: 1.539 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.545/1.545, allocations: 205.4 MB / 0.6367 GB, free: 9.543 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.001085/0.001084, allocations: 91.55 kB / 0.751 GB, free: 62.48 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003503/0.0003506, allocations: 12 kB / 0.8748 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2654, allocations: 116.3 MB / 0.9884 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.421/6.686, allocations: 2.376 GB / 3.365 GB, free: 182.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003283/6.686, allocations: 101.1 kB / 3.365 GB, free: 182.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 10.17/16.85, allocations: 2.423 GB / 5.788 GB, free: 103.1 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.414e-06/16.85, allocations: 0 / 5.788 GB, free: 103.1 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001401/16.85, allocations: 149.2 kB / 5.788 GB, free: 103.1 MB / 1.01 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.03388/16.89, allocations: 6.899 MB / 5.795 GB, free: 101 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/16.89, allocations: 10.09 kB / 5.795 GB, free: 101 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.013/16.9, allocations: 1.4 MB / 5.796 GB, free: 100.7 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02529/16.93, allocations: 7.094 MB / 5.803 GB, free: 99.82 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00077/16.93, allocations: 357 kB / 5.804 GB, free: 99.8 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003028/16.93, allocations: 475.5 kB / 5.804 GB, free: 99.8 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02206/16.95, allocations: 6.441 MB / 5.81 GB, free: 99.39 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003907/16.95, allocations: 7.781 kB / 5.81 GB, free: 99.39 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002234/16.95, allocations: 195.1 kB / 5.811 GB, free: 99.39 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004009/16.95, allocations: 217.6 kB / 5.811 GB, free: 99.38 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01561/16.97, allocations: 5.695 MB / 5.816 GB, free: 99.34 MB / 1.01 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.05596/17.03, allocations: 26.61 MB / 5.842 GB, free: 89.87 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006954/17.03, allocations: 4.053 MB / 5.846 GB, free: 89.43 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001232/17.03, allocations: 1.007 MB / 5.847 GB, free: 88.4 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004405/17.04, allocations: 2.179 MB / 5.85 GB, free: 88.23 MB / 1.01 GB Notification: Performance of pre-optimization done (n=313): time 5.771e-06/17.04, allocations: 0 / 5.85 GB, free: 88.23 MB / 1.01 GB Notification: Performance of matching and sorting (n=317): time 0.03032/17.07, allocations: 11.33 MB / 5.861 GB, free: 86.28 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.026e-05/17.07, allocations: 140.6 kB / 5.861 GB, free: 86.15 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008979/17.08, allocations: 4.25 MB / 5.865 GB, free: 85.86 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0008496/17.08, allocations: 93.42 kB / 5.865 GB, free: 85.83 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.002603/17.08, allocations: 2.483 MB / 5.867 GB, free: 85.01 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001437/17.08, allocations: 1.081 MB / 5.868 GB, free: 84.32 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001901/17.08, allocations: 63.72 kB / 5.868 GB, free: 84.32 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001846/17.08, allocations: 434.7 kB / 5.869 GB, free: 84.01 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002391/17.09, allocations: 1.73 MB / 5.871 GB, free: 84 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002692/17.09, allocations: 2.526 MB / 5.873 GB, free: 83.25 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002889/17.09, allocations: 2.247 MB / 5.875 GB, free: 83.14 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/17.09, allocations: 3.031 kB / 5.875 GB, free: 83.14 MB / 1.01 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.00777/17.1, allocations: 4.928 MB / 5.88 GB, free: 82.71 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001078/17.1, allocations: 5.688 MB / 5.886 GB, free: 76.77 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.257e-05/17.1, allocations: 11.81 kB / 5.886 GB, free: 76.77 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004158/17.1, allocations: 131.2 kB / 5.886 GB, free: 76.76 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003053/17.1, allocations: 0.7075 MB / 5.886 GB, free: 76.76 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002164/17.11, allocations: 2.781 MB / 5.889 GB, free: 74.84 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00691/17.11, allocations: 0.543 MB / 5.89 GB, free: 74.8 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006805/17.11, allocations: 125.8 kB / 5.89 GB, free: 74.8 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/17.11, allocations: 4.688 kB / 5.89 GB, free: 74.8 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009405/17.12, allocations: 4.556 MB / 5.894 GB, free: 74.64 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.367e-05/17.12, allocations: 11.84 kB / 5.894 GB, free: 74.64 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004027/17.12, allocations: 123 kB / 5.894 GB, free: 74.63 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003194/17.13, allocations: 0.708 MB / 5.895 GB, free: 74.63 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00212/17.13, allocations: 2.179 MB / 5.897 GB, free: 73.29 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006706/17.14, allocations: 0.5306 MB / 5.898 GB, free: 73.26 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007899/17.14, allocations: 125.2 kB / 5.898 GB, free: 73.26 MB / 1.01 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.006128/17.14, allocations: 2.391 MB / 5.9 GB, free: 73 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002008/17.14, allocations: 462.7 kB / 5.901 GB, free: 72.77 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01097/17.16, allocations: 4.779 MB / 5.905 GB, free: 72.5 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.583e-05/17.16, allocations: 34.22 kB / 5.905 GB, free: 72.5 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.629e-05/17.16, allocations: 2.625 kB / 5.905 GB, free: 72.5 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006973/17.16, allocations: 4.009 MB / 5.909 GB, free: 72.18 MB / 1.01 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.03227/17.2, allocations: 11.88 MB / 5.921 GB, free: 70.98 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-05/17.2, allocations: 3.562 kB / 5.921 GB, free: 70.98 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003554/17.2, allocations: 0.7126 MB / 5.922 GB, free: 70.98 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004413/17.2, allocations: 118.9 kB / 5.922 GB, free: 70.97 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004227/17.2, allocations: 87.88 kB / 5.922 GB, free: 70.97 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002358/17.2, allocations: 2.764 MB / 5.924 GB, free: 69.05 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/17.2, allocations: 11.34 kB / 5.924 GB, free: 69.05 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01247/17.21, allocations: 7.851 MB / 5.932 GB, free: 67.69 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005077/17.22, allocations: 1.169 MB / 5.933 GB, free: 67.37 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002184/17.22, allocations: 81.67 kB / 5.933 GB, free: 67.37 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006056/17.23, allocations: 490.1 kB / 5.934 GB, free: 67.34 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006338/17.23, allocations: 199.7 kB / 5.934 GB, free: 67.34 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005825/17.23, allocations: 122.8 kB / 5.934 GB, free: 67.34 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.00788/17.24, allocations: 3.352 MB / 5.937 GB, free: 67.16 MB / 1.01 GB Notification: Performance of sort global known variables: time 4.1e-07/17.24, allocations: 1.688 kB / 5.937 GB, free: 67.16 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.01744/17.25, allocations: 2.936 MB / 5.94 GB, free: 67.09 MB / 1.01 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.006534/17.26, allocations: 2.876 MB / 5.943 GB, free: 66.07 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01306/17.27, allocations: 7.007 MB / 5.95 GB, free: 65.5 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.407e-05/17.27, allocations: 3.188 kB / 5.95 GB, free: 65.5 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.003705/17.28, allocations: 2.367 MB / 5.952 GB, free: 65.24 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01557/17.29, allocations: 2.921 MB / 5.955 GB, free: 65.19 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03383/17.33, allocations: 14.83 MB / 5.97 GB, free: 60.07 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009281/17.34, allocations: 4.479 MB / 5.974 GB, free: 59.23 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.01306/17.35, allocations: 2.637 MB / 5.977 GB, free: 59.18 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002825/17.35, allocations: 361 kB / 5.977 GB, free: 59.17 MB / 1.01 GB Notification: Performance of SimCode: time 1.513e-06/17.35, allocations: 0 / 5.977 GB, free: 59.17 MB / 1.01 GB Notification: Performance of Templates: time 0.1973/17.55, allocations: 130 MB / 6.104 GB, free: 33.56 MB / 1.01 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe 2>&1)