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.001887/0.001887, allocations: 119.2 kB / 19.13 MB, free: 3.918 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.002305/0.002305, allocations: 210.6 kB / 22.08 MB, free: 0.9688 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.495/1.495, allocations: 227.4 MB / 252.3 MB, free: 104 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.2303/0.2303, allocations: 46.18 MB / 351.8 MB, free: 14.29 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.002475/0.002475, allocations: 84.17 kB / 490.9 MB, free: 27.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1381, allocations: 62.45 MB / 0.5404 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.4054/0.5436, allocations: 90.45 MB / 0.6287 GB, free: 2.234 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.03298/0.5766, allocations: 21.35 MB / 0.6496 GB, free: 1.156 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004037/0.5807, allocations: 91.38 kB / 0.6497 GB, free: 1.152 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003058/0.5838, allocations: 0.9449 MB / 0.6506 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01216/0.596, allocations: 3.742 MB / 0.6542 GB, free: 15.36 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01717/0.6132, allocations: 5.667 MB / 0.6598 GB, free: 12.13 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01173/0.6249, allocations: 6.926 MB / 0.6665 GB, free: 8.574 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003877/0.6289, allocations: 1.827 MB / 0.6683 GB, free: 7.379 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2051/0.834, allocations: 74.9 MB / 0.7415 GB, free: 452 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.08347/0.9175, allocations: 31.93 MB / 0.7726 GB, free: 116 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001558/0.9191, allocations: 248 kB / 0.7729 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01987/0.939, allocations: 6.116 MB / 0.7788 GB, free: 9.715 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00267/0.9418, allocations: 1.071 MB / 0.7799 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.004882/0.9467, allocations: 1.497 MB / 0.7814 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01773/0.9644, allocations: 5.529 MB / 0.7868 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.9645, allocations: 0 / 0.7868 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.154e-06/0.9645, allocations: 0 / 0.7868 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001657/0.9647, allocations: 0 / 0.7868 GB, free: 1.59 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.01172/0.9764, allocations: 3.588 MB / 0.7903 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.9765, allocations: 16.03 kB / 0.7903 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001674/0.9782, allocations: 322.1 kB / 0.7906 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004199/0.9824, allocations: 1.673 MB / 0.7922 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002807/0.9827, allocations: 219.1 kB / 0.7924 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006828/0.9834, allocations: 184 kB / 0.7926 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007602/0.991, allocations: 3.281 MB / 0.7958 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.905e-05/0.9911, allocations: 3.938 kB / 0.7958 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004902/0.9916, allocations: 91.94 kB / 0.7959 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003716/0.992, allocations: 247.8 kB / 0.7961 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006746/0.9988, allocations: 3.087 MB / 0.7991 GB, free: 4.625 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.02532/1.024, allocations: 13.86 MB / 0.8127 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004932/1.029, allocations: 2.193 MB / 0.8148 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002231/1.031, allocations: 1.188 MB / 0.816 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01028/1.042, allocations: 5.624 MB / 0.8215 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.239e-05/1.042, allocations: 55.88 kB / 0.8215 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001/1.043, allocations: 166.5 kB / 0.8217 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=158): time 8.355e-06/1.043, allocations: 0 / 0.8217 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of matching and sorting (n=259): time 0.8374/1.88, allocations: 55.35 MB / 0.8757 GB, free: 238.1 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.1286/2.009, allocations: 45.53 MB / 0.9202 GB, free: 195.4 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002567/2.011, allocations: 1.859 MB / 0.922 GB, free: 193.5 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0006372/2.012, allocations: 77.77 kB / 0.9221 GB, free: 193.4 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006546/2.013, allocations: 1.109 MB / 0.9232 GB, free: 192.4 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.00106/2.014, allocations: 0.9079 MB / 0.9241 GB, free: 191.6 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00167/2.015, allocations: 0.5644 MB / 0.9246 GB, free: 191.1 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.416e-05/2.016, allocations: 305.1 kB / 0.9249 GB, free: 190.8 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003745/2.019, allocations: 2.18 MB / 0.927 GB, free: 188.6 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004039/2.023, allocations: 2.829 MB / 0.9298 GB, free: 185.5 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009923/2.033, allocations: 5.41 MB / 0.9351 GB, free: 179.8 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.313e-05/2.033, allocations: 4 kB / 0.9351 GB, free: 179.8 MB / 0.6387 GB Notification: Performance of matching and sorting (n=359) (initialization): time 0.01524/2.049, allocations: 7.498 MB / 0.9424 GB, free: 172.2 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.474e-05/2.049, allocations: 12 kB / 0.9424 GB, free: 172.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.294e-05/2.049, allocations: 20.91 kB / 0.9424 GB, free: 172.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04103/2.09, allocations: 11.83 MB / 0.954 GB, free: 160.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001572/2.091, allocations: 355.3 kB / 0.9543 GB, free: 160 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01669/2.108, allocations: 8.616 MB / 0.9627 GB, free: 151.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003729/2.112, allocations: 195.8 kB / 0.9629 GB, free: 151.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000727/2.113, allocations: 151.9 kB / 0.9631 GB, free: 151 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005175/2.118, allocations: 2.687 MB / 0.9657 GB, free: 148.3 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004241/2.122, allocations: 2.76 MB / 0.9684 GB, free: 145.3 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01023/2.132, allocations: 5.289 MB / 0.9736 GB, free: 139.7 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.423e-05/2.132, allocations: 4 kB / 0.9736 GB, free: 139.7 MB / 0.6387 GB Notification: Performance of matching and sorting (n=359) (initialization_lambda0): time 0.01531/2.148, allocations: 7.222 MB / 0.9806 GB, free: 132.4 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.325e-05/2.148, allocations: 16 kB / 0.9806 GB, free: 132.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.205e-05/2.148, allocations: 19.98 kB / 0.9807 GB, free: 132.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02389/2.172, allocations: 7.675 MB / 0.9881 GB, free: 124.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001817/2.174, allocations: 391.3 kB / 0.9885 GB, free: 124.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01546/2.189, allocations: 8.147 MB / 0.9965 GB, free: 116.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00375/2.193, allocations: 195.8 kB / 0.9967 GB, free: 115.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006893/2.194, allocations: 147.9 kB / 0.9968 GB, free: 115.8 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.001115/2.195, allocations: 336.1 kB / 0.9971 GB, free: 115.4 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009953/2.196, allocations: 258.4 kB / 0.9974 GB, free: 115.2 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01566/2.211, allocations: 7.831 MB / 1.005 GB, free: 107.3 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.512e-05/2.212, allocations: 28 kB / 1.005 GB, free: 107.3 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.188e-06/2.212, allocations: 3.938 kB / 1.005 GB, free: 107.3 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01315/2.225, allocations: 6.892 MB / 1.012 GB, free: 100.3 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02606/2.251, allocations: 13.77 MB / 1.025 GB, free: 86.46 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.279e-05/2.251, allocations: 4 kB / 1.025 GB, free: 86.45 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009166/2.252, allocations: 187.8 kB / 1.025 GB, free: 86.27 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04016/2.292, allocations: 11.24 MB / 1.036 GB, free: 75.05 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008351/2.293, allocations: 83.95 kB / 1.036 GB, free: 74.96 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01549/2.308, allocations: 8.343 MB / 1.045 GB, free: 66.57 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.1199/2.428, allocations: 42.28 MB / 1.086 GB, free: 24.01 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01892/2.447, allocations: 10.43 MB / 1.096 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001881/2.449, allocations: 0.8113 MB / 1.097 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008631/2.45, allocations: 60 kB / 1.097 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002866/2.453, allocations: 175.8 kB / 1.097 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004897/2.453, allocations: 206 kB / 1.097 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003651/2.454, allocations: 115.9 kB / 1.097 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001928/2.456, allocations: 1.269 MB / 1.099 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/2.456, allocations: 0 / 1.099 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00854/2.464, allocations: 2.929 MB / 1.102 GB, free: 7.883 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.009354/2.474, allocations: 2.126 MB / 1.104 GB, free: 5.848 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.3237/2.797, allocations: 9.212 MB / 1.113 GB, free: 237.9 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.357e-05/2.798, allocations: 1.156 kB / 1.113 GB, free: 237.9 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.01102/2.809, allocations: 3.201 MB / 1.116 GB, free: 237.3 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005713/2.814, allocations: 1.052 MB / 1.117 GB, free: 237.1 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.718943823012523] 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.821805531042628 2.83518115 1.868142627 Calling exit ...