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.00187/0.00187, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.002171/0.002171, allocations: 217.3 kB / 24.47 MB, free: 4.359 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.444/1.444, allocations: 230.2 MB / 257.8 MB, free: 8.512 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.2311/0.2311, allocations: 46.9 MB / 361.1 MB, free: 4.645 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.002383/0.002383, allocations: 83.86 kB / 0.4968 GB, free: 7.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3163, allocations: 65.99 MB / 0.5612 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.1061/0.4224, allocations: 91.64 MB / 0.6507 GB, free: 9.051 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.03463/0.457, allocations: 21.52 MB / 0.6717 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002759/0.4598, allocations: 87.44 kB / 0.6718 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003107/0.4629, allocations: 0.9667 MB / 0.6728 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01049/0.4734, allocations: 3.791 MB / 0.6765 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.01345/0.4868, allocations: 5.68 MB / 0.682 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009763/0.4966, allocations: 6.952 MB / 0.6888 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002827/0.4994, allocations: 1.579 MB / 0.6903 GB, free: 364 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4269/0.9264, allocations: 75.14 MB / 0.7637 GB, free: 41.42 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0557/0.9821, allocations: 32.19 MB / 0.7951 GB, free: 31.26 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000916/0.983, allocations: 246 kB / 0.7954 GB, free: 31.26 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01124/0.9942, allocations: 6.176 MB / 0.8014 GB, free: 26.42 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001354/0.9956, allocations: 1.108 MB / 0.8025 GB, free: 25.77 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001882/0.9975, allocations: 1.488 MB / 0.8039 GB, free: 25.04 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.007219/1.005, allocations: 5.533 MB / 0.8093 GB, free: 20.72 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/1.005, allocations: 3.094 kB / 0.8094 GB, free: 20.72 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.513e-06/1.005, allocations: 7.938 kB / 0.8094 GB, free: 20.71 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.183e-05/1.005, allocations: 0 / 0.8094 GB, free: 20.71 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.007491/1.012, allocations: 3.585 MB / 0.8129 GB, free: 17.5 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/1.012, allocations: 8.031 kB / 0.8129 GB, free: 17.5 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008743/1.013, allocations: 322.1 kB / 0.8132 GB, free: 17.18 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002789/1.016, allocations: 1.676 MB / 0.8148 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/1.016, allocations: 215.4 kB / 0.815 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002798/1.016, allocations: 187.5 kB / 0.8152 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004479/1.021, allocations: 3.275 MB / 0.8184 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.587e-05/1.021, allocations: 7.938 kB / 0.8184 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002257/1.021, allocations: 83.84 kB / 0.8185 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002416/1.021, allocations: 252.5 kB / 0.8187 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004548/1.026, allocations: 3.095 MB / 0.8217 GB, free: 10.86 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.01837/1.044, allocations: 13.68 MB / 0.8351 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004717/1.049, allocations: 2.105 MB / 0.8372 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002043/1.051, allocations: 1.111 MB / 0.8382 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009599/1.061, allocations: 5.461 MB / 0.8436 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.56e-05/1.061, allocations: 51.88 kB / 0.8436 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006442/1.061, allocations: 165.8 kB / 0.8438 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=158): time 4.198e-06/1.061, allocations: 3.375 kB / 0.8438 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=259): time 0.5347/1.596, allocations: 55.24 MB / 0.8977 GB, free: 14.21 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.1474/1.743, allocations: 45.38 MB / 0.9421 GB, free: 468 kB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002825/1.746, allocations: 1.87 MB / 0.9439 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0006086/1.747, allocations: 65.7 kB / 0.9439 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009493/1.748, allocations: 1.113 MB / 0.945 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001191/1.749, allocations: 0.9124 MB / 0.9459 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001252/1.75, allocations: 0.5683 MB / 0.9465 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001311/1.75, allocations: 301.1 kB / 0.9468 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004554/1.755, allocations: 2.176 MB / 0.9489 GB, free: 9.406 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005282/1.76, allocations: 2.822 MB / 0.9516 GB, free: 6.332 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01199/1.772, allocations: 5.412 MB / 0.9569 GB, free: 0.6992 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.959e-05/1.772, allocations: 7.984 kB / 0.9569 GB, free: 0.6914 MB / 0.6856 GB Notification: Performance of matching and sorting (n=359) (initialization): time 0.01728/1.79, allocations: 7.383 MB / 0.9641 GB, free: 9.367 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.961e-05/1.79, allocations: 17 kB / 0.9642 GB, free: 9.352 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.013e-05/1.79, allocations: 16 kB / 0.9642 GB, free: 9.336 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04659/1.836, allocations: 11.84 MB / 0.9757 GB, free: 13.51 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001692/1.838, allocations: 347.4 kB / 0.9761 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01931/1.857, allocations: 8.617 MB / 0.9845 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003535/1.861, allocations: 191.8 kB / 0.9847 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004531/1.861, allocations: 155.9 kB / 0.9848 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005389/1.867, allocations: 2.68 MB / 0.9874 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004854/1.871, allocations: 2.763 MB / 0.9901 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01141/1.883, allocations: 5.287 MB / 0.9953 GB, free: 8.988 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.059e-05/1.883, allocations: 8 kB / 0.9953 GB, free: 8.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=359) (initialization_lambda0): time 0.01653/1.899, allocations: 7.124 MB / 1.002 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/1.899, allocations: 19.94 kB / 1.002 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.961e-05/1.899, allocations: 20.09 kB / 1.002 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2726/2.172, allocations: 7.675 MB / 1.01 GB, free: 328.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001776/2.174, allocations: 396.9 kB / 1.01 GB, free: 328.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01435/2.188, allocations: 8.145 MB / 1.018 GB, free: 326.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003358/2.192, allocations: 198.2 kB / 1.018 GB, free: 326 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004309/2.192, allocations: 152 kB / 1.018 GB, free: 326 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.0007655/2.193, allocations: 334.6 kB / 1.019 GB, free: 325.7 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006269/2.193, allocations: 259.1 kB / 1.019 GB, free: 325.7 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01354/2.207, allocations: 7.701 MB / 1.027 GB, free: 323.1 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.291e-05/2.207, allocations: 37.53 kB / 1.027 GB, free: 323.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/2.207, allocations: 0 / 1.027 GB, free: 323.1 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01116/2.218, allocations: 6.761 MB / 1.033 GB, free: 317.6 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02262/2.241, allocations: 13.63 MB / 1.046 GB, free: 304 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/2.241, allocations: 4 kB / 1.047 GB, free: 304 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008531/2.242, allocations: 191.3 kB / 1.047 GB, free: 303.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03873/2.28, allocations: 11.25 MB / 1.058 GB, free: 292.9 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005494/2.281, allocations: 87.89 kB / 1.058 GB, free: 292.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01348/2.294, allocations: 8.33 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.1145/2.409, allocations: 42.08 MB / 1.107 GB, free: 242.4 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01689/2.426, allocations: 10.32 MB / 1.117 GB, free: 232 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001879/2.428, allocations: 0.8156 MB / 1.118 GB, free: 231.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005178/2.428, allocations: 55.98 kB / 1.118 GB, free: 231.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002783/2.431, allocations: 171.9 kB / 1.118 GB, free: 230.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000481/2.431, allocations: 198 kB / 1.118 GB, free: 230.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002806/2.432, allocations: 111.9 kB / 1.118 GB, free: 230.6 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001482/2.433, allocations: 1.273 MB / 1.12 GB, free: 229.3 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/2.433, allocations: 4 kB / 1.12 GB, free: 229.3 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.006572/2.44, allocations: 2.928 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.006971/2.447, allocations: 2.136 MB / 1.125 GB, free: 224.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02279/2.469, allocations: 8.796 MB / 1.133 GB, free: 216 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/2.469, allocations: 0 / 1.133 GB, free: 216 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.008645/2.478, allocations: 3.007 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.005432/2.484, allocations: 1.062 MB / 1.137 GB, free: 211.9 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.116333449725062] 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.492885365150869 2.500869984 1.493816292 Calling exit ...