Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001562/0.001562, allocations: 120.9 kB / 19.12 MB, free: 3.949 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.001656/0.001656, allocations: 206.6 kB / 22.08 MB, free: 1 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.431/1.431, allocations: 227.5 MB / 252.4 MB, free: 28 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2359/0.2359, allocations: 46.14 MB / 351.8 MB, free: 14.27 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002274/0.002274, allocations: 81.44 kB / 490.9 MB, free: 27.79 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1369, allocations: 62.45 MB / 0.5404 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.4228/0.5597, allocations: 90.44 MB / 0.6287 GB, free: 2.258 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02983/0.5896, allocations: 21.35 MB / 0.6496 GB, free: 1.16 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003457/0.5931, allocations: 86.75 kB / 0.6496 GB, free: 1.16 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002807/0.596, allocations: 0.9479 MB / 0.6506 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01098/0.607, allocations: 3.739 MB / 0.6542 GB, free: 15.37 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01593/0.6229, allocations: 5.653 MB / 0.6597 GB, free: 12.16 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01063/0.6336, allocations: 6.929 MB / 0.6665 GB, free: 8.594 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003595/0.6372, allocations: 1.817 MB / 0.6683 GB, free: 7.406 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1848/0.822, allocations: 74.9 MB / 0.7414 GB, free: 496 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.07949/0.9015, allocations: 31.93 MB / 0.7726 GB, free: 164 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001141/0.9027, allocations: 244 kB / 0.7729 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01692/0.9197, allocations: 6.116 MB / 0.7788 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002079/0.9218, allocations: 1.067 MB / 0.7799 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002859/0.9247, allocations: 1.493 MB / 0.7813 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01346/0.9381, allocations: 5.525 MB / 0.7867 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.9382, allocations: 0 / 0.7867 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.813e-06/0.9382, allocations: 0 / 0.7867 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001422/0.9384, allocations: 4 kB / 0.7867 GB, free: 1.648 MB / 0.5762 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.01024/0.9486, allocations: 3.584 MB / 0.7902 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.9487, allocations: 12.03 kB / 0.7902 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001182/0.9499, allocations: 326.1 kB / 0.7905 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003309/0.9532, allocations: 1.681 MB / 0.7922 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002433/0.9535, allocations: 215.1 kB / 0.7924 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003517/0.9538, allocations: 184 kB / 0.7926 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005959/0.9598, allocations: 3.274 MB / 0.7958 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.786e-05/0.9599, allocations: 7.938 kB / 0.7958 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002487/0.9601, allocations: 83.95 kB / 0.7959 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003392/0.9605, allocations: 251.8 kB / 0.7961 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005898/0.9664, allocations: 3.091 MB / 0.7991 GB, free: 4.691 MB / 0.5919 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.02207/0.9885, allocations: 13.84 MB / 0.8126 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004623/0.9931, allocations: 2.205 MB / 0.8148 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002236/0.9954, allocations: 1.188 MB / 0.8159 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009626/1.005, allocations: 5.612 MB / 0.8214 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.082e-05/1.005, allocations: 55.81 kB / 0.8215 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007665/1.006, allocations: 162.5 kB / 0.8216 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=158): time 4.017e-06/1.006, allocations: 0 / 0.8216 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of matching and sorting (n=259): time 0.7994/1.805, allocations: 55.33 MB / 0.8757 GB, free: 237.7 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.1221/1.927, allocations: 45.54 MB / 0.9201 GB, free: 194.9 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002067/1.93, allocations: 1.861 MB / 0.922 GB, free: 193 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0005676/1.93, allocations: 69.7 kB / 0.922 GB, free: 193 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005378/1.931, allocations: 1.111 MB / 0.9231 GB, free: 192 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007732/1.931, allocations: 0.9114 MB / 0.924 GB, free: 191.2 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009627/1.932, allocations: 0.5644 MB / 0.9246 GB, free: 190.6 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.868e-05/1.932, allocations: 313.1 kB / 0.9249 GB, free: 190.3 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003472/1.936, allocations: 2.18 MB / 0.927 GB, free: 188.1 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003801/1.94, allocations: 2.814 MB / 0.9297 GB, free: 185 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009771/1.95, allocations: 5.41 MB / 0.935 GB, free: 179.3 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-05/1.95, allocations: 11.94 kB / 0.935 GB, free: 179.3 MB / 0.6387 GB Notification: Performance of matching and sorting (n=359) (initialization): time 0.01428/1.964, allocations: 7.496 MB / 0.9423 GB, free: 171.8 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.127e-05/1.964, allocations: 12 kB / 0.9424 GB, free: 171.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.234e-05/1.964, allocations: 20 kB / 0.9424 GB, free: 171.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04023/2.004, allocations: 11.82 MB / 0.9539 GB, free: 159.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00163/2.006, allocations: 355.3 kB / 0.9543 GB, free: 159.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01515/2.021, allocations: 8.626 MB / 0.9627 GB, free: 150.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003498/2.025, allocations: 195.8 kB / 0.9629 GB, free: 150.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005123/2.025, allocations: 159.9 kB / 0.963 GB, free: 150.6 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004381/2.03, allocations: 2.676 MB / 0.9656 GB, free: 147.9 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003801/2.033, allocations: 2.759 MB / 0.9683 GB, free: 144.8 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009213/2.043, allocations: 5.285 MB / 0.9735 GB, free: 139.3 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.688e-05/2.043, allocations: 4 kB / 0.9735 GB, free: 139.3 MB / 0.6387 GB Notification: Performance of matching and sorting (n=359) (initialization_lambda0): time 0.01343/2.056, allocations: 7.226 MB / 0.9806 GB, free: 132 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/2.056, allocations: 12 kB / 0.9806 GB, free: 132 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.704e-05/2.056, allocations: 20.77 kB / 0.9806 GB, free: 131.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02307/2.079, allocations: 7.672 MB / 0.9881 GB, free: 124.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001749/2.081, allocations: 395.4 kB / 0.9885 GB, free: 123.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01425/2.095, allocations: 8.144 MB / 0.9964 GB, free: 115.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00346/2.099, allocations: 195.6 kB / 0.9966 GB, free: 115.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004732/2.099, allocations: 151.9 kB / 0.9967 GB, free: 115.3 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.0007696/2.1, allocations: 336.2 kB / 0.9971 GB, free: 115 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006972/2.101, allocations: 258.4 kB / 0.9973 GB, free: 114.8 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01417/2.115, allocations: 7.829 MB / 1.005 GB, free: 106.9 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.898e-05/2.115, allocations: 28 kB / 1.005 GB, free: 106.9 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/2.115, allocations: 7.938 kB / 1.005 GB, free: 106.9 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01256/2.128, allocations: 6.892 MB / 1.012 GB, free: 99.9 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02482/2.153, allocations: 13.77 MB / 1.025 GB, free: 86.06 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.756e-05/2.153, allocations: 0 / 1.025 GB, free: 86.06 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008965/2.153, allocations: 183.8 kB / 1.025 GB, free: 85.88 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03942/2.193, allocations: 11.24 MB / 1.036 GB, free: 74.66 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007437/2.194, allocations: 87.95 kB / 1.036 GB, free: 74.57 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01516/2.209, allocations: 8.338 MB / 1.045 GB, free: 66.18 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.1158/2.325, allocations: 42.28 MB / 1.086 GB, free: 23.65 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01743/2.342, allocations: 10.43 MB / 1.096 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001832/2.344, allocations: 0.8307 MB / 1.097 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006283/2.345, allocations: 48 kB / 1.097 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002596/2.347, allocations: 167.9 kB / 1.097 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004499/2.348, allocations: 194.1 kB / 1.097 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000288/2.348, allocations: 115.9 kB / 1.097 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001501/2.35, allocations: 1.277 MB / 1.099 GB, free: 10.47 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.81e-07/2.35, allocations: 0 / 1.099 GB, free: 10.47 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00761/2.357, allocations: 2.933 MB / 1.101 GB, free: 7.668 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.008241/2.365, allocations: 2.121 MB / 1.104 GB, free: 5.637 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.2779/2.643, allocations: 9.208 MB / 1.112 GB, free: 237.4 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.814e-06/2.643, allocations: 1 kB / 1.112 GB, free: 237.4 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.01108/2.654, allocations: 3.207 MB / 1.116 GB, free: 236.8 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006093/2.661, allocations: 1.051 MB / 1.117 GB, free: 236.5 MB / 0.6387 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4689:9-4689:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:803:5-803: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.416147444979288] 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.667873745900579 2.682474241 1.74120696 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fc70ceed7e0>