Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.008243/0.008243, allocations: 1.795 MB / 21.35 MB, free: 3.195 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.001515/0.001515, allocations: 81.88 kB / 25.15 MB, free: 7.465 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.001254/0.001254, allocations: 164.3 kB / 29.05 MB, free: 3.672 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.9583/0.9583, allocations: 177.2 MB / 210 MB, free: 3.594 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.6015/0.6015, allocations: 102.5 MB / 369.5 MB, free: 400 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_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_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_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_ntu") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 470 MB, free: 19.02 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.904e-05/3.079e-05, allocations: 3.719 kB / 470 MB, free: 19.02 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.1936/0.1937, allocations: 76.9 MB / 0.5341 GB, free: 10.98 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03468/0.2284, allocations: 25.35 MB / 0.5588 GB, free: 1.562 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006241/0.2346, allocations: 146.9 kB / 0.559 GB, free: 1.418 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.006835/0.2414, allocations: 2.633 MB / 0.5615 GB, free: 14.77 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01436/0.2558, allocations: 4.769 MB / 0.5662 GB, free: 9.973 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.009037/0.2648, allocations: 4.61 MB / 0.5707 GB, free: 5.355 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01526/0.2801, allocations: 12.07 MB / 0.5825 GB, free: 9.25 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005972/0.2861, allocations: 4.092 MB / 0.5865 GB, free: 5.09 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01203/0.2981, allocations: 6.646 MB / 0.593 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007073/0.3052, allocations: 4.069 MB / 0.5969 GB, free: 10.35 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.00258/0.3077, allocations: 0.8438 MB / 0.5978 GB, free: 9.508 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006703/0.3144, allocations: 2.608 MB / 0.6003 GB, free: 6.898 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.002743/0.3172, allocations: 2.379 MB / 0.6026 GB, free: 4.512 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.005511/0.3227, allocations: 2.607 MB / 0.6052 GB, free: 1.898 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.01388/0.3366, allocations: 8.108 MB / 0.6131 GB, free: 9.758 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/0.3366, allocations: 0 / 0.6131 GB, free: 9.758 MB / 0.5262 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3366, allocations: 0 / 0.6131 GB, free: 9.758 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.0002986/0.3369, allocations: 0 / 0.6131 GB, free: 9.758 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.01378/0.3507, allocations: 8.365 MB / 0.6213 GB, free: 1.309 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.3507, allocations: 8.031 kB / 0.6213 GB, free: 1.301 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002599/0.3533, allocations: 1.249 MB / 0.6225 GB, free: 48 kB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00838/0.3617, allocations: 5.855 MB / 0.6282 GB, free: 10.09 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003187/0.362, allocations: 389.9 kB / 0.6286 GB, free: 9.688 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005479/0.3626, allocations: 387.9 kB / 0.629 GB, free: 9.309 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01341/0.376, allocations: 10.35 MB / 0.6391 GB, free: 13.09 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.925e-05/0.3761, allocations: 43.56 kB / 0.6391 GB, free: 13.05 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004387/0.3765, allocations: 184 kB / 0.6393 GB, free: 12.87 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001857/0.3767, allocations: 213.2 kB / 0.6395 GB, free: 12.66 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009552/0.3863, allocations: 4.768 MB / 0.6441 GB, free: 7.863 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2847/0.671, allocations: 45.19 MB / 0.6883 GB, free: 49.63 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009425/0.6804, allocations: 5.062 MB / 0.6932 GB, free: 48.81 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002549/0.683, allocations: 1.414 MB / 0.6946 GB, free: 48.53 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006301/0.6836, allocations: 276.9 kB / 0.6948 GB, free: 48.51 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.507e-05/0.6837, allocations: 102.5 kB / 0.6949 GB, free: 48.46 MB / 0.5574 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002777/0.6865, allocations: 0.6772 MB / 0.6956 GB, free: 48.46 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=812): time 2.493e-05/0.6865, allocations: 2.656 kB / 0.6956 GB, free: 48.46 MB / 0.5574 GB Notification: Performance of matching and sorting (n=812): time 0.02049/0.707, allocations: 9.823 MB / 0.7052 GB, free: 48.01 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002658/0.7073, allocations: 1.42 MB / 0.7066 GB, free: 46.32 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007276/0.7145, allocations: 4.723 MB / 0.7112 GB, free: 45.7 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0009455/0.7155, allocations: 85.27 kB / 0.7113 GB, free: 45.67 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.001578/0.7171, allocations: 2.725 MB / 0.7139 GB, free: 44.8 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.00257/0.7196, allocations: 2.768 MB / 0.7166 GB, free: 43.29 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002832/0.7225, allocations: 1.707 MB / 0.7183 GB, free: 43.13 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 4.936e-05/0.7225, allocations: 480.4 kB / 0.7188 GB, free: 42.66 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003075/0.7256, allocations: 1.567 MB / 0.7203 GB, free: 42.59 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004355/0.7299, allocations: 5.519 MB / 0.7257 GB, free: 37.79 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01079/0.7407, allocations: 8.148 MB / 0.7336 GB, free: 34.12 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.36e-05/0.7408, allocations: 18.84 kB / 0.7337 GB, free: 34.12 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.01239/0.7532, allocations: 6.939 MB / 0.7404 GB, free: 33.26 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 4.693e-05/0.7533, allocations: 34 kB / 0.7405 GB, free: 33.26 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007236/0.7605, allocations: 4.472 MB / 0.7448 GB, free: 32.35 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02456/0.785, allocations: 4.362 MB / 0.7491 GB, free: 31.04 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004543/0.7896, allocations: 2.078 MB / 0.7511 GB, free: 30.66 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002014/0.7916, allocations: 3.092 MB / 0.7542 GB, free: 28.02 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004035/0.7956, allocations: 330.8 kB / 0.7545 GB, free: 27.91 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001063/0.7967, allocations: 0.5265 MB / 0.755 GB, free: 27.75 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.005057/0.8018, allocations: 1.732 MB / 0.7567 GB, free: 27.08 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004018/0.8058, allocations: 5.49 MB / 0.762 GB, free: 21.48 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008556/0.8143, allocations: 8.037 MB / 0.7699 GB, free: 14.92 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.213e-05/0.8144, allocations: 16 kB / 0.7699 GB, free: 14.9 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.01004/0.8244, allocations: 6.836 MB / 0.7766 GB, free: 8.461 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.039e-05/0.8244, allocations: 38.67 kB / 0.7766 GB, free: 8.426 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007503/0.8319, allocations: 4.302 MB / 0.7808 GB, free: 4.098 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001678/0.8336, allocations: 395.4 kB / 0.7812 GB, free: 3.715 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005066/0.8387, allocations: 2.127 MB / 0.7833 GB, free: 1.715 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001528/0.8402, allocations: 2.783 MB / 0.786 GB, free: 14.82 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004339/0.8445, allocations: 321.7 kB / 0.7863 GB, free: 14.52 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001027/0.8456, allocations: 0.5256 MB / 0.7868 GB, free: 13.99 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.002207/0.8478, allocations: 0.742 MB / 0.7875 GB, free: 13.39 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002707/0.8505, allocations: 0.7765 MB / 0.7883 GB, free: 12.61 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.01498/0.8655, allocations: 9.151 MB / 0.7972 GB, free: 4.246 MB / 0.573 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.8782076379284263]