Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial") translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009252/0.0009253, allocations: 187.4 kB / 7.654 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.379/1.379, allocations: 194.3 MB / 202.4 MB, free: 8.539 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001687/0.001687, allocations: 113.7 kB / 247.4 MB, free: 6.199 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.182/0.182, allocations: 39.94 MB / 332.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.383e-05/1.393e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0859/0.08593, allocations: 54.87 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.794/6.88, allocations: 2.669 GB / 3.107 GB, free: 13.87 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/6.88, allocations: 78.58 kB / 3.107 GB, free: 13.83 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.724/11.6, allocations: 1.014 GB / 4.121 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.462e-06/11.6, allocations: 0 / 4.121 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003628/11.6, allocations: 76.78 kB / 4.122 GB, free: 26.09 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.02121/11.63, allocations: 4.392 MB / 4.126 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/11.63, allocations: 10.31 kB / 4.126 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008836/11.63, allocations: 1.031 MB / 4.127 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007958/11.64, allocations: 2.25 MB / 4.129 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004004/11.64, allocations: 199.9 kB / 4.129 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001286/11.64, allocations: 147.9 kB / 4.129 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007372/11.65, allocations: 3.42 MB / 4.133 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01019/11.66, allocations: 3.636 MB / 4.136 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001241/11.66, allocations: 8.25 kB / 4.136 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008514/11.66, allocations: 8.031 kB / 4.136 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003331/11.66, allocations: 220.6 kB / 4.136 GB, free: 22.75 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.02702/11.69, allocations: 18.46 MB / 4.154 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003488/11.69, allocations: 2.277 MB / 4.157 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00202/11.7, allocations: 1.439 MB / 4.158 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03328/11.73, allocations: 17.05 MB / 4.175 GB, free: 17.43 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.303e-05/11.73, allocations: 59.38 kB / 4.175 GB, free: 17.39 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002417/11.73, allocations: 166.3 kB / 4.175 GB, free: 17.31 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=194): time 1.573e-05/11.73, allocations: 0.75 kB / 4.175 GB, free: 17.31 MB / 0.5261 GB Notification: Performance of matching and sorting (n=244): time 0.1584/11.89, allocations: 18.45 MB / 4.193 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/11.89, allocations: 127.7 kB / 4.193 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003281/11.89, allocations: 1.213 MB / 4.194 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006491/11.89, allocations: 25.7 kB / 4.194 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00125/11.9, allocations: 1.159 MB / 4.195 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0015/11.9, allocations: 0.7963 MB / 4.196 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005804/11.9, allocations: 0 / 4.196 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004632/11.9, allocations: 411.9 kB / 4.197 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003485/11.9, allocations: 1.851 MB / 4.198 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003464/11.91, allocations: 2.347 MB / 4.201 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01475/11.92, allocations: 4.318 MB / 4.205 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.519e-05/11.92, allocations: 8.969 kB / 4.205 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.02343/11.94, allocations: 7.596 MB / 4.212 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.002181/11.95, allocations: 5.433 MB / 4.218 GB, free: 7.273 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.043e-05/11.95, allocations: 17.27 kB / 4.218 GB, free: 7.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004654/11.95, allocations: 2.254 MB / 4.22 GB, free: 7.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002838/11.95, allocations: 0.5849 MB / 4.22 GB, free: 7.156 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009554/11.96, allocations: 7.951 MB / 4.228 GB, free: 18.44 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005332/11.97, allocations: 410.1 kB / 4.229 GB, free: 18.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009293/11.97, allocations: 147.7 kB / 4.229 GB, free: 18.4 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/11.97, allocations: 3.531 kB / 4.229 GB, free: 18.4 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01996/11.99, allocations: 5.98 MB / 4.235 GB, free: 18.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.902e-05/11.99, allocations: 14.38 kB / 4.235 GB, free: 18.18 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001708/11.99, allocations: 0.6169 MB / 4.235 GB, free: 18.11 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003466/11.99, allocations: 0.6926 MB / 4.236 GB, free: 18.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00787/12, allocations: 8.301 MB / 4.244 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004541/12.01, allocations: 381.8 kB / 4.244 GB, free: 11.56 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009875/12.01, allocations: 135.8 kB / 4.244 GB, free: 11.55 MB / 0.5417 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.heater.mediums[1].h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real [1] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.tank.heatTransfer.states[1].d:DUMMY_DER(fixed = false ) "Density" type: Real [1] $DER.tank.medium.u:DUMMY_DER(fixed = false ) "Specific internal energy of medium" type: Real 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.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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 (281): * Single equations (assignments): 270 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 9 {2 10,2 4,1 1,2 7,1 1,4 14,1 1,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.00204/12.01, allocations: 184.2 kB / 4.245 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001365/12.01, allocations: 216.4 kB / 4.245 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01823/12.03, allocations: 11.62 MB / 4.256 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01404/12.04, allocations: 10.38 MB / 4.266 GB, free: 5.629 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-05/12.04, allocations: 2.438 kB / 4.266 GB, free: 5.629 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.445/12.49, allocations: 10.72 MB / 4.277 GB, free: 53.53 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03134/12.52, allocations: 18.2 MB / 4.295 GB, free: 52.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/12.52, allocations: 2.25 kB / 4.295 GB, free: 52.39 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001953/12.52, allocations: 437.6 kB / 4.295 GB, free: 52.39 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008321/12.53, allocations: 5.183 MB / 4.3 GB, free: 52.19 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006154/12.53, allocations: 62.89 kB / 4.3 GB, free: 52.19 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01135/12.54, allocations: 11.2 MB / 4.311 GB, free: 47.51 MB / 0.5417 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Media/Water/package.mo:195:9-196:60:writable] Error: Model is structurally singular, error found sorting equations 28: 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; 37: $cse31 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(pump.p_b_nominal, pump.medium.h, 0, 0); 35: heater.statesFM[1].T = $cse31.T; 18: $cse21 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(heater.mediums[1].p, heater.mediums[1].h, heater.statesFM[2].phase, 0); 19: heater.statesFM[2].phase = if heater.mediums[1].h < $cse19.h or heater.mediums[1].h > $cse20.h or heater.mediums[1].p > 22064000.0 then 1 else 2; 17: heater.heatTransfer.Ts[1] = $cse21.T; 14: heater.flowModel.Fs_p[1] = heater.crossAreas[1] * (heater.mediums[1].p - pump.p_b_nominal) * heater.flowModel.nParallel; 36: heater.statesFM[1].d = $cse31.rho; 34: heater.flowModel.mus[1] = Modelica.Media.Water.IF97_Utilities.dynamicViscosity(heater.statesFM[1].d, heater.statesFM[1].T, pump.p_b_nominal, 0); 16: heater.statesFM[2].d = $cse21.rho; 15: heater.flowModel.mus[2] = Modelica.Media.Water.IF97_Utilities.dynamicViscosity(heater.statesFM[2].d, heater.heatTransfer.Ts[1], heater.mediums[1].p, heater.statesFM[2].phase); 13: heater.flowModel.dps_fg[1] = (-2.0) * heater.flowModel.Fs_p[1] / (heater.flowModel.nParallel * 2.0 * heater.crossAreas[1]); 12: $cse53 = Modelica.Fluid.Pipes.DynamicPipe$heater.FlowModel$heater$flowModel.WallFriction.massFlowRate_dp_staticHead(heater.flowModel.dps_fg[1], heater.statesFM[1].d, heater.statesFM[2].d, heater.flowModel.mus[1], heater.flowModel.mus[2], heater.pathLengths[1], heater.dimensions[1], 0.0, heater.crossAreas[1], heater.roughnesses[1], 0.5 * heater.flowModel.dp_small, heater.flowModel.Re_turbulent); 29: tank.ports_penetration[2] = Modelica.Fluid.Utilities.regStep(tank.level + (-0.1) * tank.portsData[2].diameter - tank.portsData[2].height, 1.0, 0.001, 0.1 * tank.portsData[2].diameter); 11: m_flow = $cse53 * heater.flowModel.nParallel; 40: $STATESET1.J[3] = -(if tank.regularFlow[2] then tank.ports[2].p - (tank.vessel_ps_static[2] + 0.5 * tank.portAreas[2] ^ (-2.0) * Modelica.Fluid.Utilities.regSquare2(-m_flow, tank.m_flow_small, (-1.0 + tank.portsData[2].zeta_in + (tank.portAreas[2] / tank.vesselArea) ^ 2.0) * tank.ports_penetration[2] / tank.portInDensities[2], (1.0 + tank.portsData[2].zeta_out - (tank.portAreas[2] / tank.vesselArea) ^ 2.0) / (tank.ports_penetration[2] * tank.heatTransfer.states[1].d), false, 1.0)) else if tank.inFlow[2] then tank.ports[2].p - tank.vessel_ps_static[2] else -m_flow); 22: tank.portInDensities[2] = $cse7.rho; 25: $cse5 = max(0.0, tank.level - tank.portsData[2].height); 23: $cse7 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(tank.vessel_ps_static[2], tank.medium.h, 0, 0); 27: $cse3 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(tank.p_ambient, tank.medium.h, tank.heatTransfer.states[1].phase, 0); 24: tank.vessel_ps_static[2] = $cse5 * system.g * tank.heatTransfer.states[1].d + tank.p_ambient; 26: tank.heatTransfer.states[1].d = $cse3.rho; for variables $cse3.cv(43), $cse31.T(3), $cse31.x(4), $cse31.phase(5), $cse31.vp(6), $cse31.h(7), $cse31.cp(8), $cse31.s(9), $cse31.R(10), $cse31.pt(11), $cse31.p(12), $cse31.rho(13), $cse31.vt(14), $cse31.dpT(15), $cse31.region(16), $cse31.cv(17), $cse10.dpT(28), $cse10.cp(23), $cse21.pt(113), $cse21.rho(115), $cse21.h(111), $cse21.vt(107), $cse20.region3boundary(104), $cse20.R(103), $cse21.dpT(106), $cse20.s(101), $cse21.cp(108), $cse21.region(112), $cse21.R(116), $cse21.cv(117), $cse21.phase(118), $cse21.x(119), $cse21.T(120), pump.V_flow(130), $cse21.p(109), $cse12(133), pump.Hb_flow(129), pump.heatTransfer.states[1].phase(22), $cse10.vp(30), pump.V_flow_single(132), m_flow(128), $cse21.s(121), heater.heatTransfer.Ts[1](122), $cse10.vt(37), heater.flowModel.dps_fg[1](126), $cse7.cp(76), tank.heatTransfer.states[1].d(59), $cse7.region(71), $cse7.s(73), $cse7.dpT(68), $cse7.h(62), $cse7.vt(72), $cse7.pd(77), $cse7.pt(66), $cse7.rho(74), tank.vessel_ps_static[2](61), $cse7.T(75), $cse7.cv(63), $cse7.R(65), $cse7.x(67), $cse7.p(64), $cse7.vp(69), $cse7.phase(70), tank.regularFlow[2](40), $cse10.cv(38), pump.rho(39), $cse3.phase(46), $cse3.region(44), $cse3.h(58), $cse3.rho(57), $cse3.p(56), $cse3.R(55), $cse3.vp(52), $cse3.x(48), $cse3.pt(50), $cse5(60), $cse3.s(49), $cse3.pd(54), $cse3.cp(51), pump.N(139), $cse3.T(53), $cse19.cv(80) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004646/12.55, allocations: 3.492 MB / 4.314 GB, free: 46.9 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01897/12.57, allocations: 13.82 MB / 4.328 GB, free: 46.23 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002441/12.57, allocations: 0.9313 MB / 4.329 GB, free: 46 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004849/12.57, allocations: 16.94 kB / 4.329 GB, free: 46 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00271/12.57, allocations: 338.4 kB / 4.329 GB, free: 45.98 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004231/12.57, allocations: 226.6 kB / 4.329 GB, free: 45.98 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002415/12.57, allocations: 110.5 kB / 4.33 GB, free: 45.98 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001284/12.57, allocations: 0.9213 MB / 4.33 GB, free: 45.87 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.61e-07/12.57, allocations: 0.7656 kB / 4.33 GB, free: 45.87 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01517/12.59, allocations: 3.737 MB / 4.334 GB, free: 45.87 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 ($STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],radiator.mediums[1].p,radiator.mediums[1].h,pipe.mediums[1].p,pipe.mediums[1].h,pipe.mediums[2].p,pipe.mediums[2].h) * Number of discrete variables: 58 ($cse3.phase,$cse3.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.region3boundary,$cse9.region3boundary,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.region3boundary,$cse20.region3boundary,$cse21.phase,$cse21.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse33.region3boundary,$cse34.region3boundary,$cse35.phase,$cse35.region,$cse38.phase,$cse38.region,$cse39.phase,$cse39.region,$cse42.phase,$cse42.region,$cse45.region3boundary,$cse46.region3boundary,$cse47.phase,$cse47.region,$cse48.region3boundary,$cse49.region3boundary,$cse50.phase,$cse50.region,$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 (213): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 9 {1 1,2 9,2 4,1 1,1 10,1 1,1 1,2 9,8 36} Notification: Performance of Backend phase and start with SimCode phase: time 0.01684/12.61, allocations: 3.853 MB / 4.338 GB, free: 45.59 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01532/12.62, allocations: 8.178 MB / 4.346 GB, free: 45.15 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/12.62, allocations: 2.203 kB / 4.346 GB, free: 45.15 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.007414/12.63, allocations: 3.984 MB / 4.35 GB, free: 45.1 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00557/12.63, allocations: 0.9303 MB / 4.351 GB, free: 45.08 MB / 0.5417 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]