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.001373/0.001373, allocations: 112.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001503/0.001503, allocations: 206.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2047/0.2047, allocations: 46.1 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 75.86 kB / 482 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3261, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.08981/0.416, allocations: 90.47 MB / 0.62 GB, free: 7 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03036/0.4464, allocations: 21.36 MB / 0.6409 GB, free: 1.586 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002707/0.4491, allocations: 83.5 kB / 0.641 GB, free: 1.504 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003008/0.4522, allocations: 0.9395 MB / 0.6419 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009733/0.462, allocations: 3.739 MB / 0.6455 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0131/0.4751, allocations: 5.677 MB / 0.6511 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008445/0.4835, allocations: 6.929 MB / 0.6579 GB, free: 180 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00296/0.4865, allocations: 1.817 MB / 0.6596 GB, free: 14.33 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4955/0.982, allocations: 74.98 MB / 0.7328 GB, free: 59.15 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.06163/1.044, allocations: 31.92 MB / 0.764 GB, free: 49.44 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001479/1.045, allocations: 245.5 kB / 0.7643 GB, free: 49.44 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01476/1.06, allocations: 6.121 MB / 0.7702 GB, free: 48.44 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002193/1.062, allocations: 1.066 MB / 0.7713 GB, free: 48.44 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.003679/1.066, allocations: 1.493 MB / 0.7727 GB, free: 48.39 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01104/1.077, allocations: 5.507 MB / 0.7781 GB, free: 45.02 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/1.077, allocations: 7.984 kB / 0.7781 GB, free: 45.01 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.112e-06/1.077, allocations: 0 / 0.7781 GB, free: 45.01 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001687/1.077, allocations: 0 / 0.7781 GB, free: 45.01 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.01038/1.088, allocations: 3.494 MB / 0.7815 GB, free: 41.98 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/1.088, allocations: 8.031 kB / 0.7815 GB, free: 41.97 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001194/1.089, allocations: 304.5 kB / 0.7818 GB, free: 41.67 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002695/1.092, allocations: 1.661 MB / 0.7834 GB, free: 40.34 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001613/1.092, allocations: 222.4 kB / 0.7837 GB, free: 40.18 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003072/1.092, allocations: 182.6 kB / 0.7838 GB, free: 40.06 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004525/1.097, allocations: 3.284 MB / 0.787 GB, free: 37.64 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.472e-05/1.097, allocations: 3.469 kB / 0.787 GB, free: 37.64 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002123/1.097, allocations: 83.5 kB / 0.7871 GB, free: 37.62 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002511/1.097, allocations: 253.7 kB / 0.7874 GB, free: 37.41 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004219/1.101, allocations: 3.096 MB / 0.7904 GB, free: 35.35 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.01578/1.117, allocations: 13.81 MB / 0.8039 GB, free: 23.18 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003593/1.121, allocations: 2.208 MB / 0.806 GB, free: 21.79 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001639/1.122, allocations: 1.181 MB / 0.8072 GB, free: 21.04 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00723/1.13, allocations: 5.625 MB / 0.8127 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/1.13, allocations: 50.97 kB / 0.8127 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000759/1.131, allocations: 165.5 kB / 0.8129 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=158): time 6.252e-06/1.131, allocations: 0 / 0.8129 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