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: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_SteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_SteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001159/0.001159, 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.298/1.298, 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.001059/0.001059, allocations: 93.56 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2027/0.2027, allocations: 45.15 MB / 383.8 MB, free: 284 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.663e-05/1.675e-05, allocations: 0 / 453.3 MB, free: 75.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1312, allocations: 63.25 MB / 0.5044 GB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.894/9.026, allocations: 3.171 GB / 3.675 GB, free: 67.77 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003372/9.026, allocations: 75.97 kB / 3.675 GB, free: 67.73 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 12/21.02, allocations: 3.083 GB / 6.758 GB, free: 72.02 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.968e-06/21.02, allocations: 0 / 6.758 GB, free: 72.02 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0006782/21.02, allocations: 66.53 kB / 6.758 GB, free: 72.01 MB / 0.573 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.01964/21.04, allocations: 3.607 MB / 6.762 GB, free: 70.23 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/21.04, allocations: 14.48 kB / 6.762 GB, free: 70.22 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002677/21.05, allocations: 306.4 kB / 6.762 GB, free: 70.08 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008849/21.06, allocations: 2.07 MB / 6.764 GB, free: 69.62 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004353/21.06, allocations: 146.9 kB / 6.764 GB, free: 69.55 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00177/21.06, allocations: 115.7 kB / 6.765 GB, free: 69.55 MB / 0.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007435/21.07, allocations: 2.835 MB / 6.767 GB, free: 69.54 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008217/21.07, allocations: 3.004 MB / 6.77 GB, free: 69.06 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.829e-05/21.07, allocations: 7.062 kB / 6.77 GB, free: 69.06 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007084/21.08, allocations: 3.781 kB / 6.77 GB, free: 69.06 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002865/21.08, allocations: 208.2 kB / 6.771 GB, free: 69.06 MB / 0.573 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.02082/21.1, allocations: 12 MB / 6.782 GB, free: 64.02 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00334/21.1, allocations: 2.178 MB / 6.784 GB, free: 63.88 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001407/21.1, allocations: 1.128 MB / 6.785 GB, free: 63.87 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008115/21.11, allocations: 5.628 MB / 6.791 GB, free: 61.05 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/21.11, allocations: 52.91 kB / 6.791 GB, free: 61.02 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0011/21.11, allocations: 184.5 kB / 6.791 GB, free: 60.95 MB / 0.573 GB Notification: Performance of pre-optimization done (n=159): time 4.729e-06/21.11, allocations: 3.906 kB / 6.791 GB, free: 60.95 MB / 0.573 GB Notification: Performance of matching and sorting (n=258): time 0.387/21.5, allocations: 31.41 MB / 6.822 GB, free: 58.66 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/21.5, allocations: 134.8 kB / 6.822 GB, free: 58.53 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002398/21.5, allocations: 1.217 MB / 6.823 GB, free: 58.36 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005822/21.5, allocations: 29.61 kB / 6.823 GB, free: 58.32 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009605/21.5, allocations: 1.071 MB / 6.824 GB, free: 57.83 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001457/21.5, allocations: 0.8286 MB / 6.825 GB, free: 57.27 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000256/21.5, allocations: 0 / 6.825 GB, free: 57.27 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002686/21.5, allocations: 416.3 kB / 6.825 GB, free: 56.97 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003206/21.51, allocations: 2.057 MB / 6.827 GB, free: 56.33 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003626/21.51, allocations: 2.607 MB / 6.83 GB, free: 54.89 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01042/21.52, allocations: 3.687 MB / 6.834 GB, free: 53.91 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.257e-05/21.52, allocations: 7.703 kB / 6.834 GB, free: 53.91 MB / 0.573 GB Notification: Performance of matching and sorting (n=351) (initialization): time 0.01913/21.54, allocations: 8.077 MB / 6.841 GB, free: 51.37 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.00173/21.54, allocations: 6.316 MB / 6.848 GB, free: 44.77 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.655e-05/21.54, allocations: 18.62 kB / 6.848 GB, free: 44.75 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01876/21.56, allocations: 6.581 MB / 6.854 GB, free: 39.86 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/21.56, allocations: 324.2 kB / 6.854 GB, free: 39.62 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01634/21.58, allocations: 9.18 MB / 6.863 GB, free: 31.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004632/21.58, allocations: 240 kB / 6.864 GB, free: 31.65 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007237/21.58, allocations: 152.6 kB / 6.864 GB, free: 31.52 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/21.58, allocations: 7.953 kB / 6.864 GB, free: 31.52 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01424/21.6, allocations: 6.704 MB / 6.87 GB, free: 26.04 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.135e-05/21.6, allocations: 16 kB / 6.87 GB, free: 26.02 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01468/21.61, allocations: 5.445 MB / 6.876 GB, free: 21.96 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001998/21.62, allocations: 406.5 kB / 6.876 GB, free: 21.63 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0112/21.63, allocations: 7.2 MB / 6.883 GB, free: 14.47 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004536/21.63, allocations: 235.2 kB / 6.883 GB, free: 14.26 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005604/21.63, allocations: 131.9 kB / 6.883 GB, free: 14.13 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.001018/21.63, allocations: 183.2 kB / 6.884 GB, free: 13.95 MB / 0.573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01398/21.65, allocations: 6.677 MB / 6.89 GB, free: 7.234 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00118/21.65, allocations: 229.2 kB / 6.89 GB, free: 7.008 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5007/22.15, allocations: 7.455 MB / 6.898 GB, free: 67 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001484/22.15, allocations: 34.72 kB / 6.898 GB, free: 67 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.608e-05/22.15, allocations: 0 / 6.898 GB, free: 67 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01505/22.16, allocations: 6.6 MB / 6.904 GB, free: 66.55 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0343/22.2, allocations: 13.63 MB / 6.917 GB, free: 65.47 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-05/22.2, allocations: 1.312 kB / 6.917 GB, free: 65.47 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008437/22.2, allocations: 174.3 kB / 6.918 GB, free: 65.47 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01944/22.22, allocations: 6.455 MB / 6.924 GB, free: 65.39 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008545/22.22, allocations: 47.47 kB / 6.924 GB, free: 65.39 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01541/22.23, allocations: 8.866 MB / 6.933 GB, free: 64.29 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.00997/22.24, allocations: 3.781 MB / 6.936 GB, free: 63.65 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01763/22.26, allocations: 10.09 MB / 6.946 GB, free: 63.23 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002624/22.27, allocations: 0.8195 MB / 6.947 GB, free: 63.14 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007628/22.27, allocations: 5.938 kB / 6.947 GB, free: 63.14 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003258/22.27, allocations: 214.9 kB / 6.947 GB, free: 63.14 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004491/22.27, allocations: 198 kB / 6.947 GB, free: 63.14 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000323/22.27, allocations: 111.8 kB / 6.947 GB, free: 63.14 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001593/22.27, allocations: 0.8905 MB / 6.948 GB, free: 63.03 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.21e-07/22.27, allocations: 0.9688 kB / 6.948 GB, free: 63.03 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0122/22.28, allocations: 3.088 MB / 6.951 GB, free: 63.03 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.03038/22.31, allocations: 13.28 MB / 6.964 GB, free: 61.56 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02383/22.34, allocations: 8.295 MB / 6.972 GB, free: 61.39 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-05/22.34, allocations: 6.234 kB / 6.972 GB, free: 61.39 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.008919/22.35, allocations: 3.037 MB / 6.975 GB, free: 61.32 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005447/22.35, allocations: 0.8106 MB / 6.976 GB, free: 61.31 MB / 0.573 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:3851:9-3851:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/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]