Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank.m|m_flow|T_forward|T_return|tankLevel|tank.ports.1..m_flow|tank.ports.1..p|tank.ports.1..h_outflow|tank.ports.2..m_flow|tank.ports.2..p|tank.ports.2..h_outflow|tank.portsData.1..diameter|tank.portsData.1..height|tank.portsData.1..zeta_out|tank.portsData.1..zeta_in|tank.portsData.2..diameter|tank.portsData.2..height|tank.portsData.2..zeta_out|tank.portsData.2..zeta_in|tank.ports_H_flow.1.|tank.ports_H_flow.2.|tank.ports_E_flow.1.|tank.ports_E_flow.2.|tank.ports_penetration.1.|tank.ports_penetration.2.|tank.portsData_diameter_internal.1.|tank.portsData_diameter_internal.2.|tank.portsData_height_internal.1.|tank.portsData_height_internal.2.|tank.portsData_zeta_in_internal.1.|tank.portsData_zeta_in_internal.2.|tank.portsData_zeta_out_internal.1.|tank.portsData_zeta_out_internal.2.|tank.portsData_diameter.1.|tank.portsData_diameter.2.|tank.portsData_height.1.|tank.portsData_height.2.|tank.portsData_zeta_in.1.|tank.portsData_zeta_in.2.|tank.portsData_zeta_out.1.|tank.portsData_zeta_out.2.|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|valve.port_b.m_flow|valve.port_b.p|valve.port_b.h_outflow|valve.minLimiter.y|sensor_m_flow.port_b.m_flow|sensor_m_flow.port_b.p|sensor_m_flow.port_b.h_outflow|heater.port_b.m_flow|heater.port_b.p|heater.port_b.h_outflow|radiator.port_b.m_flow|radiator.port_b.p|radiator.port_b.h_outflow|handle.y|pipe.port_b.m_flow|pipe.port_b.p|pipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState") translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank.m|m_flow|T_forward|T_return|tankLevel|tank.ports.1..m_flow|tank.ports.1..p|tank.ports.1..h_outflow|tank.ports.2..m_flow|tank.ports.2..p|tank.ports.2..h_outflow|tank.portsData.1..diameter|tank.portsData.1..height|tank.portsData.1..zeta_out|tank.portsData.1..zeta_in|tank.portsData.2..diameter|tank.portsData.2..height|tank.portsData.2..zeta_out|tank.portsData.2..zeta_in|tank.ports_H_flow.1.|tank.ports_H_flow.2.|tank.ports_E_flow.1.|tank.ports_E_flow.2.|tank.ports_penetration.1.|tank.ports_penetration.2.|tank.portsData_diameter_internal.1.|tank.portsData_diameter_internal.2.|tank.portsData_height_internal.1.|tank.portsData_height_internal.2.|tank.portsData_zeta_in_internal.1.|tank.portsData_zeta_in_internal.2.|tank.portsData_zeta_out_internal.1.|tank.portsData_zeta_out_internal.2.|tank.portsData_diameter.1.|tank.portsData_diameter.2.|tank.portsData_height.1.|tank.portsData_height.2.|tank.portsData_zeta_in.1.|tank.portsData_zeta_in.2.|tank.portsData_zeta_out.1.|tank.portsData_zeta_out.2.|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|valve.port_b.m_flow|valve.port_b.p|valve.port_b.h_outflow|valve.minLimiter.y|sensor_m_flow.port_b.m_flow|sensor_m_flow.port_b.p|sensor_m_flow.port_b.h_outflow|heater.port_b.m_flow|heater.port_b.p|heater.port_b.h_outflow|radiator.port_b.m_flow|radiator.port_b.p|radiator.port_b.h_outflow|handle.y|pipe.port_b.m_flow|pipe.port_b.p|pipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001144/0.001144, allocations: 197.5 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 225.6 MB / 234.8 MB, free: 3.254 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008925/0.0008925, allocations: 95.92 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2064/0.2064, allocations: 45.15 MB / 383.8 MB, free: 280 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.447e-05/1.449e-05, allocations: 0 / 453.2 MB, free: 75.83 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1291, allocations: 63.25 MB / 0.5044 GB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.209/8.338, allocations: 3.171 GB / 3.675 GB, free: 72.49 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/8.338, allocations: 80.08 kB / 3.675 GB, free: 72.45 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 9.816/18.15, allocations: 3.083 GB / 6.759 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.593e-06/18.15, allocations: 0.8438 kB / 6.759 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.000216/18.15, allocations: 66.72 kB / 6.759 GB, free: 55.92 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 538 * Number of variables: 538 Notification: Performance of Generate backend data structure: time 0.01556/18.17, allocations: 3.602 MB / 6.762 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.706e-05/18.17, allocations: 11.48 kB / 6.762 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002863/18.17, allocations: 307.1 kB / 6.762 GB, free: 54 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006481/18.18, allocations: 2.07 MB / 6.765 GB, free: 53.53 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000217/18.18, allocations: 150.8 kB / 6.765 GB, free: 53.46 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009253/18.18, allocations: 112.2 kB / 6.765 GB, free: 53.46 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00518/18.19, allocations: 2.842 MB / 6.768 GB, free: 53.45 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004764/18.19, allocations: 3.005 MB / 6.77 GB, free: 52.97 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.676e-05/18.19, allocations: 8.062 kB / 6.77 GB, free: 52.97 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002398/18.19, allocations: 4.594 kB / 6.77 GB, free: 52.97 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000201/18.19, allocations: 201.4 kB / 6.771 GB, free: 52.97 MB / 0.5573 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.0159/18.21, allocations: 12 MB / 6.782 GB, free: 47.93 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003029/18.21, allocations: 2.171 MB / 6.785 GB, free: 47.79 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001314/18.21, allocations: 1.131 MB / 6.786 GB, free: 47.78 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007408/18.22, allocations: 5.628 MB / 6.791 GB, free: 44.96 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/18.22, allocations: 59.62 kB / 6.791 GB, free: 44.92 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009642/18.22, allocations: 193.6 kB / 6.791 GB, free: 44.85 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=159): time 3.787e-06/18.22, allocations: 0 / 6.791 GB, free: 44.85 MB / 0.5573 GB Notification: Performance of matching and sorting (n=258): time 0.3789/18.6, allocations: 31.4 MB / 6.822 GB, free: 41.8 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.83e-05/18.6, allocations: 137.8 kB / 6.822 GB, free: 41.67 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001837/18.6, allocations: 1.217 MB / 6.823 GB, free: 41.16 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.000332/18.6, allocations: 25.7 kB / 6.823 GB, free: 41.13 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005372/18.6, allocations: 1.075 MB / 6.824 GB, free: 40.3 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006737/18.6, allocations: 0.8275 MB / 6.825 GB, free: 39.64 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002803/18.6, allocations: 0 / 6.825 GB, free: 39.64 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001324/18.6, allocations: 422.1 kB / 6.826 GB, free: 39.29 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002377/18.6, allocations: 2.048 MB / 6.828 GB, free: 38.4 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002611/18.61, allocations: 2.612 MB / 6.83 GB, free: 35.87 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008949/18.62, allocations: 3.691 MB / 6.834 GB, free: 33.05 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.095e-05/18.62, allocations: 7.953 kB / 6.834 GB, free: 33.05 MB / 0.5573 GB Notification: Performance of matching and sorting (n=351) (initialization): time 0.01469/18.63, allocations: 8.064 MB / 6.842 GB, free: 26.43 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009618/18.63, allocations: 6.327 MB / 6.848 GB, free: 19.83 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.542e-05/18.63, allocations: 16 kB / 6.848 GB, free: 19.82 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01694/18.65, allocations: 6.581 MB / 6.854 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/18.65, allocations: 318.9 kB / 6.855 GB, free: 14.67 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01484/18.67, allocations: 9.189 MB / 6.864 GB, free: 6.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003976/18.67, allocations: 242 kB / 6.864 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005917/18.67, allocations: 151.8 kB / 6.864 GB, free: 6.406 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/18.67, allocations: 7.953 kB / 6.864 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0133/18.68, allocations: 6.698 MB / 6.87 GB, free: 15.69 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.764e-05/18.68, allocations: 19.94 kB / 6.871 GB, free: 15.67 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01515/18.7, allocations: 5.45 MB / 6.876 GB, free: 10.32 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001664/18.7, allocations: 395.4 kB / 6.876 GB, free: 9.93 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0119/18.71, allocations: 7.199 MB / 6.883 GB, free: 2.695 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003579/18.72, allocations: 231.6 kB / 6.883 GB, free: 2.48 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004688/18.72, allocations: 135.9 kB / 6.884 GB, free: 2.348 MB / 0.573 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.tank.ports[2].p:DUMMY_DER(flow=false fixed = false ) "Thermodynamic pressure in the connection point" type: Real [2] $DER.heater.mediums[1].p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real [1] $DER.heater.mediums[1].h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real [1] $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real $DER.radiator.mediums[1].p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real [1] $DER.radiator.statesFM[1].p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real [3] $DER.radiator.statesFM[3].p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real [3] $DER.pipe.mediums[1].h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real [2] $DER.pipe.mediums[1].p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real [2] $DER.pipe.mediums[2].p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real [2] $DER.pipe.mediums[2].h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real [2] $DER.radiator.mediums[1].h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real [1] $DER.m_flow:DUMMY_DER(fixed = false ) type: Real $DER.tank.medium.d:DUMMY_DER(fixed = false ) "Density of medium" type: Real $DER.tank.level:DUMMY_DER(fixed = false ) "Level height of tank" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 4 (tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {15 79,18 78} Notification: Performance of prepare postOptimizeDAE: time 0.0009606/18.72, allocations: 180.4 kB / 6.884 GB, free: 2.164 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006715/18.72, allocations: 221.4 kB / 6.884 GB, free: 1.945 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3299/19.05, allocations: 7.463 MB / 6.891 GB, free: 68.57 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.119e-05/19.05, allocations: 38.14 kB / 6.891 GB, free: 68.57 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/19.05, allocations: 0 / 6.891 GB, free: 68.57 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01125/19.06, allocations: 6.591 MB / 6.898 GB, free: 68.12 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02573/19.08, allocations: 13.64 MB / 6.911 GB, free: 67.03 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/19.08, allocations: 1.406 kB / 6.911 GB, free: 67.03 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007734/19.09, allocations: 176 kB / 6.911 GB, free: 67.03 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01648/19.1, allocations: 6.449 MB / 6.918 GB, free: 66.95 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004558/19.1, allocations: 42.23 kB / 6.918 GB, free: 66.95 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01402/19.12, allocations: 8.868 MB / 6.926 GB, free: 65.85 MB / 0.573 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Media/package.mo:4765:7-4766:44:writable] Error: Model is structurally singular, error found sorting equations 56: pump.medium.h = 104929.294642565 + 4181.885502948852 * (-298.15 + pump.heatTransfer.states[1].T) + 0.0009260700016004721 * (-101325.0 + pump.p_b_nominal); 55: pump.rho = 997.0480319717385 * (1.0 + 4.515426036491986e-10 * (-101325.0 + pump.p_b_nominal) + (-0.0002571314017648316) * (-298.15 + pump.heatTransfer.states[1].T)); 49: $cse49 = Modelica.Fluid.Pipes.DynamicPipe$pipe.FlowModel$pipe$flowModel.Medium.pressure(Modelica.Fluid.Pipes.DynamicPipe$pipe.FlowModel$pipe$flowModel.Medium.ThermodynamicState(pipe.mediums[2].p, pipe.mediums[2].T)); 29: $cse50 = Modelica.Fluid.Pipes.DynamicPipe$pipe.FlowModel$pipe$flowModel.Medium.pressure(Modelica.Fluid.Pipes.DynamicPipe$pipe.FlowModel$pipe$flowModel.Medium.ThermodynamicState(pipe.mediums[1].p, pipe.mediums[1].T)); 28: pipe.flowModel.Fs_p[1] = 0.5 * (pipe.crossAreas[1] + pipe.crossAreas[2]) * ($cse49 - $cse50) * pipe.flowModel.nParallel; 50: pipe.mediums[2].h = 104929.294642565 + 4181.885502948852 * (-298.15 + pipe.mediums[2].T) + 0.0009260700016004721 * (-101325.0 + pipe.mediums[2].p); 61: $cse41 = Modelica.Fluid.Pipes.DynamicPipe$heater.FlowModel$heater$flowModel.Medium.pressure(Modelica.Fluid.Pipes.DynamicPipe$heater.FlowModel$heater$flowModel.Medium.ThermodynamicState(pump.p_b_nominal, heater.statesFM[1].T)); 17: $cse40 = Modelica.Fluid.Pipes.DynamicPipe$heater.FlowModel$heater$flowModel.Medium.pressure(Modelica.Fluid.Pipes.DynamicPipe$heater.FlowModel$heater$flowModel.Medium.ThermodynamicState(heater.mediums[1].p, heater.mediums[1].T)); 15: heater.flowModel.Fs_p[1] = heater.crossAreas[1] * ($cse40 - $cse41) * heater.flowModel.nParallel; 111: m_flow = $cse38 * heater.flowModel.nParallel; 60: heater.flowModel.rhos[1] = Modelica.Fluid.Pipes.DynamicPipe$heater.FlowModel$heater$flowModel.Medium.density(Modelica.Fluid.Pipes.DynamicPipe$heater.FlowModel$heater$flowModel.Medium.ThermodynamicState(pump.p_b_nominal, heater.statesFM[1].T)); 11: heater.flowModel.dps_fg[1] = (-2.0) * heater.flowModel.Fs_p[1] / (heater.flowModel.nParallel * 2.0 * heater.crossAreas[1]); 1: $cse38 = Modelica.Fluid.Pipes.DynamicPipe$heater.FlowModel$heater$flowModel.WallFriction.massFlowRate_dp_staticHead(heater.flowModel.dps_fg[1], heater.flowModel.rhos[1], heater.flowModel.rhos[2], 0.0008899999999999999, 0.0008899999999999999, heater.pathLengths[1], heater.dimensions[1], 0.0, heater.crossAreas[1], heater.roughnesses[1], 0.5 * heater.flowModel.dp_small, heater.flowModel.Re_turbulent); 18: heater.flowModel.rhos[2] = Modelica.Fluid.Pipes.DynamicPipe$heater.FlowModel$heater$flowModel.Medium.density(Modelica.Fluid.Pipes.DynamicPipe$heater.FlowModel$heater$flowModel.Medium.ThermodynamicState(heater.mediums[1].p, heater.mediums[1].T)); 19: heater.mediums[1].h = 104929.294642565 + 4181.885502948852 * (-298.15 + heater.mediums[1].T) + 0.0009260700016004721 * (-101325.0 + heater.mediums[1].p); 31: pipe.mediums[1].h = 104929.294642565 + 4181.885502948852 * (-298.15 + pipe.mediums[1].T) + 0.0009260700016004721 * (-101325.0 + pipe.mediums[1].p); 36: pipe.H_flows[2] = semiLinear(m_flow, pipe.mediums[1].h, pipe.mediums[2].h); 125: $STATESET1.J[14] = pipe.H_flows[1] - semiLinear(m_flow, heater.mediums[1].h, pipe.mediums[1].h); 25: pipe.flowModel.dps_fg[1] = (-2.0) * pipe.flowModel.Fs_p[1] / (pipe.flowModel.nParallel * (pipe.crossAreas[1] + pipe.crossAreas[2])); 23: pipe.Hb_flows[1] = pipe.H_flows[1] - pipe.H_flows[2]; 27: pipe.mediums[1].d = 997.0480319717385 * (1.0 + 4.515426036491986e-10 * (-101325.0 + pipe.mediums[1].p) + (-0.0002571314017648316) * (-298.15 + pipe.mediums[1].T)); 24: -pipe.Hb_flows[1] = 0.5 * pipe.vs[1] * pipe.crossAreas[1] * (pipe.mediums[2].p + pipe.flowModel.dps_fg[1] - pipe.mediums[1].p) * pipe.nParallel; 59: heater.statesFM[1].T = 273.058616085119 + 0.0002391265851958049 * pump.medium.h + (-2.214479571349944e-07) * (-101325.0 + pump.p_b_nominal); 95: tank.ports[2].h_outflow = 104929.294642565 + 4181.885502948852 * (-298.15 + tank.medium.T) + 0.0009260700016004721 * (-101325.0 + tank.p_ambient); 26: pipe.vs[1] = m_flow / (pipe.nParallel * pipe.mediums[1].d * pipe.crossAreas[1]); 58: pump.Hb_flow = m_flow * (smooth(0, tank.ports[2].h_outflow) - smooth(0, pump.medium.h)); 64: pump.eta = Modelica.Fluid.Machines.ControlledPump$pump.efficiencyCharacteristic(pump.V_flow_single * pump.N_nominal / pump.N, 0.8); 57: -pump.Hb_flow = pump.W_single * /*Real*/(pump.nParallel); 7: pump.dp_pump = pump.p_b_nominal - tank.ports[2].p; 4: pump.V_flow = m_flow / pump.rho; 124: $STATESET1.J[13] = pump.W_single - pump.dp_pump * pump.V_flow_single / pump.eta; 62: pump.V_flow_single = pump.V_flow / /*Real*/(pump.nParallel); for variables pump.heatTransfer.states[1].T(70), pump.rho(71), pipe.flowModel.rhos[2](77), pipe.mediums[1].d(97), pipe.vs[1](98), $cse49(76), pump.head(63), heater.flowModel.Fs_p[2](110), heater.vs[1](112), $STATESET1.J[9](9), heater.flowModel.rhos[1](66), radiator.mediums[1].h(126), heater.Qb_flows[1](116), heater.flowModel.Fs_p[1](109), heater.heatTransfer.Ts[1](108), $cse50(95), heater.statesFM[3].T(91), $cse41(65), heater.H_flows[2](102), heater.Hb_flows[1](104), pipe.Hb_flows[1](100), heater.H_flows[1](103), pump.medium.h(67), radiator.statesFM[3].T(25), pipe.H_flows[1](101), pump.Hb_flow(68), $STATESET1.J[4](4), pump.W_single(69), heater.mediums[1].h(122), tank.inFlow[2](119), $cse47(26), pump.V_flow(64), pump.eta(62) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.008799/19.13, allocations: 3.781 MB / 6.93 GB, free: 65.21 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01591/19.14, allocations: 10.09 MB / 6.94 GB, free: 64.8 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001939/19.14, allocations: 0.8181 MB / 6.941 GB, free: 64.7 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007313/19.14, allocations: 0 / 6.941 GB, free: 64.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003146/19.15, allocations: 221.6 kB / 6.941 GB, free: 64.7 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003888/19.15, allocations: 194.6 kB / 6.941 GB, free: 64.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003189/19.15, allocations: 113.2 kB / 6.941 GB, free: 64.7 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001486/19.15, allocations: 0.895 MB / 6.942 GB, free: 64.59 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.61e-07/19.15, allocations: 2.25 kB / 6.942 GB, free: 64.59 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01121/19.16, allocations: 3.085 MB / 6.945 GB, free: 64.59 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 ($STATESET1.x) * Number of discrete variables: 4 (tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {15 77,19 107} Notification: Performance of Backend phase and start with SimCode phase: time 0.009534/19.17, allocations: 2.463 MB / 6.947 GB, free: 64.36 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01872/19.19, allocations: 8.298 MB / 6.955 GB, free: 64.19 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.393e-06/19.19, allocations: 0 / 6.955 GB, free: 64.19 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.007509/19.2, allocations: 3.03 MB / 6.958 GB, free: 64.12 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004344/19.2, allocations: 0.8183 MB / 6.959 GB, free: 64.11 MB / 0.573 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:3851:9-3851:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:637:5-637:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]