Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_cpp_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_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001075/0.001075, allocations: 196.4 kB / 16.76 MB, free: 5.047 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 226.5 MB / 244.1 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009306/0.0009305, allocations: 92.31 kB / 296.1 MB, free: 6.672 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3286/0.3286, allocations: 44.82 MB / 392.9 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002795/0.0002801, allocations: 8 kB / 465.9 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3154, allocations: 62.96 MB / 0.5165 GB, free: 37.08 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.09339/0.4088, allocations: 86.85 MB / 0.6013 GB, free: 2.414 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.03001/0.4389, allocations: 20.57 MB / 0.6214 GB, free: 13.81 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003555/0.4425, allocations: 107.1 kB / 0.6215 GB, free: 13.7 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003015/0.4455, allocations: 0.7725 MB / 0.6223 GB, free: 12.93 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01023/0.4558, allocations: 3.646 MB / 0.6258 GB, free: 9.266 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01134/0.4671, allocations: 4.473 MB / 0.6302 GB, free: 4.797 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.01071/0.4779, allocations: 8.639 MB / 0.6386 GB, free: 12.13 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00342/0.4813, allocations: 1.538 MB / 0.6401 GB, free: 10.57 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.4462/0.9275, allocations: 125.8 MB / 0.763 GB, free: 1.766 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.08034/1.008, allocations: 55.16 MB / 0.8169 GB, free: 448 kB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0009685/1.009, allocations: 124 kB / 0.817 GB, free: 324 kB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01488/1.024, allocations: 8.23 MB / 0.8251 GB, free: 9.305 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.001889/1.026, allocations: 0.9464 MB / 0.826 GB, free: 8.648 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.002984/1.029, allocations: 1.324 MB / 0.8273 GB, free: 7.973 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.006014/1.035, allocations: 3.934 MB / 0.8311 GB, free: 4.754 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/1.035, allocations: 3.844 kB / 0.8311 GB, free: 4.754 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.473e-06/1.035, allocations: 0 / 0.8311 GB, free: 4.754 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001347/1.035, allocations: 0 / 0.8311 GB, free: 4.754 MB / 0.5417 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.007707/1.043, allocations: 2.989 MB / 0.834 GB, free: 1.988 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/1.043, allocations: 12.02 kB / 0.834 GB, free: 1.977 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000902/1.044, allocations: 316.1 kB / 0.8343 GB, free: 1.668 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002532/1.046, allocations: 1.562 MB / 0.8359 GB, free: 456 kB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001624/1.046, allocations: 214.2 kB / 0.8361 GB, free: 296 kB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002686/1.047, allocations: 181.1 kB / 0.8362 GB, free: 176 kB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004765/1.051, allocations: 3.273 MB / 0.8394 GB, free: 13.77 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.129e-05/1.051, allocations: 3.094 kB / 0.8394 GB, free: 13.77 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002196/1.052, allocations: 86.58 kB / 0.8395 GB, free: 13.74 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000295/1.052, allocations: 255.9 kB / 0.8398 GB, free: 13.52 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004725/1.057, allocations: 3.089 MB / 0.8428 GB, free: 11.47 MB / 0.5574 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.01741/1.074, allocations: 13.85 MB / 0.8563 GB, free: 15.28 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003677/1.078, allocations: 2.196 MB / 0.8585 GB, free: 13.9 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001649/1.079, allocations: 1.181 MB / 0.8596 GB, free: 13.14 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007879/1.087, allocations: 5.631 MB / 0.8651 GB, free: 8.086 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.632e-05/1.087, allocations: 51.88 kB / 0.8652 GB, free: 8.039 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008672/1.088, allocations: 238.5 kB / 0.8654 GB, free: 7.824 MB / 0.573 GB Notification: Performance of pre-optimization done (n=158): time 7.785e-06/1.088, allocations: 0 / 0.8654 GB, free: 7.824 MB / 0.573 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.294642565 + 4181.885502948851 * (-298.15 + radiator.mediums[1].T) + 0.0009260700016004721 * (-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:7938:5-7938:89:writable] Error: Internal error Transformation module sort components failed