Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009506/0.0009506, allocations: 84.44 kB / 20.69 MB, free: 3.863 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.0007862/0.0007862, allocations: 170.3 kB / 23.96 MB, free: 0.5898 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.7661/0.7661, allocations: 158.6 MB / 185.7 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1211/0.1211, allocations: 32.37 MB / 270.4 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.21e-07/9.21e-07, allocations: 3.938 kB / 408.1 MB, free: 1.703 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.046e-05/1.138e-05, allocations: 5.938 kB / 408.1 MB, free: 1.699 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.2442/0.2442, allocations: 81.1 MB / 489.2 MB, free: 43.28 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01938/0.2636, allocations: 19.56 MB / 0.4969 GB, free: 42.92 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002066/0.2657, allocations: 125.3 kB / 0.497 GB, free: 42.92 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001441/0.2671, allocations: 0.9211 MB / 0.4979 GB, free: 42.71 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005951/0.273, allocations: 3.979 MB / 0.5018 GB, free: 41.36 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01128/0.2843, allocations: 6.645 MB / 0.5083 GB, free: 39.02 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.007606/0.2919, allocations: 6.786 MB / 0.5149 GB, free: 36.37 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002024/0.294, allocations: 1.554 MB / 0.5164 GB, free: 35.79 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.07682/0.3708, allocations: 75.19 MB / 0.5898 GB, free: 9.27 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03578/0.4065, allocations: 31.69 MB / 0.6208 GB, free: 9.242 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.001004/0.4075, allocations: 251.9 kB / 0.621 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01034/0.4179, allocations: 5.426 MB / 0.6263 GB, free: 3.535 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.001828/0.4197, allocations: 1.149 MB / 0.6275 GB, free: 2.383 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0025/0.4222, allocations: 1.06 MB / 0.6285 GB, free: 1.32 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0108/0.433, allocations: 5.722 MB / 0.6341 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.433, allocations: 0 / 0.6341 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.014e-06/0.433, allocations: 0 / 0.6341 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001371/0.4332, allocations: 4 kB / 0.6341 GB, free: 11.57 MB / 0.5105 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.006842/0.44, allocations: 3.485 MB / 0.6375 GB, free: 8.035 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.44, allocations: 8.031 kB / 0.6375 GB, free: 8.027 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007174/0.4408, allocations: 326.1 kB / 0.6378 GB, free: 7.707 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002367/0.4431, allocations: 1.582 MB / 0.6393 GB, free: 6.078 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000192/0.4433, allocations: 266.5 kB / 0.6396 GB, free: 5.793 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002417/0.4436, allocations: 188 kB / 0.6398 GB, free: 5.609 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00419/0.4478, allocations: 3.66 MB / 0.6434 GB, free: 1.734 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.871e-05/0.4478, allocations: 7.938 kB / 0.6434 GB, free: 1.727 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001682/0.448, allocations: 79.95 kB / 0.6434 GB, free: 1.648 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002212/0.4482, allocations: 259.7 kB / 0.6437 GB, free: 1.395 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004186/0.4524, allocations: 3.087 MB / 0.6467 GB, free: 14.3 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.01294/0.4653, allocations: 9.779 MB / 0.6562 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002678/0.468, allocations: 2.084 MB / 0.6583 GB, free: 2.242 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001195/0.4692, allocations: 1.108 MB / 0.6594 GB, free: 1.137 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004675/0.4739, allocations: 3.232 MB / 0.6625 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.4739, allocations: 51.88 kB / 0.6626 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004099/0.4743, allocations: 134.9 kB / 0.6627 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=158): time 5.149e-06/0.4743, allocations: 0 / 0.6627 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of matching and sorting (n=259): time 0.405/0.8793, allocations: 55.96 MB / 0.7173 GB, free: 197.4 MB / 0.5417 GB Error: Jacobian StateSetJac0 contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of inlineWhenForInitialization (initialization): time 0.07172/0.951, allocations: 45.24 MB / 0.7615 GB, free: 151.9 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001475/0.9525, allocations: 1.504 MB / 0.763 GB, free: 150.4 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0005856/0.953, allocations: 73.7 kB / 0.7631 GB, free: 150.3 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003918/0.9534, allocations: 1.107 MB / 0.7641 GB, free: 149.4 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005945/0.954, allocations: 0.8954 MB / 0.765 GB, free: 148.6 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006892/0.9547, allocations: 0.5683 MB / 0.7656 GB, free: 148 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 2.908e-05/0.9548, allocations: 301.1 kB / 0.7659 GB, free: 147.7 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00241/0.9572, allocations: 2.176 MB / 0.768 GB, free: 145.5 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002547/0.9597, allocations: 2.826 MB / 0.7707 GB, free: 142.4 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00605/0.9658, allocations: 5.457 MB / 0.7761 GB, free: 136.7 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-05/0.9658, allocations: 4 kB / 0.7761 GB, free: 136.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=359) (initialization): time 0.008863/0.9746, allocations: 7.378 MB / 0.7833 GB, free: 129.2 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.532e-05/0.9747, allocations: 12 kB / 0.7833 GB, free: 129.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.821e-05/0.9747, allocations: 24.89 kB / 0.7833 GB, free: 129.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02261/0.9973, allocations: 12.24 MB / 0.7953 GB, free: 117 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.9984, allocations: 347.4 kB / 0.7956 GB, free: 116.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01051/1.009, allocations: 8.652 MB / 0.8041 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002275/1.011, allocations: 195.8 kB / 0.8042 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002937/1.012, allocations: 151.9 kB / 0.8044 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003209/1.015, allocations: 2.681 MB / 0.807 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002465/1.017, allocations: 2.755 MB / 0.8097 GB, free: 101.9 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00607/1.023, allocations: 5.332 MB / 0.8149 GB, free: 96.24 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.874e-05/1.023, allocations: 11.94 kB / 0.8149 GB, free: 96.23 MB / 0.5417 GB Notification: Performance of matching and sorting (n=359) (initialization_lambda0): time 0.008768/1.032, allocations: 7.127 MB / 0.8219 GB, free: 89.05 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/1.032, allocations: 16 kB / 0.8219 GB, free: 89.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-05/1.032, allocations: 19.94 kB / 0.8219 GB, free: 89.02 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01278/1.045, allocations: 7.731 MB / 0.8295 GB, free: 81.27 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/1.046, allocations: 403.3 kB / 0.8298 GB, free: 80.88 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009613/1.056, allocations: 8.157 MB / 0.8378 GB, free: 72.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002348/1.058, allocations: 191.8 kB / 0.838 GB, free: 72.48 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003212/1.058, allocations: 147.9 kB / 0.8381 GB, free: 72.34 MB / 0.5417 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.000741/1.059, allocations: 339.1 kB / 0.8385 GB, free: 72.01 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004853/1.06, allocations: 242.5 kB / 0.8387 GB, free: 71.77 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009481/1.069, allocations: 7.701 MB / 0.8462 GB, free: 64.03 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.69e-05/1.069, allocations: 35.98 kB / 0.8462 GB, free: 64 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/1.069, allocations: 0 / 0.8462 GB, free: 64 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007642/1.077, allocations: 6.802 MB / 0.8529 GB, free: 57.09 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01568/1.092, allocations: 12.87 MB / 0.8654 GB, free: 44.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.157e-05/1.092, allocations: 3.984 kB / 0.8654 GB, free: 44.18 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004767/1.093, allocations: 187.8 kB / 0.8656 GB, free: 43.99 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02115/1.114, allocations: 11.66 MB / 0.877 GB, free: 32.32 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005899/1.115, allocations: 79.95 kB / 0.8771 GB, free: 32.24 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009325/1.124, allocations: 8.37 MB / 0.8853 GB, free: 23.82 MB / 0.5417 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.2677/1.392, allocations: 42.16 MB / 0.9264 GB, free: 193.6 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0147/1.406, allocations: 10.32 MB / 0.9365 GB, free: 189.8 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001875/1.408, allocations: 0.7109 MB / 0.9372 GB, free: 189.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004871/1.409, allocations: 55.66 kB / 0.9373 GB, free: 189.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00158/1.41, allocations: 175.4 kB / 0.9374 GB, free: 189.5 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004108/1.411, allocations: 215.9 kB / 0.9376 GB, free: 189.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002521/1.411, allocations: 110.9 kB / 0.9377 GB, free: 189.4 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001346/1.412, allocations: 0.9706 MB / 0.9387 GB, free: 189.1 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.81e-07/1.412, allocations: 0 / 0.9387 GB, free: 189.1 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00786/1.42, allocations: 2.908 MB / 0.9415 GB, free: 188.9 MB / 0.5417 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.007622/1.428, allocations: 2.258 MB / 0.9437 GB, free: 188.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01655/1.444, allocations: 8.807 MB / 0.9523 GB, free: 186 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/1.444, allocations: 3.781 kB / 0.9523 GB, free: 186 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.005076/1.45, allocations: 3.003 MB / 0.9553 GB, free: 184.9 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00302/1.453, allocations: 0.9417 MB / 0.9562 GB, free: 184.2 MB / 0.5417 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 659] [Calling sys.exit(0), Time elapsed: 3.151306173764169] 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.4587466670200229 1.465879662 1.031189828 Calling exit ...