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.001457/0.001457, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001659/0.001659, allocations: 217 kB / 24.5 MB, free: 4.133 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.323/1.323, allocations: 230.5 MB / 258.1 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 179] 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.2044/0.2044, allocations: 46.93 MB / 361.5 MB, free: 4.184 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.002123/0.002123, allocations: 79.88 kB / 0.4975 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.257, allocations: 66.07 MB / 0.562 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.09461/0.3516, allocations: 91.67 MB / 0.6515 GB, free: 8.262 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.03077/0.3824, allocations: 21.54 MB / 0.6725 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002109/0.3845, allocations: 122.9 kB / 0.6726 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002302/0.3868, allocations: 0.955 MB / 0.6736 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.008788/0.3956, allocations: 3.888 MB / 0.6774 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.01297/0.4086, allocations: 6.055 MB / 0.6833 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009766/0.4183, allocations: 7.272 MB / 0.6904 GB, free: 340 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002817/0.4212, allocations: 1.595 MB / 0.6919 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3743/0.7954, allocations: 74.49 MB / 0.7647 GB, free: 40.05 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.05067/0.8461, allocations: 31.88 MB / 0.7958 GB, free: 30.28 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0006659/0.8467, allocations: 244 kB / 0.7961 GB, free: 30.04 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009972/0.8567, allocations: 6.161 MB / 0.8021 GB, free: 25.25 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0009912/0.8577, allocations: 1.105 MB / 0.8032 GB, free: 24.61 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001516/0.8592, allocations: 1.491 MB / 0.8046 GB, free: 23.87 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005809/0.865, allocations: 5.533 MB / 0.81 GB, free: 19.56 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.865, allocations: 2.5 kB / 0.81 GB, free: 19.56 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.443e-06/0.865, allocations: 0 / 0.81 GB, free: 19.56 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.962e-05/0.8651, allocations: 4 kB / 0.81 GB, free: 19.55 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 538 * Number of variables: 538 Notification: Performance of Generate backend data structure: time 0.00637/0.8715, allocations: 3.509 MB / 0.8135 GB, free: 16.43 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.8715, allocations: 8.031 kB / 0.8135 GB, free: 16.43 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007546/0.8723, allocations: 325.9 kB / 0.8138 GB, free: 16.11 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002361/0.8746, allocations: 1.571 MB / 0.8153 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001383/0.8748, allocations: 271 kB / 0.8156 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002392/0.875, allocations: 188.4 kB / 0.8157 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003696/0.8787, allocations: 3.277 MB / 0.8189 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.259e-05/0.8787, allocations: 4.594 kB / 0.8189 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001872/0.8789, allocations: 83.77 kB / 0.819 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002041/0.8791, allocations: 252.4 kB / 0.8193 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003767/0.8829, allocations: 3.11 MB / 0.8223 GB, free: 9.832 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01454/0.8974, allocations: 13.5 MB / 0.8355 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00398/0.9014, allocations: 2.101 MB / 0.8375 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001777/0.9032, allocations: 1.114 MB / 0.8386 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007269/0.9105, allocations: 3.58 MB / 0.8421 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/0.9105, allocations: 51.88 kB / 0.8422 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000545/0.911, allocations: 162.5 kB / 0.8423 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=158): time 3.106e-06/0.9111, allocations: 3.281 kB / 0.8423 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of matching and sorting (n=259): time 0.4986/1.41, allocations: 54.99 MB / 0.896 GB, free: 15.92 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.1405/1.55, allocations: 45.18 MB / 0.9402 GB, free: 2.426 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002786/1.553, allocations: 1.87 MB / 0.942 GB, free: 0.5156 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.000506/1.554, allocations: 65.7 kB / 0.942 GB, free: 456 kB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009139/1.554, allocations: 1.103 MB / 0.9431 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001098/1.556, allocations: 0.9142 MB / 0.944 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001261/1.557, allocations: 0.5683 MB / 0.9446 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001103/1.557, allocations: 305.1 kB / 0.9449 GB, free: 13.56 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004199/1.561, allocations: 2.176 MB / 0.947 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004765/1.566, allocations: 2.818 MB / 0.9497 GB, free: 8.305 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01121/1.577, allocations: 5.419 MB / 0.955 GB, free: 2.668 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.835e-05/1.577, allocations: 8 kB / 0.955 GB, free: 2.66 MB / 0.6856 GB Notification: Performance of matching and sorting (n=359) (initialization): time 0.01571/1.593, allocations: 7.38 MB / 0.9622 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.922e-05/1.593, allocations: 12.12 kB / 0.9623 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-05/1.593, allocations: 28.05 kB / 0.9623 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0443/1.637, allocations: 11.83 MB / 0.9738 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00162/1.639, allocations: 347.3 kB / 0.9742 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01847/1.657, allocations: 8.626 MB / 0.9826 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003488/1.661, allocations: 195.8 kB / 0.9828 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005752/1.661, allocations: 155.9 kB / 0.9829 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005569/1.667, allocations: 2.677 MB / 0.9855 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00499/1.672, allocations: 2.754 MB / 0.9882 GB, free: 480 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01126/1.683, allocations: 5.298 MB / 0.9934 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.167e-05/1.683, allocations: 7.984 kB / 0.9934 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of matching and sorting (n=359) (initialization_lambda0): time 0.0154/1.699, allocations: 7.125 MB / 1 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/1.699, allocations: 16.03 kB / 1 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.751e-05/1.699, allocations: 23.98 kB / 1 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2481/1.947, allocations: 7.67 MB / 1.008 GB, free: 329 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001624/1.948, allocations: 390.4 kB / 1.008 GB, free: 329 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01313/1.962, allocations: 8.151 MB / 1.016 GB, free: 326.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002963/1.964, allocations: 194.8 kB / 1.016 GB, free: 326.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002958/1.965, allocations: 145.1 kB / 1.017 GB, free: 326.5 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 4 (tank.inFlow[2],tank.inFlow[1],tank.regularFlow[2],tank.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(15,79), (18,78)} Notification: Performance of prepare postOptimizeDAE: time 0.0006374/1.965, allocations: 334.8 kB / 1.017 GB, free: 326.3 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004932/1.966, allocations: 267.5 kB / 1.017 GB, free: 326.3 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01256/1.978, allocations: 7.716 MB / 1.025 GB, free: 323.6 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-05/1.978, allocations: 33.91 kB / 1.025 GB, free: 323.6 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/1.978, allocations: 0 / 1.025 GB, free: 323.6 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01054/1.989, allocations: 6.776 MB / 1.031 GB, free: 318.7 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02073/2.01, allocations: 13.58 MB / 1.045 GB, free: 305.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/2.01, allocations: 1.5 kB / 1.045 GB, free: 305.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007932/2.011, allocations: 195.4 kB / 1.045 GB, free: 305 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03646/2.047, allocations: 11.25 MB / 1.056 GB, free: 294.1 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004895/2.048, allocations: 86.86 kB / 1.056 GB, free: 294 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01263/2.06, allocations: 8.343 MB / 1.064 GB, free: 285.7 MB / 0.7325 GB Warning: There are tearing variables with annotation attribute '__OpenModelica_tearingSelect = TearingSelect.never'. Use -d=tearingdump and -d=tearingdumpV for more information. Error: Jacobian StateSetJac9 contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1069/2.167, allocations: 42 MB / 1.105 GB, free: 243.7 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01577/2.183, allocations: 10.33 MB / 1.115 GB, free: 233.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001818/2.185, allocations: 0.7614 MB / 1.116 GB, free: 232.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004699/2.185, allocations: 58.31 kB / 1.116 GB, free: 232.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002319/2.187, allocations: 163.8 kB / 1.116 GB, free: 232.3 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003678/2.188, allocations: 213.9 kB / 1.116 GB, free: 232.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002309/2.188, allocations: 104 kB / 1.116 GB, free: 232 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001274/2.189, allocations: 1.281 MB / 1.118 GB, free: 230.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/2.189, allocations: 0 / 1.118 GB, free: 230.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.006055/2.195, allocations: 2.927 MB / 1.12 GB, free: 228.1 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 ($STATESET1.x) * Number of discrete variables: 4 (tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(15,77), (19,105)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006276/2.202, allocations: 2.115 MB / 1.123 GB, free: 226.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0214/2.223, allocations: 8.807 MB / 1.131 GB, free: 217.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/2.223, allocations: 4 kB / 1.131 GB, free: 217.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.007826/2.231, allocations: 3.003 MB / 1.134 GB, free: 214.4 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004116/2.235, allocations: 1.063 MB / 1.135 GB, free: 213.3 MB / 0.7325 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4733:9-4733:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:822:5-822:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 4.6150154520291835] 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.2438331940211356 2.251876456 1.384615194 Calling exit ...