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.001325/0.001325, allocations: 118.2 kB / 19.17 MB, free: 3.852 MB / 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.001471/0.001471, allocations: 205 kB / 22.12 MB, free: 0.9062 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.446/1.446, allocations: 230.2 MB / 255.2 MB, free: 15.18 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.2258/0.2258, allocations: 46.87 MB / 358.1 MB, free: 10.46 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.002268/0.002268, allocations: 79.86 kB / 0.4924 GB, free: 7.906 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1446, allocations: 65.99 MB / 0.5569 GB, free: 5.789 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.3786/0.5232, allocations: 90.95 MB / 0.6457 GB, free: 212 kB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.03775/0.561, allocations: 21.42 MB / 0.6666 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003709/0.5647, allocations: 129.5 kB / 0.6667 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003396/0.5681, allocations: 0.958 MB / 0.6677 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01156/0.5797, allocations: 3.792 MB / 0.6714 GB, free: 11.7 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01456/0.5942, allocations: 5.663 MB / 0.6769 GB, free: 6.156 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01115/0.6054, allocations: 6.924 MB / 0.6837 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00344/0.6088, allocations: 1.641 MB / 0.6853 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1867/0.7955, allocations: 75.16 MB / 0.7587 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.07241/0.8679, allocations: 32.18 MB / 0.7901 GB, free: 0.9727 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001144/0.869, allocations: 248 kB / 0.7903 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01497/0.884, allocations: 6.159 MB / 0.7963 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002197/0.8862, allocations: 1.102 MB / 0.7974 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003522/0.8897, allocations: 1.489 MB / 0.7989 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01257/0.9023, allocations: 5.536 MB / 0.8043 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.9023, allocations: 0 / 0.8043 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.382e-06/0.9023, allocations: 0 / 0.8043 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001717/0.9025, allocations: 3.938 kB / 0.8043 GB, free: 2.371 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.01189/0.9144, allocations: 3.584 MB / 0.8078 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.9144, allocations: 8.031 kB / 0.8078 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001631/0.916, allocations: 318.2 kB / 0.8081 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00406/0.9201, allocations: 1.685 MB / 0.8097 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002738/0.9204, allocations: 215.1 kB / 0.8099 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006917/0.9211, allocations: 184 kB / 0.8101 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007443/0.9285, allocations: 3.276 MB / 0.8133 GB, free: 8.855 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.806e-05/0.9286, allocations: 7.938 kB / 0.8133 GB, free: 8.848 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004824/0.9291, allocations: 87.89 kB / 0.8134 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003615/0.9294, allocations: 247.8 kB / 0.8136 GB, free: 8.52 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006639/0.9361, allocations: 3.099 MB / 0.8167 GB, free: 5.418 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.02477/0.9608, allocations: 13.68 MB / 0.83 GB, free: 6.816 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004941/0.9658, allocations: 2.099 MB / 0.8321 GB, free: 4.711 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00224/0.968, allocations: 1.113 MB / 0.8332 GB, free: 3.594 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3019/1.27, allocations: 5.449 MB / 0.8385 GB, free: 235.8 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.111e-05/1.27, allocations: 60.23 kB / 0.8385 GB, free: 235.7 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008229/1.271, allocations: 163.3 kB / 0.8387 GB, free: 235.7 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=158): time 4.668e-06/1.271, allocations: 0 / 0.8387 GB, free: 235.7 MB / 0.6387 GB Notification: Performance of matching and sorting (n=259): time 0.5081/1.779, allocations: 55.24 MB / 0.8926 GB, free: 201.2 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.1234/1.902, allocations: 45.37 MB / 0.9369 GB, free: 155.4 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002016/1.904, allocations: 1.865 MB / 0.9388 GB, free: 153.5 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0005422/1.905, allocations: 73.7 kB / 0.9388 GB, free: 153.4 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005302/1.905, allocations: 1.11 MB / 0.9399 GB, free: 152.4 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007231/1.906, allocations: 0.911 MB / 0.9408 GB, free: 151.6 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009748/1.907, allocations: 0.5645 MB / 0.9414 GB, free: 151 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.098e-05/1.907, allocations: 309.1 kB / 0.9417 GB, free: 150.7 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003488/1.911, allocations: 2.18 MB / 0.9438 GB, free: 148.6 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003777/1.914, allocations: 2.818 MB / 0.9465 GB, free: 145.5 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009373/1.924, allocations: 5.41 MB / 0.9518 GB, free: 139.8 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.701e-05/1.924, allocations: 8 kB / 0.9518 GB, free: 139.8 MB / 0.6387 GB Notification: Performance of matching and sorting (n=359) (initialization): time 0.01398/1.938, allocations: 7.383 MB / 0.959 GB, free: 132.3 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.278e-05/1.938, allocations: 12 kB / 0.959 GB, free: 132.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.614e-05/1.938, allocations: 20 kB / 0.9591 GB, free: 132.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04051/1.978, allocations: 11.84 MB / 0.9706 GB, free: 120.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001506/1.98, allocations: 351.3 kB / 0.971 GB, free: 120.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01534/1.995, allocations: 8.629 MB / 0.9794 GB, free: 111.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00375/1.999, allocations: 196.8 kB / 0.9796 GB, free: 111.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005147/2, allocations: 155.9 kB / 0.9797 GB, free: 111.1 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004423/2.004, allocations: 2.676 MB / 0.9823 GB, free: 108.4 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003842/2.008, allocations: 2.755 MB / 0.985 GB, free: 105.4 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009348/2.017, allocations: 5.289 MB / 0.9902 GB, free: 99.81 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.653e-05/2.017, allocations: 8 kB / 0.9902 GB, free: 99.8 MB / 0.6387 GB Notification: Performance of matching and sorting (n=359) (initialization_lambda0): time 0.01363/2.031, allocations: 7.124 MB / 0.9972 GB, free: 92.62 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/2.031, allocations: 12 kB / 0.9972 GB, free: 92.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.645e-05/2.031, allocations: 20 kB / 0.9972 GB, free: 92.59 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02355/2.054, allocations: 7.672 MB / 1.005 GB, free: 84.91 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001811/2.056, allocations: 399.3 kB / 1.005 GB, free: 84.52 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01452/2.071, allocations: 8.147 MB / 1.013 GB, free: 76.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003692/2.074, allocations: 189.4 kB / 1.013 GB, free: 76.14 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005466/2.075, allocations: 151.9 kB / 1.013 GB, free: 75.99 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.0008261/2.076, allocations: 335.4 kB / 1.014 GB, free: 75.66 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007932/2.077, allocations: 266.3 kB / 1.014 GB, free: 75.4 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01521/2.092, allocations: 7.702 MB / 1.021 GB, free: 67.69 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-05/2.092, allocations: 31.94 kB / 1.021 GB, free: 67.66 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/2.092, allocations: 0 / 1.021 GB, free: 67.66 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0121/2.104, allocations: 6.771 MB / 1.028 GB, free: 60.78 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02412/2.128, allocations: 13.63 MB / 1.041 GB, free: 47.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.879e-05/2.128, allocations: 4 kB / 1.041 GB, free: 47.06 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000931/2.129, allocations: 191.8 kB / 1.042 GB, free: 46.88 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03992/2.169, allocations: 11.25 MB / 1.053 GB, free: 35.64 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007321/2.17, allocations: 87.95 kB / 1.053 GB, free: 35.56 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01414/2.184, allocations: 8.34 MB / 1.061 GB, free: 27.17 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.4635/2.647, allocations: 42.07 MB / 1.102 GB, free: 222.4 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02202/2.669, allocations: 10.32 MB / 1.112 GB, free: 218.6 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001971/2.671, allocations: 0.8149 MB / 1.113 GB, free: 218.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005977/2.672, allocations: 56.91 kB / 1.113 GB, free: 218.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002658/2.675, allocations: 173 kB / 1.113 GB, free: 218.2 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004453/2.675, allocations: 199.8 kB / 1.113 GB, free: 218.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002858/2.675, allocations: 106.5 kB / 1.113 GB, free: 218.1 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001595/2.677, allocations: 1.277 MB / 1.114 GB, free: 217.6 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.01e-07/2.677, allocations: 3.438 kB / 1.115 GB, free: 217.6 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.008481/2.685, allocations: 2.92 MB / 1.117 GB, free: 217.5 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.008966/2.694, allocations: 2.127 MB / 1.119 GB, free: 217 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.02534/2.72, allocations: 8.794 MB / 1.128 GB, free: 212 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/2.72, allocations: 0 / 1.128 GB, free: 212 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.009487/2.729, allocations: 3.002 MB / 1.131 GB, free: 209 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006138/2.735, allocations: 1.047 MB / 1.132 GB, free: 208 MB / 0.6387 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4705:9-4705:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/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.4926330940797925] 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.744519491214305 2.752051294 1.847406048 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7ffb3cc05810>