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.005967/0.005967, allocations: 1.446 MB / 20.54 MB, free: 4.008 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.000682/0.000682, allocations: 91.45 kB / 24.16 MB, free: 396 kB / 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.0008397/0.0008397, allocations: 163.6 kB / 27.85 MB, free: 5.5 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.8312/0.8312, allocations: 177.2 MB / 208.6 MB, free: 2.957 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.7205/0.7205, allocations: 102.5 MB / 367.9 MB, free: 1.434 MB / 330.8 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.5.2 (/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.044e-06/2.044e-06, allocations: 0 / 0.5367 GB, free: 39.83 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.91e-05/2.114e-05, allocations: 4 kB / 0.5367 GB, free: 39.83 MB / 490.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.1119/0.112, allocations: 69.19 MB / 0.6042 GB, free: 6.762 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.02674/0.1387, allocations: 21.83 MB / 0.6256 GB, free: 0.8633 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003604/0.1423, allocations: 146.9 kB / 0.6257 GB, free: 0.7188 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.004106/0.1464, allocations: 2.567 MB / 0.6282 GB, free: 14.14 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.006265/0.1527, allocations: 3.789 MB / 0.6319 GB, free: 10.32 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.005358/0.158, allocations: 3.997 MB / 0.6358 GB, free: 6.32 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.00938/0.1674, allocations: 10.16 MB / 0.6457 GB, free: 12.12 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003008/0.1704, allocations: 3.347 MB / 0.649 GB, free: 8.703 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00505/0.1755, allocations: 5.686 MB / 0.6546 GB, free: 3.004 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0028/0.1783, allocations: 3.476 MB / 0.658 GB, free: 15.52 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.0008435/0.1791, allocations: 0.6718 MB / 0.6586 GB, free: 14.85 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002909/0.182, allocations: 1.985 MB / 0.6605 GB, free: 12.86 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.001025/0.183, allocations: 2.063 MB / 0.6626 GB, free: 10.79 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.001527/0.1846, allocations: 2.209 MB / 0.6647 GB, free: 8.574 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.008001/0.1926, allocations: 10.46 MB / 0.6749 GB, free: 14.08 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1926, allocations: 4 kB / 0.6749 GB, free: 14.08 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.834e-06/0.1926, allocations: 7.938 kB / 0.6749 GB, free: 14.07 MB / 0.573 GB Notification: Performance of Transformations before backend: time 9.359e-05/0.1927, allocations: 0 / 0.6749 GB, free: 14.07 MB / 0.573 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.0077/0.2004, allocations: 7.289 MB / 0.6821 GB, free: 6.703 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.2004, allocations: 12.03 kB / 0.6821 GB, free: 6.691 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/0.2016, allocations: 0.8979 MB / 0.683 GB, free: 5.789 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005757/0.2074, allocations: 5.398 MB / 0.6882 GB, free: 308 kB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001417/0.2075, allocations: 258.4 kB / 0.6885 GB, free: 48 kB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000313/0.2078, allocations: 308 kB / 0.6888 GB, free: 15.74 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01088/0.2187, allocations: 10.06 MB / 0.6986 GB, free: 4.289 MB / 0.5887 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.659e-05/0.2188, allocations: 39.62 kB / 0.6986 GB, free: 4.25 MB / 0.5887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002456/0.219, allocations: 160 kB / 0.6988 GB, free: 4.094 MB / 0.5887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001268/0.2192, allocations: 196.5 kB / 0.699 GB, free: 3.898 MB / 0.5887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0098/0.229, allocations: 6.528 MB / 0.7053 GB, free: 13.35 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02096/0.2499, allocations: 32.85 MB / 0.7374 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008344/0.2583, allocations: 5.532 MB / 0.7428 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002132/0.2604, allocations: 1.874 MB / 0.7447 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003061/0.2607, allocations: 181.7 kB / 0.7448 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.03e-05/0.2607, allocations: 84.94 kB / 0.7449 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001661/0.2624, allocations: 0.6208 MB / 0.7455 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=712): time 6.432e-06/0.2624, allocations: 4 kB / 0.7455 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of matching and sorting (n=712): time 0.01722/0.2796, allocations: 10.98 MB / 0.7562 GB, free: 7.793 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005816/0.2802, allocations: 1.039 MB / 0.7573 GB, free: 6.512 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004503/0.2847, allocations: 4.858 MB / 0.762 GB, free: 1.668 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.000232/0.285, allocations: 77.7 kB / 0.7621 GB, free: 1.586 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.2395/0.5245, allocations: 2.448 MB / 0.7645 GB, free: 178.4 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.002128/0.5266, allocations: 2.381 MB / 0.7668 GB, free: 177.3 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001672/0.5283, allocations: 1.456 MB / 0.7682 GB, free: 177.2 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 3.057e-05/0.5283, allocations: 305.2 kB / 0.7685 GB, free: 176.9 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003168/0.5315, allocations: 2.67 MB / 0.7711 GB, free: 176.3 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003576/0.535, allocations: 5.23 MB / 0.7762 GB, free: 172 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05766/0.5927, allocations: 20.51 MB / 0.7962 GB, free: 163.1 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.843e-05/0.5928, allocations: 20.69 kB / 0.7963 GB, free: 163.1 MB / 0.6512 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.0123/0.6051, allocations: 8.447 MB / 0.8045 GB, free: 158.7 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 3.762e-05/0.6051, allocations: 33.19 kB / 0.8045 GB, free: 158.7 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006871/0.612, allocations: 6.163 MB / 0.8106 GB, free: 155.7 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003688/0.6123, allocations: 208 kB / 0.8108 GB, free: 155.6 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002932/0.6153, allocations: 2.011 MB / 0.8127 GB, free: 153.8 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/0.6167, allocations: 2.866 MB / 0.8155 GB, free: 150.7 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002419/0.6191, allocations: 318.4 kB / 0.8158 GB, free: 150.4 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004171/0.6195, allocations: 499.6 kB / 0.8163 GB, free: 149.9 MB / 0.6512 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.00491/0.6244, allocations: 3.749 MB / 0.82 GB, free: 146.2 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003268/0.6277, allocations: 5.204 MB / 0.825 GB, free: 139.9 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05429/0.682, allocations: 20.41 MB / 0.845 GB, free: 119 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.222e-05/0.682, allocations: 24 kB / 0.845 GB, free: 118.9 MB / 0.6512 GB Notification: Performance of matching and sorting (n=993) (initialization_lambda0): time 0.009704/0.6917, allocations: 8.369 MB / 0.8532 GB, free: 110.5 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.6917, allocations: 32 kB / 0.8532 GB, free: 110.5 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006258/0.698, allocations: 6.074 MB / 0.8591 GB, free: 104.3 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002019/0.6982, allocations: 181.6 kB / 0.8593 GB, free: 104.1 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002887/0.7011, allocations: 2.01 MB / 0.8613 GB, free: 102.1 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001042/0.7021, allocations: 2.814 MB / 0.864 GB, free: 99.12 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002463/0.7046, allocations: 320 kB / 0.8643 GB, free: 98.8 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003931/0.705, allocations: 483.7 kB / 0.8648 GB, free: 98.33 MB / 0.6512 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.001742/0.7067, allocations: 0.6177 MB / 0.8654 GB, free: 97.75 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001052/0.7078, allocations: 0.6438 MB / 0.866 GB, free: 97.11 MB / 0.6512 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.008844/0.7166, allocations: 9.152 MB / 0.875 GB, free: 88.28 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.4266454270109534] Failed to read output from testmodel.py, exit status != 0: 0.853852809406817 0.862034861 0.667722719 Calling exit ...