Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_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_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001327/0.001327, allocations: 177.3 kB / 17.41 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.425/1.425, allocations: 205.4 MB / 223.6 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008855/0.0008854, allocations: 93.3 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3442/0.3442, allocations: 43.55 MB / 363.8 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003753/0.0003753, allocations: 12 kB / 432.6 MB, free: 5.883 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1268, allocations: 58.85 MB / 491.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.619/6.746, allocations: 3.165 GB / 3.644 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/6.746, allocations: 82.14 kB / 3.645 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.921/13.67, allocations: 2.311 GB / 5.955 GB, free: 55.46 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.304e-06/13.67, allocations: 0 / 5.955 GB, free: 55.46 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0003304/13.67, allocations: 60.22 kB / 5.955 GB, free: 55.45 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.01681/13.68, allocations: 3.879 MB / 5.959 GB, free: 53.48 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/13.68, allocations: 9.531 kB / 5.959 GB, free: 53.48 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002734/13.69, allocations: 309 kB / 5.959 GB, free: 53.34 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006969/13.69, allocations: 2.203 MB / 5.962 GB, free: 52.82 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002773/13.69, allocations: 219 kB / 5.962 GB, free: 52.75 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001036/13.7, allocations: 185.5 kB / 5.962 GB, free: 52.75 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007609/13.7, allocations: 3.351 MB / 5.965 GB, free: 52.27 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.563e-05/13.7, allocations: 15.06 kB / 5.965 GB, free: 52.26 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005749/13.7, allocations: 90.81 kB / 5.965 GB, free: 52.26 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00025/13.7, allocations: 196.6 kB / 5.965 GB, free: 52.25 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00557/13.71, allocations: 3.095 MB / 5.969 GB, free: 52.24 MB / 0.5417 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.01887/13.73, allocations: 12.32 MB / 5.981 GB, free: 47.12 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003634/13.73, allocations: 2.285 MB / 5.983 GB, free: 46.97 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001648/13.73, allocations: 1.196 MB / 5.984 GB, free: 46.95 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007442/13.74, allocations: 5.569 MB / 5.989 GB, free: 44.12 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/13.74, allocations: 49.22 kB / 5.989 GB, free: 44.09 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001042/13.74, allocations: 256 kB / 5.99 GB, free: 43.99 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=159): time 3.727e-06/13.74, allocations: 0 / 5.99 GB, free: 43.99 MB / 0.5417 GB Notification: Performance of matching and sorting (n=260): time 0.4661/14.21, allocations: 53.58 MB / 6.042 GB, free: 25.43 MB / 0.5417 GB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2136:10-2136:88:writable] Error: Internal error function optimizeJacobianMatrix failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2053:9-2053:79:writable] Error: Internal error function createJacobian failed Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 4 (tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {15 79,18 78} Warning: There are tearing variables with annotation attribute 'tearingSelect = never'. Use -d=tearingdump and -d=tearingdumpV for more information. Error: Jacobian StateSetJac7 contains non-linear components. This indicates a singular system or internal generation errors. Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 ($STATESET1.x) * Number of discrete variables: 4 (tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {15 77,19 107} [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4558:9-4558:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:762:5-762:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]