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.006087/0.006087, allocations: 1.446 MB / 20.54 MB, free: 4.008 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.000664/0.000664, allocations: 91.45 kB / 24.16 MB, free: 396 kB / 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.0007427/0.0007427, allocations: 164.9 kB / 27.85 MB, free: 5.098 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.8587/0.8587, allocations: 177.2 MB / 208.6 MB, free: 2.961 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.7311/0.7311, allocations: 102.4 MB / 367.9 MB, free: 1.441 MB / 330.8 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.5.2 (/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.333e-06/1.333e-06, allocations: 0 / 0.5367 GB, free: 39.77 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.456e-05/2.589e-05, allocations: 2.281 kB / 0.5367 GB, free: 39.77 MB / 490.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.1138/0.1138, allocations: 70.8 MB / 0.6058 GB, free: 5.125 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.0312/0.145, allocations: 24.41 MB / 0.6297 GB, free: 12.64 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00629/0.1513, allocations: 146.9 kB / 0.6298 GB, free: 12.5 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.007725/0.159, allocations: 2.637 MB / 0.6324 GB, free: 9.848 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.01255/0.1716, allocations: 4.757 MB / 0.637 GB, free: 5.062 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.008664/0.1803, allocations: 4.627 MB / 0.6415 GB, free: 436 kB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.01355/0.1938, allocations: 12.06 MB / 0.6533 GB, free: 4.32 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005519/0.1993, allocations: 3.91 MB / 0.6571 GB, free: 348 kB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01129/0.2106, allocations: 6.65 MB / 0.6636 GB, free: 9.676 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006265/0.2169, allocations: 4.057 MB / 0.6676 GB, free: 5.609 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.001832/0.2187, allocations: 0.8476 MB / 0.6684 GB, free: 4.762 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005065/0.2238, allocations: 2.608 MB / 0.671 GB, free: 2.148 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.001969/0.2257, allocations: 2.367 MB / 0.6733 GB, free: 15.77 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.003844/0.2296, allocations: 2.611 MB / 0.6758 GB, free: 13.16 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01464/0.2442, allocations: 12.7 MB / 0.6882 GB, free: 424 kB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.2442, allocations: 0 / 0.6882 GB, free: 424 kB / 0.573 GB Notification: Performance of FrontEnd: time 2.325e-06/0.2442, allocations: 0 / 0.6882 GB, free: 424 kB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0003644/0.2446, allocations: 0 / 0.6882 GB, free: 424 kB / 0.573 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.01894/0.2635, allocations: 8.172 MB / 0.6962 GB, free: 8.156 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 6.354e-05/0.2636, allocations: 12.03 kB / 0.6962 GB, free: 8.145 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002883/0.2665, allocations: 0.9676 MB / 0.6972 GB, free: 7.172 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01106/0.2776, allocations: 6.402 MB / 0.7034 GB, free: 0.6875 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003533/0.2779, allocations: 389.9 kB / 0.7038 GB, free: 288 kB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009748/0.2789, allocations: 344 kB / 0.7041 GB, free: 15.94 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01658/0.2955, allocations: 11.34 MB / 0.7152 GB, free: 3.102 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.018e-05/0.2955, allocations: 39.62 kB / 0.7152 GB, free: 3.062 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006057/0.2961, allocations: 184 kB / 0.7154 GB, free: 2.883 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001685/0.2963, allocations: 213.2 kB / 0.7156 GB, free: 2.672 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01424/0.3106, allocations: 7.472 MB / 0.7229 GB, free: 11.18 MB / 0.6199 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.03523/0.3458, allocations: 34.88 MB / 0.757 GB, free: 7.211 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01198/0.3578, allocations: 6.619 MB / 0.7634 GB, free: 388 kB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2644/0.6221, allocations: 2.387 MB / 0.7658 GB, free: 177.9 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008626/0.623, allocations: 256.6 kB / 0.766 GB, free: 177.9 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.05e-05/0.6231, allocations: 100.9 kB / 0.7661 GB, free: 177.8 MB / 0.6512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003005/0.6261, allocations: 0.6739 MB / 0.7668 GB, free: 177.8 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=812): time 1.281e-05/0.6261, allocations: 0 / 0.7668 GB, free: 177.8 MB / 0.6512 GB Notification: Performance of matching and sorting (n=812): time 0.0257/0.6518, allocations: 12.75 MB / 0.7792 GB, free: 174.4 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002669/0.6521, allocations: 1.413 MB / 0.7806 GB, free: 172.6 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007486/0.6596, allocations: 5.301 MB / 0.7858 GB, free: 170.6 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.001313/0.6609, allocations: 85.55 kB / 0.7858 GB, free: 170.5 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001257/0.6621, allocations: 2.559 MB / 0.7883 GB, free: 168.5 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.002514/0.6646, allocations: 2.717 MB / 0.791 GB, free: 166.5 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001924/0.6666, allocations: 1.619 MB / 0.7926 GB, free: 165.6 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 3.51e-05/0.6666, allocations: 305.1 kB / 0.7929 GB, free: 165.2 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004087/0.6707, allocations: 3.099 MB / 0.7959 GB, free: 163.5 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005134/0.6758, allocations: 6.141 MB / 0.8019 GB, free: 158 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1093/0.7851, allocations: 31.11 MB / 0.8323 GB, free: 133.1 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.981e-05/0.7851, allocations: 20 kB / 0.8323 GB, free: 133.1 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.01624/0.8014, allocations: 9.684 MB / 0.8418 GB, free: 123.3 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 5.501e-05/0.8014, allocations: 32 kB / 0.8418 GB, free: 123.3 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01106/0.8125, allocations: 7.321 MB / 0.8489 GB, free: 115.9 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02347/0.836, allocations: 4.429 MB / 0.8533 GB, free: 111.5 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005049/0.841, allocations: 2.137 MB / 0.8553 GB, free: 109.4 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002174/0.8432, allocations: 2.761 MB / 0.858 GB, free: 106.5 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004998/0.8482, allocations: 392.2 kB / 0.8584 GB, free: 106.1 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001222/0.8494, allocations: 0.5308 MB / 0.8589 GB, free: 105.6 MB / 0.6512 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.007001/0.8564, allocations: 4.197 MB / 0.863 GB, free: 101.4 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005018/0.8614, allocations: 6.085 MB / 0.869 GB, free: 94.1 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.08719/0.9486, allocations: 27.43 MB / 0.8958 GB, free: 65.79 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.688e-05/0.9487, allocations: 20 kB / 0.8958 GB, free: 65.77 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.01564/0.9643, allocations: 9.464 MB / 0.905 GB, free: 56.25 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 3.645e-05/0.9643, allocations: 32.19 kB / 0.9051 GB, free: 56.22 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008753/0.9731, allocations: 7.048 MB / 0.9119 GB, free: 49.12 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001227/0.9743, allocations: 429.2 kB / 0.9123 GB, free: 48.7 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003792/0.9781, allocations: 2.18 MB / 0.9145 GB, free: 46.51 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001071/0.9792, allocations: 2.195 MB / 0.9166 GB, free: 44.2 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0042/0.9834, allocations: 384.5 kB / 0.917 GB, free: 43.82 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007542/0.9841, allocations: 0.5269 MB / 0.9175 GB, free: 43.29 MB / 0.6512 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.002019/0.9862, allocations: 0.6527 MB / 0.9181 GB, free: 42.68 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002102/0.9883, allocations: 0.6827 MB / 0.9188 GB, free: 41.99 MB / 0.6512 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.01213/1, allocations: 10.31 MB / 0.9289 GB, free: 32.04 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.016338615678251] Failed to read output from testmodel.py, exit status != 0: 1.1645707776769996 1.427685388 0.927423089 Calling exit ...