Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 4.074/4.074, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002411/0.002411, allocations: 172.8 kB / 326.2 MB, free: 2.887 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.099/4.099, allocations: 205.4 MB / 0.5772 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001422/0.001421, allocations: 87.73 kB / 0.6817 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00075/0.0007503, allocations: 14.31 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3472, allocations: 106.3 MB / 0.8995 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 13.25/13.6, allocations: 2.492 GB / 3.391 GB, free: 237.4 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000564/13.6, allocations: 98.86 kB / 3.392 GB, free: 237.4 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 15.13/28.73, allocations: 2.332 GB / 5.723 GB, free: 83.63 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.605e-06/28.73, allocations: 0 / 5.723 GB, free: 83.63 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.00133/28.74, allocations: 150.1 kB / 5.723 GB, free: 83.49 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1197 * Number of variables: 1197 Notification: Performance of Generate backend data structure: time 0.03247/28.77, allocations: 6.911 MB / 5.73 GB, free: 76.52 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/28.77, allocations: 16.02 kB / 5.73 GB, free: 76.5 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01344/28.78, allocations: 1.399 MB / 5.732 GB, free: 75.09 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0291/28.81, allocations: 6.948 MB / 5.738 GB, free: 68.07 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006279/28.81, allocations: 357.1 kB / 5.739 GB, free: 67.72 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002575/28.81, allocations: 483.9 kB / 5.739 GB, free: 67.25 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02513/28.84, allocations: 6.499 MB / 5.746 GB, free: 60.62 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003328/28.84, allocations: 11.94 kB / 5.746 GB, free: 60.61 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002115/28.84, allocations: 196 kB / 5.746 GB, free: 60.42 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003075/28.84, allocations: 213.1 kB / 5.746 GB, free: 60.21 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02841/28.87, allocations: 5.727 MB / 5.752 GB, free: 54.47 MB / 0.9323 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.1038/28.97, allocations: 26.58 MB / 5.778 GB, free: 26.52 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01535/28.99, allocations: 3.856 MB / 5.781 GB, free: 22.63 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01013/29, allocations: 2.455 MB / 5.784 GB, free: 20.18 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002715/29, allocations: 1.014 MB / 5.785 GB, free: 18.96 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01064/29.01, allocations: 2.187 MB / 5.787 GB, free: 16.72 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=313): time 1.558e-05/29.01, allocations: 0 / 5.787 GB, free: 16.72 MB / 0.9323 GB Notification: Performance of matching and sorting (n=317): time 0.06479/29.08, allocations: 11.12 MB / 5.798 GB, free: 5.406 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001376/29.08, allocations: 153.2 kB / 5.798 GB, free: 5.23 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02051/29.1, allocations: 4.63 MB / 5.802 GB, free: 0.5859 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.001422/29.1, allocations: 89.7 kB / 5.802 GB, free: 0.4922 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 1.238/30.34, allocations: 2.481 MB / 5.805 GB, free: 115.9 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.003365/30.34, allocations: 1.09 MB / 5.806 GB, free: 115.6 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001174/30.34, allocations: 64.75 kB / 5.806 GB, free: 115.6 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0006137/30.34, allocations: 429.3 kB / 5.806 GB, free: 115.3 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008661/30.35, allocations: 1.718 MB / 5.808 GB, free: 115.3 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01109/30.36, allocations: 2.528 MB / 5.811 GB, free: 114.5 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01234/30.38, allocations: 2.239 MB / 5.813 GB, free: 114.4 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.488e-05/30.38, allocations: 3.781 kB / 5.813 GB, free: 114.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.03271/30.41, allocations: 4.907 MB / 5.818 GB, free: 114 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007797/30.41, allocations: 0.5382 MB / 5.818 GB, free: 113.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001813/30.41, allocations: 17.53 kB / 5.818 GB, free: 113.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001614/30.41, allocations: 120.1 kB / 5.818 GB, free: 113.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01051/30.42, allocations: 0.7198 MB / 5.819 GB, free: 113.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005249/30.43, allocations: 2.751 MB / 5.822 GB, free: 111.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01461/30.44, allocations: 0.5375 MB / 5.822 GB, free: 111.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001563/30.44, allocations: 131.1 kB / 5.822 GB, free: 111.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/30.44, allocations: 5.438 kB / 5.822 GB, free: 111.4 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02791/30.47, allocations: 4.534 MB / 5.827 GB, free: 111.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001295/30.47, allocations: 10 kB / 5.827 GB, free: 111.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001183/30.47, allocations: 128.5 kB / 5.827 GB, free: 111.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0111/30.48, allocations: 0.6972 MB / 5.827 GB, free: 111.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004926/30.49, allocations: 2.15 MB / 5.83 GB, free: 109.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01603/30.51, allocations: 0.5339 MB / 5.83 GB, free: 109.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002827/30.51, allocations: 126.5 kB / 5.83 GB, free: 109.9 MB / 0.9323 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.01305/30.52, allocations: 2.405 MB / 5.833 GB, free: 109.7 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004007/30.53, allocations: 471.6 kB / 5.833 GB, free: 109.4 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02773/30.55, allocations: 4.759 MB / 5.838 GB, free: 109.1 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-05/30.55, allocations: 34.39 kB / 5.838 GB, free: 109.1 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.042e-05/30.55, allocations: 1.094 kB / 5.838 GB, free: 109.1 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02164/30.58, allocations: 3.998 MB / 5.842 GB, free: 108.8 MB / 0.9323 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.06883/30.64, allocations: 11.68 MB / 5.853 GB, free: 107.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.86e-05/30.64, allocations: 6.125 kB / 5.853 GB, free: 107.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01743/30.66, allocations: 0.7089 MB / 5.854 GB, free: 107.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007076/30.67, allocations: 119.1 kB / 5.854 GB, free: 107.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001299/30.67, allocations: 89.98 kB / 5.854 GB, free: 107.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004941/30.68, allocations: 2.733 MB / 5.857 GB, free: 105.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.297e-05/30.68, allocations: 7.719 kB / 5.857 GB, free: 105.8 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0302/30.71, allocations: 7.38 MB / 5.864 GB, free: 105.1 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007424/30.71, allocations: 1.173 MB / 5.865 GB, free: 104.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003262/30.72, allocations: 76.95 kB / 5.865 GB, free: 104.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01202/30.73, allocations: 492 kB / 5.865 GB, free: 104.7 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001321/30.73, allocations: 191.6 kB / 5.866 GB, free: 104.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001215/30.73, allocations: 126.9 kB / 5.866 GB, free: 104.7 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.01369/30.75, allocations: 3.274 MB / 5.869 GB, free: 104.5 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.012e-06/30.75, allocations: 3.844 kB / 5.869 GB, free: 104.5 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.02688/30.77, allocations: 2.93 MB / 5.872 GB, free: 104.5 MB / 0.9323 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.009796/30.78, allocations: 2.862 MB / 5.875 GB, free: 103.6 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.02739/30.81, allocations: 7 MB / 5.881 GB, free: 103 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.326e-05/30.81, allocations: 3.5 kB / 5.881 GB, free: 103 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.008872/30.82, allocations: 2.346 MB / 5.884 GB, free: 102.8 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03815/30.86, allocations: 2.975 MB / 5.887 GB, free: 102.7 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05639/30.91, allocations: 14.93 MB / 5.901 GB, free: 97.58 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01659/30.93, allocations: 4.394 MB / 5.906 GB, free: 112.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.02389/30.95, allocations: 2.637 MB / 5.908 GB, free: 112.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004149/30.96, allocations: 354.8 kB / 5.908 GB, free: 112.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.974e-06/30.96, allocations: 0 / 5.908 GB, free: 112.7 MB / 0.948 GB Notification: Performance of Templates: time 0.4279/31.39, allocations: 129.4 MB / 6.035 GB, free: 95.43 MB / 0.948 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe 2>&1)