Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.3_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_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 111.1 kB / 17.09 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 198.2 kB / 18.02 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.319/1.319, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2098/0.2098, allocations: 43.53 MB / 314.8 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 67.89 kB / 442.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1167, allocations: 57.79 MB / 0.4886 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.3536/0.4703, allocations: 90.22 MB / 0.5767 GB, free: 7.398 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.03453/0.5048, allocations: 21.31 MB / 0.5975 GB, free: 7.559 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003715/0.5086, allocations: 87.19 kB / 0.5976 GB, free: 7.523 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003127/0.5118, allocations: 0.9341 MB / 0.5985 GB, free: 6.711 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01102/0.5228, allocations: 3.727 MB / 0.6021 GB, free: 3.844 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01435/0.5372, allocations: 5.629 MB / 0.6076 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.009853/0.5471, allocations: 6.892 MB / 0.6144 GB, free: 9.172 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00351/0.5506, allocations: 1.81 MB / 0.6161 GB, free: 7.348 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1542/0.7048, allocations: 74.85 MB / 0.6892 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.06092/0.7658, allocations: 31.91 MB / 0.7204 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001179/0.767, allocations: 248 kB / 0.7206 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01333/0.7804, allocations: 6.081 MB / 0.7266 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001871/0.7823, allocations: 1.071 MB / 0.7276 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00443/0.7867, allocations: 1.478 MB / 0.729 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01279/0.7995, allocations: 5.501 MB / 0.7344 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.7996, allocations: 0 / 0.7344 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7996, allocations: 0 / 0.7344 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.000156/0.7998, allocations: 0 / 0.7344 GB, free: 12.9 MB / 0.5762 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.01091/0.8107, allocations: 3.492 MB / 0.7378 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.8107, allocations: 15.83 kB / 0.7378 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001413/0.8122, allocations: 300.6 kB / 0.7381 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003715/0.8159, allocations: 1.676 MB / 0.7398 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002338/0.8161, allocations: 219.1 kB / 0.74 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005987/0.8167, allocations: 180 kB / 0.7401 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006676/0.8234, allocations: 3.285 MB / 0.7434 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.651e-05/0.8235, allocations: 7.938 kB / 0.7434 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003443/0.8239, allocations: 83.95 kB / 0.7434 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000328/0.8242, allocations: 251.7 kB / 0.7437 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005488/0.8297, allocations: 3.095 MB / 0.7467 GB, free: 48 kB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0203/0.85, allocations: 13.81 MB / 0.7602 GB, free: 1.297 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2423/1.092, allocations: 2.187 MB / 0.7623 GB, free: 225.2 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002049/1.094, allocations: 1.181 MB / 0.7635 GB, free: 225.2 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00805/1.103, allocations: 5.622 MB / 0.769 GB, free: 222.3 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/1.103, allocations: 50.16 kB / 0.769 GB, free: 222.2 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006098/1.103, allocations: 161.6 kB / 0.7692 GB, free: 222.2 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=158): time 4.879e-06/1.103, allocations: 0 / 0.7692 GB, free: 222.2 MB / 0.5919 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: equations: radiator.mediums[1].h = 104929.29464256502 + 4181.885502948851 * (-298.15 + radiator.mediums[1].T) + 9.260700016004721e-4 * (-101325.0 + radiator.mediums[1].p) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed Error: Internal error SimCode DAEmode: The model ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState could not be translated