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.001472/0.001472, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.001625/0.001625, allocations: 206.8 kB / 24.47 MB, free: 4.023 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.564/1.564, allocations: 230.2 MB / 257.8 MB, free: 8.492 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.2242/0.2242, allocations: 46.89 MB / 361.1 MB, free: 4.641 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.002341/0.002341, allocations: 79.86 kB / 0.4968 GB, free: 7.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.294, allocations: 65.99 MB / 0.5612 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.1071/0.4011, allocations: 91.64 MB / 0.6507 GB, free: 9.035 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.03382/0.435, allocations: 21.53 MB / 0.6717 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002386/0.4373, allocations: 87.44 kB / 0.6718 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002589/0.4399, allocations: 0.955 MB / 0.6727 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.009507/0.4494, allocations: 3.795 MB / 0.6765 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.01298/0.4624, allocations: 5.676 MB / 0.682 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01017/0.4726, allocations: 6.948 MB / 0.6888 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003106/0.4757, allocations: 1.583 MB / 0.6903 GB, free: 348 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4116/0.8873, allocations: 75.14 MB / 0.7637 GB, free: 41.46 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.05511/0.9424, allocations: 32.2 MB / 0.7952 GB, free: 31.33 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0008447/0.9433, allocations: 245.1 kB / 0.7954 GB, free: 31.33 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01121/0.9545, allocations: 6.161 MB / 0.8014 GB, free: 26.5 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001472/0.9559, allocations: 1.103 MB / 0.8025 GB, free: 25.86 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002145/0.9581, allocations: 1.491 MB / 0.8039 GB, free: 25.13 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.008134/0.9662, allocations: 5.537 MB / 0.8093 GB, free: 20.8 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.9662, allocations: 2.625 kB / 0.8093 GB, free: 20.8 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.353e-06/0.9662, allocations: 0 / 0.8093 GB, free: 20.8 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.004e-05/0.9663, allocations: 0 / 0.8093 GB, free: 20.8 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.00749/0.9738, allocations: 3.588 MB / 0.8129 GB, free: 17.59 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.9738, allocations: 8.031 kB / 0.8129 GB, free: 17.58 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008666/0.9747, allocations: 326.1 kB / 0.8132 GB, free: 17.26 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002783/0.9775, allocations: 1.681 MB / 0.8148 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/0.9776, allocations: 213.1 kB / 0.815 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002612/0.9778, allocations: 184.6 kB / 0.8152 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004296/0.9821, allocations: 3.278 MB / 0.8184 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.183e-05/0.9822, allocations: 7.75 kB / 0.8184 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002338/0.9824, allocations: 81.17 kB / 0.8185 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002585/0.9827, allocations: 248.6 kB / 0.8187 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004532/0.9872, allocations: 3.098 MB / 0.8217 GB, free: 10.94 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.01664/1.004, allocations: 13.69 MB / 0.8351 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004421/1.008, allocations: 2.098 MB / 0.8372 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00186/1.01, allocations: 1.117 MB / 0.8382 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009344/1.019, allocations: 5.457 MB / 0.8436 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.979e-05/1.02, allocations: 51.88 kB / 0.8436 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006431/1.02, allocations: 170.6 kB / 0.8438 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=158): time 3.787e-06/1.02, allocations: 0 / 0.8438 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of matching and sorting (n=259): time 0.5406/1.561, allocations: 55.26 MB / 0.8977 GB, free: 14.24 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.1476/1.708, allocations: 45.38 MB / 0.9421 GB, free: 0.5 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002879/1.711, allocations: 1.862 MB / 0.9439 GB, free: 14.6 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.000632/1.712, allocations: 77.64 kB / 0.944 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009896/1.713, allocations: 1.108 MB / 0.945 GB, free: 13.4 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001144/1.714, allocations: 0.9128 MB / 0.9459 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001165/1.715, allocations: 0.5684 MB / 0.9465 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001292/1.715, allocations: 301.1 kB / 0.9468 GB, free: 11.63 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00438/1.72, allocations: 2.18 MB / 0.9489 GB, free: 9.445 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005111/1.725, allocations: 2.822 MB / 0.9517 GB, free: 6.371 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0123/1.737, allocations: 5.415 MB / 0.9569 GB, free: 0.7383 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.951e-05/1.737, allocations: 4 kB / 0.9569 GB, free: 0.7344 MB / 0.6856 GB Notification: Performance of matching and sorting (n=359) (initialization): time 0.01677/1.754, allocations: 7.382 MB / 0.9642 GB, free: 9.406 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.541e-05/1.754, allocations: 12 kB / 0.9642 GB, free: 9.395 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.258e-05/1.754, allocations: 16.11 kB / 0.9642 GB, free: 9.379 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04743/1.801, allocations: 11.84 MB / 0.9757 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001821/1.803, allocations: 346.6 kB / 0.9761 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0196/1.823, allocations: 8.629 MB / 0.9845 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003568/1.826, allocations: 191.8 kB / 0.9847 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004225/1.827, allocations: 155.9 kB / 0.9848 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005574/1.832, allocations: 2.68 MB / 0.9874 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005113/1.837, allocations: 2.757 MB / 0.9901 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01158/1.849, allocations: 5.289 MB / 0.9953 GB, free: 9.023 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.273e-05/1.849, allocations: 4 kB / 0.9953 GB, free: 9.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=359) (initialization_lambda0): time 0.01594/1.865, allocations: 7.13 MB / 1.002 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/1.865, allocations: 12 kB / 1.002 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.065e-05/1.865, allocations: 16 kB / 1.002 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2714/2.136, allocations: 7.674 MB / 1.01 GB, free: 328.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00186/2.138, allocations: 394.5 kB / 1.01 GB, free: 328.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01463/2.153, allocations: 8.155 MB / 1.018 GB, free: 325.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003287/2.156, allocations: 186.6 kB / 1.018 GB, free: 325.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003384/2.157, allocations: 151.5 kB / 1.018 GB, free: 325.9 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 4 (tank.inFlow[2],tank.inFlow[1],tank.regularFlow[2],tank.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(15,79), (18,78)} Notification: Performance of prepare postOptimizeDAE: time 0.0007369/2.157, allocations: 339.8 kB / 1.019 GB, free: 325.6 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005893/2.158, allocations: 258.2 kB / 1.019 GB, free: 325.6 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01376/2.172, allocations: 7.701 MB / 1.027 GB, free: 322.9 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-05/2.172, allocations: 30.41 kB / 1.027 GB, free: 322.9 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/2.172, allocations: 0 / 1.027 GB, free: 322.9 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01148/2.183, allocations: 6.771 MB / 1.033 GB, free: 317.5 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02324/2.206, allocations: 13.62 MB / 1.046 GB, free: 304 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/2.206, allocations: 3.984 kB / 1.046 GB, free: 303.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009359/2.207, allocations: 195.7 kB / 1.047 GB, free: 303.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0391/2.246, allocations: 11.25 MB / 1.058 GB, free: 292.8 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005387/2.247, allocations: 91.89 kB / 1.058 GB, free: 292.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01361/2.261, allocations: 8.331 MB / 1.066 GB, free: 284.5 MB / 0.7325 GB Warning: There are tearing variables with annotation attribute '__OpenModelica_tearingSelect = TearingSelect.never'. Use -d=tearingdump and -d=tearingdumpV for more information. Error: Jacobian StateSetJac9 contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1155/2.376, allocations: 42.09 MB / 1.107 GB, free: 242.4 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01685/2.393, allocations: 10.32 MB / 1.117 GB, free: 232 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001976/2.395, allocations: 0.8236 MB / 1.118 GB, free: 231.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005198/2.396, allocations: 51.98 kB / 1.118 GB, free: 231.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002428/2.398, allocations: 171.9 kB / 1.118 GB, free: 230.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003934/2.398, allocations: 198 kB / 1.118 GB, free: 230.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002512/2.399, allocations: 111.9 kB / 1.118 GB, free: 230.6 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001337/2.4, allocations: 1.277 MB / 1.12 GB, free: 229.3 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9.1e-08/2.4, allocations: 0 / 1.12 GB, free: 229.3 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.006429/2.406, allocations: 2.926 MB / 1.122 GB, free: 226.7 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 ($STATESET1.x) * Number of discrete variables: 4 (tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(15,77), (19,105)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007186/2.414, allocations: 2.128 MB / 1.125 GB, free: 224.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02358/2.437, allocations: 8.792 MB / 1.133 GB, free: 216 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.168e-06/2.437, allocations: 320 / 1.133 GB, free: 216 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.008721/2.446, allocations: 3.005 MB / 1.136 GB, free: 213 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00494/2.451, allocations: 1.064 MB / 1.137 GB, free: 212 MB / 0.7325 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4732:9-4732:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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 658] [Calling sys.exit(0), Time elapsed: 5.215219705365598] 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.459695294033736 2.468031511 1.49940517 Calling exit ...