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.01279/0.01279, allocations: 1.348 MB / 20.45 MB, free: 1.254 MB / 14.72 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.001733/0.001733, allocations: 75.91 kB / 24.02 MB, free: 2.602 MB / 14.72 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.002232/0.002232, allocations: 155.5 kB / 27.71 MB, free: 3.852 MB / 19.63 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 1.551/1.551, allocations: 177.2 MB / 208.4 MB, free: 7.684 MB / 190.1 MB " [Timeout remaining time 178] 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 1.052/1.052, allocations: 102.5 MB / 367.8 MB, free: 4.586 MB / 334.1 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 0.3.1 (/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.253e-06/1.253e-06, allocations: 0 / 0.5365 GB, free: 7.102 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.159e-05/3.284e-05, allocations: 5.562 kB / 0.5365 GB, free: 7.098 MB / 446.1 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.2057/0.2058, allocations: 70.84 MB / 0.6056 GB, free: 2.727 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.05432/0.2601, allocations: 24.39 MB / 0.6295 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008444/0.2685, allocations: 146.9 kB / 0.6296 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.009864/0.2784, allocations: 2.64 MB / 0.6322 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01779/0.2962, allocations: 4.769 MB / 0.6368 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0138/0.31, allocations: 4.634 MB / 0.6414 GB, free: 14.02 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.02208/0.3321, allocations: 12.06 MB / 0.6531 GB, free: 1.918 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009516/0.3416, allocations: 3.902 MB / 0.6569 GB, free: 13.94 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02248/0.3641, allocations: 6.646 MB / 0.6634 GB, free: 7.281 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01016/0.3742, allocations: 4.061 MB / 0.6674 GB, free: 3.211 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.004338/0.3786, allocations: 0.8438 MB / 0.6682 GB, free: 2.367 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009362/0.3879, allocations: 2.612 MB / 0.6708 GB, free: 15.75 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.00467/0.3926, allocations: 2.367 MB / 0.6731 GB, free: 13.38 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.007993/0.4006, allocations: 2.607 MB / 0.6756 GB, free: 10.76 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.4239/0.8245, allocations: 12.7 MB / 0.688 GB, free: 49.14 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.8245, allocations: 0 / 0.688 GB, free: 49.14 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8245, allocations: 1.062 kB / 0.688 GB, free: 49.14 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0003919/0.8249, allocations: 0 / 0.688 GB, free: 49.14 MB / 0.5763 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.0252/0.8501, allocations: 8.17 MB / 0.696 GB, free: 45.84 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.7e-05/0.8501, allocations: 11.16 kB / 0.696 GB, free: 45.84 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005503/0.8556, allocations: 0.9679 MB / 0.697 GB, free: 45.38 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01627/0.8719, allocations: 6.383 MB / 0.7032 GB, free: 44.19 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004597/0.8724, allocations: 397.8 kB / 0.7036 GB, free: 44.05 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001775/0.8742, allocations: 350.7 kB / 0.7039 GB, free: 44.05 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0284/0.9026, allocations: 11.34 MB / 0.715 GB, free: 38.98 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003566/0.9029, allocations: 42.47 kB / 0.715 GB, free: 38.98 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002182/0.9051, allocations: 186.7 kB / 0.7152 GB, free: 38.98 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004409/0.9055, allocations: 214.7 kB / 0.7154 GB, free: 38.97 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02522/0.9308, allocations: 7.472 MB / 0.7227 GB, free: 38.93 MB / 0.5763 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04947/0.9802, allocations: 34.86 MB / 0.7568 GB, free: 11.66 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01957/0.9998, allocations: 6.626 MB / 0.7632 GB, free: 8 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006394/1.006, allocations: 2.388 MB / 0.7656 GB, free: 6.621 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001385/1.008, allocations: 260.8 kB / 0.7658 GB, free: 6.527 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001237/1.008, allocations: 99.98 kB / 0.7659 GB, free: 6.449 MB / 0.5763 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005478/1.013, allocations: 0.685 MB / 0.7666 GB, free: 5.973 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=812): time 2.532e-05/1.013, allocations: 2.625 kB / 0.7666 GB, free: 5.973 MB / 0.5763 GB Notification: Performance of matching and sorting (n=812): time 0.04971/1.063, allocations: 12.75 MB / 0.779 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009837/1.064, allocations: 1.415 MB / 0.7804 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0134/1.077, allocations: 5.294 MB / 0.7856 GB, free: 2.488 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001917/1.079, allocations: 77.7 kB / 0.7857 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003186/1.082, allocations: 2.568 MB / 0.7882 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.004826/1.087, allocations: 2.71 MB / 0.7908 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00768/1.095, allocations: 1.621 MB / 0.7924 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001681/1.095, allocations: 301.1 kB / 0.7927 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009208/1.104, allocations: 3.095 MB / 0.7957 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01247/1.117, allocations: 6.149 MB / 0.8017 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2581/1.375, allocations: 31.11 MB / 0.8321 GB, free: 1.852 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.265e-05/1.375, allocations: 23.28 kB / 0.8321 GB, free: 1.832 MB / 0.6388 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.03076/1.406, allocations: 9.686 MB / 0.8416 GB, free: 8.465 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.33e-05/1.406, allocations: 33.41 kB / 0.8416 GB, free: 8.434 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02312/1.429, allocations: 7.318 MB / 0.8487 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05418/1.483, allocations: 4.432 MB / 0.8531 GB, free: 12.68 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009057/1.492, allocations: 2.139 MB / 0.8552 GB, free: 10.67 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004779/1.497, allocations: 2.771 MB / 0.8579 GB, free: 7.812 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007386/1.504, allocations: 383.8 kB / 0.8582 GB, free: 7.438 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002289/1.507, allocations: 0.5269 MB / 0.8587 GB, free: 6.91 MB / 0.67 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.01366/1.52, allocations: 4.207 MB / 0.8629 GB, free: 2.695 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01281/1.533, allocations: 6.079 MB / 0.8688 GB, free: 11.46 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2103/1.743, allocations: 27.43 MB / 0.8956 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001017/1.743, allocations: 19.94 kB / 0.8956 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.0322/1.776, allocations: 9.469 MB / 0.9048 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.362e-05/1.776, allocations: 32 kB / 0.9049 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02405/1.8, allocations: 7.043 MB / 0.9118 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00282/1.803, allocations: 426.4 kB / 0.9122 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009251/1.812, allocations: 2.174 MB / 0.9143 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00286/1.815, allocations: 2.198 MB / 0.9164 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00806/1.823, allocations: 385.3 kB / 0.9168 GB, free: 10 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002419/1.825, allocations: 0.5257 MB / 0.9173 GB, free: 9.477 MB / 0.7325 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.00452/1.83, allocations: 0.6576 MB / 0.918 GB, free: 8.934 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004687/1.834, allocations: 0.6788 MB / 0.9186 GB, free: 8.25 MB / 0.7325 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.02815/1.863, allocations: 10.31 MB / 0.9287 GB, free: 14.51 MB / 0.7482 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 6.099113550037146] Failed to read output from testmodel.py, exit status != 0: 2.333761740475893 2.3442723979999998 1.5166115519999999 Calling exit ...