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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 213.9 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.473/1.473, allocations: 230.6 MB / 257.5 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2208/0.2208, allocations: 44.93 MB / 358.8 MB, free: 6.078 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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=5004,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") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 71.89 kB / 0.4935 GB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3416, allocations: 65.48 MB / 0.5575 GB, free: 7.375 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.1062/0.4478, allocations: 81.75 MB / 0.6373 GB, free: 5.348 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03423/0.4821, allocations: 19.63 MB / 0.6565 GB, free: 1.676 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003036/0.4851, allocations: 118.9 kB / 0.6566 GB, free: 1.559 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003425/0.4885, allocations: 0.9239 MB / 0.6575 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01211/0.5006, allocations: 3.881 MB / 0.6613 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01551/0.5161, allocations: 5.949 MB / 0.6671 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01054/0.5267, allocations: 7.229 MB / 0.6742 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00317/0.5298, allocations: 1.595 MB / 0.6757 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5148/1.045, allocations: 74.43 MB / 0.7484 GB, free: 57.5 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.05864/1.103, allocations: 31.83 MB / 0.7795 GB, free: 48.16 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001035/1.104, allocations: 243.2 kB / 0.7797 GB, free: 48.16 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01218/1.117, allocations: 5.408 MB / 0.785 GB, free: 47.21 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001922/1.118, allocations: 1.107 MB / 0.7861 GB, free: 47.21 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002099/1.121, allocations: 1.251 MB / 0.7873 GB, free: 47.21 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01145/1.132, allocations: 5.391 MB / 0.7926 GB, free: 46.13 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.922e-06/1.132, allocations: 0 / 0.7926 GB, free: 46.13 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.345e-06/1.132, allocations: 0 / 0.7926 GB, free: 46.13 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.516e-05/1.132, allocations: 6.844 kB / 0.7926 GB, free: 46.12 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.008528/1.141, allocations: 3.506 MB / 0.796 GB, free: 44.05 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/1.141, allocations: 8.031 kB / 0.796 GB, free: 44.04 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009404/1.142, allocations: 324.3 kB / 0.7963 GB, free: 43.72 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003121/1.145, allocations: 1.578 MB / 0.7979 GB, free: 42.49 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001892/1.145, allocations: 271.3 kB / 0.7981 GB, free: 42.27 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000277/1.145, allocations: 182.1 kB / 0.7983 GB, free: 42.15 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004495/1.15, allocations: 3.662 MB / 0.8019 GB, free: 39.27 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.753e-05/1.15, allocations: 9.844 kB / 0.8019 GB, free: 39.27 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002078/1.15, allocations: 80.25 kB / 0.8019 GB, free: 39.25 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002365/1.15, allocations: 252 kB / 0.8022 GB, free: 39.04 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004196/1.154, allocations: 3.093 MB / 0.8052 GB, free: 36.98 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.01494/1.169, allocations: 9.766 MB / 0.8147 GB, free: 29.36 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003497/1.173, allocations: 2.088 MB / 0.8168 GB, free: 28.04 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001518/1.174, allocations: 1.106 MB / 0.8179 GB, free: 27.32 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006912/1.181, allocations: 3.241 MB / 0.821 GB, free: 24.81 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.975e-05/1.181, allocations: 51.88 kB / 0.8211 GB, free: 24.75 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006273/1.182, allocations: 119 kB / 0.8212 GB, free: 24.63 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=158): time 4.348e-06/1.182, allocations: 0 / 0.8212 GB, free: 24.63 MB / 0.5606 GB Notification: Performance of matching and sorting (n=259): time 0.5276/1.71, allocations: 54.99 MB / 0.8749 GB, free: 1.742 MB / 0.5919 GB Error: Jacobian StateSetJac0 contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of inlineWhenForInitialization (initialization): time 0.1553/1.865, allocations: 44.32 MB / 0.9182 GB, free: 5.223 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002642/1.867, allocations: 1.51 MB / 0.9197 GB, free: 3.707 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0006428/1.868, allocations: 65.7 kB / 0.9197 GB, free: 3.637 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001/1.869, allocations: 1.114 MB / 0.9208 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001287/1.87, allocations: 0.9062 MB / 0.9217 GB, free: 1.629 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001469/1.872, allocations: 0.5754 MB / 0.9223 GB, free: 1.051 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001244/1.872, allocations: 309.2 kB / 0.9225 GB, free: 0.7461 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004681/1.877, allocations: 2.18 MB / 0.9247 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005328/1.882, allocations: 2.815 MB / 0.9274 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01225/1.894, allocations: 5.42 MB / 0.9327 GB, free: 5.852 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.931e-05/1.894, allocations: 4 kB / 0.9327 GB, free: 5.848 MB / 0.6544 GB Notification: Performance of matching and sorting (n=359) (initialization): time 0.01696/1.911, allocations: 7.36 MB / 0.9399 GB, free: 14.54 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.384e-05/1.911, allocations: 15.94 kB / 0.9399 GB, free: 14.53 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.926e-05/1.911, allocations: 20 kB / 0.9399 GB, free: 14.51 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04875/1.96, allocations: 11.83 MB / 0.9515 GB, free: 2.707 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001722/1.962, allocations: 355.7 kB / 0.9518 GB, free: 2.383 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02016/1.982, allocations: 8.618 MB / 0.9602 GB, free: 9.719 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0037/1.986, allocations: 195.8 kB / 0.9604 GB, free: 9.527 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008284/1.986, allocations: 147.9 kB / 0.9606 GB, free: 9.383 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006543/1.993, allocations: 2.684 MB / 0.9632 GB, free: 6.691 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005289/1.998, allocations: 2.758 MB / 0.9659 GB, free: 3.68 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01247/2.011, allocations: 5.286 MB / 0.9711 GB, free: 14.17 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.633e-05/2.011, allocations: 4 kB / 0.9711 GB, free: 14.17 MB / 0.7012 GB Notification: Performance of matching and sorting (n=359) (initialization_lambda0): time 0.01788/2.029, allocations: 7.111 MB / 0.978 GB, free: 7.113 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/2.029, allocations: 15.94 kB / 0.978 GB, free: 7.098 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-05/2.029, allocations: 20.91 kB / 0.978 GB, free: 7.078 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02773/2.057, allocations: 7.675 MB / 0.9855 GB, free: 15.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002014/2.059, allocations: 389.2 kB / 0.9859 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01851/2.077, allocations: 8.145 MB / 0.9939 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003618/2.081, allocations: 194.3 kB / 0.994 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005967/2.081, allocations: 147.9 kB / 0.9942 GB, free: 6.52 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 4 (tank.inFlow[2],tank.inFlow[1],tank.regularFlow[2],tank.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(15,79), (18,78)} Notification: Performance of prepare postOptimizeDAE: time 0.001062/2.082, allocations: 336.5 kB / 0.9945 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008585/2.083, allocations: 234.5 kB / 0.9947 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3695/2.453, allocations: 7.687 MB / 1.002 GB, free: 317.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.823e-05/2.453, allocations: 33.8 kB / 1.002 GB, free: 317.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/2.453, allocations: 0 / 1.002 GB, free: 317.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01203/2.465, allocations: 6.78 MB / 1.009 GB, free: 315.6 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02263/2.487, allocations: 12.81 MB / 1.021 GB, free: 310.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/2.487, allocations: 0 / 1.021 GB, free: 310.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008676/2.488, allocations: 192.1 kB / 1.022 GB, free: 310.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04063/2.529, allocations: 11.25 MB / 1.033 GB, free: 301.4 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006639/2.53, allocations: 87.94 kB / 1.033 GB, free: 301.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01378/2.543, allocations: 8.344 MB / 1.041 GB, free: 293.1 MB / 0.7169 GB Warning: There are tearing variables with annotation attribute '__OpenModelica_tearingSelect = TearingSelect.never'. Use -d=tearingdump and -d=tearingdumpV for more information. Error: Jacobian StateSetJac9 contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1141/2.658, allocations: 41.18 MB / 1.081 GB, free: 252.4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01793/2.675, allocations: 10.3 MB / 1.091 GB, free: 242.1 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002395/2.678, allocations: 0.7176 MB / 1.092 GB, free: 241.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000553/2.678, allocations: 48 kB / 1.092 GB, free: 241.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002565/2.681, allocations: 167.9 kB / 1.092 GB, free: 241.1 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004217/2.681, allocations: 213.9 kB / 1.092 GB, free: 240.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002676/2.682, allocations: 111.9 kB / 1.092 GB, free: 240.8 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001161/2.683, allocations: 0.9751 MB / 1.093 GB, free: 239.9 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/2.683, allocations: 4 kB / 1.093 GB, free: 239.8 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.007746/2.691, allocations: 2.911 MB / 1.096 GB, free: 237.2 MB / 0.7169 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 (93): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(15,77), (19,105)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008373/2.699, allocations: 2.116 MB / 1.098 GB, free: 235.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.02537/2.724, allocations: 8.81 MB / 1.107 GB, free: 226.4 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/2.724, allocations: 0 / 1.107 GB, free: 226.4 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.008758/2.733, allocations: 3.019 MB / 1.11 GB, free: 223.3 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004716/2.738, allocations: 0.9443 MB / 1.111 GB, free: 222.4 MB / 0.7169 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4734:9-4734:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:823:5-823:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 5.366091173142195] Failed to read output from testmodel.py, exit status != 0: ['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'] 2.7476357966661453 2.7564988169999998 1.62188676 Calling exit ...