Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.01227/0.01227, allocations: 1.348 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.001601/0.001601, allocations: 78.22 kB / 24.02 MB, free: 2.605 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.001602/0.001602, allocations: 156 kB / 27.71 MB, free: 3.859 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.483/1.483, allocations: 177.2 MB / 208.4 MB, free: 7.676 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 1.052/1.052, allocations: 102.5 MB / 367.8 MB, free: 4.586 MB / 334.1 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/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_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_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 0.5365 GB, free: 7.102 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.794e-05/3.022e-05, allocations: 3.531 kB / 0.5365 GB, free: 7.098 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.1873/0.1873, allocations: 69.22 MB / 0.6041 GB, free: 4.348 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.04533/0.2326, allocations: 21.82 MB / 0.6254 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006543/0.2392, allocations: 150.9 kB / 0.6255 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.009196/0.2484, allocations: 2.571 MB / 0.628 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01501/0.2634, allocations: 3.797 MB / 0.6317 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.01187/0.2752, allocations: 3.985 MB / 0.6356 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01773/0.293, allocations: 10.18 MB / 0.6456 GB, free: 9.699 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00816/0.3011, allocations: 3.347 MB / 0.6488 GB, free: 6.281 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01573/0.3169, allocations: 5.675 MB / 0.6544 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008849/0.3257, allocations: 3.481 MB / 0.6578 GB, free: 13.1 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.003462/0.3292, allocations: 0.668 MB / 0.6584 GB, free: 12.43 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007539/0.3367, allocations: 1.977 MB / 0.6604 GB, free: 10.45 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.003893/0.3406, allocations: 2.067 MB / 0.6624 GB, free: 8.379 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.007155/0.3478, allocations: 2.205 MB / 0.6645 GB, free: 6.168 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.01978/0.3675, allocations: 10.47 MB / 0.6748 GB, free: 11.67 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.3675, allocations: 0 / 0.6748 GB, free: 11.67 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3675, allocations: 0 / 0.6748 GB, free: 11.67 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0004213/0.368, allocations: 0 / 0.6748 GB, free: 11.67 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.02218/0.3901, allocations: 7.293 MB / 0.6819 GB, free: 4.297 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 6.439e-05/0.3902, allocations: 12.02 kB / 0.6819 GB, free: 4.285 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004314/0.3945, allocations: 0.8901 MB / 0.6828 GB, free: 3.391 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3141/0.7086, allocations: 5.391 MB / 0.688 GB, free: 113.1 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003217/0.7089, allocations: 254 kB / 0.6883 GB, free: 113.1 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008823/0.7098, allocations: 314 kB / 0.6886 GB, free: 113 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02388/0.7337, allocations: 10.05 MB / 0.6984 GB, free: 106.3 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001122/0.7338, allocations: 40.06 kB / 0.6984 GB, free: 106.3 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005808/0.7344, allocations: 165.6 kB / 0.6986 GB, free: 106.2 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003524/0.7348, allocations: 202.7 kB / 0.6988 GB, free: 106.2 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02056/0.7553, allocations: 6.528 MB / 0.7052 GB, free: 103.5 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03913/0.7944, allocations: 32.87 MB / 0.7373 GB, free: 74.58 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01564/0.8101, allocations: 5.539 MB / 0.7427 GB, free: 69.58 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004424/0.8145, allocations: 1.879 MB / 0.7445 GB, free: 67.64 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007232/0.8152, allocations: 185.6 kB / 0.7447 GB, free: 67.46 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.123e-05/0.8153, allocations: 80.94 kB / 0.7447 GB, free: 67.37 MB / 0.5763 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00394/0.8193, allocations: 0.6238 MB / 0.7454 GB, free: 66.89 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=712): time 1.891e-05/0.8193, allocations: 0 / 0.7454 GB, free: 66.89 MB / 0.5763 GB Notification: Performance of matching and sorting (n=712): time 0.03583/0.8551, allocations: 10.97 MB / 0.7561 GB, free: 55.88 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002319/0.8553, allocations: 1.032 MB / 0.7571 GB, free: 54.61 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01139/0.8667, allocations: 4.86 MB / 0.7618 GB, free: 49.85 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001208/0.8679, allocations: 69.7 kB / 0.7619 GB, free: 49.77 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.001909/0.8698, allocations: 2.462 MB / 0.7643 GB, free: 47.52 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.003085/0.8729, allocations: 2.379 MB / 0.7666 GB, free: 45.28 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004574/0.8775, allocations: 1.457 MB / 0.768 GB, free: 43.82 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 5.604e-05/0.8775, allocations: 313 kB / 0.7683 GB, free: 43.51 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005581/0.8831, allocations: 2.667 MB / 0.7709 GB, free: 40.83 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006664/0.8898, allocations: 5.231 MB / 0.7761 GB, free: 34.55 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1223/1.012, allocations: 20.51 MB / 0.7961 GB, free: 13.7 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.298e-05/1.012, allocations: 16 kB / 0.7961 GB, free: 13.68 MB / 0.5763 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.01962/1.032, allocations: 8.451 MB / 0.8044 GB, free: 5.219 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 5.922e-05/1.032, allocations: 28 kB / 0.8044 GB, free: 5.191 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01402/1.046, allocations: 6.167 MB / 0.8104 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007661/1.047, allocations: 205.6 kB / 0.8106 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007688/1.054, allocations: 2.018 MB / 0.8126 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003467/1.058, allocations: 2.858 MB / 0.8154 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005632/1.063, allocations: 318.4 kB / 0.8157 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001774/1.065, allocations: 495.6 kB / 0.8161 GB, free: 8.902 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.01114/1.076, allocations: 3.749 MB / 0.8198 GB, free: 5.152 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01004/1.086, allocations: 5.207 MB / 0.8249 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1373/1.224, allocations: 20.4 MB / 0.8448 GB, free: 9.773 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001105/1.224, allocations: 20 kB / 0.8448 GB, free: 9.754 MB / 0.6232 GB Notification: Performance of matching and sorting (n=993) (initialization_lambda0): time 0.02763/1.251, allocations: 8.368 MB / 0.853 GB, free: 1.328 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001127/1.252, allocations: 34.5 kB / 0.853 GB, free: 1.297 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01682/1.268, allocations: 6.078 MB / 0.859 GB, free: 11.16 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005414/1.269, allocations: 184.7 kB / 0.8591 GB, free: 10.97 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007552/1.276, allocations: 2.008 MB / 0.8611 GB, free: 8.961 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00312/1.28, allocations: 2.815 MB / 0.8639 GB, free: 5.941 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005264/1.285, allocations: 320 kB / 0.8642 GB, free: 5.629 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001494/1.286, allocations: 491.6 kB / 0.8646 GB, free: 5.148 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.002509/1.289, allocations: 0.6267 MB / 0.8652 GB, free: 4.523 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002785/1.292, allocations: 0.6284 MB / 0.8659 GB, free: 3.891 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.02141/1.313, allocations: 9.156 MB / 0.8748 GB, free: 10.91 MB / 0.6544 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.475154832005501] Failed to read output from testmodel.py, exit status != 0: 1.495890848338604 1.787768455 1.416966644 Calling exit ...