Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.008453/0.008453, allocations: 1.777 MB / 22.36 MB, free: 2.117 MB / 18.57 MB " [Timeout remaining time 180] 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.0007716/0.0007716, allocations: 81.83 kB / 26.19 MB, free: 6.078 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.0008412/0.0008412, allocations: 167.7 kB / 30.12 MB, free: 2.184 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9816/0.9816, allocations: 177.2 MB / 211.1 MB, free: 3.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 0.5823/0.5823, allocations: 102.4 MB / 370.6 MB, free: 228 kB / 330.7 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package SMArtInt with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|hEXvle2vle_L3_1ph_BU_ntu.shell.h|hEXvle2vle_L3_1ph_BU_ntu.shell.p|hEXvle2vle_L3_1ph_BU_ntu.tubes.h|hEXvle2vle_L3_1ph_BU_ntu.tubes.p|hEXvle2vle_L3_1ph_BU_ntu.wall.T_w_a|hEXvle2vle_L3_1ph_BU_ntu.wall.T_w_i",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA") translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|hEXvle2vle_L3_1ph_BU_ntu.shell.h|hEXvle2vle_L3_1ph_BU_ntu.shell.p|hEXvle2vle_L3_1ph_BU_ntu.tubes.h|hEXvle2vle_L3_1ph_BU_ntu.tubes.p|hEXvle2vle_L3_1ph_BU_ntu.wall.T_w_a|hEXvle2vle_L3_1ph_BU_ntu.wall.T_w_i",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 471.2 MB, free: 18.81 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.032e-05/1.137e-05, allocations: 4.391 kB / 471.2 MB, free: 18.8 MB / 410.8 MB Notification: TILMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Automatically loaded package TILMedia 1.9.0 ClaRa due to usage. Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA): time 0.1115/0.1115, allocations: 74.3 MB / 0.5328 GB, free: 13.28 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.02502/0.1365, allocations: 22.5 MB / 0.5547 GB, free: 6.715 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002704/0.1392, allocations: 146.9 kB / 0.5549 GB, free: 6.57 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.00361/0.1429, allocations: 2.571 MB / 0.5574 GB, free: 3.984 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.005205/0.1481, allocations: 3.82 MB / 0.5611 GB, free: 144 kB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.005187/0.1532, allocations: 3.988 MB / 0.565 GB, free: 12.14 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.008327/0.1616, allocations: 10.18 MB / 0.575 GB, free: 1.93 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003004/0.1646, allocations: 3.497 MB / 0.5784 GB, free: 14.37 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1125/0.2771, allocations: 50.99 MB / 0.6282 GB, free: 12.54 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006867/0.284, allocations: 3.408 MB / 0.6315 GB, free: 9.117 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.001372/0.2853, allocations: 0.6289 MB / 0.6321 GB, free: 8.488 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003514/0.2889, allocations: 1.93 MB / 0.634 GB, free: 6.555 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.001134/0.29, allocations: 1.95 MB / 0.6359 GB, free: 4.598 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.001933/0.2919, allocations: 2.127 MB / 0.638 GB, free: 2.465 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.2104/0.5023, allocations: 6.662 MB / 0.6445 GB, free: 85.77 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.5023, allocations: 2.875 kB / 0.6445 GB, free: 85.77 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5023, allocations: 0 / 0.6445 GB, free: 85.77 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0002205/0.5025, allocations: 0 / 0.6445 GB, free: 85.77 MB / 0.5418 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1318 * Number of variables: 1318 Notification: Performance of Generate backend data structure: time 0.007574/0.5101, allocations: 7.312 MB / 0.6516 GB, free: 82.48 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.5102, allocations: 14.61 kB / 0.6516 GB, free: 82.48 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001251/0.5114, allocations: 1.053 MB / 0.6527 GB, free: 82.05 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004005/0.5154, allocations: 4.051 MB / 0.6566 GB, free: 80.99 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/0.5155, allocations: 246.8 kB / 0.6569 GB, free: 80.98 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000337/0.5159, allocations: 347 kB / 0.6572 GB, free: 80.97 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008605/0.5245, allocations: 9.051 MB / 0.666 GB, free: 75.14 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.053e-05/0.5246, allocations: 45.12 kB / 0.6661 GB, free: 75.14 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002729/0.5248, allocations: 166.4 kB / 0.6662 GB, free: 75.14 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001392/0.525, allocations: 203.6 kB / 0.6664 GB, free: 75.14 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006554/0.5315, allocations: 3.889 MB / 0.6702 GB, free: 75.05 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01713/0.5486, allocations: 43.14 MB / 0.7124 GB, free: 40.07 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006435/0.5551, allocations: 3.921 MB / 0.7162 GB, free: 38.81 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001056/0.5561, allocations: 0.924 MB / 0.7171 GB, free: 38.44 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003173/0.5565, allocations: 200 kB / 0.7173 GB, free: 38.39 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.122e-05/0.5565, allocations: 98.83 kB / 0.7174 GB, free: 38.34 MB / 0.5418 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002065/0.5586, allocations: 0.6646 MB / 0.718 GB, free: 38.02 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=712): time 1.025e-05/0.5586, allocations: 0 / 0.718 GB, free: 38.02 MB / 0.5418 GB Notification: Performance of matching and sorting (n=712): time 0.01448/0.5731, allocations: 8.007 MB / 0.7258 GB, free: 35.52 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001744/0.5732, allocations: 1.387 MB / 0.7272 GB, free: 33.86 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003086/0.5763, allocations: 4.324 MB / 0.7314 GB, free: 32.48 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0002679/0.5766, allocations: 73.61 kB / 0.7315 GB, free: 32.45 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.001125/0.5777, allocations: 2.673 MB / 0.7341 GB, free: 31.18 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.001048/0.5788, allocations: 2.458 MB / 0.7365 GB, free: 29.35 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00143/0.5802, allocations: 1.593 MB / 0.7381 GB, free: 28.88 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 3.271e-05/0.5802, allocations: 476.8 kB / 0.7385 GB, free: 28.41 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001326/0.5816, allocations: 1.118 MB / 0.7396 GB, free: 28.1 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002323/0.5839, allocations: 5.081 MB / 0.7446 GB, free: 22.84 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0053/0.5892, allocations: 6.806 MB / 0.7512 GB, free: 18.23 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.523e-05/0.5892, allocations: 22.28 kB / 0.7512 GB, free: 18.23 MB / 0.5418 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.006378/0.5956, allocations: 5.657 MB / 0.7568 GB, free: 15.46 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/0.5956, allocations: 32.78 kB / 0.7568 GB, free: 15.43 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003821/0.5994, allocations: 3.394 MB / 0.7601 GB, free: 11.99 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005273/0.6, allocations: 254.5 kB / 0.7603 GB, free: 11.75 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003131/0.6031, allocations: 1.972 MB / 0.7623 GB, free: 9.895 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/0.6046, allocations: 3.635 MB / 0.7658 GB, free: 6.102 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002838/0.6074, allocations: 286.5 kB / 0.7661 GB, free: 5.824 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005863/0.608, allocations: 431.6 kB / 0.7665 GB, free: 5.402 MB / 0.5418 GB Warning: Assuming fixed start value for the following 4 variables: hEXvle2vle_L3_1ph_BU_ntu.tubes.h:VARIABLE(start = hEXvle2vle_L3_1ph_BU_ntu.tubes.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hEXvle2vle_L3_1ph_BU_ntu.tubes.p:VARIABLE(min = 0.0 start = hEXvle2vle_L3_1ph_BU_ntu.tubes.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real hEXvle2vle_L3_1ph_BU_ntu.shell.h:VARIABLE(start = hEXvle2vle_L3_1ph_BU_ntu.shell.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hEXvle2vle_L3_1ph_BU_ntu.shell.p:VARIABLE(min = 0.0 start = hEXvle2vle_L3_1ph_BU_ntu.shell.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002944/0.611, allocations: 1.304 MB / 0.7678 GB, free: 4.102 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003349/0.6143, allocations: 5.066 MB / 0.7727 GB, free: 13.7 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008052/0.6224, allocations: 6.765 MB / 0.7793 GB, free: 6.18 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.893e-05/0.6224, allocations: 16 kB / 0.7793 GB, free: 6.164 MB / 0.5574 GB Notification: Performance of matching and sorting (n=993) (initialization_lambda0): time 0.009288/0.6317, allocations: 5.626 MB / 0.7848 GB, free: 0.9258 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.626e-05/0.6317, allocations: 32 kB / 0.7849 GB, free: 0.8945 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005844/0.6376, allocations: 3.353 MB / 0.7881 GB, free: 13.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004398/0.638, allocations: 228.8 kB / 0.7884 GB, free: 13.28 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004768/0.6428, allocations: 1.968 MB / 0.7903 GB, free: 11.43 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001955/0.6447, allocations: 3.609 MB / 0.7938 GB, free: 7.664 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003304/0.648, allocations: 287.2 kB / 0.7941 GB, free: 7.387 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006606/0.6487, allocations: 430.3 kB / 0.7945 GB, free: 6.969 MB / 0.573 GB Warning: Assuming fixed start value for the following 4 variables: hEXvle2vle_L3_1ph_BU_ntu.tubes.h:VARIABLE(start = hEXvle2vle_L3_1ph_BU_ntu.tubes.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hEXvle2vle_L3_1ph_BU_ntu.tubes.p:VARIABLE(min = 0.0 start = hEXvle2vle_L3_1ph_BU_ntu.tubes.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real hEXvle2vle_L3_1ph_BU_ntu.shell.h:VARIABLE(start = hEXvle2vle_L3_1ph_BU_ntu.shell.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hEXvle2vle_L3_1ph_BU_ntu.shell.p:VARIABLE(min = 0.0 start = hEXvle2vle_L3_1ph_BU_ntu.shell.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 286 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (991): * Single equations (assignments): 989 * 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 {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.001802/0.6505, allocations: 0.7096 MB / 0.7952 GB, free: 6.375 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001777/0.6523, allocations: 0.7104 MB / 0.7959 GB, free: 5.66 MB / 0.573 GB Warning: After manipulating the system with postOptModule wrapFunctionCalls the system is unbalanced. This indicates that the original system is singular. You can use -d=dumpCSE and -d=dumpCSE_verbose for more information. Error: Too many equations, over-determined system. The model has 1136 equation(s) and 1082 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (valve_shell1.fluidIn.q, valve_shell1.fluidIn.cp, valve_shell1.fluidIn.cv, valve_shell1.fluidIn.beta, valve_shell1.fluidIn.kappa, valve_shell1.fluidIn.drhodp_hxi, valve_shell1.fluidIn.drhodh_pxi, _, valve_shell1.fluidIn.w, valve_shell1.fluidIn.gamma) = ($cse432, $cse433, $cse434, $cse435, $cse436, $cse437, $cse438, $cse439, $cse440, $cse441) has size 9 but 8 variables ($cse189, $cse190, $cse191, $cse192, hEXvle2vle_L3_1ph_BU_ntu.tubes.bulk.transp.Pr, hEXvle2vle_L3_1ph_BU_ntu.tubes.bulk.transp.lambda, hEXvle2vle_L3_1ph_BU_ntu.tubes.bulk.transp.eta, hEXvle2vle_L3_1ph_BU_ntu.tubes.bulk.transp.sigma) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01135/0.6636, allocations: 8.019 MB / 0.8037 GB, free: 14.54 MB / 0.5887 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.471359984949231]