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.001874/0.001874, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002445/0.002445, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.462/1.462, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.2237/0.2237, allocations: 44.94 MB / 359.6 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.002096/0.002096, allocations: 71.89 kB / 0.4943 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.3928, allocations: 65.47 MB / 0.5582 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.1121/0.5049, allocations: 81.76 MB / 0.6381 GB, free: 5.453 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03716/0.5421, allocations: 19.63 MB / 0.6572 GB, free: 1.781 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003147/0.5452, allocations: 122.9 kB / 0.6573 GB, free: 1.66 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003577/0.5488, allocations: 0.9084 MB / 0.6582 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01262/0.5614, allocations: 3.892 MB / 0.662 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01699/0.5784, allocations: 5.957 MB / 0.6678 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01213/0.5906, allocations: 7.217 MB / 0.6749 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00399/0.5946, allocations: 1.607 MB / 0.6765 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4767/1.071, allocations: 74.42 MB / 0.7491 GB, free: 57.66 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.05868/1.13, allocations: 31.83 MB / 0.7802 GB, free: 48.32 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001112/1.131, allocations: 244.7 kB / 0.7804 GB, free: 48.32 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01212/1.143, allocations: 5.412 MB / 0.7857 GB, free: 47.37 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002007/1.145, allocations: 1.101 MB / 0.7868 GB, free: 47.37 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002224/1.147, allocations: 1.255 MB / 0.788 GB, free: 47.36 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.009393/1.157, allocations: 5.396 MB / 0.7933 GB, free: 46.29 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.157, allocations: 2.562 kB / 0.7933 GB, free: 46.29 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.913e-06/1.157, allocations: 0 / 0.7933 GB, free: 46.29 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.939e-05/1.157, allocations: 0 / 0.7933 GB, free: 46.29 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.008684/1.166, allocations: 3.51 MB / 0.7967 GB, free: 44.26 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/1.166, allocations: 8.031 kB / 0.7967 GB, free: 44.25 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009843/1.167, allocations: 320.3 kB / 0.797 GB, free: 43.94 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00307/1.17, allocations: 1.588 MB / 0.7986 GB, free: 42.7 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001746/1.17, allocations: 266.8 kB / 0.7988 GB, free: 42.48 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003/1.17, allocations: 185.8 kB / 0.799 GB, free: 42.36 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004519/1.175, allocations: 3.655 MB / 0.8026 GB, free: 39.48 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.692e-05/1.175, allocations: 3.75 kB / 0.8026 GB, free: 39.48 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002188/1.175, allocations: 81.75 kB / 0.8027 GB, free: 39.46 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002364/1.175, allocations: 251.8 kB / 0.8029 GB, free: 39.25 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004257/1.179, allocations: 3.092 MB / 0.8059 GB, free: 37.19 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.01539/1.195, allocations: 9.779 MB / 0.8155 GB, free: 29.56 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003535/1.198, allocations: 2.081 MB / 0.8175 GB, free: 28.25 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001539/1.2, allocations: 1.107 MB / 0.8186 GB, free: 27.52 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00643/1.206, allocations: 3.239 MB / 0.8218 GB, free: 24.98 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/1.206, allocations: 51.88 kB / 0.8218 GB, free: 24.92 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005422/1.207, allocations: 127 kB / 0.8219 GB, free: 24.79 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=158): time 4.047e-06/1.207, allocations: 0 / 0.8219 GB, free: 24.79 MB / 0.5606 GB Notification: Performance of matching and sorting (n=259): time 0.5122/1.719, allocations: 54.98 MB / 0.8756 GB, free: 1.91 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.15/1.869, allocations: 44.34 MB / 0.9189 GB, free: 5.383 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00275/1.872, allocations: 1.514 MB / 0.9204 GB, free: 3.863 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0006616/1.873, allocations: 69.7 kB / 0.9205 GB, free: 3.789 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009698/1.873, allocations: 1.103 MB / 0.9215 GB, free: 2.684 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001342/1.875, allocations: 0.9152 MB / 0.9224 GB, free: 1.781 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001704/1.877, allocations: 0.5644 MB / 0.923 GB, free: 1.211 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001306/1.877, allocations: 313.2 kB / 0.9233 GB, free: 0.9023 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004758/1.881, allocations: 2.173 MB / 0.9254 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00575/1.887, allocations: 2.823 MB / 0.9282 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01267/1.9, allocations: 5.42 MB / 0.9335 GB, free: 6.012 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.431e-05/1.9, allocations: 4 kB / 0.9335 GB, free: 6.008 MB / 0.6544 GB Notification: Performance of matching and sorting (n=359) (initialization): time 0.01836/1.918, allocations: 7.359 MB / 0.9407 GB, free: 14.7 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.407e-05/1.918, allocations: 12 kB / 0.9407 GB, free: 14.69 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.069e-05/1.918, allocations: 20 kB / 0.9407 GB, free: 14.67 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0468/1.965, allocations: 11.82 MB / 0.9522 GB, free: 2.863 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001713/1.967, allocations: 343.7 kB / 0.9526 GB, free: 2.551 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01989/1.987, allocations: 8.63 MB / 0.961 GB, free: 9.879 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00367/1.99, allocations: 195.5 kB / 0.9612 GB, free: 9.691 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006706/1.991, allocations: 155.9 kB / 0.9613 GB, free: 9.539 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006097/1.997, allocations: 2.672 MB / 0.9639 GB, free: 6.859 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005399/2.003, allocations: 2.756 MB / 0.9666 GB, free: 3.848 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01235/2.015, allocations: 5.292 MB / 0.9718 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.632e-05/2.015, allocations: 8 kB / 0.9718 GB, free: 14.33 MB / 0.7012 GB Notification: Performance of matching and sorting (n=359) (initialization_lambda0): time 0.01718/2.032, allocations: 7.113 MB / 0.9787 GB, free: 7.273 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.193e-05/2.032, allocations: 14.81 kB / 0.9788 GB, free: 7.262 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.722e-05/2.032, allocations: 16.88 kB / 0.9788 GB, free: 7.246 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02752/2.06, allocations: 7.667 MB / 0.9863 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002158/2.062, allocations: 392.9 kB / 0.9866 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01875/2.081, allocations: 8.151 MB / 0.9946 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003847/2.084, allocations: 195.8 kB / 0.9948 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006252/2.085, allocations: 147.3 kB / 0.9949 GB, free: 6.688 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.001133/2.086, allocations: 334.9 kB / 0.9952 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009387/2.087, allocations: 238.5 kB / 0.9955 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3277/2.415, allocations: 7.692 MB / 1.003 GB, free: 317.3 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.615e-05/2.415, allocations: 34.06 kB / 1.003 GB, free: 317.3 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/2.415, allocations: 0.6562 kB / 1.003 GB, free: 317.3 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01289/2.428, allocations: 6.779 MB / 1.01 GB, free: 315.3 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02298/2.451, allocations: 12.82 MB / 1.022 GB, free: 310.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.276e-05/2.451, allocations: 2.719 kB / 1.022 GB, free: 310.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008398/2.452, allocations: 188.1 kB / 1.022 GB, free: 310.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03877/2.49, allocations: 11.25 MB / 1.033 GB, free: 301.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007726/2.491, allocations: 83.95 kB / 1.033 GB, free: 301.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0146/2.506, allocations: 8.337 MB / 1.042 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.1206/2.626, allocations: 41.18 MB / 1.082 GB, free: 252.4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01935/2.646, allocations: 10.3 MB / 1.092 GB, free: 242.1 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002473/2.648, allocations: 0.714 MB / 1.093 GB, free: 241.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000916/2.649, allocations: 44 kB / 1.093 GB, free: 241.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002998/2.652, allocations: 174.1 kB / 1.093 GB, free: 241.2 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005177/2.653, allocations: 213.9 kB / 1.093 GB, free: 241 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003304/2.653, allocations: 108 kB / 1.093 GB, free: 240.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001512/2.654, allocations: 0.9751 MB / 1.094 GB, free: 239.9 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.1e-08/2.654, allocations: 4 kB / 1.094 GB, free: 239.9 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00888/2.663, allocations: 2.909 MB / 1.097 GB, free: 237.3 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.009349/2.673, allocations: 2.127 MB / 1.099 GB, free: 235.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.02595/2.699, allocations: 8.793 MB / 1.107 GB, free: 226.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/2.699, allocations: 7.938 kB / 1.107 GB, free: 226.5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.009397/2.708, allocations: 3.003 MB / 1.11 GB, free: 223.4 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006348/2.714, allocations: 0.9617 MB / 1.111 GB, free: 222.5 MB / 0.7169 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4734:9-4734:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/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.445109063293785] 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.724590700119734 2.738187736 1.577986683 Calling exit ...