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.001577/0.001581, allocations: 181.6 kB / 16.39 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.145/2.145, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001131/0.001131, allocations: 92.38 kB / 270.9 MB, free: 8.375 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.5035/0.5035, allocations: 43.56 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005064/0.0005064, allocations: 19.98 kB / 431.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1271, allocations: 58.85 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.459/9.586, allocations: 3.164 GB / 3.643 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/9.587, allocations: 84.72 kB / 3.643 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 13.39/22.98, allocations: 3.099 GB / 6.742 GB, free: 43.6 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.605e-06/22.98, allocations: 0 / 6.742 GB, free: 43.6 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002761/22.98, allocations: 64.33 kB / 6.742 GB, free: 43.59 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.01848/23, allocations: 3.912 MB / 6.745 GB, free: 41.59 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/23, allocations: 7.281 kB / 6.745 GB, free: 41.59 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002348/23, allocations: 312.3 kB / 6.746 GB, free: 41.45 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008368/23.01, allocations: 2.09 MB / 6.748 GB, free: 40.92 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002631/23.01, allocations: 218.8 kB / 6.748 GB, free: 40.85 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008035/23.01, allocations: 187.7 kB / 6.748 GB, free: 40.85 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00886/23.02, allocations: 3.333 MB / 6.751 GB, free: 40.34 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.832e-05/23.02, allocations: 6.594 kB / 6.751 GB, free: 40.33 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004309/23.02, allocations: 83.86 kB / 6.752 GB, free: 40.33 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003658/23.02, allocations: 207.1 kB / 6.752 GB, free: 40.32 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009009/23.03, allocations: 3.087 MB / 6.755 GB, free: 40.07 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.03381/23.07, allocations: 12.46 MB / 6.767 GB, free: 32.4 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006947/23.07, allocations: 2.29 MB / 6.769 GB, free: 31.43 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01378/23.09, allocations: 5.647 MB / 6.775 GB, free: 26.3 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.312e-05/23.09, allocations: 51.83 kB / 6.775 GB, free: 26.24 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001674/23.09, allocations: 258.3 kB / 6.775 GB, free: 26.02 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=161): time 5.911e-06/23.09, allocations: 0 / 6.775 GB, free: 26.02 MB / 0.5417 GB Notification: Performance of matching and sorting (n=263): time 1.48/24.57, allocations: 52.17 MB / 6.826 GB, free: 36.48 MB / 0.5417 GB Error: Jacobian StateSetJac0 contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of inlineWhenForInitialization (initialization): time 0.3333/24.9, allocations: 51.83 MB / 6.876 GB, free: 30.66 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003846/24.9, allocations: 1.69 MB / 6.878 GB, free: 30.45 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0009239/24.91, allocations: 68.11 kB / 6.878 GB, free: 30.42 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009422/24.91, allocations: 0.9848 MB / 6.879 GB, free: 30.02 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001605/24.91, allocations: 0.8777 MB / 6.88 GB, free: 29.52 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006132/24.91, allocations: 57.12 kB / 6.88 GB, free: 29.52 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002156/24.91, allocations: 427.6 kB / 6.88 GB, free: 29.2 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007219/24.92, allocations: 2.201 MB / 6.883 GB, free: 29.2 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007723/24.92, allocations: 2.784 MB / 6.885 GB, free: 28.6 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009734/24.93, allocations: 2.649 MB / 6.888 GB, free: 28.55 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.573e-05/24.93, allocations: 7.906 kB / 6.888 GB, free: 28.55 MB / 0.5417 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.02594/24.96, allocations: 7.432 MB / 6.895 GB, free: 28.35 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001415/24.96, allocations: 6.102 MB / 6.901 GB, free: 21.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.536e-05/24.96, allocations: 14.03 kB / 6.901 GB, free: 21.99 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08528/25.05, allocations: 12.2 MB / 6.913 GB, free: 21.83 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002774/25.05, allocations: 341.7 kB / 6.913 GB, free: 21.83 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02979/25.08, allocations: 8.759 MB / 6.922 GB, free: 20.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006562/25.09, allocations: 276.2 kB / 6.922 GB, free: 20.65 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007095/25.09, allocations: 153.8 kB / 6.922 GB, free: 20.65 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/25.09, allocations: 7.625 kB / 6.922 GB, free: 20.65 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0237/25.11, allocations: 7.107 MB / 6.929 GB, free: 20.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-05/25.11, allocations: 14 kB / 6.929 GB, free: 20.29 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04181/25.15, allocations: 7.18 MB / 6.936 GB, free: 19.21 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003346/25.16, allocations: 387.9 kB / 6.937 GB, free: 19.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02683/25.18, allocations: 8.217 MB / 6.945 GB, free: 31.92 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00545/25.19, allocations: 282 kB / 6.945 GB, free: 31.86 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005974/25.19, allocations: 150 kB / 6.945 GB, free: 31.84 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * 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 {16 79,19 78} Notification: Performance of prepare postOptimizeDAE: time 0.002489/25.19, allocations: 0.7615 MB / 6.946 GB, free: 31.4 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009829/25.19, allocations: 247.6 kB / 6.946 GB, free: 31.27 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02822/25.22, allocations: 8.112 MB / 6.954 GB, free: 28.46 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-05/25.22, allocations: 33.92 kB / 6.954 GB, free: 28.46 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/25.22, allocations: 0 / 6.954 GB, free: 28.46 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02497/25.25, allocations: 7.13 MB / 6.961 GB, free: 25.79 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04435/25.29, allocations: 14.06 MB / 6.975 GB, free: 20.28 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.981e-05/25.29, allocations: 5.031 kB / 6.975 GB, free: 20.28 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001723/25.29, allocations: 195.8 kB / 6.975 GB, free: 20.27 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.08334/25.38, allocations: 11.77 MB / 6.986 GB, free: 18.83 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008766/25.38, allocations: 84.75 kB / 6.987 GB, free: 18.76 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02869/25.41, allocations: 8.466 MB / 6.995 GB, free: 11.59 MB / 0.5573 GB Error: Jacobian StateSetJac10 contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.8799/26.28, allocations: 60.91 MB / 7.054 GB, free: 46.59 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03533/26.32, allocations: 10.71 MB / 7.065 GB, free: 46.06 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003357/26.32, allocations: 0.8554 MB / 7.066 GB, free: 45.83 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001059/26.32, allocations: 59.73 kB / 7.066 GB, free: 45.83 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005541/26.33, allocations: 265.6 kB / 7.066 GB, free: 45.82 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008045/26.33, allocations: 205.6 kB / 7.066 GB, free: 45.81 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005542/26.33, allocations: 112 kB / 7.066 GB, free: 45.81 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.003037/26.33, allocations: 1.278 MB / 7.067 GB, free: 45.67 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8.81e-07/26.33, allocations: 1.375 kB / 7.067 GB, free: 45.67 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01534/26.35, allocations: 3.208 MB / 7.071 GB, free: 45.67 MB / 0.5573 GB 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 (96): * Single equations (assignments): 90 * 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 78,19 108} Notification: Performance of Backend phase and start with SimCode phase: time 0.01475/26.37, allocations: 2.55 MB / 7.073 GB, free: 45.42 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0433/26.41, allocations: 9.245 MB / 7.082 GB, free: 45.21 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.138e-05/26.41, allocations: 6.625 kB / 7.082 GB, free: 45.21 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01625/26.42, allocations: 3.252 MB / 7.085 GB, free: 45.12 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007879/26.43, allocations: 0.9112 MB / 7.086 GB, free: 45.11 MB / 0.5573 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4493:9-4493:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:748:5-748:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]