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.008835/0.008835, allocations: 1.795 MB / 21.35 MB, free: 3.191 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: 93.62 kB / 25.16 MB, free: 7.422 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.000994/0.000994, allocations: 161.6 kB / 29.05 MB, free: 3.641 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.9436/0.9436, allocations: 177.1 MB / 210 MB, free: 3.594 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.6321/0.6321, allocations: 102.4 MB / 369.5 MB, free: 332 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.212e-06/1.212e-06, allocations: 0 / 470 MB, free: 18.95 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.835e-05/1.956e-05, allocations: 2.969 kB / 470 MB, free: 18.95 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.1212/0.1213, allocations: 76.9 MB / 0.534 GB, free: 10.99 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03034/0.1516, allocations: 25.35 MB / 0.5588 GB, free: 1.562 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004296/0.1559, allocations: 146.9 kB / 0.5589 GB, free: 1.418 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004422/0.1603, allocations: 2.64 MB / 0.5615 GB, free: 14.76 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.008611/0.1689, allocations: 4.761 MB / 0.5662 GB, free: 9.973 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.006605/0.1755, allocations: 4.619 MB / 0.5707 GB, free: 5.344 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01069/0.1862, allocations: 12.07 MB / 0.5825 GB, free: 9.246 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004435/0.1906, allocations: 4.092 MB / 0.5865 GB, free: 5.086 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006188/0.1968, allocations: 6.65 MB / 0.593 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003321/0.2002, allocations: 4.069 MB / 0.5969 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0007684/0.2009, allocations: 0.8398 MB / 0.5978 GB, free: 9.504 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003793/0.2047, allocations: 2.6 MB / 0.6003 GB, free: 6.898 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.00128/0.206, allocations: 2.379 MB / 0.6026 GB, free: 4.512 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001925/0.2079, allocations: 2.611 MB / 0.6052 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.007774/0.2157, allocations: 8.101 MB / 0.6131 GB, free: 9.766 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.2157, allocations: 0 / 0.6131 GB, free: 9.766 MB / 0.5262 GB Notification: Performance of FrontEnd: time 2.624e-06/0.2157, allocations: 3.984 kB / 0.6131 GB, free: 9.762 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 6.229e-05/0.2158, allocations: 0 / 0.6131 GB, free: 9.762 MB / 0.5262 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.00858/0.2243, allocations: 8.361 MB / 0.6212 GB, free: 1.316 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.2244, allocations: 8.031 kB / 0.6213 GB, free: 1.309 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001788/0.2262, allocations: 1.257 MB / 0.6225 GB, free: 48 kB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006538/0.2327, allocations: 5.844 MB / 0.6282 GB, free: 10.1 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002825/0.233, allocations: 397.9 kB / 0.6286 GB, free: 9.688 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004145/0.2334, allocations: 383.9 kB / 0.6289 GB, free: 9.312 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01184/0.2452, allocations: 10.35 MB / 0.639 GB, free: 13.09 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.175e-05/0.2453, allocations: 43.61 kB / 0.6391 GB, free: 13.05 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002892/0.2456, allocations: 180 kB / 0.6393 GB, free: 12.87 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001482/0.2457, allocations: 209.2 kB / 0.6395 GB, free: 12.66 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008962/0.2547, allocations: 4.768 MB / 0.6441 GB, free: 7.871 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2351/0.4898, allocations: 45.2 MB / 0.6882 GB, free: 49.64 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009523/0.4993, allocations: 5.06 MB / 0.6932 GB, free: 48.82 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001826/0.5012, allocations: 1.406 MB / 0.6946 GB, free: 48.54 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005085/0.5017, allocations: 278.6 kB / 0.6948 GB, free: 48.52 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.249e-05/0.5018, allocations: 103.5 kB / 0.6949 GB, free: 48.48 MB / 0.5574 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002193/0.504, allocations: 0.6813 MB / 0.6956 GB, free: 48.48 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=812): time 1.431e-05/0.504, allocations: 2.656 kB / 0.6956 GB, free: 48.48 MB / 0.5574 GB Notification: Performance of matching and sorting (n=812): time 0.01763/0.5216, allocations: 9.826 MB / 0.7052 GB, free: 48.02 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001907/0.5218, allocations: 1.416 MB / 0.7066 GB, free: 46.33 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005134/0.5269, allocations: 4.719 MB / 0.7112 GB, free: 45.71 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0003643/0.5273, allocations: 83.88 kB / 0.7113 GB, free: 45.68 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.001427/0.5287, allocations: 2.73 MB / 0.7139 GB, free: 44.82 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.001591/0.5303, allocations: 2.766 MB / 0.7166 GB, free: 43.3 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002229/0.5325, allocations: 1.705 MB / 0.7183 GB, free: 43.14 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 3.732e-05/0.5326, allocations: 479 kB / 0.7188 GB, free: 42.68 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002823/0.5354, allocations: 1.564 MB / 0.7203 GB, free: 42.61 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003935/0.5393, allocations: 5.525 MB / 0.7257 GB, free: 37.8 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009338/0.5487, allocations: 8.153 MB / 0.7336 GB, free: 34.13 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.114e-05/0.5487, allocations: 19.77 kB / 0.7337 GB, free: 34.13 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.009521/0.5582, allocations: 6.931 MB / 0.7404 GB, free: 33.29 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.676e-05/0.5583, allocations: 37.33 kB / 0.7405 GB, free: 33.28 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006125/0.5644, allocations: 4.477 MB / 0.7448 GB, free: 32.37 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02423/0.5886, allocations: 4.357 MB / 0.7491 GB, free: 31.06 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004568/0.5932, allocations: 2.077 MB / 0.7511 GB, free: 30.68 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001818/0.595, allocations: 3.094 MB / 0.7541 GB, free: 28.04 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003338/0.5984, allocations: 327.3 kB / 0.7544 GB, free: 27.96 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005882/0.5989, allocations: 0.5333 MB / 0.755 GB, free: 27.79 MB / 0.5574 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.003666/0.6026, allocations: 1.73 MB / 0.7567 GB, free: 27.12 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003341/0.606, allocations: 5.487 MB / 0.762 GB, free: 21.53 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007891/0.6138, allocations: 8.036 MB / 0.7699 GB, free: 14.96 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.312e-05/0.6139, allocations: 16 kB / 0.7699 GB, free: 14.95 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.009034/0.6229, allocations: 6.835 MB / 0.7766 GB, free: 8.508 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.6229, allocations: 32 kB / 0.7766 GB, free: 8.477 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005528/0.6285, allocations: 4.309 MB / 0.7808 GB, free: 4.141 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001246/0.6297, allocations: 391.7 kB / 0.7812 GB, free: 3.762 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003277/0.633, allocations: 2.128 MB / 0.7832 GB, free: 1.762 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00116/0.6341, allocations: 2.782 MB / 0.786 GB, free: 14.88 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002969/0.6371, allocations: 316.4 kB / 0.7863 GB, free: 14.57 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005619/0.6377, allocations: 0.5256 MB / 0.7868 GB, free: 14.04 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: 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,34)} Notification: Performance of prepare postOptimizeDAE: time 0.001688/0.6394, allocations: 0.7453 MB / 0.7875 GB, free: 13.44 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001712/0.6411, allocations: 0.7843 MB / 0.7883 GB, free: 12.65 MB / 0.573 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 1294 equation(s) and 1237 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) = ($cse336, $cse337, $cse338, $cse339, $cse340, $cse341, $cse342, $cse343, $cse344, $cse345) 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.01018/0.6512, allocations: 9.158 MB / 0.7972 GB, free: 4.289 MB / 0.573 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.5711848633363843]