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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 179.2 kB / 18.09 MB, free: 3.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 223.3 MB / 242.1 MB, free: 9.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008737/0.000874, allocations: 99.58 kB / 293.3 MB, free: 10.6 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3405/0.3405, allocations: 44.14 MB / 388.5 MB, free: 38.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003586/0.0003589, allocations: 8 kB / 461.1 MB, free: 1.348 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.3793, allocations: 61.88 MB / 0.5107 GB, free: 37.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.552/7.931, allocations: 3.171 GB / 3.682 GB, free: 93.35 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/7.932, allocations: 87.94 kB / 3.682 GB, free: 93.27 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 8.141/16.07, allocations: 2.321 GB / 6.003 GB, free: 45.3 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.685e-06/16.07, allocations: 0 / 6.003 GB, free: 45.3 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0003617/16.07, allocations: 66.89 kB / 6.003 GB, free: 45.28 MB / 0.5573 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.01749/16.09, allocations: 3.87 MB / 6.007 GB, free: 43.05 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/16.09, allocations: 18.52 kB / 6.007 GB, free: 43.04 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002574/16.09, allocations: 314.7 kB / 6.007 GB, free: 42.89 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007676/16.1, allocations: 2.196 MB / 6.009 GB, free: 41.81 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003216/16.1, allocations: 222.4 kB / 6.01 GB, free: 41.68 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001228/16.1, allocations: 185 kB / 6.01 GB, free: 41.61 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009919/16.11, allocations: 3.357 MB / 6.013 GB, free: 40.1 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001389/16.11, allocations: 11.78 kB / 6.013 GB, free: 40.09 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001165/16.11, allocations: 85.42 kB / 6.013 GB, free: 40.03 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003703/16.11, allocations: 202.3 kB / 6.013 GB, free: 40 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00691/16.12, allocations: 3.089 MB / 6.016 GB, free: 38.94 MB / 0.5573 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.0241/16.15, allocations: 12.34 MB / 6.028 GB, free: 31.18 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003933/16.15, allocations: 2.272 MB / 6.031 GB, free: 30.22 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001779/16.15, allocations: 1.199 MB / 6.032 GB, free: 29.3 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008803/16.16, allocations: 5.565 MB / 6.037 GB, free: 23.86 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.727e-05/16.16, allocations: 47.88 kB / 6.037 GB, free: 23.8 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00136/16.16, allocations: 253.9 kB / 6.037 GB, free: 23.55 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=159): time 1.21e-05/16.16, allocations: 0 / 6.037 GB, free: 23.55 MB / 0.5573 GB Notification: Performance of matching and sorting (n=260): time 0.858/17.02, allocations: 53.57 MB / 6.09 GB, free: 43.74 MB / 0.5573 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]