Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_simple.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.00817/0.00817, allocations: 1.777 MB / 22.36 MB, free: 2.109 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.0006863/0.0006863, allocations: 84.81 kB / 26.19 MB, free: 6.062 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.000844/0.000844, allocations: 165.1 kB / 30.12 MB, free: 2.164 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.8654/0.8654, allocations: 177.1 MB / 211.1 MB, free: 2.281 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.699/0.699, allocations: 102.5 MB / 370.6 MB, free: 0.832 MB / 330.8 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_BU_simple,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|hex.shell.h|hex.shell.p|hex.tubes.h|hex.tubes.p|hex.wall.U.[0-9,]+.",fileNamePrefix="ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_simple") translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_simple,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|hex.shell.h|hex.shell.p|hex.tubes.h|hex.tubes.p|hex.wall.U.[0-9,]+.",fileNamePrefix="ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_simple") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 471.3 MB, free: 12.37 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.465e-05/2.615e-05, allocations: 2.312 kB / 471.3 MB, free: 12.37 MB / 442.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_simple): time 0.3043/0.3043, allocations: 76.03 MB / 0.5345 GB, free: 68.7 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.03445/0.3388, allocations: 25.32 MB / 0.5592 GB, free: 51.34 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00654/0.3453, allocations: 148.2 kB / 0.5593 GB, free: 51.28 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.008231/0.3536, allocations: 2.653 MB / 0.5619 GB, free: 49.99 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01209/0.3657, allocations: 4.867 MB / 0.5667 GB, free: 46.96 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.009138/0.3748, allocations: 4.695 MB / 0.5713 GB, free: 44.41 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01552/0.3903, allocations: 12.66 MB / 0.5836 GB, free: 36.75 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006025/0.3963, allocations: 4.243 MB / 0.5878 GB, free: 33.49 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1199/0.5163, allocations: 52.3 MB / 0.6388 GB, free: 0.6797 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007979/0.5242, allocations: 4.259 MB / 0.643 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.002674/0.5269, allocations: 0.8398 MB / 0.6438 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006767/0.5337, allocations: 2.606 MB / 0.6464 GB, free: 8.969 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.003596/0.5373, allocations: 2.457 MB / 0.6488 GB, free: 6.504 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.006184/0.5435, allocations: 2.677 MB / 0.6514 GB, free: 3.82 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.01426/0.5577, allocations: 8.428 MB / 0.6596 GB, free: 11.36 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.5577, allocations: 0 / 0.6596 GB, free: 11.36 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.042e-06/0.5577, allocations: 0 / 0.6596 GB, free: 11.36 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.0003184/0.558, allocations: 2.656 kB / 0.6596 GB, free: 11.36 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: 1515 * Number of variables: 1515 Notification: Performance of Generate backend data structure: time 0.0133/0.5713, allocations: 8.496 MB / 0.6679 GB, free: 2.801 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.5714, allocations: 8.031 kB / 0.6679 GB, free: 2.793 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002068/0.5735, allocations: 1.205 MB / 0.6691 GB, free: 1.586 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006901/0.5804, allocations: 4.831 MB / 0.6738 GB, free: 12.68 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003064/0.5807, allocations: 398.2 kB / 0.6742 GB, free: 12.27 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006685/0.5813, allocations: 399.9 kB / 0.6746 GB, free: 11.88 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01352/0.5948, allocations: 10.31 MB / 0.6846 GB, free: 15.66 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.852e-05/0.5949, allocations: 39.62 kB / 0.6847 GB, free: 15.62 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004358/0.5954, allocations: 188 kB / 0.6849 GB, free: 15.44 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002087/0.5956, allocations: 289.7 kB / 0.6851 GB, free: 15.16 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009212/0.6048, allocations: 4.498 MB / 0.6895 GB, free: 10.66 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03328/0.6381, allocations: 45.9 MB / 0.7344 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009404/0.6475, allocations: 4.926 MB / 0.7392 GB, free: 6.164 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002486/0.65, allocations: 1.271 MB / 0.7404 GB, free: 4.805 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006529/0.6506, allocations: 272.7 kB / 0.7407 GB, free: 4.539 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001017/0.6507, allocations: 116.8 kB / 0.7408 GB, free: 4.414 MB / 0.6043 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003651/0.6544, allocations: 0.6879 MB / 0.7415 GB, free: 3.727 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=829): time 2.139e-05/0.6544, allocations: 0 / 0.7415 GB, free: 3.727 MB / 0.6043 GB Notification: Performance of matching and sorting (n=829): time 0.2276/0.882, allocations: 10.02 MB / 0.7512 GB, free: 154.3 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003447/0.8823, allocations: 1.802 MB / 0.753 GB, free: 152.1 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007034/0.8893, allocations: 4.645 MB / 0.7575 GB, free: 151.6 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.001223/0.8906, allocations: 92.61 kB / 0.7576 GB, free: 151.6 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.001713/0.8923, allocations: 2.883 MB / 0.7604 GB, free: 150.7 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.002522/0.8948, allocations: 2.861 MB / 0.7632 GB, free: 149.2 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003308/0.8981, allocations: 1.827 MB / 0.765 GB, free: 149 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 4.699e-05/0.8982, allocations: 482.2 kB / 0.7655 GB, free: 148.5 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003445/0.9016, allocations: 1.328 MB / 0.7668 GB, free: 148.4 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005134/0.9067, allocations: 5.894 MB / 0.7725 GB, free: 142.9 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009857/0.9166, allocations: 7.634 MB / 0.78 GB, free: 139.2 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001225/0.9167, allocations: 17.34 kB / 0.78 GB, free: 139.2 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1126) (initialization): time 0.0116/0.9283, allocations: 6.724 MB / 0.7866 GB, free: 138.6 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 4.981e-05/0.9284, allocations: 31.84 kB / 0.7866 GB, free: 138.6 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008004/0.9364, allocations: 4.847 MB / 0.7913 GB, free: 138.3 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06441/1.001, allocations: 10.58 MB / 0.8017 GB, free: 130 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005372/1.006, allocations: 2.153 MB / 0.8038 GB, free: 128 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002813/1.009, allocations: 5.505 MB / 0.8091 GB, free: 122.5 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00456/1.014, allocations: 339.8 kB / 0.8095 GB, free: 122.3 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001125/1.015, allocations: 485.1 kB / 0.8099 GB, free: 121.9 MB / 0.6043 GB Warning: Assuming fixed start value for the following 4 variables: hex.tubes.h:VARIABLE(start = hex.tubes.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hex.tubes.p:VARIABLE(min = 0.0 start = hex.tubes.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" 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.003731/1.018, allocations: 1.511 MB / 0.8114 GB, free: 120.4 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002896/1.021, allocations: 5.858 MB / 0.8171 GB, free: 113.2 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007177/1.028, allocations: 7.544 MB / 0.8245 GB, free: 105.6 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.153e-05/1.029, allocations: 20 kB / 0.8245 GB, free: 105.6 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1126) (initialization_lambda0): time 0.00968/1.038, allocations: 6.623 MB / 0.831 GB, free: 99.96 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/1.038, allocations: 34.66 kB / 0.831 GB, free: 99.93 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007364/1.046, allocations: 4.749 MB / 0.8357 GB, free: 95.73 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02564/1.071, allocations: 4.411 MB / 0.84 GB, free: 91.44 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00471/1.076, allocations: 2.149 MB / 0.8421 GB, free: 89.48 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002155/1.078, allocations: 5.432 MB / 0.8474 GB, free: 83.95 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004346/1.082, allocations: 336.4 kB / 0.8477 GB, free: 83.77 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001353/1.084, allocations: 483.1 kB / 0.8481 GB, free: 83.37 MB / 0.6043 GB Warning: Assuming fixed start value for the following 4 variables: hex.tubes.h:VARIABLE(start = hex.tubes.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hex.tubes.p:VARIABLE(min = 0.0 start = hex.tubes.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" 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: 291 * 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 (1101): * Single equations (assignments): 1097 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,1), (1,6), (1,1), (1,17)} Notification: Performance of prepare postOptimizeDAE: time 0.002104/1.086, allocations: 0.7648 MB / 0.8489 GB, free: 82.97 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00214/1.088, allocations: 0.8024 MB / 0.8497 GB, free: 82.21 MB / 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 1304 equation(s) and 1247 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) = ($cse327, $cse328, $cse329, $cse330, $cse331, $cse332, $cse333, $cse334, $cse335, $cse336) has size 9 but 8 variables ($cse156, $cse157, $cse158, $cse159, 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.009577/1.098, allocations: 9.023 MB / 0.8585 GB, free: 75.22 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.5476284460164607]