Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_ntu.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.008216/0.008216, allocations: 1.784 MB / 21.57 MB, free: 2.902 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.0008879/0.0008879, allocations: 85.23 kB / 25.4 MB, free: 7 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.001085/0.001085, allocations: 158.9 kB / 29.33 MB, free: 3.137 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.9011/0.9011, allocations: 177.1 MB / 210.3 MB, free: 3.445 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.6067/0.6067, allocations: 102.5 MB / 369.8 MB, free: 240 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_BU_ntu,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|hex.shell.h|hex.shell.p|hex.tubes.h|hex.tubes.p|hex.wall.T_w_a|hex.wall.T_w_i",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_ntu") translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_ntu,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|hex.shell.h|hex.shell.p|hex.tubes.h|hex.tubes.p|hex.wall.T_w_a|hex.wall.T_w_i",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_ntu") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 470.4 MB, free: 18.84 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.495e-05/2.675e-05, allocations: 6.281 kB / 470.4 MB, free: 18.83 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_BU_ntu): time 0.1213/0.1214, allocations: 76.19 MB / 0.5338 GB, free: 11.39 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.02829/0.1496, allocations: 25.22 MB / 0.5585 GB, free: 2.09 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002934/0.1526, allocations: 146.9 kB / 0.5586 GB, free: 1.945 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.003693/0.1563, allocations: 2.64 MB / 0.5612 GB, free: 15.29 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.00641/0.1627, allocations: 4.788 MB / 0.5659 GB, free: 10.47 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.005702/0.1684, allocations: 4.616 MB / 0.5704 GB, free: 5.848 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.009289/0.1777, allocations: 12.07 MB / 0.5821 GB, free: 9.754 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003992/0.1817, allocations: 4.096 MB / 0.5861 GB, free: 5.59 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1121/0.2938, allocations: 52.04 MB / 0.637 GB, free: 2.707 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.217/0.5108, allocations: 3.994 MB / 0.6409 GB, free: 76.14 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.002087/0.5129, allocations: 0.8068 MB / 0.6417 GB, free: 76.14 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00539/0.5183, allocations: 2.548 MB / 0.6441 GB, free: 76.14 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.00238/0.5207, allocations: 2.27 MB / 0.6464 GB, free: 76.14 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.004086/0.5248, allocations: 2.545 MB / 0.6488 GB, free: 76.14 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01145/0.5362, allocations: 8.069 MB / 0.6567 GB, free: 75.5 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.5362, allocations: 1.5 kB / 0.6567 GB, free: 75.5 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5362, allocations: 0 / 0.6567 GB, free: 75.5 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0003282/0.5365, allocations: 0 / 0.6567 GB, free: 75.5 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: 1448 * Number of variables: 1448 Notification: Performance of Generate backend data structure: time 0.01082/0.5474, allocations: 8.198 MB / 0.6647 GB, free: 71.96 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.5474, allocations: 9.531 kB / 0.6647 GB, free: 71.96 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00198/0.5494, allocations: 1.151 MB / 0.6659 GB, free: 71.49 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006177/0.5556, allocations: 4.738 MB / 0.6705 GB, free: 70.38 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002527/0.5558, allocations: 391 kB / 0.6709 GB, free: 70.25 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006225/0.5564, allocations: 389.6 kB / 0.6712 GB, free: 70.24 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01158/0.568, allocations: 10.07 MB / 0.6811 GB, free: 63.88 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.011e-05/0.5681, allocations: 39.56 kB / 0.6811 GB, free: 63.88 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003981/0.5685, allocations: 178.9 kB / 0.6813 GB, free: 63.88 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001837/0.5687, allocations: 219.5 kB / 0.6815 GB, free: 63.87 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009967/0.5786, allocations: 4.372 MB / 0.6858 GB, free: 63.53 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0271/0.6057, allocations: 44.77 MB / 0.7295 GB, free: 24.88 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008537/0.6143, allocations: 4.763 MB / 0.7341 GB, free: 22.72 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002159/0.6164, allocations: 1.245 MB / 0.7354 GB, free: 22.18 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006161/0.617, allocations: 420.5 kB / 0.7358 GB, free: 22.11 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.769e-05/0.6171, allocations: 109.1 kB / 0.7359 GB, free: 22.03 MB / 0.5418 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003444/0.6206, allocations: 0.7277 MB / 0.7366 GB, free: 21.54 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=812): time 1.885e-05/0.6206, allocations: 0 / 0.7366 GB, free: 21.54 MB / 0.5418 GB Notification: Performance of matching and sorting (n=812): time 0.01785/0.6385, allocations: 9.205 MB / 0.7456 GB, free: 18.32 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000181/0.6386, allocations: 1.775 MB / 0.7473 GB, free: 16.17 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004304/0.6429, allocations: 4.56 MB / 0.7517 GB, free: 14.34 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0005946/0.6435, allocations: 91.48 kB / 0.7518 GB, free: 14.27 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.001139/0.6447, allocations: 2.774 MB / 0.7545 GB, free: 12.04 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.001415/0.6461, allocations: 2.797 MB / 0.7573 GB, free: 9.73 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001632/0.6477, allocations: 1.763 MB / 0.759 GB, free: 8.879 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 3.114e-05/0.6477, allocations: 476.8 kB / 0.7594 GB, free: 8.41 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00159/0.6493, allocations: 1.287 MB / 0.7607 GB, free: 8.051 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003422/0.6528, allocations: 5.763 MB / 0.7663 GB, free: 2.133 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01188/0.6646, allocations: 7.449 MB / 0.7736 GB, free: 10.14 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.183e-05/0.6647, allocations: 18.66 kB / 0.7736 GB, free: 10.12 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.01642/0.6812, allocations: 6.361 MB / 0.7798 GB, free: 4.156 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 6.251e-05/0.6812, allocations: 34.66 kB / 0.7799 GB, free: 4.125 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009263/0.6905, allocations: 4.046 MB / 0.7838 GB, free: 68 kB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0372/0.7277, allocations: 6.048 MB / 0.7897 GB, free: 10.34 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004482/0.7322, allocations: 2.09 MB / 0.7918 GB, free: 8.379 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002297/0.7345, allocations: 3.102 MB / 0.7948 GB, free: 5.195 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003343/0.7378, allocations: 331.2 kB / 0.7951 GB, free: 4.875 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000543/0.7383, allocations: 482.2 kB / 0.7956 GB, free: 4.406 MB / 0.573 GB Warning: Assuming fixed start value for the following 4 variables: hex.wall.T_w_i:VARIABLE(min = 0.0 start = hex.wall.T_w_i_start unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at inner phase\" type: Real hex.wall.T_w_a:VARIABLE(min = 0.0 start = hex.wall.T_w_a_start unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at outer phase\" type: Real hex.shell.h:VARIABLE(start = hex.shell.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hex.shell.p:VARIABLE(min = 0.0 start = hex.shell.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002953/0.7413, allocations: 1.467 MB / 0.797 GB, free: 2.941 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003527/0.7448, allocations: 5.727 MB / 0.8026 GB, free: 11.75 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006543/0.7514, allocations: 7.355 MB / 0.8098 GB, free: 3.66 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.315e-05/0.7514, allocations: 16 kB / 0.8098 GB, free: 3.645 MB / 0.5887 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.007987/0.7594, allocations: 6.282 MB / 0.8159 GB, free: 13.76 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.074e-05/0.7594, allocations: 32 kB / 0.816 GB, free: 13.73 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004902/0.7643, allocations: 3.941 MB / 0.8198 GB, free: 9.773 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01218/0.7765, allocations: 2.5 MB / 0.8223 GB, free: 7.402 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003376/0.7799, allocations: 2.085 MB / 0.8243 GB, free: 5.438 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001984/0.7818, allocations: 3.037 MB / 0.8273 GB, free: 2.316 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003217/0.7851, allocations: 338.3 kB / 0.8276 GB, free: 1.992 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005214/0.7856, allocations: 475.6 kB / 0.828 GB, free: 1.527 MB / 0.6043 GB Warning: Assuming fixed start value for the following 4 variables: hex.wall.T_w_i:VARIABLE(min = 0.0 start = hex.wall.T_w_i_start unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at inner phase\" type: Real hex.wall.T_w_a:VARIABLE(min = 0.0 start = hex.wall.T_w_a_start unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at outer phase\" type: Real hex.shell.h:VARIABLE(start = hex.shell.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hex.shell.p:VARIABLE(min = 0.0 start = hex.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: 287 * 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 (1056): * Single equations (assignments): 1054 * 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 {(2,34), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.001519/0.7871, allocations: 0.7525 MB / 0.8288 GB, free: 0.8984 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001583/0.7887, allocations: 0.7822 MB / 0.8295 GB, free: 116 kB / 0.6043 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 1284 equation(s) and 1227 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_pT.mo:55:3-60:21:writable] Error: (hex.shell.heattransfer.fluid_wall.q, hex.shell.heattransfer.cp_w, hex.shell.heattransfer.fluid_wall.cv, hex.shell.heattransfer.fluid_wall.beta, hex.shell.heattransfer.fluid_wall.kappa, hex.shell.heattransfer.fluid_wall.drhodp_hxi, hex.shell.heattransfer.fluid_wall.drhodh_pxi, _, hex.shell.heattransfer.fluid_wall.w, hex.shell.heattransfer.fluid_wall.gamma) = ($cse330, $cse331, $cse332, $cse333, $cse334, $cse335, $cse336, $cse337, $cse338, $cse339) has size 9 but 8 variables ($cse159, $cse160, $cse161, $cse162, hex.tubes.fluidOut.transp.Pr, hex.tubes.fluidOut.transp.lambda, hex.tubes.fluidOut.transp.eta, hex.tubes.fluidOut.transp.sigma) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008964/0.7977, allocations: 8.927 MB / 0.8382 GB, free: 8.172 MB / 0.6199 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.523733905982226]