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.009194/0.009194, allocations: 1.795 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.001019/0.001019, allocations: 92.78 kB / 25.15 MB, free: 7.473 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.001193/0.001193, allocations: 170.5 kB / 29.06 MB, free: 3.656 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.9355/0.9355, allocations: 177.2 MB / 210 MB, free: 3.535 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6462/0.6462, allocations: 102.5 MB / 369.5 MB, free: 300 kB / 330.7 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 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_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.204e-06/2.204e-06, allocations: 0 / 470 MB, free: 18.95 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.359e-05/3.58e-05, allocations: 6.656 kB / 470 MB, free: 18.94 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.1302/0.1302, allocations: 74.98 MB / 0.5322 GB, free: 12.83 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03654/0.1668, allocations: 22.59 MB / 0.5543 GB, free: 6.172 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007313/0.1741, allocations: 139 kB / 0.5544 GB, free: 6.035 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.008796/0.1829, allocations: 2.582 MB / 0.5569 GB, free: 3.438 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0103/0.1932, allocations: 3.812 MB / 0.5606 GB, free: 15.6 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.007584/0.2008, allocations: 3.984 MB / 0.5645 GB, free: 11.61 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.013/0.2138, allocations: 10.18 MB / 0.5745 GB, free: 1.398 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006615/0.2204, allocations: 3.489 MB / 0.5779 GB, free: 13.84 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1376/0.358, allocations: 51.03 MB / 0.6277 GB, free: 12 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007974/0.3659, allocations: 3.404 MB / 0.631 GB, free: 8.59 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.002752/0.3687, allocations: 0.625 MB / 0.6316 GB, free: 7.965 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00825/0.3769, allocations: 1.938 MB / 0.6335 GB, free: 6.023 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.003755/0.3807, allocations: 1.95 MB / 0.6354 GB, free: 4.066 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.006618/0.3873, allocations: 2.127 MB / 0.6375 GB, free: 1.934 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.2673/0.6546, allocations: 6.666 MB / 0.644 GB, free: 85.54 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.6546, allocations: 0 / 0.644 GB, free: 85.54 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.505e-06/0.6546, allocations: 0 / 0.644 GB, free: 85.54 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0003921/0.655, allocations: 2.297 kB / 0.644 GB, free: 85.54 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.0111/0.6661, allocations: 7.248 MB / 0.6511 GB, free: 82.25 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 6.818e-05/0.6661, allocations: 12.11 kB / 0.6511 GB, free: 82.25 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001874/0.668, allocations: 1.053 MB / 0.6521 GB, free: 81.82 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007057/0.6751, allocations: 4.099 MB / 0.6562 GB, free: 80.76 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002184/0.6753, allocations: 254.7 kB / 0.6564 GB, free: 80.75 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006481/0.6759, allocations: 343.1 kB / 0.6567 GB, free: 80.74 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01265/0.6886, allocations: 9.377 MB / 0.6659 GB, free: 74.91 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-05/0.6887, allocations: 43.22 kB / 0.6659 GB, free: 74.91 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003567/0.689, allocations: 168.9 kB / 0.6661 GB, free: 74.91 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001597/0.6892, allocations: 197.1 kB / 0.6663 GB, free: 74.91 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009386/0.6986, allocations: 4.322 MB / 0.6705 GB, free: 74.86 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0283/0.7269, allocations: 43.9 MB / 0.7134 GB, free: 39.8 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008865/0.7357, allocations: 4.221 MB / 0.7175 GB, free: 38.29 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002506/0.7382, allocations: 1.095 MB / 0.7186 GB, free: 37.91 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004712/0.7387, allocations: 191.2 kB / 0.7187 GB, free: 37.87 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.468e-05/0.7388, allocations: 97.34 kB / 0.7188 GB, free: 37.82 MB / 0.5418 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003018/0.7418, allocations: 0.6631 MB / 0.7195 GB, free: 37.5 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=712): time 1.782e-05/0.7418, allocations: 0 / 0.7195 GB, free: 37.5 MB / 0.5418 GB Notification: Performance of matching and sorting (n=712): time 0.02064/0.7625, allocations: 8.643 MB / 0.7279 GB, free: 34.57 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002375/0.7627, allocations: 1.387 MB / 0.7293 GB, free: 32.9 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004904/0.7676, allocations: 4.394 MB / 0.7336 GB, free: 30.46 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0009853/0.7686, allocations: 74.61 kB / 0.7336 GB, free: 30.39 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.001281/0.7699, allocations: 2.615 MB / 0.7362 GB, free: 28.12 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.002113/0.772, allocations: 2.433 MB / 0.7386 GB, free: 26 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001693/0.7737, allocations: 1.575 MB / 0.7401 GB, free: 25.11 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 4.279e-05/0.7737, allocations: 476.8 kB / 0.7406 GB, free: 24.64 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002075/0.7758, allocations: 1.394 MB / 0.7419 GB, free: 24.18 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003171/0.779, allocations: 5.321 MB / 0.7471 GB, free: 18.64 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007902/0.7869, allocations: 7.509 MB / 0.7544 GB, free: 13.54 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.605e-05/0.7869, allocations: 20.62 kB / 0.7545 GB, free: 13.54 MB / 0.5418 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.009667/0.7966, allocations: 6.249 MB / 0.7606 GB, free: 8.402 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 4.181e-05/0.7966, allocations: 32.88 kB / 0.7606 GB, free: 8.371 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005502/0.8021, allocations: 3.855 MB / 0.7644 GB, free: 4.473 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006576/0.8028, allocations: 256.7 kB / 0.7646 GB, free: 4.227 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00368/0.8065, allocations: 1.97 MB / 0.7665 GB, free: 2.375 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002174/0.8087, allocations: 3.68 MB / 0.7701 GB, free: 14.5 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0037/0.8124, allocations: 284 kB / 0.7704 GB, free: 14.23 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001016/0.8134, allocations: 499.6 kB / 0.7709 GB, free: 13.74 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.004125/0.8175, allocations: 1.568 MB / 0.7724 GB, free: 12.17 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004516/0.822, allocations: 5.301 MB / 0.7776 GB, free: 5.355 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009728/0.8317, allocations: 7.458 MB / 0.7849 GB, free: 12.97 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.554e-05/0.8318, allocations: 20 kB / 0.7849 GB, free: 12.95 MB / 0.573 GB Notification: Performance of matching and sorting (n=993) (initialization_lambda0): time 0.01265/0.8444, allocations: 6.205 MB / 0.7909 GB, free: 7.133 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 4.721e-05/0.8445, allocations: 35.94 kB / 0.791 GB, free: 7.098 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007987/0.8525, allocations: 3.805 MB / 0.7947 GB, free: 3.25 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005072/0.853, allocations: 225.8 kB / 0.7949 GB, free: 3.035 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004746/0.8577, allocations: 1.966 MB / 0.7968 GB, free: 1.184 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002387/0.8601, allocations: 3.656 MB / 0.8004 GB, free: 13.34 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004396/0.8645, allocations: 291.2 kB / 0.8007 GB, free: 13.06 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001255/0.8658, allocations: 487.6 kB / 0.8011 GB, free: 12.59 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.001949/0.8677, allocations: 0.7204 MB / 0.8018 GB, free: 11.99 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00226/0.87, allocations: 0.7182 MB / 0.8025 GB, free: 11.27 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.01186/0.8818, allocations: 8.206 MB / 0.8106 GB, free: 3.559 MB / 0.5887 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.8862667218782008]