Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008027/0.0008027, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003619/0.003619, allocations: 162.9 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8602/0.8602, allocations: 177.1 MB / 205 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2577/0.2577, allocations: 34.26 MB / 295.7 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 3.938 kB / 443.5 MB, free: 1.137 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.07e-05/2.246e-05, allocations: 2.281 kB / 443.5 MB, free: 1.133 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.2508/0.2508, allocations: 81.37 MB / 0.5125 GB, free: 7.352 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.02598/0.2768, allocations: 19.61 MB / 0.5317 GB, free: 10.09 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003309/0.2801, allocations: 122.9 kB / 0.5318 GB, free: 10.02 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002981/0.2831, allocations: 0.9191 MB / 0.5327 GB, free: 9.242 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01054/0.2936, allocations: 4 MB / 0.5366 GB, free: 6.148 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0139/0.3075, allocations: 6.72 MB / 0.5432 GB, free: 15.73 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.008515/0.316, allocations: 6.802 MB / 0.5498 GB, free: 8.902 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002907/0.3189, allocations: 1.568 MB / 0.5513 GB, free: 7.316 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.09688/0.4158, allocations: 75.3 MB / 0.6249 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2806/0.6964, allocations: 31.72 MB / 0.6559 GB, free: 79.96 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0007651/0.6972, allocations: 247.2 kB / 0.6561 GB, free: 79.96 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009039/0.7062, allocations: 5.457 MB / 0.6614 GB, free: 79 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.001676/0.7079, allocations: 1.151 MB / 0.6625 GB, free: 79 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0022/0.7101, allocations: 1.062 MB / 0.6636 GB, free: 79 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.01154/0.7216, allocations: 5.724 MB / 0.6692 GB, free: 78.94 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.7216, allocations: 4 kB / 0.6692 GB, free: 78.94 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7216, allocations: 0.5938 kB / 0.6692 GB, free: 78.94 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001345/0.7218, allocations: 0.7656 kB / 0.6692 GB, free: 78.94 MB / 0.5261 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.009061/0.7308, allocations: 3.485 MB / 0.6726 GB, free: 77.42 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.7309, allocations: 9.438 kB / 0.6726 GB, free: 77.42 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008528/0.7317, allocations: 322.9 kB / 0.6729 GB, free: 77.27 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002418/0.7342, allocations: 1.584 MB / 0.6744 GB, free: 76.82 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001676/0.7343, allocations: 267.3 kB / 0.6747 GB, free: 76.69 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002648/0.7346, allocations: 186.1 kB / 0.6749 GB, free: 76.69 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004336/0.7389, allocations: 3.65 MB / 0.6784 GB, free: 75.88 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.659e-05/0.739, allocations: 3.375 kB / 0.6784 GB, free: 75.88 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001855/0.7391, allocations: 89.84 kB / 0.6785 GB, free: 75.88 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002157/0.7394, allocations: 253 kB / 0.6788 GB, free: 75.87 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003372/0.7427, allocations: 3.092 MB / 0.6818 GB, free: 75.85 MB / 0.5261 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.01077/0.7535, allocations: 9.771 MB / 0.6913 GB, free: 72.61 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002385/0.7559, allocations: 2.083 MB / 0.6934 GB, free: 72.48 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001077/0.757, allocations: 1.109 MB / 0.6944 GB, free: 71.94 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004473/0.7614, allocations: 3.239 MB / 0.6976 GB, free: 69.89 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.7615, allocations: 51.91 kB / 0.6977 GB, free: 69.85 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005629/0.762, allocations: 127.8 kB / 0.6978 GB, free: 69.74 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=158): time 3.987e-06/0.762, allocations: 0 / 0.6978 GB, free: 69.74 MB / 0.5261 GB Notification: Performance of matching and sorting (n=259): time 0.2317/0.9937, allocations: 54.98 MB / 0.7515 GB, free: 17.16 MB / 0.5261 GB Error: Jacobian StateSetJac0 contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of inlineWhenForInitialization (initialization): time 0.07143/1.065, allocations: 44.32 MB / 0.7948 GB, free: 4.645 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001738/1.067, allocations: 1.51 MB / 0.7962 GB, free: 3.129 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006066/1.068, allocations: 65.7 kB / 0.7963 GB, free: 3.059 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005467/1.068, allocations: 1.112 MB / 0.7974 GB, free: 1.945 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007683/1.069, allocations: 0.899 MB / 0.7983 GB, free: 1.059 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007647/1.07, allocations: 0.5645 MB / 0.7988 GB, free: 500 kB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.916e-05/1.07, allocations: 301.7 kB / 0.7991 GB, free: 196 kB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002735/1.072, allocations: 2.189 MB / 0.8012 GB, free: 14 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002926/1.075, allocations: 2.808 MB / 0.804 GB, free: 10.94 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006637/1.082, allocations: 5.419 MB / 0.8093 GB, free: 5.301 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.538e-05/1.082, allocations: 4 kB / 0.8093 GB, free: 5.297 MB / 0.573 GB Notification: Performance of matching and sorting (n=359) (initialization): time 0.009774/1.092, allocations: 7.362 MB / 0.8165 GB, free: 13.99 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.09e-05/1.092, allocations: 15.94 kB / 0.8165 GB, free: 13.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.53e-05/1.092, allocations: 20 kB / 0.8165 GB, free: 13.96 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02304/1.115, allocations: 11.82 MB / 0.828 GB, free: 2.156 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/1.116, allocations: 353.9 kB / 0.8284 GB, free: 1.832 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01113/1.127, allocations: 8.621 MB / 0.8368 GB, free: 9.164 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002559/1.13, allocations: 191.8 kB / 0.837 GB, free: 8.977 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003338/1.13, allocations: 151.9 kB / 0.8371 GB, free: 8.828 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003749/1.134, allocations: 2.688 MB / 0.8397 GB, free: 6.129 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002918/1.137, allocations: 2.758 MB / 0.8424 GB, free: 3.117 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007273/1.144, allocations: 5.294 MB / 0.8476 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.94e-05/1.144, allocations: 7.938 kB / 0.8476 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=359) (initialization_lambda0): time 0.009869/1.154, allocations: 7.096 MB / 0.8545 GB, free: 6.559 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/1.154, allocations: 12.55 kB / 0.8546 GB, free: 6.547 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.361e-05/1.154, allocations: 20 kB / 0.8546 GB, free: 6.527 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2313/1.385, allocations: 7.673 MB / 0.8621 GB, free: 248.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001393/1.387, allocations: 391.7 kB / 0.8624 GB, free: 248.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01026/1.397, allocations: 8.156 MB / 0.8704 GB, free: 246.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003128/1.4, allocations: 193.8 kB / 0.8706 GB, free: 246.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004425/1.4, allocations: 147.4 kB / 0.8707 GB, free: 246.4 MB / 0.6198 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.0009823/1.401, allocations: 336.6 kB / 0.8711 GB, free: 246.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006718/1.402, allocations: 230.9 kB / 0.8713 GB, free: 246.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009833/1.412, allocations: 7.691 MB / 0.8788 GB, free: 243.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.991e-05/1.412, allocations: 32.31 kB / 0.8788 GB, free: 243.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/1.412, allocations: 0 / 0.8788 GB, free: 243.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007621/1.419, allocations: 6.783 MB / 0.8854 GB, free: 241 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01961/1.439, allocations: 12.81 MB / 0.898 GB, free: 236 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.365e-05/1.439, allocations: 1.375 kB / 0.898 GB, free: 236 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005904/1.44, allocations: 187.5 kB / 0.8981 GB, free: 235.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02617/1.466, allocations: 11.25 MB / 0.9091 GB, free: 234.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007354/1.467, allocations: 82.69 kB / 0.9092 GB, free: 234.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009365/1.476, allocations: 8.345 MB / 0.9173 GB, free: 231.3 MB / 0.6198 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.06375/1.54, allocations: 41.18 MB / 0.9576 GB, free: 194.3 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01184/1.552, allocations: 10.3 MB / 0.9676 GB, free: 183.9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001532/1.553, allocations: 0.7131 MB / 0.9683 GB, free: 183.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002873/1.553, allocations: 55.98 kB / 0.9684 GB, free: 183.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001237/1.555, allocations: 163.9 kB / 0.9685 GB, free: 183 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002863/1.555, allocations: 210 kB / 0.9687 GB, free: 182.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001826/1.555, allocations: 107.9 kB / 0.9688 GB, free: 182.7 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0009471/1.556, allocations: 0.9829 MB / 0.9698 GB, free: 181.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.71e-07/1.556, allocations: 0 / 0.9698 GB, free: 181.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.007068/1.563, allocations: 2.911 MB / 0.9726 GB, free: 179.1 MB / 0.6198 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.006969/1.57, allocations: 2.263 MB / 0.9748 GB, free: 176.9 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.01454/1.585, allocations: 8.802 MB / 0.9834 GB, free: 168.1 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/1.585, allocations: 4 kB / 0.9834 GB, free: 168.1 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.004951/1.59, allocations: 3.004 MB / 0.9864 GB, free: 165.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003221/1.593, allocations: 0.9552 MB / 0.9873 GB, free: 164.2 MB / 0.6198 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4676:9-4676:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:836:5-836: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: 3.3939104666933417] 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'] 1.6003679875284433 1.6063649 0.883136773 Calling exit ...