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.662/1.662, allocations: 289.7 MB / 302.2 MB, free: 2.148 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.00109/0.001091, allocations: 181.4 kB / 371.6 MB, free: 3.383 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.985/1.985, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.0009649/0.000965, allocations: 94.83 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.383e-05/4.387e-05, allocations: 7.984 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3114, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.308/7.62, allocations: 2.376 GB / 3.356 GB, free: 175.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/7.62, allocations: 95.39 kB / 3.356 GB, free: 175.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 10.36/17.98, allocations: 2.42 GB / 5.776 GB, free: 104.4 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.944e-06/17.98, allocations: 0 / 5.776 GB, free: 104.4 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001331/17.99, allocations: 146.2 kB / 5.776 GB, free: 104.4 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.0294/18.02, allocations: 5.713 MB / 5.782 GB, free: 102.7 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 6.329e-05/18.02, allocations: 9.469 kB / 5.782 GB, free: 102.7 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01297/18.03, allocations: 1.397 MB / 5.783 GB, free: 102.3 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02659/18.06, allocations: 7.051 MB / 5.79 GB, free: 101.6 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006558/18.06, allocations: 354.2 kB / 5.79 GB, free: 101.6 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00272/18.06, allocations: 478.2 kB / 5.791 GB, free: 101.6 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02048/18.08, allocations: 6.357 MB / 5.797 GB, free: 101.2 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001698/18.08, allocations: 12.34 kB / 5.797 GB, free: 101.2 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000869/18.08, allocations: 194.8 kB / 5.797 GB, free: 101.2 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002345/18.08, allocations: 212.3 kB / 5.797 GB, free: 101.1 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01355/18.09, allocations: 5.583 MB / 5.803 GB, free: 101.1 MB / 1.01 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.05851/18.15, allocations: 26.6 MB / 5.829 GB, free: 91.63 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007361/18.16, allocations: 4.016 MB / 5.833 GB, free: 91.2 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004408/18.16, allocations: 2.43 MB / 5.835 GB, free: 91.17 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001335/18.17, allocations: 1.003 MB / 5.836 GB, free: 90.13 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004814/18.17, allocations: 2.151 MB / 5.838 GB, free: 89.96 MB / 1.01 GB Notification: Performance of pre-optimization done (n=313): time 7.023e-06/18.17, allocations: 3.75 kB / 5.838 GB, free: 89.96 MB / 1.01 GB Notification: Performance of matching and sorting (n=317): time 0.02507/18.2, allocations: 9.469 MB / 5.847 GB, free: 88.23 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.149e-05/18.2, allocations: 137.4 kB / 5.847 GB, free: 88.1 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008998/18.21, allocations: 4.202 MB / 5.852 GB, free: 87.79 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001464/18.21, allocations: 92.05 kB / 5.852 GB, free: 87.76 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.003614/18.21, allocations: 2.483 MB / 5.854 GB, free: 86.94 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.00236/18.21, allocations: 1.089 MB / 5.855 GB, free: 86.24 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002273/18.21, allocations: 59.28 kB / 5.855 GB, free: 86.24 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002596/18.21, allocations: 436.1 kB / 5.856 GB, free: 85.93 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002957/18.22, allocations: 1.688 MB / 5.857 GB, free: 85.93 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003446/18.22, allocations: 2.484 MB / 5.86 GB, free: 85.18 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003316/18.22, allocations: 2.227 MB / 5.862 GB, free: 85.06 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/18.22, allocations: 2.969 kB / 5.862 GB, free: 85.06 MB / 1.01 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.009655/18.23, allocations: 4.853 MB / 5.867 GB, free: 84.64 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001336/18.23, allocations: 5.683 MB / 5.872 GB, free: 78.69 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-05/18.23, allocations: 18.22 kB / 5.872 GB, free: 78.69 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005749/18.23, allocations: 121.1 kB / 5.872 GB, free: 78.68 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003787/18.24, allocations: 0.7152 MB / 5.873 GB, free: 78.68 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002377/18.24, allocations: 2.745 MB / 5.876 GB, free: 76.76 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007737/18.25, allocations: 0.5462 MB / 5.876 GB, free: 76.72 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008977/18.25, allocations: 130.4 kB / 5.876 GB, free: 76.72 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/18.25, allocations: 6.812 kB / 5.876 GB, free: 76.72 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008196/18.26, allocations: 4.478 MB / 5.881 GB, free: 76.55 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.552e-05/18.26, allocations: 11.09 kB / 5.881 GB, free: 76.55 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004301/18.26, allocations: 121.8 kB / 5.881 GB, free: 76.55 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003145/18.26, allocations: 0.703 MB / 5.881 GB, free: 76.55 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002164/18.26, allocations: 2.152 MB / 5.884 GB, free: 75.21 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007765/18.27, allocations: 0.5187 MB / 5.884 GB, free: 75.18 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008546/18.27, allocations: 127.8 kB / 5.884 GB, free: 75.18 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 () * 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.001252/18.27, allocations: 367 kB / 5.885 GB, free: 75 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002085/18.28, allocations: 463.6 kB / 5.885 GB, free: 74.77 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01066/18.29, allocations: 4.716 MB / 5.89 GB, free: 74.5 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-05/18.29, allocations: 32.75 kB / 5.89 GB, free: 74.5 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/18.29, allocations: 2.906 kB / 5.89 GB, free: 74.5 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007229/18.29, allocations: 3.952 MB / 5.893 GB, free: 74.18 MB / 1.01 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.02941/18.32, allocations: 11.83 MB / 5.905 GB, free: 72.98 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-05/18.32, allocations: 3.75 kB / 5.905 GB, free: 72.98 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003093/18.33, allocations: 0.7104 MB / 5.906 GB, free: 72.98 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000397/18.33, allocations: 111.4 kB / 5.906 GB, free: 72.98 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003069/18.33, allocations: 90.77 kB / 5.906 GB, free: 72.98 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002164/18.33, allocations: 2.73 MB / 5.909 GB, free: 71.05 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/18.33, allocations: 3.656 kB / 5.909 GB, free: 71.05 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01218/18.34, allocations: 7.768 MB / 5.916 GB, free: 69.69 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005708/18.35, allocations: 1.171 MB / 5.917 GB, free: 69.36 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002353/18.35, allocations: 76.89 kB / 5.917 GB, free: 69.36 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006235/18.36, allocations: 489.3 kB / 5.918 GB, free: 69.34 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004876/18.36, allocations: 194.3 kB / 5.918 GB, free: 69.33 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003508/18.36, allocations: 123 kB / 5.918 GB, free: 69.33 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.006664/18.36, allocations: 3.306 MB / 5.921 GB, free: 69.13 MB / 1.01 GB Notification: Performance of sort global known variables: time 4.91e-07/18.36, allocations: 0 / 5.921 GB, free: 69.13 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.01729/18.38, allocations: 2.944 MB / 5.924 GB, free: 69.07 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) * 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.007415/18.39, allocations: 2.875 MB / 5.927 GB, free: 68.04 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01585/18.4, allocations: 7.069 MB / 5.934 GB, free: 67.45 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.586e-05/18.4, allocations: 0 / 5.934 GB, free: 67.45 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.00354/18.41, allocations: 2.326 MB / 5.936 GB, free: 67.2 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01724/18.42, allocations: 2.928 MB / 5.939 GB, free: 67.14 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0274/18.45, allocations: 11.02 MB / 5.95 GB, free: 65.06 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005371/18.46, allocations: 4.486 MB / 5.954 GB, free: 64.21 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.01599/18.47, allocations: 4.355 MB / 5.959 GB, free: 64.16 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001594/18.48, allocations: 282 kB / 5.959 GB, free: 64.15 MB / 1.01 GB Notification: Performance of SimCode: time 1.032e-06/18.48, allocations: 0 / 5.959 GB, free: 64.15 MB / 1.01 GB Notification: Performance of Templates: time 0.2386/18.71, allocations: 144.1 MB / 6.099 GB, free: 24.77 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)