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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.00108/0.00108, allocations: 114.1 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001133/0.001133, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.4 MB / 247.6 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2068/0.2068, allocations: 46.1 MB / 345 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 67.89 kB / 482 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3152, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.09181/0.4071, allocations: 90.45 MB / 0.62 GB, free: 6.996 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0333/0.4404, allocations: 21.36 MB / 0.6409 GB, free: 1.582 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002851/0.4433, allocations: 83.5 kB / 0.641 GB, free: 1.5 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003108/0.4465, allocations: 0.9511 MB / 0.6419 GB, free: 0.543 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01201/0.4585, allocations: 3.787 MB / 0.6456 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01439/0.4729, allocations: 5.672 MB / 0.6511 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.009365/0.4823, allocations: 6.944 MB / 0.6579 GB, free: 108 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002971/0.4853, allocations: 1.817 MB / 0.6597 GB, free: 14.26 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5376/1.023, allocations: 74.98 MB / 0.7329 GB, free: 59.2 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.07212/1.095, allocations: 31.93 MB / 0.7641 GB, free: 49.48 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001432/1.097, allocations: 249.4 kB / 0.7643 GB, free: 49.48 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02055/1.117, allocations: 6.118 MB / 0.7703 GB, free: 48.48 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002885/1.12, allocations: 1.064 MB / 0.7714 GB, free: 48.48 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.003781/1.124, allocations: 1.488 MB / 0.7728 GB, free: 48.43 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01284/1.137, allocations: 5.512 MB / 0.7782 GB, free: 45.05 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/1.137, allocations: 0 / 0.7782 GB, free: 45.05 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.673e-06/1.137, allocations: 0 / 0.7782 GB, free: 45.05 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.985e-05/1.137, allocations: 0 / 0.7782 GB, free: 45.05 MB / 0.5606 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.01034/1.147, allocations: 3.497 MB / 0.7816 GB, free: 42.02 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/1.147, allocations: 12.03 kB / 0.7816 GB, free: 42.01 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001412/1.149, allocations: 304.5 kB / 0.7819 GB, free: 41.71 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00414/1.153, allocations: 1.666 MB / 0.7835 GB, free: 40.38 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002134/1.153, allocations: 214.8 kB / 0.7837 GB, free: 40.22 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004176/1.154, allocations: 186.6 kB / 0.7839 GB, free: 40.1 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006861/1.16, allocations: 3.28 MB / 0.7871 GB, free: 37.69 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.721e-05/1.161, allocations: 11.28 kB / 0.7871 GB, free: 37.68 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002301/1.161, allocations: 83.91 kB / 0.7872 GB, free: 37.66 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003765/1.161, allocations: 247.4 kB / 0.7874 GB, free: 37.45 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00639/1.168, allocations: 3.099 MB / 0.7905 GB, free: 35.39 MB / 0.5606 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.01721/1.185, allocations: 13.82 MB / 0.804 GB, free: 23.21 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003711/1.189, allocations: 2.197 MB / 0.8061 GB, free: 21.83 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001661/1.19, allocations: 1.181 MB / 0.8073 GB, free: 21.07 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00769/1.198, allocations: 5.62 MB / 0.8128 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/1.198, allocations: 51.88 kB / 0.8128 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007182/1.199, allocations: 165.9 kB / 0.813 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=158): time 5.761e-06/1.199, allocations: 0 / 0.813 GB, free: 15.23 MB / 0.5606 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