Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.551/2.551, allocations: 287.4 MB / 303.2 MB, free: 8.234 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.001348/0.001347, allocations: 171.4 kB / 371.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.006/2.006, allocations: 205.4 MB / 0.6305 GB, free: 10.58 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.000938/0.0009377, allocations: 96.84 kB / 0.7438 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004797/0.0004799, allocations: 13.45 kB / 0.8667 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2058, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.278/7.484, allocations: 2.375 GB / 3.355 GB, free: 288 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003481/7.484, allocations: 95.95 kB / 3.355 GB, free: 287.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 12.03/19.52, allocations: 2.394 GB / 5.749 GB, free: 118.2 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.835e-06/19.52, allocations: 0 / 5.749 GB, free: 118.2 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001286/19.52, allocations: 155.6 kB / 5.749 GB, free: 118 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.03208/19.55, allocations: 6.828 MB / 5.756 GB, free: 111.1 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/19.55, allocations: 8.031 kB / 5.756 GB, free: 111.1 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0131/19.57, allocations: 1.4 MB / 5.757 GB, free: 109.7 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02337/19.59, allocations: 7.082 MB / 5.764 GB, free: 102.6 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004858/19.59, allocations: 353 kB / 5.765 GB, free: 102.2 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002219/19.59, allocations: 483.9 kB / 5.765 GB, free: 101.8 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02131/19.61, allocations: 6.467 MB / 5.771 GB, free: 95.16 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002329/19.61, allocations: 15.84 kB / 5.771 GB, free: 95.15 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001364/19.61, allocations: 192 kB / 5.772 GB, free: 94.96 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002675/19.61, allocations: 213 kB / 5.772 GB, free: 94.75 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01808/19.63, allocations: 5.699 MB / 5.777 GB, free: 89.04 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.0611/19.69, allocations: 26.54 MB / 5.803 GB, free: 61.14 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009114/19.7, allocations: 4.062 MB / 5.807 GB, free: 57.01 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005868/19.71, allocations: 2.463 MB / 5.81 GB, free: 54.54 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001682/19.71, allocations: 1.01 MB / 5.811 GB, free: 53.33 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006053/19.72, allocations: 2.195 MB / 5.813 GB, free: 51.09 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=313): time 7.474e-06/19.72, allocations: 0 / 5.813 GB, free: 51.09 MB / 0.9948 GB Notification: Performance of matching and sorting (n=317): time 0.03763/19.75, allocations: 11.17 MB / 5.824 GB, free: 39.74 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.812e-05/19.75, allocations: 137.2 kB / 5.824 GB, free: 39.58 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01092/19.77, allocations: 4.601 MB / 5.828 GB, free: 34.96 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009628/19.77, allocations: 89.7 kB / 5.828 GB, free: 34.87 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003646/19.77, allocations: 2.484 MB / 5.831 GB, free: 32.36 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001955/19.77, allocations: 1.078 MB / 5.832 GB, free: 31.27 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003532/19.77, allocations: 67.94 kB / 5.832 GB, free: 31.2 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002777/19.77, allocations: 444.4 kB / 5.832 GB, free: 30.76 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00458/19.78, allocations: 1.72 MB / 5.834 GB, free: 29.04 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005747/19.78, allocations: 2.539 MB / 5.836 GB, free: 26.22 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01019/19.79, allocations: 4.416 MB / 5.841 GB, free: 21.59 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.929e-05/19.79, allocations: 8 kB / 5.841 GB, free: 21.58 MB / 0.9948 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.01389/19.81, allocations: 4.924 MB / 5.846 GB, free: 16.6 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003149/19.81, allocations: 0.5364 MB / 5.846 GB, free: 15.88 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.684e-05/19.81, allocations: 12 kB / 5.846 GB, free: 15.86 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005753/19.81, allocations: 124.2 kB / 5.846 GB, free: 15.74 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006352/19.82, allocations: 0.7293 MB / 5.847 GB, free: 15.01 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003223/19.82, allocations: 2.741 MB / 5.85 GB, free: 12.11 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00977/19.83, allocations: 0.5417 MB / 5.85 GB, free: 11.57 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001077/19.83, allocations: 127.9 kB / 5.85 GB, free: 11.45 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/19.83, allocations: 4 kB / 5.85 GB, free: 11.44 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01235/19.84, allocations: 4.553 MB / 5.855 GB, free: 6.844 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.079e-05/19.84, allocations: 15.94 kB / 5.855 GB, free: 6.828 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005357/19.84, allocations: 120.6 kB / 5.855 GB, free: 6.711 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006106/19.85, allocations: 0.71 MB / 5.856 GB, free: 6 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002824/19.85, allocations: 2.147 MB / 5.858 GB, free: 3.715 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009388/19.86, allocations: 0.5261 MB / 5.858 GB, free: 3.188 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009938/19.86, allocations: 128 kB / 5.858 GB, free: 3.062 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.00638/19.87, allocations: 2.389 MB / 5.861 GB, free: 0.6484 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001742/19.87, allocations: 470.4 kB / 5.861 GB, free: 188 kB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.8146/20.68, allocations: 4.767 MB / 5.866 GB, free: 131 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.341e-05/20.68, allocations: 31.05 kB / 5.866 GB, free: 131 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/20.68, allocations: 1.5 kB / 5.866 GB, free: 131 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01251/20.7, allocations: 4.014 MB / 5.87 GB, free: 130.6 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.03791/20.74, allocations: 11.84 MB / 5.881 GB, free: 129.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.303e-05/20.74, allocations: 7.688 kB / 5.881 GB, free: 129.5 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006732/20.74, allocations: 0.7009 MB / 5.882 GB, free: 129.5 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006304/20.74, allocations: 112.5 kB / 5.882 GB, free: 129.5 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007556/20.74, allocations: 93.58 kB / 5.882 GB, free: 129.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003126/20.75, allocations: 2.735 MB / 5.885 GB, free: 127.6 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/20.75, allocations: 7.281 kB / 5.885 GB, free: 127.6 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01921/20.77, allocations: 7.408 MB / 5.892 GB, free: 127 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005158/20.77, allocations: 1.145 MB / 5.893 GB, free: 126.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001915/20.77, allocations: 86.59 kB / 5.893 GB, free: 126.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007973/20.78, allocations: 485.8 kB / 5.894 GB, free: 126.9 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006787/20.78, allocations: 191.1 kB / 5.894 GB, free: 126.9 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004786/20.78, allocations: 124 kB / 5.894 GB, free: 126.9 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.008601/20.79, allocations: 3.247 MB / 5.897 GB, free: 126.7 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8.72e-07/20.79, allocations: 0 / 5.897 GB, free: 126.7 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.01832/20.81, allocations: 2.926 MB / 5.9 GB, free: 126.7 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.007073/20.82, allocations: 2.857 MB / 5.903 GB, free: 125.8 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0193/20.84, allocations: 7.02 MB / 5.91 GB, free: 125.2 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.51e-05/20.84, allocations: 6.031 kB / 5.91 GB, free: 125.2 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.005755/20.84, allocations: 2.352 MB / 5.912 GB, free: 125 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02931/20.87, allocations: 2.94 MB / 5.915 GB, free: 124.9 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03531/20.91, allocations: 14.85 MB / 5.929 GB, free: 119.9 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008782/20.92, allocations: 4.378 MB / 5.934 GB, free: 119 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.01468/20.93, allocations: 2.632 MB / 5.936 GB, free: 119 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002802/20.93, allocations: 357 kB / 5.937 GB, free: 119 MB / 0.9948 GB Notification: Performance of SimCode: time 2.494e-06/20.93, allocations: 1.641 kB / 5.937 GB, free: 119 MB / 0.9948 GB Notification: Performance of Templates: time 0.2959/21.23, allocations: 129.5 MB / 6.063 GB, free: 112.8 MB / 0.9948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe 2>&1)