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.001403/0.001403, allocations: 74.27 kB / 21.24 MB, free: 0.5547 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.001527/0.001527, allocations: 161 kB / 24.5 MB, free: 3.715 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.423/1.423, allocations: 177.2 MB / 204.9 MB, free: 9 MB / 190.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.2036/0.2036, allocations: 32.81 MB / 294.1 MB, free: 20 kB / 270.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.00212/0.00212, allocations: 67.89 kB / 440.6 MB, free: 9.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2853, allocations: 65.44 MB / 0.4942 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.08238/0.3677, allocations: 81.76 MB / 0.574 GB, free: 7.066 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03633/0.404, allocations: 19.64 MB / 0.5932 GB, free: 3.383 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004057/0.408, allocations: 122.9 kB / 0.5933 GB, free: 3.262 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003494/0.4115, allocations: 0.9084 MB / 0.5942 GB, free: 2.348 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01216/0.4237, allocations: 3.892 MB / 0.598 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01467/0.4384, allocations: 5.95 MB / 0.6038 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01119/0.4496, allocations: 7.221 MB / 0.6109 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00328/0.4528, allocations: 1.599 MB / 0.6124 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1926/0.6454, allocations: 74.63 MB / 0.6853 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3357/0.9811, allocations: 31.91 MB / 0.7165 GB, free: 71.34 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001076/0.9822, allocations: 250.5 kB / 0.7167 GB, free: 71.33 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01405/0.9963, allocations: 5.425 MB / 0.722 GB, free: 70.38 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001955/0.9982, allocations: 1.106 MB / 0.7231 GB, free: 70.38 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002491/1.001, allocations: 1.252 MB / 0.7243 GB, free: 70.38 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009156/1.01, allocations: 5.4 MB / 0.7296 GB, free: 69.85 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.01, allocations: 0 / 0.7296 GB, free: 69.85 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.004e-06/1.01, allocations: 0 / 0.7296 GB, free: 69.85 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.81e-05/1.01, allocations: 0 / 0.7296 GB, free: 69.85 MB / 0.5762 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.008573/1.019, allocations: 3.519 MB / 0.733 GB, free: 68.31 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/1.019, allocations: 12.88 kB / 0.733 GB, free: 68.31 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009064/1.019, allocations: 323.2 kB / 0.7333 GB, free: 68.16 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002616/1.022, allocations: 1.582 MB / 0.7349 GB, free: 67.7 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001746/1.022, allocations: 269.5 kB / 0.7351 GB, free: 67.57 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002765/1.023, allocations: 183.7 kB / 0.7353 GB, free: 67.57 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004435/1.027, allocations: 3.658 MB / 0.7389 GB, free: 66.76 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.523e-05/1.027, allocations: 0 / 0.7389 GB, free: 66.76 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00022/1.027, allocations: 81.73 kB / 0.739 GB, free: 66.76 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002442/1.027, allocations: 254 kB / 0.7392 GB, free: 66.76 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004246/1.032, allocations: 3.093 MB / 0.7422 GB, free: 66.74 MB / 0.5762 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.01422/1.046, allocations: 9.764 MB / 0.7518 GB, free: 62.76 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003474/1.049, allocations: 2.096 MB / 0.7538 GB, free: 62.18 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00139/1.051, allocations: 1.107 MB / 0.7549 GB, free: 61.46 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005793/1.057, allocations: 3.236 MB / 0.7581 GB, free: 59.19 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/1.057, allocations: 46.94 kB / 0.7581 GB, free: 59.14 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004378/1.057, allocations: 131 kB / 0.7582 GB, free: 59.04 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=158): time 3.737e-06/1.057, allocations: 0 / 0.7582 GB, free: 59.04 MB / 0.5762 GB Notification: Performance of matching and sorting (n=259): time 0.5172/1.574, allocations: 54.99 MB / 0.8119 GB, free: 6.102 MB / 0.5762 GB Error: Jacobian StateSetJac0 contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of inlineWhenForInitialization (initialization): time 0.1437/1.718, allocations: 44.34 MB / 0.8552 GB, free: 9.562 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002488/1.72, allocations: 1.51 MB / 0.8567 GB, free: 8.047 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0005687/1.721, allocations: 69.7 kB / 0.8568 GB, free: 7.973 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009171/1.722, allocations: 1.104 MB / 0.8578 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.001165/1.723, allocations: 0.9174 MB / 0.8587 GB, free: 5.965 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001324/1.724, allocations: 0.5644 MB / 0.8593 GB, free: 5.395 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001276/1.724, allocations: 313 kB / 0.8596 GB, free: 5.086 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004411/1.729, allocations: 2.18 MB / 0.8617 GB, free: 2.898 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005148/1.734, allocations: 2.816 MB / 0.8645 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01247/1.747, allocations: 5.407 MB / 0.8697 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.76e-05/1.747, allocations: 4 kB / 0.8698 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of matching and sorting (n=359) (initialization): time 0.01755/1.764, allocations: 7.363 MB / 0.8769 GB, free: 2.887 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.137e-05/1.764, allocations: 16.11 kB / 0.877 GB, free: 2.871 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.604e-05/1.764, allocations: 19.94 kB / 0.877 GB, free: 2.852 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04741/1.812, allocations: 11.83 MB / 0.8885 GB, free: 7.043 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001709/1.813, allocations: 343.2 kB / 0.8889 GB, free: 6.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01988/1.833, allocations: 8.626 MB / 0.8973 GB, free: 14.06 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003822/1.837, allocations: 195.8 kB / 0.8975 GB, free: 13.87 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007792/1.838, allocations: 155.9 kB / 0.8976 GB, free: 13.71 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006027/1.844, allocations: 2.675 MB / 0.9002 GB, free: 11.04 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005242/1.849, allocations: 2.754 MB / 0.9029 GB, free: 8.023 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01237/1.861, allocations: 5.288 MB / 0.9081 GB, free: 2.516 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.027e-05/1.861, allocations: 7.844 kB / 0.9081 GB, free: 2.512 MB / 0.67 GB Notification: Performance of matching and sorting (n=359) (initialization_lambda0): time 0.01735/1.879, allocations: 7.109 MB / 0.915 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.05e-05/1.879, allocations: 12 kB / 0.915 GB, free: 11.45 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-05/1.879, allocations: 23.94 kB / 0.9151 GB, free: 11.42 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02738/1.906, allocations: 7.666 MB / 0.9226 GB, free: 3.75 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001991/1.908, allocations: 392 kB / 0.9229 GB, free: 3.391 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01823/1.927, allocations: 8.15 MB / 0.9309 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003588/1.93, allocations: 191.8 kB / 0.9311 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005838/1.931, allocations: 147.9 kB / 0.9312 GB, free: 10.87 MB / 0.7012 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.001103/1.932, allocations: 337 kB / 0.9315 GB, free: 10.56 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009187/1.933, allocations: 230.5 kB / 0.9318 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01783/1.951, allocations: 7.694 MB / 0.9393 GB, free: 2.633 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.521e-05/1.951, allocations: 36 kB / 0.9393 GB, free: 2.598 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/1.951, allocations: 0 / 0.9393 GB, free: 2.598 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01484/1.965, allocations: 6.773 MB / 0.9459 GB, free: 11.72 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3007/2.266, allocations: 12.84 MB / 0.9585 GB, free: 293.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.19e-05/2.266, allocations: 6.094 kB / 0.9585 GB, free: 293.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001158/2.267, allocations: 190.4 kB / 0.9586 GB, free: 293.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04257/2.31, allocations: 11.24 MB / 0.9696 GB, free: 293 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006261/2.31, allocations: 81.33 kB / 0.9697 GB, free: 293 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01683/2.327, allocations: 8.34 MB / 0.9778 GB, free: 289.6 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.1349/2.462, allocations: 41.17 MB / 1.018 GB, free: 275.3 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02661/2.489, allocations: 10.3 MB / 1.028 GB, free: 265.1 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002582/2.491, allocations: 0.7079 MB / 1.029 GB, free: 264.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008925/2.492, allocations: 62.98 kB / 1.029 GB, free: 264.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004006/2.496, allocations: 171.9 kB / 1.029 GB, free: 264.2 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007253/2.497, allocations: 206 kB / 1.029 GB, free: 264 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005186/2.498, allocations: 107.9 kB / 1.029 GB, free: 263.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00193/2.499, allocations: 0.9712 MB / 1.03 GB, free: 262.9 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/2.499, allocations: 0 / 1.03 GB, free: 262.9 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.01047/2.51, allocations: 2.915 MB / 1.033 GB, free: 260.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.008505/2.518, allocations: 2.127 MB / 1.035 GB, free: 258.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.02391/2.542, allocations: 8.804 MB / 1.044 GB, free: 249.4 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.477e-06/2.542, allocations: 4 kB / 1.044 GB, free: 249.4 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.008939/2.551, allocations: 3.016 MB / 1.047 GB, free: 246.4 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004815/2.556, allocations: 0.9576 MB / 1.048 GB, free: 245.5 MB / 0.7169 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4747:9-4747:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:836:5-836: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.172174014966004] 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.5656238429946825 2.573949932 1.561611064 Calling exit ...