Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001067/0.001072, allocations: 109.9 kB / 18.45 MB, free: 4.625 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.001036/0.001036, allocations: 185.9 kB / 19.38 MB, free: 3.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 222.9 MB / 243.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1976/0.1976, allocations: 44.18 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 59.91 kB / 471.3 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3213, allocations: 60.82 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.09311/0.4144, allocations: 90.15 MB / 0.6076 GB, free: 1.633 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02978/0.4443, allocations: 21.32 MB / 0.6285 GB, free: 12.26 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00231/0.4466, allocations: 87.44 kB / 0.6285 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002558/0.4492, allocations: 0.9317 MB / 0.6294 GB, free: 11.24 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009303/0.4585, allocations: 3.783 MB / 0.6331 GB, free: 7.438 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01245/0.471, allocations: 5.654 MB / 0.6387 GB, free: 1.785 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.008851/0.4799, allocations: 6.913 MB / 0.6454 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003004/0.4829, allocations: 1.821 MB / 0.6472 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.462/0.945, allocations: 74.91 MB / 0.7203 GB, free: 72.74 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.06739/1.012, allocations: 31.91 MB / 0.7515 GB, free: 63.16 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0009812/1.013, allocations: 245.3 kB / 0.7517 GB, free: 63.16 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01336/1.027, allocations: 6.089 MB / 0.7577 GB, free: 62.17 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001517/1.028, allocations: 1.074 MB / 0.7587 GB, free: 62.17 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002189/1.031, allocations: 1.483 MB / 0.7602 GB, free: 62.12 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.008551/1.039, allocations: 5.506 MB / 0.7656 GB, free: 61.64 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/1.039, allocations: 4 kB / 0.7656 GB, free: 61.64 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.784e-06/1.039, allocations: 0 / 0.7656 GB, free: 61.64 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.405e-05/1.039, allocations: 0 / 0.7656 GB, free: 61.64 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.007428/1.047, allocations: 3.475 MB / 0.769 GB, free: 59.77 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/1.047, allocations: 9.875 kB / 0.769 GB, free: 59.77 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000906/1.048, allocations: 315.3 kB / 0.7693 GB, free: 59.61 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002695/1.05, allocations: 1.668 MB / 0.7709 GB, free: 58.8 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001665/1.051, allocations: 212.1 kB / 0.7711 GB, free: 58.73 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003013/1.051, allocations: 184.3 kB / 0.7713 GB, free: 58.73 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004586/1.055, allocations: 3.29 MB / 0.7745 GB, free: 56.43 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.624e-05/1.055, allocations: 4.219 kB / 0.7745 GB, free: 56.43 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000228/1.056, allocations: 83.33 kB / 0.7746 GB, free: 56.41 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000249/1.056, allocations: 249.7 kB / 0.7748 GB, free: 56.2 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004278/1.06, allocations: 3.091 MB / 0.7778 GB, free: 54.14 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.01576/1.076, allocations: 13.83 MB / 0.7913 GB, free: 41.96 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003535/1.08, allocations: 2.196 MB / 0.7935 GB, free: 40.59 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001503/1.081, allocations: 1.185 MB / 0.7946 GB, free: 39.82 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006833/1.088, allocations: 5.61 MB / 0.8001 GB, free: 34.77 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/1.088, allocations: 56.56 kB / 0.8002 GB, free: 34.72 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004973/1.088, allocations: 167.1 kB / 0.8003 GB, free: 34.58 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=158): time 4.047e-06/1.089, allocations: 4 kB / 0.8003 GB, free: 34.58 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