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.01511/0.01511, allocations: 1.349 MB / 20.45 MB, free: 1.262 MB / 14.72 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.001841/0.001841, allocations: 78.41 kB / 24.02 MB, free: 2.609 MB / 14.72 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.002074/0.002074, allocations: 153.7 kB / 27.7 MB, free: 3.863 MB / 19.63 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 1.506/1.506, allocations: 177.1 MB / 208.4 MB, free: 7.715 MB / 190.1 MB " [Timeout remaining time 178] 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 1.068/1.068, allocations: 102.5 MB / 367.7 MB, free: 4.59 MB / 334.1 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 0.3.1 (/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 2.374e-06/2.374e-06, allocations: 3.938 kB / 0.5365 GB, free: 7.098 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.168e-05/3.405e-05, allocations: 2.281 kB / 0.5365 GB, free: 7.094 MB / 446.1 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.2016/0.2016, allocations: 69.22 MB / 0.604 GB, free: 4.371 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.04343/0.245, allocations: 21.82 MB / 0.6254 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006431/0.2515, allocations: 142.9 kB / 0.6255 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.008569/0.26, allocations: 2.582 MB / 0.628 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01397/0.274, allocations: 3.789 MB / 0.6317 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.01149/0.2855, allocations: 3.992 MB / 0.6356 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01836/0.3039, allocations: 10.17 MB / 0.6456 GB, free: 9.727 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008059/0.3119, allocations: 3.343 MB / 0.6488 GB, free: 6.312 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01599/0.3279, allocations: 5.679 MB / 0.6544 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008526/0.3364, allocations: 3.481 MB / 0.6578 GB, free: 13.13 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.00303/0.3395, allocations: 0.668 MB / 0.6584 GB, free: 12.46 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008402/0.3479, allocations: 1.977 MB / 0.6603 GB, free: 10.48 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.004202/0.3521, allocations: 2.063 MB / 0.6624 GB, free: 8.414 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.006626/0.3587, allocations: 2.209 MB / 0.6645 GB, free: 6.199 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.02059/0.3793, allocations: 10.46 MB / 0.6747 GB, free: 11.71 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.3793, allocations: 0 / 0.6747 GB, free: 11.71 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3793, allocations: 7.938 kB / 0.6747 GB, free: 11.7 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0004/0.3797, allocations: 0 / 0.6747 GB, free: 11.7 MB / 0.5763 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.022/0.4017, allocations: 7.297 MB / 0.6819 GB, free: 4.328 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 6.32e-05/0.4017, allocations: 8.031 kB / 0.6819 GB, free: 4.32 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004541/0.4063, allocations: 0.9018 MB / 0.6827 GB, free: 3.414 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3084/0.7147, allocations: 5.379 MB / 0.688 GB, free: 113.2 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002872/0.715, allocations: 249.3 kB / 0.6882 GB, free: 113.1 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000772/0.7157, allocations: 317.6 kB / 0.6885 GB, free: 113 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02299/0.7387, allocations: 10.05 MB / 0.6984 GB, free: 106.4 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001163/0.7388, allocations: 40.16 kB / 0.6984 GB, free: 106.3 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005331/0.7394, allocations: 165.7 kB / 0.6986 GB, free: 106.2 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000346/0.7397, allocations: 199.9 kB / 0.6987 GB, free: 106.2 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02069/0.7604, allocations: 6.54 MB / 0.7051 GB, free: 103.6 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03562/0.796, allocations: 32.86 MB / 0.7372 GB, free: 74.62 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0162/0.8122, allocations: 5.536 MB / 0.7426 GB, free: 69.65 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004672/0.8169, allocations: 1.878 MB / 0.7445 GB, free: 67.71 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008765/0.8178, allocations: 185.6 kB / 0.7446 GB, free: 67.53 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001069/0.8179, allocations: 91.58 kB / 0.7447 GB, free: 67.43 MB / 0.5763 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004441/0.8223, allocations: 0.6143 MB / 0.7453 GB, free: 66.96 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=712): time 2.151e-05/0.8223, allocations: 0 / 0.7453 GB, free: 66.96 MB / 0.5763 GB Notification: Performance of matching and sorting (n=712): time 0.03713/0.8595, allocations: 10.97 MB / 0.756 GB, free: 55.95 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002465/0.8597, allocations: 1.032 MB / 0.757 GB, free: 54.68 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009562/0.8693, allocations: 4.86 MB / 0.7618 GB, free: 49.92 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001342/0.8706, allocations: 73.7 kB / 0.7619 GB, free: 49.84 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.00201/0.8726, allocations: 2.45 MB / 0.7643 GB, free: 47.6 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002868/0.8755, allocations: 2.384 MB / 0.7666 GB, free: 45.36 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004346/0.8798, allocations: 1.458 MB / 0.768 GB, free: 43.89 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 5.306e-05/0.8799, allocations: 305.1 kB / 0.7683 GB, free: 43.59 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00574/0.8856, allocations: 2.671 MB / 0.7709 GB, free: 40.91 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007141/0.8928, allocations: 5.244 MB / 0.776 GB, free: 34.62 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1246/1.017, allocations: 20.51 MB / 0.7961 GB, free: 13.77 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.571e-05/1.017, allocations: 18.62 kB / 0.7961 GB, free: 13.75 MB / 0.5763 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.02129/1.039, allocations: 8.445 MB / 0.8043 GB, free: 5.293 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 7.249e-05/1.039, allocations: 33.25 kB / 0.8043 GB, free: 5.262 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01464/1.053, allocations: 6.171 MB / 0.8104 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008014/1.054, allocations: 212.2 kB / 0.8106 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007699/1.062, allocations: 2.003 MB / 0.8125 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003451/1.065, allocations: 2.862 MB / 0.8153 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005471/1.071, allocations: 326.4 kB / 0.8156 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001754/1.073, allocations: 491.6 kB / 0.8161 GB, free: 8.969 MB / 0.5919 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.01146/1.084, allocations: 3.751 MB / 0.8198 GB, free: 5.223 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01036/1.094, allocations: 5.2 MB / 0.8249 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1388/1.233, allocations: 20.41 MB / 0.8448 GB, free: 9.852 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001042/1.233, allocations: 20 kB / 0.8448 GB, free: 9.832 MB / 0.6232 GB Notification: Performance of matching and sorting (n=993) (initialization_lambda0): time 0.0238/1.257, allocations: 8.362 MB / 0.853 GB, free: 1.406 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 7.174e-05/1.257, allocations: 35.98 kB / 0.853 GB, free: 1.371 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0163/1.274, allocations: 6.074 MB / 0.8589 GB, free: 11.23 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005819/1.274, allocations: 185.5 kB / 0.8591 GB, free: 11.04 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007674/1.282, allocations: 2.005 MB / 0.8611 GB, free: 9.035 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003028/1.285, allocations: 2.823 MB / 0.8638 GB, free: 6.012 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005062/1.29, allocations: 316.1 kB / 0.8641 GB, free: 5.703 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001586/1.291, allocations: 487.7 kB / 0.8646 GB, free: 5.227 MB / 0.6388 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00293/1.294, allocations: 0.6207 MB / 0.8652 GB, free: 4.602 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003261/1.298, allocations: 0.6323 MB / 0.8658 GB, free: 3.965 MB / 0.6388 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.02267/1.32, allocations: 9.17 MB / 0.8748 GB, free: 10.99 MB / 0.6544 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.650277908891439] Failed to read output from testmodel.py, exit status != 0: 1.520193949341774 1.882435878 1.500019791 Calling exit ...