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.008121/0.008121, allocations: 1.798 MB / 21.35 MB, free: 3.184 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.0007841/0.0007841, allocations: 88.19 kB / 25.15 MB, free: 7.434 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.0008461/0.0008461, allocations: 164.4 kB / 29.06 MB, free: 3.637 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.8966/0.8966, allocations: 177.1 MB / 210 MB, free: 3.613 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.6364/0.6364, allocations: 102.4 MB / 369.5 MB, free: 372 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.513e-06/1.513e-06, allocations: 0 / 470 MB, free: 18.96 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.537e-05/2.688e-05, allocations: 5.75 kB / 470 MB, free: 18.96 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.1249/0.1249, allocations: 74.98 MB / 0.5322 GB, free: 12.9 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.02932/0.1542, allocations: 22.6 MB / 0.5542 GB, free: 6.23 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004367/0.1586, allocations: 143 kB / 0.5544 GB, free: 6.09 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.006084/0.1647, allocations: 2.586 MB / 0.5569 GB, free: 3.488 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.008544/0.1732, allocations: 3.804 MB / 0.5606 GB, free: 15.66 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.006794/0.18, allocations: 3.976 MB / 0.5645 GB, free: 11.68 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01137/0.1914, allocations: 10.18 MB / 0.5745 GB, free: 1.465 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005095/0.1965, allocations: 3.497 MB / 0.5779 GB, free: 13.9 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1196/0.3161, allocations: 51.01 MB / 0.6277 GB, free: 12.04 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006129/0.3222, allocations: 3.412 MB / 0.631 GB, free: 8.617 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.001919/0.3241, allocations: 0.625 MB / 0.6316 GB, free: 7.992 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005079/0.3292, allocations: 1.93 MB / 0.6335 GB, free: 6.059 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.002237/0.3314, allocations: 1.95 MB / 0.6354 GB, free: 4.102 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.003894/0.3353, allocations: 2.131 MB / 0.6375 GB, free: 1.965 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.2159/0.5512, allocations: 6.665 MB / 0.644 GB, free: 85.42 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.5512, allocations: 0 / 0.644 GB, free: 85.42 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5512, allocations: 2.625 kB / 0.644 GB, free: 85.42 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0003143/0.5515, allocations: 0 / 0.644 GB, free: 85.42 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.00995/0.5615, allocations: 7.253 MB / 0.6511 GB, free: 82.13 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.5615, allocations: 8.719 kB / 0.6511 GB, free: 82.13 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001591/0.5631, allocations: 1.052 MB / 0.6521 GB, free: 81.7 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005732/0.5689, allocations: 4.104 MB / 0.6561 GB, free: 80.64 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001971/0.5691, allocations: 248.8 kB / 0.6564 GB, free: 80.63 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000485/0.5696, allocations: 349.5 kB / 0.6567 GB, free: 80.62 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01122/0.5808, allocations: 9.377 MB / 0.6659 GB, free: 74.79 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.189e-05/0.5809, allocations: 42.38 kB / 0.6659 GB, free: 74.79 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003209/0.5812, allocations: 161.5 kB / 0.6661 GB, free: 74.79 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001618/0.5813, allocations: 200.7 kB / 0.6662 GB, free: 74.79 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008145/0.5895, allocations: 4.331 MB / 0.6705 GB, free: 74.74 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02353/0.613, allocations: 43.9 MB / 0.7133 GB, free: 39.69 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008271/0.6213, allocations: 4.213 MB / 0.7175 GB, free: 38.18 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002077/0.6234, allocations: 1.097 MB / 0.7185 GB, free: 37.8 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003609/0.6237, allocations: 193.7 kB / 0.7187 GB, free: 37.76 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.431e-05/0.6238, allocations: 95.09 kB / 0.7188 GB, free: 37.71 MB / 0.5418 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002403/0.6262, allocations: 0.6649 MB / 0.7195 GB, free: 37.39 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=712): time 1.668e-05/0.6262, allocations: 1.125 kB / 0.7195 GB, free: 37.39 MB / 0.5418 GB Notification: Performance of matching and sorting (n=712): time 0.01852/0.6447, allocations: 8.64 MB / 0.7279 GB, free: 34.51 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002319/0.645, allocations: 1.384 MB / 0.7292 GB, free: 32.84 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0048/0.6498, allocations: 4.393 MB / 0.7335 GB, free: 30.4 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.000784/0.6506, allocations: 77.55 kB / 0.7336 GB, free: 30.34 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.001197/0.6517, allocations: 2.623 MB / 0.7362 GB, free: 28.06 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.001652/0.6534, allocations: 2.429 MB / 0.7385 GB, free: 25.95 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001595/0.655, allocations: 1.568 MB / 0.7401 GB, free: 25.05 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 3.391e-05/0.655, allocations: 476.8 kB / 0.7405 GB, free: 24.58 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002082/0.6571, allocations: 1.396 MB / 0.7419 GB, free: 24.13 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002959/0.6601, allocations: 5.324 MB / 0.7471 GB, free: 18.59 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007235/0.6673, allocations: 7.512 MB / 0.7544 GB, free: 13.48 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.188e-05/0.6673, allocations: 18.69 kB / 0.7544 GB, free: 13.48 MB / 0.5418 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.008667/0.676, allocations: 6.247 MB / 0.7605 GB, free: 8.434 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 3.862e-05/0.676, allocations: 34.69 kB / 0.7606 GB, free: 8.402 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004965/0.681, allocations: 3.85 MB / 0.7643 GB, free: 4.508 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005866/0.6816, allocations: 256.7 kB / 0.7646 GB, free: 4.262 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003316/0.6849, allocations: 1.978 MB / 0.7665 GB, free: 2.406 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002031/0.6869, allocations: 3.679 MB / 0.7701 GB, free: 14.54 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003503/0.6904, allocations: 279.8 kB / 0.7704 GB, free: 14.27 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007598/0.6912, allocations: 0.4905 MB / 0.7709 GB, free: 13.78 MB / 0.5574 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.004022/0.6952, allocations: 1.577 MB / 0.7724 GB, free: 12.2 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004711/0.6999, allocations: 5.3 MB / 0.7776 GB, free: 5.387 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009912/0.7098, allocations: 7.453 MB / 0.7849 GB, free: 13 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.336e-05/0.7099, allocations: 20 kB / 0.7849 GB, free: 12.98 MB / 0.573 GB Notification: Performance of matching and sorting (n=993) (initialization_lambda0): time 0.01012/0.72, allocations: 6.197 MB / 0.7909 GB, free: 7.168 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.708e-05/0.72, allocations: 35.94 kB / 0.791 GB, free: 7.133 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005977/0.726, allocations: 3.808 MB / 0.7947 GB, free: 3.281 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004128/0.7264, allocations: 227.2 kB / 0.7949 GB, free: 3.066 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00377/0.7302, allocations: 1.971 MB / 0.7968 GB, free: 1.215 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001939/0.7321, allocations: 3.645 MB / 0.8004 GB, free: 13.38 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003359/0.7355, allocations: 291.2 kB / 0.8007 GB, free: 13.1 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007214/0.7362, allocations: 491.6 kB / 0.8011 GB, free: 12.62 MB / 0.5887 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.001607/0.7378, allocations: 0.7187 MB / 0.8018 GB, free: 12.02 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001847/0.7397, allocations: 0.7157 MB / 0.8025 GB, free: 11.3 MB / 0.5887 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.009832/0.7495, allocations: 8.212 MB / 0.8105 GB, free: 3.57 MB / 0.5887 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.5425834180787206]