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.57/1.57, allocations: 285.7 MB / 293.1 MB, free: 10.23 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.001069/0.001069, allocations: 180.9 kB / 361.4 MB, free: 6.844 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.83/1.83, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0009118/0.0009119, allocations: 91.28 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.946e-05/1.949e-05, allocations: 4 kB / 0.8517 GB, free: 2.738 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7603/0.7603, allocations: 115.3 MB / 0.9644 GB, free: 78.97 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.04/6.8, allocations: 2.375 GB / 3.339 GB, free: 150.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/6.8, allocations: 92.56 kB / 3.339 GB, free: 150.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.298/16.1, allocations: 2.398 GB / 5.737 GB, free: 106 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.945e-06/16.1, allocations: 0 / 5.737 GB, free: 106 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001534/16.1, allocations: 144 kB / 5.738 GB, free: 106 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.02679/16.13, allocations: 5.706 MB / 5.743 GB, free: 104.2 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/16.13, allocations: 7.344 kB / 5.743 GB, free: 104.2 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01157/16.14, allocations: 1.405 MB / 5.745 GB, free: 103.9 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02096/16.16, allocations: 7.051 MB / 5.751 GB, free: 103.1 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003708/16.16, allocations: 150.1 kB / 5.752 GB, free: 103.1 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002344/16.16, allocations: 283.9 kB / 5.752 GB, free: 103.1 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0138/16.18, allocations: 5.203 MB / 5.757 GB, free: 103 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01747/16.19, allocations: 5.683 MB / 5.762 GB, free: 102.7 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001573/16.19, allocations: 8.859 kB / 5.762 GB, free: 102.7 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007167/16.19, allocations: 5.594 kB / 5.762 GB, free: 102.7 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003638/16.19, allocations: 214.6 kB / 5.763 GB, free: 102.6 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.05189/16.25, allocations: 25.8 MB / 5.788 GB, free: 93.29 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006876/16.25, allocations: 4.958 MB / 5.793 GB, free: 91.72 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003861/16.26, allocations: 2.317 MB / 5.795 GB, free: 91.69 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00124/16.26, allocations: 1.012 MB / 5.796 GB, free: 90.65 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003823/16.26, allocations: 2.159 MB / 5.798 GB, free: 90.46 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=312): time 5.049e-06/16.26, allocations: 0 / 5.798 GB, free: 90.46 MB / 0.9948 GB Notification: Performance of matching and sorting (n=316): time 0.03683/16.3, allocations: 10.65 MB / 5.808 GB, free: 87.71 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/16.3, allocations: 193.7 kB / 5.809 GB, free: 87.52 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009372/16.31, allocations: 3.844 MB / 5.812 GB, free: 87.24 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.001136/16.31, allocations: 33.52 kB / 5.812 GB, free: 87.21 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003276/16.31, allocations: 2.464 MB / 5.815 GB, free: 86.35 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001957/16.32, allocations: 1.041 MB / 5.816 GB, free: 85.66 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001818/16.32, allocations: 0 / 5.816 GB, free: 85.66 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002606/16.32, allocations: 440 kB / 5.816 GB, free: 85.34 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002502/16.32, allocations: 1.612 MB / 5.818 GB, free: 85.34 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002573/16.32, allocations: 2.385 MB / 5.82 GB, free: 84.58 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00346/16.32, allocations: 2.2 MB / 5.822 GB, free: 84.53 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-05/16.32, allocations: 3.875 kB / 5.822 GB, free: 84.53 MB / 0.9948 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.008561/16.33, allocations: 4.602 MB / 5.827 GB, free: 84.18 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001358/16.33, allocations: 5.829 MB / 5.833 GB, free: 78.24 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.059e-05/16.33, allocations: 12.62 kB / 5.833 GB, free: 78.24 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005303/16.34, allocations: 126.5 kB / 5.833 GB, free: 78.23 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003125/16.34, allocations: 0.7213 MB / 5.833 GB, free: 78.23 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002612/16.34, allocations: 2.689 MB / 5.836 GB, free: 76.37 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007191/16.35, allocations: 484.8 kB / 5.836 GB, free: 76.34 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005842/16.35, allocations: 128.3 kB / 5.837 GB, free: 76.34 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/16.35, allocations: 10.14 kB / 5.837 GB, free: 76.34 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008158/16.36, allocations: 4.159 MB / 5.841 GB, free: 76.23 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.633e-05/16.36, allocations: 11.69 kB / 5.841 GB, free: 76.23 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004064/16.36, allocations: 126.2 kB / 5.841 GB, free: 76.23 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002845/16.36, allocations: 0.7068 MB / 5.841 GB, free: 76.23 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002367/16.36, allocations: 2.066 MB / 5.843 GB, free: 74.96 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007285/16.37, allocations: 471.8 kB / 5.844 GB, free: 74.93 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006825/16.37, allocations: 131 kB / 5.844 GB, free: 74.93 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * 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.00124/16.37, allocations: 250.2 kB / 5.844 GB, free: 74.75 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002088/16.37, allocations: 451.2 kB / 5.845 GB, free: 74.52 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009439/16.38, allocations: 4.413 MB / 5.849 GB, free: 74.31 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.909e-05/16.38, allocations: 29.81 kB / 5.849 GB, free: 74.31 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/16.38, allocations: 3.719 kB / 5.849 GB, free: 74.31 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005557/16.39, allocations: 3.736 MB / 5.853 GB, free: 74.04 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.02178/16.41, allocations: 11.08 MB / 5.864 GB, free: 72.79 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-05/16.41, allocations: 3.844 kB / 5.864 GB, free: 72.79 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002974/16.41, allocations: 0.7101 MB / 5.864 GB, free: 72.79 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003545/16.41, allocations: 114.9 kB / 5.864 GB, free: 72.78 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002212/16.41, allocations: 52.19 kB / 5.864 GB, free: 72.78 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002087/16.42, allocations: 2.659 MB / 5.867 GB, free: 70.91 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.846e-06/16.42, allocations: 11.81 kB / 5.867 GB, free: 70.91 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01147/16.43, allocations: 7.39 MB / 5.874 GB, free: 69.66 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005642/16.43, allocations: 1.141 MB / 5.875 GB, free: 69.34 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002552/16.44, allocations: 31.58 kB / 5.875 GB, free: 69.34 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007375/16.44, allocations: 433.5 kB / 5.876 GB, free: 69.32 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005836/16.44, allocations: 190.8 kB / 5.876 GB, free: 69.32 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004127/16.45, allocations: 122.4 kB / 5.876 GB, free: 69.32 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.005828/16.45, allocations: 2.988 MB / 5.879 GB, free: 69.14 MB / 0.9948 GB Notification: Performance of sort global known variables: time 3.81e-07/16.45, allocations: 0 / 5.879 GB, free: 69.14 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.01496/16.47, allocations: 2.715 MB / 5.882 GB, free: 69.07 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (305): * Single equations (assignments): 297 * 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.005472/16.47, allocations: 3.086 MB / 5.885 GB, free: 68.05 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0102/16.48, allocations: 6.698 MB / 5.891 GB, free: 67.5 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-05/16.48, allocations: 3.938 kB / 5.891 GB, free: 67.5 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.00294/16.48, allocations: 2.214 MB / 5.893 GB, free: 67.25 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01614/16.5, allocations: 2.765 MB / 5.896 GB, free: 67.2 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0247/16.53, allocations: 10.96 MB / 5.907 GB, free: 65.14 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004804/16.53, allocations: 4.478 MB / 5.911 GB, free: 64.3 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.01406/16.54, allocations: 4.341 MB / 5.915 GB, free: 64.24 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001256/16.55, allocations: 274.4 kB / 5.916 GB, free: 64.23 MB / 0.9948 GB Notification: Performance of SimCode: time 1.393e-06/16.55, allocations: 3.219 kB / 5.916 GB, free: 64.23 MB / 0.9948 GB Notification: Performance of Templates: time 0.1984/16.74, allocations: 112.7 MB / 6.026 GB, free: 38.25 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)