Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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_3.2.2_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState") Notification: Performance of loadModel(ModelicaTest): time 2.209/2.209, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.878e-05/1.9e-05, allocations: 3.984 kB / 303.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2791, allocations: 54.86 MB / 358 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.452/6.731, allocations: 2.669 GB / 3.019 GB, free: 132.3 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001906/6.731, allocations: 79.08 kB / 3.019 GB, free: 132.3 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.567/11.3, allocations: 1.013 GB / 4.032 GB, free: 34.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.211e-06/11.3, allocations: 0 / 4.032 GB, free: 34.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003113/11.3, allocations: 76.39 kB / 4.032 GB, free: 34.79 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 670 * Number of variables: 670 Notification: Performance of Generate backend data structure: time 0.01671/11.32, allocations: 4.39 MB / 4.037 GB, free: 32.66 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/11.32, allocations: 12.08 kB / 4.037 GB, free: 32.65 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01006/11.33, allocations: 1.03 MB / 4.038 GB, free: 32.48 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007656/11.33, allocations: 2.241 MB / 4.04 GB, free: 31.91 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003724/11.33, allocations: 198.7 kB / 4.04 GB, free: 31.84 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001003/11.33, allocations: 140 kB / 4.04 GB, free: 31.84 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008525/11.34, allocations: 3.407 MB / 4.044 GB, free: 31.83 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009661/11.35, allocations: 3.612 MB / 4.047 GB, free: 31.21 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.053e-05/11.35, allocations: 7.75 kB / 4.047 GB, free: 31.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004751/11.35, allocations: 2.625 kB / 4.047 GB, free: 31.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000303/11.35, allocations: 231 kB / 4.047 GB, free: 31.18 MB / 0.5105 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.03128/11.39, allocations: 18.48 MB / 4.065 GB, free: 18.14 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004545/11.39, allocations: 2.151 MB / 4.067 GB, free: 17.27 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002543/11.39, allocations: 1.264 MB / 4.069 GB, free: 16.79 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03629/11.43, allocations: 17.06 MB / 4.085 GB, free: 0.7031 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.143e-05/11.43, allocations: 56.78 kB / 4.085 GB, free: 0.6367 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003094/11.43, allocations: 293.7 kB / 4.086 GB, free: 420 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=181): time 1.718e-05/11.43, allocations: 0 / 4.086 GB, free: 420 kB / 0.5105 GB Notification: Performance of matching and sorting (n=281): time 0.936/12.37, allocations: 34.25 MB / 4.119 GB, free: 46.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.767e-05/12.37, allocations: 129.3 kB / 4.119 GB, free: 46.18 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002557/12.37, allocations: 1.221 MB / 4.12 GB, free: 46 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007684/12.37, allocations: 28.61 kB / 4.12 GB, free: 45.97 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007775/12.37, allocations: 1.137 MB / 4.122 GB, free: 45.49 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001353/12.37, allocations: 0.8995 MB / 4.122 GB, free: 45.01 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004599/12.37, allocations: 1.031 kB / 4.122 GB, free: 45.01 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002104/12.37, allocations: 431.5 kB / 4.123 GB, free: 44.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004957/12.38, allocations: 2.543 MB / 4.125 GB, free: 44.69 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005694/12.39, allocations: 3.085 MB / 4.128 GB, free: 44.12 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0239/12.41, allocations: 5.242 MB / 4.133 GB, free: 44.08 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.459e-05/12.41, allocations: 2.688 kB / 4.133 GB, free: 44.08 MB / 0.5261 GB Notification: Performance of matching and sorting (n=370) (initialization): time 0.03792/12.45, allocations: 10.58 MB / 4.144 GB, free: 43.88 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0012/12.45, allocations: 5.845 MB / 4.15 GB, free: 37.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-05/12.45, allocations: 20.86 kB / 4.15 GB, free: 37.83 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03076/12.48, allocations: 7.518 MB / 4.157 GB, free: 37.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001952/12.48, allocations: 341.5 kB / 4.157 GB, free: 37.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02891/12.51, allocations: 11.26 MB / 4.168 GB, free: 36.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006299/12.52, allocations: 342.9 kB / 4.169 GB, free: 36.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001034/12.52, allocations: 174.7 kB / 4.169 GB, free: 36.57 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/12.52, allocations: 3 kB / 4.169 GB, free: 36.57 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02881/12.55, allocations: 7.54 MB / 4.176 GB, free: 36.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.004e-05/12.55, allocations: 14.06 kB / 4.176 GB, free: 36.46 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01575/12.56, allocations: 3.024 MB / 4.179 GB, free: 36.44 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003022/12.57, allocations: 0.4914 MB / 4.179 GB, free: 36.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0109/12.58, allocations: 5.676 MB / 4.185 GB, free: 35.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004563/12.58, allocations: 291.1 kB / 4.185 GB, free: 35.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007182/12.58, allocations: 150 kB / 4.185 GB, free: 35.3 MB / 0.5261 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.radiator.mediums[1].p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real [1] $DER.radiator.statesFM[1].p:DUMMY_DER(fixed = false ) "Pressure" type: Real [3] $DER.radiator.statesFM[3].p:DUMMY_DER(fixed = false ) "Pressure" type: Real [3] $DER.tank.level:DUMMY_DER(fixed = false ) "Level height of tank" type: Real $DER.pipe.mediums[2].p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real [2] $DER.pipe.mediums[1].p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real [2] $DER.m_flow:DUMMY_DER(fixed = false ) type: Real $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.tank.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real $DER.heater.mediums[1].h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real [1] $DER.pipe.mediums[1].h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 19 (radiator.state_b.phase,radiator.state_a.phase,heater.state_b.phase,heater.state_a.phase,tank.heatTransfer.states[1].phase,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],pump.heatTransfer.states[1].phase,heater.statesFM[2].phase,radiator.statesFM[2].phase,pipe.statesFM[1].phase,pipe.statesFM[2].phase,pipe.state_b.phase,pipe.state_a.phase,valve.state_b.phase,valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (176): * Single equations (assignments): 174 * 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,17 85} Notification: Performance of prepare postOptimizeDAE: time 0.001234/12.58, allocations: 203 kB / 4.186 GB, free: 35.17 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000868/12.58, allocations: 227.6 kB / 4.186 GB, free: 35.05 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03352/12.62, allocations: 17.11 MB / 4.203 GB, free: 34.24 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001413/12.62, allocations: 113.8 kB / 4.203 GB, free: 34.24 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/12.62, allocations: 0 / 4.203 GB, free: 34.24 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02821/12.65, allocations: 15.4 MB / 4.218 GB, free: 31.93 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06125/12.71, allocations: 27.78 MB / 4.245 GB, free: 20.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.881e-05/12.71, allocations: 5.391 kB / 4.245 GB, free: 20.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001268/12.71, allocations: 211.1 kB / 4.245 GB, free: 20.44 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03811/12.75, allocations: 18.86 MB / 4.263 GB, free: 9.77 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007306/12.75, allocations: 66.14 kB / 4.264 GB, free: 9.723 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06602/12.81, allocations: 18.46 MB / 4.282 GB, free: 11.26 MB / 0.5417 GB Error: Model is structurally singular, error found sorting equations 107: $cse49 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(pipe.mediums[1].p, pipe.mediums[1].h, pipe.statesFM[1].phase, 0); 108: pipe.statesFM[1].phase = if pipe.mediums[1].h < $cse47.h or pipe.mediums[1].h > $cse48.h or pipe.mediums[1].p > 22064000.0 then 1 else 2; 106: pipe.statesFM[1].T = $cse49.T; 98: $cse52 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(pipe.mediums[2].p, pipe.mediums[2].h, pipe.statesFM[2].phase, 0); 99: pipe.statesFM[2].phase = if pipe.mediums[2].h < $cse50.h or pipe.mediums[2].h > $cse51.h or pipe.mediums[2].p > 22064000.0 then 1 else 2; 96: pipe.statesFM[2].T = $cse52.T; 94: pipe.flowModel.Fs_p[1] = 0.5 * (pipe.crossAreas[1] + pipe.crossAreas[2]) * (pipe.mediums[2].p - pipe.mediums[1].p) * pipe.flowModel.nParallel; 105: pipe.statesFM[1].d = $cse49.rho; 104: pipe.flowModel.mus[1] = Modelica.Media.Water.IF97_Utilities.dynamicViscosity(pipe.statesFM[1].d, pipe.statesFM[1].T, pipe.mediums[1].p, pipe.statesFM[1].phase); 97: pipe.statesFM[2].d = $cse52.rho; 95: pipe.flowModel.mus[2] = Modelica.Media.Water.IF97_Utilities.dynamicViscosity(pipe.statesFM[2].d, pipe.statesFM[2].T, pipe.mediums[2].p, pipe.statesFM[2].phase); 93: pipe.flowModel.dps_fg[1] = (-2.0) * pipe.flowModel.Fs_p[1] / (pipe.flowModel.nParallel * (pipe.crossAreas[1] + pipe.crossAreas[2])); 92: $cse61 = Modelica.Fluid.Pipes.DynamicPipe$pipe.FlowModel$pipe$flowModel.WallFriction.massFlowRate_dp_staticHead(pipe.flowModel.dps_fg[1], pipe.statesFM[1].d, pipe.statesFM[2].d, pipe.flowModel.mus[1], pipe.flowModel.mus[2], 10.0, pipe.flowModel.diameters[1], 0.0, 0.5 * (pipe.crossAreas[1] + pipe.crossAreas[2]), 0.5 * (pipe.roughnesses[1] + pipe.roughnesses[2]), pipe.flowModel.dp_small, pipe.flowModel.Re_turbulent); 10: $cse5 = max(0.0, tank.level - tank.portsData[2].height); 2: tank.vessel_ps_static[2] = $cse5 * system.g * tank.heatTransfer.states[1].d + tank.p_ambient; 37: $cse11 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(tank.vessel_ps_static[2], smooth(0, tank.medium.h), 0, 0); 36: tank.portVelocities[2] = smooth(0, (-m_flow) / ($cse11.rho * tank.portAreas[2])); 116: tank.heatTransfer.Ts[1] = $cse3.T; 8: tank.heatTransfer.surfaceAreas[1] = tank.crossArea + 3.544907701811032 * sqrt(tank.crossArea) * tank.level; 90: tank.ports_H_flow[1] = m_flow * smooth(0, if m_flow > 0.0 then radiator.mediums[1].h else tank.medium.h); 76: tank.ports_H_flow[2] = (-m_flow) * smooth(0, tank.medium.h); 35: tank.ports_E_flow[2] = (-m_flow) * (0.5 * tank.portVelocities[2] ^ 2.0 + system.g * tank.portsData[2].height); 139: $STATESET1.J[14] = -(tank.Hb_flow + 10.0 * tank.heatTransfer.surfaceAreas[1] * (tank.heatTransfer.T_ambient - tank.heatTransfer.Ts[1])); 29: tank.Hb_flow = tank.ports_H_flow[1] + tank.ports_H_flow[2] + tank.ports_E_flow[1] + tank.ports_E_flow[2]; 91: m_flow = $cse61 * pipe.flowModel.nParallel; 30: tank.ports_E_flow[1] = m_flow * (0.5 * tank.portVelocities[1] ^ 2.0 + system.g * tank.portsData[1].height); 33: tank.portVelocities[1] = smooth(0, m_flow / ($cse7.rho * tank.portAreas[1])); 9: $cse4 = max(0.0, tank.level - tank.portsData[1].height); 34: $cse7 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(tank.vessel_ps_static[1], smooth(0, if m_flow > 0.0 then radiator.mediums[1].h else tank.medium.h), 0, 0); 4: tank.vessel_ps_static[1] = $cse4 * system.g * tank.heatTransfer.states[1].d + tank.p_ambient; 118: tank.heatTransfer.states[1].phase = if tank.medium.h < $cse1.h or tank.medium.h > $cse2.h or tank.p_ambient > 22064000.0 then 1 else 2; 115: tank.heatTransfer.states[1].d = $cse3.rho; 117: $cse3 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(tank.p_ambient, tank.medium.h, tank.heatTransfer.states[1].phase, 0); for variables $cse49.pt(123), $cse49.phase(117), $cse49.dpT(118), $cse49.region(124), $cse49.cp(116), $cse49.rho(125), pipe.statesFM[1].phase(115), $cse49.h(121), $cse49.R(120), $cse49.cv(126), $cse49.p(127), $cse49.x(129), $cse49.vp(119), $cse49.pd(128), $cse49.s(130), $cse49.vt(131), $cse49.T(122), pipe.statesFM[1].T(132), $cse51.dpT(167), $cse52.T(180), $cse52.cp(181), $cse52.cv(182), $cse52.s(183), $cse52.region(184), $cse52.dpT(185), $cse52.rho(186), $cse52.p(187), $cse52.R(188), $cse52.phase(189), m_flow(201), $cse61(200), pipe.flowModel.Fs_p[1](198), radiator.H_flows[2](204), $cse52.x(194), $cse51.pt(168), $cse52.vp(191), $cse52.vt(192), pipe.statesFM[1].d(133), pipe.flowModel.mus[1](134), pipe.H_flows[2](205), $cse52.h(190), pipe.statesFM[2].d(195), $cse52.pd(193), tank.s[2](456), tank.ports_penetration[2](448), $cse11.region(354), $cse9.p(346), tank.portInDensities[2](347), $cse11.h(355), $cse11.s(352), $cse11.pt(353), $cse11.cp(357), $cse11.vt(356), $cse11.T(348), $cse11.rho(349), $cse11.R(358), $cse7.vt(371), tank.ports_E_flow[2](365), $cse11.x(361), $cse11.p(359), $cse7.x(367), $cse11.phase(363), tank.heatTransfer.states[1].d(69), tank.inFlow[1](454), pipe.flowModel.mus[2](197), heater.H_flows[2](207), $cse7.R(366), $cse19.vp(405), pipe.flowModel.dps_fg[1](199), tank.Hb_flow(401), $cse6.T(389), tank.s[1](455), $cse11.vp(360), $cse7.region(370), $cse7.p(368), $cse7.pt(369), $cse11.dpT(362), tank.portVelocities[2](364), $cse7.cv(372), $cse7.h(373), $cse7.T(374), $cse7.s(375), $cse6.cp(383), $cse7.dpT(380), $cse7.phase(379), $cse6.phase(388), $cse6.x(385), $cse7.pd(376), $cse4(450), $cse14.vt(49), $cse3.vp(64), $cse14.T(48), $cse14.s(46), $cse3.region(53), $cse14.region(45), $cse3.R(57), pump.rho(50), $cse3.dpT(58), pump.N(460), $cse3.phase(59), $cse3.pd(61), $cse3.T(65), $cse3.pt(63), tank.heatTransfer.Ts[1](68), $cse34.pt(71), $cse3.cp(62), $cse3.rho(67), $cse6.R(397) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.03746/12.85, allocations: 10.18 MB / 4.292 GB, free: 3.305 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4579/13.31, allocations: 23.33 MB / 4.314 GB, free: 75.75 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003278/13.31, allocations: 1.103 MB / 4.315 GB, free: 75.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009741/13.31, allocations: 6.484 kB / 4.315 GB, free: 75.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005013/13.32, allocations: 373.3 kB / 4.316 GB, free: 75.66 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00101/13.32, allocations: 263.8 kB / 4.316 GB, free: 75.66 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005109/13.32, allocations: 130 kB / 4.316 GB, free: 75.66 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001843/13.32, allocations: 0.9311 MB / 4.317 GB, free: 75.55 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.523e-06/13.32, allocations: 2.688 kB / 4.317 GB, free: 75.55 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01837/13.34, allocations: 4.313 MB / 4.321 GB, free: 75.55 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 1 ($STATESET1.x) * Number of discrete variables: 60 ($cse3.phase,$cse3.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,$cse12.region3boundary,$cse13.region3boundary,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse24.region3boundary,$cse25.region3boundary,$cse26.phase,$cse26.region,$cse33.phase,$cse33.region,$cse34.phase,$cse34.region,$cse35.region3boundary,$cse36.region3boundary,$cse37.phase,$cse37.region,$cse44.phase,$cse44.region,$cse45.phase,$cse45.region,$cse46.phase,$cse46.region,$cse47.region3boundary,$cse48.region3boundary,$cse49.phase,$cse49.region,$cse50.region3boundary,$cse51.region3boundary,$cse52.phase,$cse52.region,tank.heatTransfer.states[1].phase,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],pump.heatTransfer.states[1].phase,heater.statesFM[2].phase,radiator.statesFM[2].phase,pipe.statesFM[1].phase,pipe.statesFM[2].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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 82,19 121} Notification: Performance of Backend phase and start with SimCode phase: time 0.02087/13.36, allocations: 4.485 MB / 4.326 GB, free: 75.17 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02762/13.39, allocations: 10.53 MB / 4.336 GB, free: 75 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.206e-05/13.39, allocations: 3.875 kB / 4.336 GB, free: 75 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0139/13.4, allocations: 5.516 MB / 4.341 GB, free: 74.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006948/13.41, allocations: 0.8945 MB / 4.342 GB, free: 74.89 MB / 0.5573 GB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:3851:9-3851:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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]