Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001955/0.001955, allocations: 123.4 kB / 17.79 MB, free: 5.285 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.002404/0.002404, allocations: 208.2 kB / 20.75 MB, free: 2.336 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.569/1.569, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2409/0.2409, allocations: 46.92 MB / 357.1 MB, free: 10.33 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+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.1.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.1.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 67.89 kB / 0.4914 GB, free: 7.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1254, allocations: 65.99 MB / 0.5559 GB, free: 5.355 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.3605/0.4859, allocations: 90.93 MB / 0.6447 GB, free: 15.81 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03441/0.5203, allocations: 21.43 MB / 0.6656 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003612/0.5239, allocations: 121 kB / 0.6657 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003105/0.527, allocations: 0.9663 MB / 0.6667 GB, free: 14.13 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0113/0.5383, allocations: 3.789 MB / 0.6704 GB, free: 11.23 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01398/0.5523, allocations: 5.662 MB / 0.6759 GB, free: 5.746 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01018/0.5625, allocations: 6.925 MB / 0.6827 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002911/0.5654, allocations: 1.638 MB / 0.6843 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1723/0.7377, allocations: 75.16 MB / 0.7576 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.07431/0.812, allocations: 32.18 MB / 0.7891 GB, free: 0.5625 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001334/0.8133, allocations: 244 kB / 0.7893 GB, free: 332 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01584/0.8292, allocations: 6.17 MB / 0.7953 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002255/0.8314, allocations: 1.09 MB / 0.7964 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003647/0.8351, allocations: 1.497 MB / 0.7979 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01216/0.8472, allocations: 5.536 MB / 0.8033 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.8472, allocations: 0 / 0.8033 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8472, allocations: 0 / 0.8033 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001328/0.8474, allocations: 0 / 0.8033 GB, free: 1.961 MB / 0.6075 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.0115/0.8589, allocations: 3.58 MB / 0.8068 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.8589, allocations: 16.03 kB / 0.8068 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001686/0.8606, allocations: 322.1 kB / 0.8071 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004191/0.8648, allocations: 1.681 MB / 0.8087 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002794/0.8651, allocations: 211.1 kB / 0.8089 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006252/0.8657, allocations: 191.9 kB / 0.8091 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007452/0.8731, allocations: 3.268 MB / 0.8123 GB, free: 8.449 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.529e-05/0.8732, allocations: 4 kB / 0.8123 GB, free: 8.445 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003992/0.8736, allocations: 87.89 kB / 0.8124 GB, free: 8.359 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003722/0.874, allocations: 251.8 kB / 0.8126 GB, free: 8.113 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006616/0.8806, allocations: 3.095 MB / 0.8157 GB, free: 5.016 MB / 0.6231 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.02427/0.9049, allocations: 13.68 MB / 0.829 GB, free: 6.402 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004856/0.9097, allocations: 2.095 MB / 0.8311 GB, free: 4.301 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002172/0.9119, allocations: 1.11 MB / 0.8321 GB, free: 3.184 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2683/1.18, allocations: 5.446 MB / 0.8375 GB, free: 236 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/1.18, allocations: 52.64 kB / 0.8375 GB, free: 236 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006685/1.181, allocations: 163.7 kB / 0.8377 GB, free: 236 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=158): time 4.218e-06/1.181, allocations: 0.75 kB / 0.8377 GB, free: 236 MB / 0.6387 GB Notification: Performance of matching and sorting (n=259): time 0.541/1.722, allocations: 55.25 MB / 0.8916 GB, free: 201.4 MB / 0.6387 GB Error: Jacobian StateSetJac0 contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of inlineWhenForInitialization (initialization): time 0.1323/1.854, allocations: 45.36 MB / 0.9359 GB, free: 155.6 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0023/1.856, allocations: 1.865 MB / 0.9377 GB, free: 153.7 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0005761/1.857, allocations: 69.7 kB / 0.9378 GB, free: 153.7 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000563/1.858, allocations: 1.117 MB / 0.9389 GB, free: 152.6 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009386/1.859, allocations: 0.9091 MB / 0.9398 GB, free: 151.7 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001522/1.86, allocations: 0.5684 MB / 0.9403 GB, free: 151.1 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.101e-05/1.86, allocations: 301.1 kB / 0.9406 GB, free: 150.8 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003966/1.864, allocations: 2.184 MB / 0.9428 GB, free: 148.6 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004354/1.868, allocations: 2.822 MB / 0.9455 GB, free: 145.5 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01483/1.883, allocations: 5.41 MB / 0.9508 GB, free: 139.8 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.523e-05/1.883, allocations: 8 kB / 0.9508 GB, free: 139.8 MB / 0.6387 GB Notification: Performance of matching and sorting (n=359) (initialization): time 0.02252/1.906, allocations: 7.379 MB / 0.958 GB, free: 132.4 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.007e-05/1.906, allocations: 18.19 kB / 0.958 GB, free: 132.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.525e-05/1.906, allocations: 19.94 kB / 0.9581 GB, free: 132.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04331/1.949, allocations: 11.84 MB / 0.9696 GB, free: 120.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00148/1.951, allocations: 347.4 kB / 0.9699 GB, free: 120.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01564/1.966, allocations: 8.628 MB / 0.9784 GB, free: 111.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003795/1.97, allocations: 191.8 kB / 0.9786 GB, free: 111.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005481/1.971, allocations: 151.9 kB / 0.9787 GB, free: 111.1 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004424/1.975, allocations: 2.686 MB / 0.9813 GB, free: 108.5 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003768/1.979, allocations: 2.755 MB / 0.984 GB, free: 105.4 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009466/1.988, allocations: 5.292 MB / 0.9892 GB, free: 99.85 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.709e-05/1.988, allocations: 4 kB / 0.9892 GB, free: 99.84 MB / 0.6387 GB Notification: Performance of matching and sorting (n=359) (initialization_lambda0): time 0.01407/2.002, allocations: 7.124 MB / 0.9961 GB, free: 92.66 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/2.002, allocations: 18.5 kB / 0.9962 GB, free: 92.65 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.414e-05/2.002, allocations: 19.98 kB / 0.9962 GB, free: 92.63 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02471/2.027, allocations: 7.688 MB / 1.004 GB, free: 84.93 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001794/2.029, allocations: 387.4 kB / 1.004 GB, free: 84.55 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.015/2.044, allocations: 8.143 MB / 1.012 GB, free: 76.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003473/2.047, allocations: 199.8 kB / 1.012 GB, free: 76.16 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005163/2.048, allocations: 143.9 kB / 1.012 GB, free: 76.02 MB / 0.6387 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.0009294/2.049, allocations: 332 kB / 1.013 GB, free: 75.69 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008258/2.05, allocations: 270.3 kB / 1.013 GB, free: 75.42 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01556/2.065, allocations: 7.696 MB / 1.02 GB, free: 67.69 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-05/2.065, allocations: 35.94 kB / 1.02 GB, free: 67.66 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/2.065, allocations: 7.984 kB / 1.02 GB, free: 67.65 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01327/2.079, allocations: 6.763 MB / 1.027 GB, free: 60.78 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02426/2.103, allocations: 13.63 MB / 1.04 GB, free: 47.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/2.103, allocations: 4 kB / 1.04 GB, free: 47.05 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009101/2.104, allocations: 195.8 kB / 1.041 GB, free: 46.86 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04232/2.146, allocations: 11.25 MB / 1.052 GB, free: 35.61 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006142/2.147, allocations: 75.97 kB / 1.052 GB, free: 35.54 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01521/2.162, allocations: 8.341 MB / 1.06 GB, free: 27.15 MB / 0.6387 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.3936/2.556, allocations: 42.06 MB / 1.101 GB, free: 222.7 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02171/2.577, allocations: 10.32 MB / 1.111 GB, free: 218.9 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002145/2.579, allocations: 0.8158 MB / 1.112 GB, free: 218.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009677/2.58, allocations: 57.27 kB / 1.112 GB, free: 218.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003131/2.583, allocations: 168.5 kB / 1.112 GB, free: 218.5 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006507/2.584, allocations: 200.4 kB / 1.112 GB, free: 218.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000402/2.585, allocations: 113.8 kB / 1.112 GB, free: 218.5 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00195/2.587, allocations: 1.275 MB / 1.113 GB, free: 218 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/2.587, allocations: 0 / 1.113 GB, free: 218 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.009233/2.596, allocations: 2.919 MB / 1.116 GB, free: 217.6 MB / 0.6387 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.01026/2.606, allocations: 2.128 MB / 1.118 GB, free: 217.1 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.02667/2.633, allocations: 8.804 MB / 1.127 GB, free: 212.2 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/2.633, allocations: 0 / 1.127 GB, free: 212.2 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.009633/2.642, allocations: 3.006 MB / 1.13 GB, free: 209.2 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005378/2.648, allocations: 1.06 MB / 1.131 GB, free: 208.2 MB / 0.6387 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4705:9-4705:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:818:5-818: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.669020127505064] 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.6559294909238815 2.664678028 1.814975172 Calling exit ...