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.001846/0.001846, allocations: 112.8 kB / 19.17 MB, free: 3.871 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.002454/0.002454, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.496/1.496, allocations: 230.2 MB / 255.2 MB, free: 15.39 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.2336/0.2336, allocations: 46.9 MB / 358.1 MB, free: 10.53 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.002215/0.002215, allocations: 71.88 kB / 0.4924 GB, free: 8.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1442, allocations: 66 MB / 0.5568 GB, free: 5.906 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.4161/0.5603, allocations: 90.93 MB / 0.6456 GB, free: 356 kB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.03854/0.5988, allocations: 21.43 MB / 0.6665 GB, free: 15.65 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003947/0.6028, allocations: 90.09 kB / 0.6666 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003757/0.6065, allocations: 0.9582 MB / 0.6676 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01352/0.6201, allocations: 3.791 MB / 0.6713 GB, free: 11.88 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01569/0.6357, allocations: 5.678 MB / 0.6768 GB, free: 6.312 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01191/0.6477, allocations: 6.937 MB / 0.6836 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003726/0.6514, allocations: 1.642 MB / 0.6852 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1944/0.8458, allocations: 75.13 MB / 0.7586 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.07866/0.9245, allocations: 32.18 MB / 0.79 GB, free: 1.16 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001312/0.9258, allocations: 248 kB / 0.7902 GB, free: 0.918 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01619/0.942, allocations: 6.167 MB / 0.7962 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002192/0.9442, allocations: 1.102 MB / 0.7973 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002751/0.9469, allocations: 1.493 MB / 0.7988 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01258/0.9595, allocations: 5.536 MB / 0.8042 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.9595, allocations: 0 / 0.8042 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.665e-06/0.9595, allocations: 0 / 0.8042 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001306/0.9596, allocations: 0 / 0.8042 GB, free: 2.551 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.01052/0.9701, allocations: 3.591 MB / 0.8077 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.9702, allocations: 11.97 kB / 0.8077 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001095/0.9713, allocations: 322.1 kB / 0.808 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003164/0.9744, allocations: 1.685 MB / 0.8097 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002314/0.9747, allocations: 215.1 kB / 0.8099 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003435/0.975, allocations: 180 kB / 0.81 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00599/0.981, allocations: 3.276 MB / 0.8132 GB, free: 9.027 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.802e-05/0.9811, allocations: 3.938 kB / 0.8132 GB, free: 9.023 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002505/0.9813, allocations: 83.95 kB / 0.8133 GB, free: 8.941 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003436/0.9816, allocations: 251.7 kB / 0.8136 GB, free: 8.695 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005806/0.9875, allocations: 3.103 MB / 0.8166 GB, free: 5.59 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.0232/1.011, allocations: 13.7 MB / 0.83 GB, free: 6.957 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004739/1.015, allocations: 2.092 MB / 0.832 GB, free: 4.855 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002122/1.018, allocations: 1.114 MB / 0.8331 GB, free: 3.734 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2889/1.306, allocations: 5.446 MB / 0.8384 GB, free: 236.4 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.963e-05/1.306, allocations: 53.83 kB / 0.8385 GB, free: 236.4 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007971/1.307, allocations: 165.3 kB / 0.8386 GB, free: 236.4 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=158): time 4.468e-06/1.307, allocations: 0 / 0.8386 GB, free: 236.4 MB / 0.6387 GB Notification: Performance of matching and sorting (n=259): time 0.4986/1.806, allocations: 55.26 MB / 0.8926 GB, free: 202 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.1227/1.929, allocations: 45.38 MB / 0.9369 GB, free: 156.2 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00214/1.931, allocations: 1.865 MB / 0.9387 GB, free: 154.3 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0005547/1.931, allocations: 69.7 kB / 0.9388 GB, free: 154.2 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005286/1.932, allocations: 1.119 MB / 0.9399 GB, free: 153.2 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007146/1.932, allocations: 0.905 MB / 0.9408 GB, free: 152.3 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009865/1.933, allocations: 0.5644 MB / 0.9413 GB, free: 151.7 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.218e-05/1.933, allocations: 305.1 kB / 0.9416 GB, free: 151.4 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003587/1.937, allocations: 2.18 MB / 0.9437 GB, free: 149.2 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003947/1.941, allocations: 2.818 MB / 0.9465 GB, free: 146.1 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009786/1.951, allocations: 5.418 MB / 0.9518 GB, free: 140.4 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.737e-05/1.951, allocations: 8 kB / 0.9518 GB, free: 140.4 MB / 0.6387 GB Notification: Performance of matching and sorting (n=359) (initialization): time 0.01356/1.964, allocations: 7.378 MB / 0.959 GB, free: 133 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.175e-05/1.964, allocations: 12 kB / 0.959 GB, free: 133 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.772e-05/1.964, allocations: 20 kB / 0.959 GB, free: 132.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04108/2.006, allocations: 11.83 MB / 0.9706 GB, free: 121.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001532/2.007, allocations: 351.4 kB / 0.9709 GB, free: 120.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01535/2.022, allocations: 8.624 MB / 0.9793 GB, free: 112.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003489/2.026, allocations: 199.8 kB / 0.9795 GB, free: 111.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004497/2.026, allocations: 151.9 kB / 0.9797 GB, free: 111.7 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004272/2.031, allocations: 2.68 MB / 0.9823 GB, free: 109.1 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003806/2.034, allocations: 2.755 MB / 0.985 GB, free: 106 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009314/2.044, allocations: 5.289 MB / 0.9901 GB, free: 100.5 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.903e-05/2.044, allocations: 8 kB / 0.9902 GB, free: 100.4 MB / 0.6387 GB Notification: Performance of matching and sorting (n=359) (initialization_lambda0): time 0.0134/2.057, allocations: 7.127 MB / 0.9971 GB, free: 93.27 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/2.057, allocations: 12.94 kB / 0.9971 GB, free: 93.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.28e-05/2.057, allocations: 23.94 kB / 0.9972 GB, free: 93.23 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02399/2.081, allocations: 7.676 MB / 1.005 GB, free: 85.54 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00187/2.083, allocations: 395.3 kB / 1.005 GB, free: 85.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01458/2.098, allocations: 8.143 MB / 1.013 GB, free: 76.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003552/2.101, allocations: 187.8 kB / 1.013 GB, free: 76.77 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004657/2.102, allocations: 151.9 kB / 1.013 GB, free: 76.62 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.0007847/2.102, allocations: 336.1 kB / 1.014 GB, free: 76.29 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007247/2.103, allocations: 266.3 kB / 1.014 GB, free: 76.03 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01425/2.117, allocations: 7.702 MB / 1.021 GB, free: 68.3 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.355e-05/2.117, allocations: 35.94 kB / 1.021 GB, free: 68.27 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/2.117, allocations: 3.984 kB / 1.021 GB, free: 68.27 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01209/2.13, allocations: 6.771 MB / 1.028 GB, free: 61.39 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02361/2.153, allocations: 13.64 MB / 1.041 GB, free: 47.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.45e-05/2.153, allocations: 0 / 1.041 GB, free: 47.66 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009465/2.154, allocations: 183.8 kB / 1.042 GB, free: 47.48 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03971/2.194, allocations: 11.24 MB / 1.053 GB, free: 36.25 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007074/2.195, allocations: 83.95 kB / 1.053 GB, free: 36.17 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01455/2.209, allocations: 8.335 MB / 1.061 GB, free: 27.78 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.4228/2.632, allocations: 42.08 MB / 1.102 GB, free: 223 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02109/2.653, allocations: 10.31 MB / 1.112 GB, free: 219.2 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002028/2.655, allocations: 0.8185 MB / 1.113 GB, free: 218.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006447/2.656, allocations: 55.84 kB / 1.113 GB, free: 218.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002705/2.658, allocations: 169.7 kB / 1.113 GB, free: 218.9 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004464/2.659, allocations: 201.6 kB / 1.113 GB, free: 218.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002791/2.659, allocations: 112.4 kB / 1.113 GB, free: 218.8 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0016/2.661, allocations: 1.275 MB / 1.114 GB, free: 218.3 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/2.661, allocations: 3.844 kB / 1.114 GB, free: 218.3 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.008109/2.669, allocations: 2.922 MB / 1.117 GB, free: 218 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.008769/2.678, allocations: 2.126 MB / 1.119 GB, free: 217.5 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0249/2.702, allocations: 8.801 MB / 1.128 GB, free: 212.9 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/2.702, allocations: 0 / 1.128 GB, free: 212.9 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.008953/2.711, allocations: 3.007 MB / 1.131 GB, free: 210 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006582/2.718, allocations: 1.053 MB / 1.132 GB, free: 209 MB / 0.6387 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4704:9-4704:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.5726490209344774] 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.726788209984079 2.73543331 1.773408056 Calling exit ...