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.001996/0.001996, allocations: 109 kB / 21.23 MB, free: 0.6641 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.002611/0.002611, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.57/1.57, allocations: 230.3 MB / 258 MB, free: 8.188 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.2327/0.2327, allocations: 46.94 MB / 361.4 MB, free: 4.371 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.002541/0.002541, allocations: 71.88 kB / 0.4972 GB, free: 7.477 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3161, allocations: 66.05 MB / 0.5617 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.1032/0.4193, allocations: 91.67 MB / 0.6512 GB, free: 8.484 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.03638/0.4557, allocations: 21.53 MB / 0.6722 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002991/0.4587, allocations: 126.8 kB / 0.6723 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00282/0.4615, allocations: 0.9589 MB / 0.6733 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0114/0.4729, allocations: 3.892 MB / 0.6771 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.01465/0.4875, allocations: 6.05 MB / 0.683 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01103/0.4986, allocations: 7.275 MB / 0.6901 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002918/0.5015, allocations: 1.595 MB / 0.6916 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4531/0.9546, allocations: 74.49 MB / 0.7644 GB, free: 40.2 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.06615/1.021, allocations: 31.89 MB / 0.7955 GB, free: 30.69 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0008979/1.022, allocations: 248 kB / 0.7958 GB, free: 30.45 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01348/1.035, allocations: 6.156 MB / 0.8018 GB, free: 25.66 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002114/1.037, allocations: 1.1 MB / 0.8029 GB, free: 25.02 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002602/1.04, allocations: 1.49 MB / 0.8043 GB, free: 24.29 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0091/1.049, allocations: 5.545 MB / 0.8097 GB, free: 19.97 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/1.049, allocations: 0 / 0.8097 GB, free: 19.97 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.533e-06/1.049, allocations: 0 / 0.8097 GB, free: 19.97 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.458e-05/1.049, allocations: 0 / 0.8097 GB, free: 19.97 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.008144/1.057, allocations: 3.507 MB / 0.8132 GB, free: 16.85 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/1.057, allocations: 12.02 kB / 0.8132 GB, free: 16.84 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009516/1.058, allocations: 322.1 kB / 0.8135 GB, free: 16.52 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002789/1.061, allocations: 1.573 MB / 0.815 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/1.061, allocations: 213.8 kB / 0.8152 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002846/1.061, allocations: 190.6 kB / 0.8154 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004616/1.066, allocations: 3.276 MB / 0.8186 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.85e-05/1.066, allocations: 9.812 kB / 0.8186 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002327/1.066, allocations: 85.27 kB / 0.8187 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002473/1.066, allocations: 249.2 kB / 0.8189 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004719/1.071, allocations: 3.098 MB / 0.8219 GB, free: 10.31 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.01749/1.089, allocations: 13.5 MB / 0.8351 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004337/1.093, allocations: 2.105 MB / 0.8372 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002046/1.095, allocations: 1.114 MB / 0.8383 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007909/1.103, allocations: 3.589 MB / 0.8418 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.059e-05/1.103, allocations: 55.86 kB / 0.8418 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007313/1.104, allocations: 158.5 kB / 0.842 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=158): time 3.316e-06/1.104, allocations: 0 / 0.842 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of matching and sorting (n=259): time 0.5162/1.62, allocations: 54.99 MB / 0.8957 GB, free: 464 kB / 0.6231 GB Error: Jacobian StateSetJac0 contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of inlineWhenForInitialization (initialization): time 0.1505/1.77, allocations: 45.17 MB / 0.9398 GB, free: 2.969 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002831/1.773, allocations: 1.87 MB / 0.9416 GB, free: 1.059 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0005338/1.774, allocations: 69.77 kB / 0.9417 GB, free: 0.9844 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009532/1.775, allocations: 1.113 MB / 0.9428 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001068/1.776, allocations: 0.908 MB / 0.9437 GB, free: 14.97 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001226/1.777, allocations: 0.5722 MB / 0.9442 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001213/1.777, allocations: 301.1 kB / 0.9445 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004563/1.782, allocations: 2.183 MB / 0.9466 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005165/1.787, allocations: 2.818 MB / 0.9494 GB, free: 8.832 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01208/1.799, allocations: 5.417 MB / 0.9547 GB, free: 3.199 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.485e-05/1.799, allocations: 4 kB / 0.9547 GB, free: 3.195 MB / 0.6856 GB Notification: Performance of matching and sorting (n=359) (initialization): time 0.01707/1.816, allocations: 7.378 MB / 0.9619 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/1.816, allocations: 12 kB / 0.9619 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-05/1.816, allocations: 20.44 kB / 0.9619 GB, free: 11.85 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04775/1.864, allocations: 11.84 MB / 0.9735 GB, free: 24 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001681/1.866, allocations: 352.8 kB / 0.9738 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0194/1.885, allocations: 8.62 MB / 0.9822 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003506/1.888, allocations: 199.8 kB / 0.9824 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004609/1.889, allocations: 147.9 kB / 0.9826 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005438/1.894, allocations: 2.683 MB / 0.9852 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004922/1.899, allocations: 2.76 MB / 0.9879 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01187/1.911, allocations: 5.287 MB / 0.993 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.004e-05/1.911, allocations: 7.984 kB / 0.9931 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of matching and sorting (n=359) (initialization_lambda0): time 0.0164/1.928, allocations: 7.13 MB / 1 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/1.928, allocations: 17 kB / 1 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.876e-05/1.928, allocations: 16 kB / 1 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.287/2.215, allocations: 7.673 MB / 1.008 GB, free: 329.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001916/2.217, allocations: 393.3 kB / 1.008 GB, free: 329.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01593/2.232, allocations: 8.139 MB / 1.016 GB, free: 326.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003727/2.236, allocations: 199.9 kB / 1.016 GB, free: 326.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004681/2.237, allocations: 143.2 kB / 1.016 GB, free: 326.6 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.0009177/2.238, allocations: 336.6 kB / 1.017 GB, free: 326.3 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007312/2.238, allocations: 260.1 kB / 1.017 GB, free: 326.3 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01458/2.253, allocations: 7.728 MB / 1.024 GB, free: 323.6 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.403e-05/2.253, allocations: 29.59 kB / 1.024 GB, free: 323.6 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/2.253, allocations: 4.125 kB / 1.024 GB, free: 323.6 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01196/2.265, allocations: 6.779 MB / 1.031 GB, free: 319.5 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02325/2.288, allocations: 13.58 MB / 1.044 GB, free: 306 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.647e-05/2.288, allocations: 0 / 1.044 GB, free: 306 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008933/2.289, allocations: 198.4 kB / 1.044 GB, free: 305.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04111/2.33, allocations: 11.25 MB / 1.055 GB, free: 294.9 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006162/2.331, allocations: 83.89 kB / 1.055 GB, free: 294.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01452/2.345, allocations: 8.344 MB / 1.064 GB, free: 286.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.1208/2.466, allocations: 42 MB / 1.105 GB, free: 244.5 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01892/2.485, allocations: 10.32 MB / 1.115 GB, free: 234.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002586/2.488, allocations: 0.7595 MB / 1.115 GB, free: 233.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007803/2.488, allocations: 52 kB / 1.116 GB, free: 233.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002969/2.491, allocations: 163.9 kB / 1.116 GB, free: 233.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004888/2.492, allocations: 220.9 kB / 1.116 GB, free: 232.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003026/2.492, allocations: 108 kB / 1.116 GB, free: 232.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001601/2.494, allocations: 1.277 MB / 1.117 GB, free: 231.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/2.494, allocations: 0 / 1.117 GB, free: 231.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.007925/2.502, allocations: 2.927 MB / 1.12 GB, free: 228.9 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.008063/2.51, allocations: 2.124 MB / 1.122 GB, free: 227 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02426/2.534, allocations: 8.801 MB / 1.131 GB, free: 218.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/2.534, allocations: 0 / 1.131 GB, free: 218.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.008982/2.543, allocations: 3.026 MB / 1.134 GB, free: 215.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005077/2.548, allocations: 1.055 MB / 1.135 GB, free: 214.2 MB / 0.7325 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4732:9-4732:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:821:5-821:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 5.424947643652558] 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.5572725040838122 2.565871963 1.514327436 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f4e6be297b0>