Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00128/0.00128, allocations: 109.1 kB / 21.84 MB, free: 88 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001427/0.001427, allocations: 221.1 kB / 25.13 MB, free: 3.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 230.4 MB / 258.7 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2297/0.2297, allocations: 46.93 MB / 362 MB, free: 4.242 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002367/0.002367, allocations: 83.84 kB / 0.4978 GB, free: 7.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3016, allocations: 66.08 MB / 0.5624 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.1023/0.4039, allocations: 90.6 MB / 0.6508 GB, free: 9.324 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.034/0.4379, allocations: 21.36 MB / 0.6717 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00231/0.4402, allocations: 122.9 kB / 0.6718 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002329/0.4425, allocations: 0.959 MB / 0.6727 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.009256/0.4518, allocations: 3.896 MB / 0.6766 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.01386/0.4657, allocations: 6.05 MB / 0.6825 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01109/0.4767, allocations: 7.282 MB / 0.6896 GB, free: 1.551 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003101/0.4798, allocations: 1.591 MB / 0.6911 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4798/0.9596, allocations: 74.48 MB / 0.7639 GB, free: 41.29 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.06561/1.025, allocations: 31.88 MB / 0.795 GB, free: 31.95 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001243/1.026, allocations: 244.7 kB / 0.7952 GB, free: 31.95 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01326/1.04, allocations: 5.51 MB / 0.8006 GB, free: 27.91 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.00192/1.042, allocations: 1.11 MB / 0.8017 GB, free: 27.27 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002289/1.044, allocations: 1.485 MB / 0.8031 GB, free: 26.54 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.008004/1.052, allocations: 5.398 MB / 0.8084 GB, free: 22.28 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/1.052, allocations: 3.984 kB / 0.8084 GB, free: 22.28 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.374e-06/1.052, allocations: 4 kB / 0.8084 GB, free: 22.27 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.877e-05/1.052, allocations: 0 / 0.8084 GB, free: 22.27 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.007277/1.059, allocations: 3.5 MB / 0.8118 GB, free: 19.16 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/1.059, allocations: 8.031 kB / 0.8119 GB, free: 19.15 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008106/1.06, allocations: 318.2 kB / 0.8122 GB, free: 18.84 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002377/1.063, allocations: 1.582 MB / 0.8137 GB, free: 17.61 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001799/1.063, allocations: 272.1 kB / 0.814 GB, free: 17.38 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002548/1.063, allocations: 189.6 kB / 0.8141 GB, free: 17.26 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004341/1.067, allocations: 3.651 MB / 0.8177 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.92e-05/1.067, allocations: 7.969 kB / 0.8177 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002131/1.068, allocations: 83.22 kB / 0.8178 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002374/1.068, allocations: 255.5 kB / 0.818 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004488/1.072, allocations: 3.103 MB / 0.8211 GB, free: 12.08 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.01616/1.088, allocations: 13.46 MB / 0.8342 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004194/1.093, allocations: 2.094 MB / 0.8363 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001877/1.095, allocations: 1.11 MB / 0.8373 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007923/1.102, allocations: 3.59 MB / 0.8409 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.27e-05/1.102, allocations: 55.88 kB / 0.8409 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006541/1.103, allocations: 158.6 kB / 0.8411 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=158): time 3.837e-06/1.103, allocations: 0 / 0.8411 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of matching and sorting (n=259): time 0.5148/1.618, allocations: 54.99 MB / 0.8948 GB, free: 1.621 MB / 0.6231 GB Error: Jacobian StateSetJac0 contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of inlineWhenForInitialization (initialization): time 0.1427/1.761, allocations: 45.17 MB / 0.9389 GB, free: 4.137 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002916/1.764, allocations: 1.862 MB / 0.9407 GB, free: 2.234 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0005806/1.764, allocations: 65.7 kB / 0.9407 GB, free: 2.164 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009131/1.765, allocations: 1.12 MB / 0.9418 GB, free: 1.043 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001069/1.766, allocations: 0.9048 MB / 0.9427 GB, free: 152 kB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001165/1.767, allocations: 0.5683 MB / 0.9433 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001179/1.767, allocations: 305.2 kB / 0.9436 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004488/1.772, allocations: 2.184 MB / 0.9457 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005102/1.777, allocations: 2.809 MB / 0.9484 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01202/1.789, allocations: 5.42 MB / 0.9537 GB, free: 4.383 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.976e-05/1.789, allocations: 4 kB / 0.9537 GB, free: 4.379 MB / 0.6856 GB Notification: Performance of matching and sorting (n=359) (initialization): time 0.01721/1.806, allocations: 7.388 MB / 0.961 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.712e-05/1.806, allocations: 16 kB / 0.961 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.622e-05/1.806, allocations: 16 kB / 0.961 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04647/1.853, allocations: 11.82 MB / 0.9725 GB, free: 1.211 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001934/1.855, allocations: 345.6 kB / 0.9729 GB, free: 0.8945 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01926/1.874, allocations: 8.635 MB / 0.9813 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003788/1.878, allocations: 195.8 kB / 0.9815 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005629/1.878, allocations: 151.9 kB / 0.9816 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005613/1.884, allocations: 2.68 MB / 0.9842 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005121/1.889, allocations: 2.753 MB / 0.9869 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0118/1.901, allocations: 5.292 MB / 0.9921 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.923e-05/1.901, allocations: 4 kB / 0.9921 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=359) (initialization_lambda0): time 0.01618/1.917, allocations: 7.128 MB / 0.9991 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.021e-05/1.917, allocations: 12 kB / 0.9991 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.995e-05/1.917, allocations: 20 kB / 0.9991 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3319/2.249, allocations: 7.669 MB / 1.007 GB, free: 331.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002106/2.251, allocations: 397.9 kB / 1.007 GB, free: 331.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01528/2.266, allocations: 8.145 MB / 1.015 GB, free: 328.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003654/2.27, allocations: 192.8 kB / 1.015 GB, free: 328.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003816/2.271, allocations: 149.3 kB / 1.015 GB, free: 328.8 MB / 0.7325 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.0008847/2.271, allocations: 347.8 kB / 1.016 GB, free: 328.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006964/2.272, allocations: 258.7 kB / 1.016 GB, free: 328.5 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01471/2.287, allocations: 7.705 MB / 1.023 GB, free: 325.8 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-05/2.287, allocations: 29.67 kB / 1.023 GB, free: 325.8 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/2.287, allocations: 7.75 kB / 1.023 GB, free: 325.8 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01196/2.299, allocations: 6.775 MB / 1.03 GB, free: 320.4 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02263/2.321, allocations: 13.59 MB / 1.043 GB, free: 306.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-05/2.321, allocations: 3.844 kB / 1.043 GB, free: 306.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009224/2.322, allocations: 191.8 kB / 1.043 GB, free: 306.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03861/2.361, allocations: 11.24 MB / 1.054 GB, free: 295.7 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007177/2.362, allocations: 83.89 kB / 1.055 GB, free: 295.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01422/2.376, allocations: 8.349 MB / 1.063 GB, free: 287.4 MB / 0.7325 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.1144/2.49, allocations: 41.98 MB / 1.104 GB, free: 245.5 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01816/2.508, allocations: 10.34 MB / 1.114 GB, free: 235 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002983/2.511, allocations: 0.7555 MB / 1.114 GB, free: 234.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001193/2.513, allocations: 55.98 kB / 1.115 GB, free: 234.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004353/2.517, allocations: 163.9 kB / 1.115 GB, free: 234.1 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009142/2.518, allocations: 217.8 kB / 1.115 GB, free: 233.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004838/2.518, allocations: 104 kB / 1.115 GB, free: 233.7 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002648/2.521, allocations: 1.277 MB / 1.116 GB, free: 232.4 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.2e-07/2.521, allocations: 0 / 1.116 GB, free: 232.4 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0123/2.533, allocations: 2.928 MB / 1.119 GB, free: 229.8 MB / 0.7325 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.01166/2.545, allocations: 2.129 MB / 1.121 GB, free: 227.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02846/2.573, allocations: 8.801 MB / 1.13 GB, free: 219.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/2.573, allocations: 4 kB / 1.13 GB, free: 219.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.008975/2.582, allocations: 3.015 MB / 1.133 GB, free: 216.1 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005233/2.588, allocations: 1.057 MB / 1.134 GB, free: 215.1 MB / 0.7325 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4732:9-4732:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:821:5-821: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.2405904131010175] 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.598466547904536 2.608213163 1.553675994 Calling exit ...