Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001441/0.001441, allocations: 77.16 kB / 19.93 MB, free: 1.781 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.001512/0.001512, allocations: 165.2 kB / 23.21 MB, free: 4.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.529/1.529, allocations: 158.6 MB / 185 MB, free: 6.422 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2193/0.2193, allocations: 32.37 MB / 269.6 MB, free: 4.676 MB / 254.1 MB " [Timeout remaining time 179] 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 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 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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 407.4 MB, free: 2.988 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.682e-05/4.882e-05, allocations: 2.281 kB / 407.4 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.3895/0.3896, allocations: 81.1 MB / 488.5 MB, free: 12.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03659/0.4262, allocations: 19.56 MB / 0.4961 GB, free: 12.58 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004072/0.4303, allocations: 119 kB / 0.4963 GB, free: 12.58 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003313/0.4336, allocations: 0.9319 MB / 0.4972 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01408/0.4477, allocations: 3.979 MB / 0.5011 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01889/0.4665, allocations: 6.649 MB / 0.5075 GB, free: 7.566 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01073/0.4773, allocations: 6.785 MB / 0.5142 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004269/0.4815, allocations: 1.55 MB / 0.5157 GB, free: 3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2198/0.7013, allocations: 75.19 MB / 0.5891 GB, free: 12.68 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.09631/0.7976, allocations: 31.69 MB / 0.6201 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001622/0.7993, allocations: 252 kB / 0.6203 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01954/0.8188, allocations: 5.427 MB / 0.6256 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.002943/0.8217, allocations: 1.152 MB / 0.6267 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.004474/0.8262, allocations: 1.063 MB / 0.6278 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01677/0.843, allocations: 5.721 MB / 0.6334 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.843, allocations: 0 / 0.6334 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.733e-06/0.843, allocations: 0 / 0.6334 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001762/0.8432, allocations: 0 / 0.6334 GB, free: 15.77 MB / 0.5137 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.01247/0.8556, allocations: 3.493 MB / 0.6368 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.729e-05/0.8557, allocations: 8.031 kB / 0.6368 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001737/0.8574, allocations: 322.1 kB / 0.6371 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004963/0.8624, allocations: 1.586 MB / 0.6386 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003367/0.8627, allocations: 266.5 kB / 0.6389 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007371/0.8635, allocations: 184 kB / 0.6391 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008803/0.8723, allocations: 3.656 MB / 0.6426 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-05/0.8724, allocations: 3.938 kB / 0.6426 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005314/0.8729, allocations: 83.95 kB / 0.6427 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004692/0.8734, allocations: 251.8 kB / 0.643 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006938/0.8803, allocations: 3.095 MB / 0.646 GB, free: 2.496 MB / 0.5137 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.02383/0.9041, allocations: 9.784 MB / 0.6555 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004923/0.9091, allocations: 2.086 MB / 0.6576 GB, free: 6.418 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002181/0.9112, allocations: 1.107 MB / 0.6586 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008798/0.92, allocations: 3.24 MB / 0.6618 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.669e-05/0.9201, allocations: 51.88 kB / 0.6619 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008121/0.9209, allocations: 126.9 kB / 0.662 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=158): time 8.496e-06/0.9209, allocations: 0 / 0.662 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of matching and sorting (n=259): time 0.8266/1.748, allocations: 55.95 MB / 0.7166 GB, free: 173.4 MB / 0.5294 GB Error: Jacobian StateSetJac0 contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of inlineWhenForInitialization (initialization): time 0.1387/1.886, allocations: 45.23 MB / 0.7608 GB, free: 127.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001937/1.888, allocations: 1.504 MB / 0.7623 GB, free: 126.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006863/1.889, allocations: 77.7 kB / 0.7623 GB, free: 126.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005351/1.889, allocations: 1.109 MB / 0.7634 GB, free: 125.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007864/1.89, allocations: 0.8986 MB / 0.7643 GB, free: 124.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001244/1.891, allocations: 0.5644 MB / 0.7648 GB, free: 124 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.9e-05/1.891, allocations: 301.1 kB / 0.7651 GB, free: 123.7 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004016/1.896, allocations: 2.176 MB / 0.7673 GB, free: 121.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004279/1.9, allocations: 2.822 MB / 0.77 GB, free: 118.4 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01136/1.911, allocations: 5.46 MB / 0.7753 GB, free: 112.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.259e-05/1.911, allocations: 4 kB / 0.7753 GB, free: 112.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=359) (initialization): time 0.01693/1.928, allocations: 7.383 MB / 0.7826 GB, free: 105.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.315e-05/1.928, allocations: 12 kB / 0.7826 GB, free: 105.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.22e-05/1.928, allocations: 20 kB / 0.7826 GB, free: 105.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04749/1.976, allocations: 12.25 MB / 0.7946 GB, free: 92.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001693/1.977, allocations: 347.4 kB / 0.7949 GB, free: 92.56 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0187/1.996, allocations: 8.645 MB / 0.8033 GB, free: 83.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004131/2, allocations: 199.8 kB / 0.8035 GB, free: 83.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008392/2.001, allocations: 151.9 kB / 0.8037 GB, free: 83.51 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005458/2.006, allocations: 2.682 MB / 0.8063 GB, free: 80.83 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004448/2.011, allocations: 2.759 MB / 0.809 GB, free: 77.81 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0111/2.022, allocations: 5.332 MB / 0.8142 GB, free: 72.18 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.038e-05/2.022, allocations: 8 kB / 0.8142 GB, free: 72.17 MB / 0.5294 GB Notification: Performance of matching and sorting (n=359) (initialization_lambda0): time 0.01634/2.038, allocations: 7.124 MB / 0.8211 GB, free: 64.99 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/2.038, allocations: 17 kB / 0.8212 GB, free: 64.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-05/2.038, allocations: 16 kB / 0.8212 GB, free: 64.96 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02613/2.065, allocations: 7.738 MB / 0.8287 GB, free: 57.21 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002091/2.067, allocations: 391.4 kB / 0.8291 GB, free: 56.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01677/2.083, allocations: 8.168 MB / 0.8371 GB, free: 48.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003745/2.087, allocations: 190.1 kB / 0.8373 GB, free: 48.42 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006772/2.088, allocations: 155.9 kB / 0.8374 GB, free: 48.27 MB / 0.5294 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.001202/2.089, allocations: 332.5 kB / 0.8377 GB, free: 47.95 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001044/2.09, allocations: 234.5 kB / 0.838 GB, free: 47.72 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01664/2.107, allocations: 7.713 MB / 0.8455 GB, free: 39.96 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.085e-05/2.107, allocations: 35.94 kB / 0.8455 GB, free: 39.93 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/2.107, allocations: 8 kB / 0.8455 GB, free: 39.92 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01375/2.121, allocations: 6.798 MB / 0.8522 GB, free: 33 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02901/2.15, allocations: 12.85 MB / 0.8647 GB, free: 20.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.993e-05/2.15, allocations: 0 / 0.8647 GB, free: 20.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001072/2.151, allocations: 191.8 kB / 0.8649 GB, free: 19.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04577/2.196, allocations: 11.67 MB / 0.8763 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008481/2.197, allocations: 79.95 kB / 0.8764 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2722/2.47, allocations: 8.369 MB / 0.8845 GB, free: 202.6 MB / 0.5294 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.1335/2.603, allocations: 42.13 MB / 0.9257 GB, free: 180.7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01821/2.621, allocations: 10.33 MB / 0.9358 GB, free: 170.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001875/2.623, allocations: 0.7147 MB / 0.9365 GB, free: 169.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005403/2.624, allocations: 52.06 kB / 0.9365 GB, free: 169.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002684/2.626, allocations: 174.1 kB / 0.9367 GB, free: 169.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005304/2.627, allocations: 210 kB / 0.9369 GB, free: 169.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000306/2.627, allocations: 108 kB / 0.937 GB, free: 169.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001405/2.629, allocations: 0.9828 MB / 0.938 GB, free: 168.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/2.629, allocations: 0 / 0.938 GB, free: 168.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008736/2.637, allocations: 2.901 MB / 0.9408 GB, free: 165.7 MB / 0.5294 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.009291/2.647, allocations: 2.255 MB / 0.943 GB, free: 163.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.02654/2.673, allocations: 8.819 MB / 0.9516 GB, free: 154.7 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.357e-06/2.673, allocations: 1.203 kB / 0.9516 GB, free: 154.7 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.009947/2.683, allocations: 3.011 MB / 0.9545 GB, free: 151.7 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005826/2.689, allocations: 0.9323 MB / 0.9555 GB, free: 150.8 MB / 0.5294 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4676:9-4676:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/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.595240280032158] 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.7012477479875088 2.711672349 1.865739891 Calling exit ...