Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 102 kB / 21.22 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 185.2 kB / 24.51 MB, free: 4.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 225.6 MB / 253.3 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.229/0.229, allocations: 44.91 MB / 353.5 MB, free: 11.84 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 67.89 kB / 497.7 MB, free: 1.004 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.3858, allocations: 64.3 MB / 0.5488 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.1149/0.5007, allocations: 91.35 MB / 0.6381 GB, free: 3.793 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.04129/0.542, allocations: 21.5 MB / 0.659 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003628/0.5456, allocations: 118.9 kB / 0.6592 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003642/0.5493, allocations: 0.9667 MB / 0.6601 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01427/0.5635, allocations: 3.873 MB / 0.6639 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01623/0.5798, allocations: 6.051 MB / 0.6698 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01273/0.5925, allocations: 7.253 MB / 0.6769 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004085/0.5966, allocations: 1.58 MB / 0.6784 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.6457/1.242, allocations: 74.42 MB / 0.7511 GB, free: 54.29 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.06853/1.311, allocations: 31.85 MB / 0.7822 GB, free: 44.96 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001724/1.313, allocations: 250.1 kB / 0.7824 GB, free: 44.95 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0152/1.328, allocations: 6.147 MB / 0.7884 GB, free: 44 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.00217/1.33, allocations: 1.101 MB / 0.7895 GB, free: 44 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002521/1.332, allocations: 1.491 MB / 0.791 GB, free: 43.86 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.008741/1.341, allocations: 5.533 MB / 0.7964 GB, free: 39.82 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/1.341, allocations: 0 / 0.7964 GB, free: 39.82 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.623e-06/1.341, allocations: 0 / 0.7964 GB, free: 39.82 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.199e-05/1.341, allocations: 0 / 0.7964 GB, free: 39.82 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.007589/1.349, allocations: 3.521 MB / 0.7998 GB, free: 36.7 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/1.349, allocations: 12.92 kB / 0.7998 GB, free: 36.68 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008712/1.35, allocations: 318.1 kB / 0.8001 GB, free: 36.37 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002371/1.352, allocations: 1.573 MB / 0.8017 GB, free: 35.14 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001476/1.352, allocations: 213.9 kB / 0.8019 GB, free: 34.98 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002736/1.353, allocations: 187.1 kB / 0.802 GB, free: 34.87 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004197/1.357, allocations: 3.279 MB / 0.8053 GB, free: 32.46 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.537e-05/1.357, allocations: 3.656 kB / 0.8053 GB, free: 32.46 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002168/1.357, allocations: 84.31 kB / 0.8053 GB, free: 32.43 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002462/1.357, allocations: 253.6 kB / 0.8056 GB, free: 32.22 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004057/1.361, allocations: 3.102 MB / 0.8086 GB, free: 30.16 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.01432/1.376, allocations: 13.51 MB / 0.8218 GB, free: 18.33 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003441/1.379, allocations: 2.1 MB / 0.8239 GB, free: 17 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001391/1.38, allocations: 1.111 MB / 0.8249 GB, free: 16.28 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005651/1.386, allocations: 3.581 MB / 0.8284 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/1.386, allocations: 51.88 kB / 0.8285 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004136/1.387, allocations: 162.6 kB / 0.8286 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=158): time 2.695e-06/1.387, allocations: 4 kB / 0.8286 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=259): time 0.534/1.921, allocations: 55.98 MB / 0.8833 GB, free: 5.055 MB / 0.6075 GB Error: Jacobian StateSetJac0 contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of inlineWhenForInitialization (initialization): time 0.1622/2.083, allocations: 46.09 MB / 0.9283 GB, free: 6.652 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003736/2.087, allocations: 1.87 MB / 0.9301 GB, free: 4.742 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0007501/2.087, allocations: 69.17 kB / 0.9302 GB, free: 4.672 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.00115/2.088, allocations: 1.106 MB / 0.9313 GB, free: 3.562 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.002004/2.09, allocations: 0.9116 MB / 0.9322 GB, free: 2.664 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002219/2.093, allocations: 0.5645 MB / 0.9327 GB, free: 2.094 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001757/2.093, allocations: 313.2 kB / 0.933 GB, free: 1.785 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005122/2.098, allocations: 2.176 MB / 0.9352 GB, free: 15.6 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00551/2.103, allocations: 2.819 MB / 0.9379 GB, free: 12.53 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01313/2.117, allocations: 5.457 MB / 0.9432 GB, free: 6.852 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.5e-05/2.117, allocations: 4 kB / 0.9432 GB, free: 6.848 MB / 0.67 GB Notification: Performance of matching and sorting (n=359) (initialization): time 0.01875/2.135, allocations: 7.406 MB / 0.9505 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.149e-05/2.135, allocations: 20.16 kB / 0.9505 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.514e-05/2.135, allocations: 19.98 kB / 0.9505 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05248/2.188, allocations: 12.25 MB / 0.9625 GB, free: 3.234 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001827/2.19, allocations: 351.1 kB / 0.9628 GB, free: 2.914 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02073/2.211, allocations: 8.65 MB / 0.9713 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003991/2.215, allocations: 195.8 kB / 0.9714 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007815/2.215, allocations: 159.5 kB / 0.9716 GB, free: 9.883 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006197/2.221, allocations: 2.68 MB / 0.9742 GB, free: 7.195 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005329/2.227, allocations: 2.752 MB / 0.9769 GB, free: 4.184 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01324/2.24, allocations: 5.33 MB / 0.9821 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.665e-05/2.24, allocations: 4 kB / 0.9821 GB, free: 14.63 MB / 0.7169 GB Notification: Performance of matching and sorting (n=359) (initialization_lambda0): time 0.01939/2.259, allocations: 7.16 MB / 0.9891 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.61e-05/2.26, allocations: 12.12 kB / 0.9891 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.752e-05/2.26, allocations: 24 kB / 0.9891 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3423/2.602, allocations: 7.727 MB / 0.9967 GB, free: 321.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002519/2.604, allocations: 391.1 kB / 0.9971 GB, free: 321.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01768/2.622, allocations: 8.174 MB / 1.005 GB, free: 319.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003738/2.626, allocations: 192.6 kB / 1.005 GB, free: 319.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004046/2.626, allocations: 144.6 kB / 1.005 GB, free: 319.2 MB / 0.7169 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.0008551/2.627, allocations: 346.4 kB / 1.006 GB, free: 319 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006668/2.628, allocations: 258.1 kB / 1.006 GB, free: 319 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01512/2.643, allocations: 7.736 MB / 1.013 GB, free: 316.3 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.819e-05/2.643, allocations: 29.14 kB / 1.014 GB, free: 316.3 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/2.643, allocations: 0 / 1.014 GB, free: 316.3 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01276/2.656, allocations: 6.807 MB / 1.02 GB, free: 313.7 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02516/2.681, allocations: 13.62 MB / 1.033 GB, free: 303.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.698e-05/2.681, allocations: 0 / 1.033 GB, free: 303.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009652/2.682, allocations: 187.8 kB / 1.034 GB, free: 302.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0441/2.726, allocations: 11.67 MB / 1.045 GB, free: 291.6 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008105/2.727, allocations: 88.45 kB / 1.045 GB, free: 291.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01545/2.742, allocations: 8.36 MB / 1.053 GB, free: 283.2 MB / 0.7169 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.1771/2.919, allocations: 42.97 MB / 1.095 GB, free: 240.3 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01862/2.938, allocations: 10.35 MB / 1.105 GB, free: 229.9 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002255/2.94, allocations: 0.7591 MB / 1.106 GB, free: 229.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005709/2.941, allocations: 52 kB / 1.106 GB, free: 229.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002739/2.943, allocations: 171.9 kB / 1.106 GB, free: 228.9 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004388/2.944, allocations: 213.9 kB / 1.107 GB, free: 228.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003038/2.944, allocations: 111.9 kB / 1.107 GB, free: 228.6 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001536/2.946, allocations: 1.273 MB / 1.108 GB, free: 227.3 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/2.946, allocations: 3.609 kB / 1.108 GB, free: 227.3 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.007549/2.953, allocations: 2.926 MB / 1.111 GB, free: 224.7 MB / 0.7169 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.007886/2.961, allocations: 2.119 MB / 1.113 GB, free: 222.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.02601/2.987, allocations: 8.804 MB / 1.121 GB, free: 214 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.245e-06/2.987, allocations: 0 / 1.121 GB, free: 214 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.009608/2.997, allocations: 3.024 MB / 1.124 GB, free: 211 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005652/3.002, allocations: 1.043 MB / 1.125 GB, free: 210 MB / 0.7169 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4732:9-4732:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:821:5-821: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.814943111501634] 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'] 3.0119659090414643 3.029308508 1.683940862 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fbf456617b0>