Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA.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.0134/0.0134, allocations: 1.751 MB / 21.35 MB, free: 356 kB / 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.001548/0.001548, allocations: 104.8 kB / 24.93 MB, free: 2.031 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.001963/0.001963, allocations: 212.5 kB / 28.65 MB, free: 3.297 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.51/1.51, allocations: 230.6 MB / 262.8 MB, free: 5.84 MB / 206.1 MB " [Timeout remaining time 178] 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 1.126/1.126, allocations: 130.7 MB / 450.4 MB, free: 6.441 MB / 350.1 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 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_kA,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|hEXvle2vle_L3_1ph_BU_ntu.shell.h|hEXvle2vle_L3_1ph_BU_ntu.shell.p|hEXvle2vle_L3_1ph_BU_ntu.tubes.h|hEXvle2vle_L3_1ph_BU_ntu.tubes.p|hEXvle2vle_L3_1ph_BU_ntu.wall.T_w_a|hEXvle2vle_L3_1ph_BU_ntu.wall.T_w_i",fileNamePrefix="ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA") translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|hEXvle2vle_L3_1ph_BU_ntu.shell.h|hEXvle2vle_L3_1ph_BU_ntu.shell.p|hEXvle2vle_L3_1ph_BU_ntu.tubes.h|hEXvle2vle_L3_1ph_BU_ntu.tubes.p|hEXvle2vle_L3_1ph_BU_ntu.wall.T_w_a|hEXvle2vle_L3_1ph_BU_ntu.wall.T_w_i",fileNamePrefix="ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA") [Timeout 800] "Notification: SMArtInt 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: ClaRa 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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.06724/0.06724, allocations: 20.98 MB / 0.6371 GB, free: 4.223 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2742, allocations: 81.91 MB / 0.7171 GB, free: 2.219 MB / 0.5294 GB 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_kA): time 0.6375/0.9117, allocations: 55.54 MB / 0.7713 GB, free: 14.15 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04004/0.9518, allocations: 22.12 MB / 0.7929 GB, free: 14.65 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0102/0.962, allocations: 140.7 kB / 0.793 GB, free: 14.59 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.009856/0.9718, allocations: 2.563 MB / 0.7955 GB, free: 13.02 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01647/0.9883, allocations: 3.687 MB / 0.7991 GB, free: 10.06 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01242/1.001, allocations: 3.922 MB / 0.803 GB, free: 7.09 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0215/1.022, allocations: 9.898 MB / 0.8126 GB, free: 408 kB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007693/1.03, allocations: 3.33 MB / 0.8159 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01242/1.042, allocations: 4.18 MB / 0.82 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00994/1.052, allocations: 3.985 MB / 0.8239 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002858/1.055, allocations: 0.668 MB / 0.8245 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008272/1.063, allocations: 1.969 MB / 0.8264 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.004437/1.068, allocations: 2.032 MB / 0.8284 GB, free: 140 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.008278/1.076, allocations: 2.728 MB / 0.8311 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02325/1.099, allocations: 10.56 MB / 0.8414 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.824e-06/1.099, allocations: 0 / 0.8414 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.304e-06/1.099, allocations: 2.656 kB / 0.8414 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0004113/1.1, allocations: 0 / 0.8414 GB, free: 2.797 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1318 * Number of variables: 1318 Notification: Performance of Generate backend data structure: time 0.02381/1.124, allocations: 7.371 MB / 0.8486 GB, free: 11.37 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 6.325e-05/1.124, allocations: 16.02 kB / 0.8486 GB, free: 11.36 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003382/1.127, allocations: 0.8977 MB / 0.8495 GB, free: 10.45 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01358/1.141, allocations: 5.39 MB / 0.8548 GB, free: 5.004 MB / 0.6232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003132/1.141, allocations: 254.4 kB / 0.855 GB, free: 4.754 MB / 0.6232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008511/1.142, allocations: 304 kB / 0.8553 GB, free: 4.457 MB / 0.6232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02453/1.166, allocations: 10.06 MB / 0.8651 GB, free: 9.012 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001293/1.166, allocations: 46.92 kB / 0.8652 GB, free: 8.973 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005728/1.167, allocations: 160 kB / 0.8653 GB, free: 8.816 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002603/1.167, allocations: 200.5 kB / 0.8655 GB, free: 8.617 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0206/1.188, allocations: 6.536 MB / 0.8719 GB, free: 2.086 MB / 0.6388 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05008/1.238, allocations: 32.94 MB / 0.904 GB, free: 80 kB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01778/1.256, allocations: 5.543 MB / 0.9095 GB, free: 10.37 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005229/1.261, allocations: 1.885 MB / 0.9113 GB, free: 8.43 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008321/1.262, allocations: 177.6 kB / 0.9115 GB, free: 8.254 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001217/1.262, allocations: 92.92 kB / 0.9116 GB, free: 8.156 MB / 0.6857 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004203/1.266, allocations: 0.6144 MB / 0.9122 GB, free: 7.543 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=712): time 2.175e-05/1.266, allocations: 0 / 0.9122 GB, free: 7.543 MB / 0.6857 GB Notification: Performance of matching and sorting (n=712): time 0.03969/1.306, allocations: 10.98 MB / 0.9229 GB, free: 12.52 MB / 0.7013 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006894/1.307, allocations: 1.028 MB / 0.9239 GB, free: 11.25 MB / 0.7013 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01066/1.317, allocations: 4.861 MB / 0.9286 GB, free: 6.398 MB / 0.7013 GB Notification: Performance of collectPreVariables (initialization): time 0.001103/1.318, allocations: 69.7 kB / 0.9287 GB, free: 6.324 MB / 0.7013 GB Notification: Performance of collectInitialEqns (initialization): time 0.002799/1.321, allocations: 2.473 MB / 0.9311 GB, free: 3.836 MB / 0.7013 GB Notification: Performance of collectInitialBindings (initialization): time 0.003479/1.325, allocations: 2.416 MB / 0.9335 GB, free: 1.398 MB / 0.7013 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005157/1.33, allocations: 1.474 MB / 0.9349 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001997/1.33, allocations: 307.7 kB / 0.9352 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006935/1.337, allocations: 2.671 MB / 0.9378 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008772/1.346, allocations: 5.228 MB / 0.9429 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1259/1.472, allocations: 20.5 MB / 0.9629 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.137e-05/1.472, allocations: 20.75 kB / 0.963 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.02059/1.492, allocations: 8.436 MB / 0.9712 GB, free: 9.281 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 6.532e-05/1.492, allocations: 38.09 kB / 0.9712 GB, free: 9.246 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01378/1.506, allocations: 6.161 MB / 0.9773 GB, free: 3.016 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006606/1.507, allocations: 209.6 kB / 0.9775 GB, free: 2.805 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006969/1.514, allocations: 2.008 MB / 0.9794 GB, free: 0.793 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003127/1.517, allocations: 2.859 MB / 0.9822 GB, free: 13.73 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005064/1.522, allocations: 331.9 kB / 0.9825 GB, free: 13.41 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001476/1.523, allocations: 491.6 kB / 0.983 GB, free: 12.93 MB / 0.7638 GB Warning: Assuming fixed start value for the following 4 variables: hEXvle2vle_L3_1ph_BU_ntu.tubes.h:VARIABLE(start = hEXvle2vle_L3_1ph_BU_ntu.tubes.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hEXvle2vle_L3_1ph_BU_ntu.tubes.p:VARIABLE(min = 0.0 start = hEXvle2vle_L3_1ph_BU_ntu.tubes.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real hEXvle2vle_L3_1ph_BU_ntu.shell.h:VARIABLE(start = hEXvle2vle_L3_1ph_BU_ntu.shell.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hEXvle2vle_L3_1ph_BU_ntu.shell.p:VARIABLE(min = 0.0 start = hEXvle2vle_L3_1ph_BU_ntu.shell.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01005/1.533, allocations: 3.751 MB / 0.9867 GB, free: 9.172 MB / 0.7638 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008853/1.542, allocations: 5.214 MB / 0.9917 GB, free: 2.902 MB / 0.7638 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1252/1.667, allocations: 20.4 MB / 1.012 GB, free: 13.55 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.912e-05/1.668, allocations: 24 kB / 1.012 GB, free: 13.53 MB / 0.795 GB Notification: Performance of matching and sorting (n=993) (initialization_lambda0): time 0.01918/1.687, allocations: 8.364 MB / 1.02 GB, free: 5.098 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.842e-05/1.687, allocations: 32 kB / 1.02 GB, free: 5.066 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01335/1.7, allocations: 6.077 MB / 1.026 GB, free: 14.92 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004842/1.701, allocations: 181.6 kB / 1.026 GB, free: 14.73 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006764/1.707, allocations: 2.008 MB / 1.028 GB, free: 12.72 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00283/1.71, allocations: 2.82 MB / 1.031 GB, free: 9.703 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005423/1.716, allocations: 311.9 kB / 1.031 GB, free: 9.398 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001292/1.717, allocations: 0.4915 MB / 1.031 GB, free: 8.91 MB / 0.8107 GB Warning: Assuming fixed start value for the following 4 variables: hEXvle2vle_L3_1ph_BU_ntu.tubes.h:VARIABLE(start = hEXvle2vle_L3_1ph_BU_ntu.tubes.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hEXvle2vle_L3_1ph_BU_ntu.tubes.p:VARIABLE(min = 0.0 start = hEXvle2vle_L3_1ph_BU_ntu.tubes.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real hEXvle2vle_L3_1ph_BU_ntu.shell.h:VARIABLE(start = hEXvle2vle_L3_1ph_BU_ntu.shell.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hEXvle2vle_L3_1ph_BU_ntu.shell.p:VARIABLE(min = 0.0 start = hEXvle2vle_L3_1ph_BU_ntu.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: 286 * 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 (991): * Single equations (assignments): 989 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003192/1.72, allocations: 0.6071 MB / 1.032 GB, free: 8.297 MB / 0.8107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003313/1.723, allocations: 0.6323 MB / 1.033 GB, free: 7.66 MB / 0.8107 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 1136 equation(s) and 1082 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (valve_shell1.fluidIn.q, valve_shell1.fluidIn.cp, valve_shell1.fluidIn.cv, valve_shell1.fluidIn.beta, valve_shell1.fluidIn.kappa, valve_shell1.fluidIn.drhodp_hxi, valve_shell1.fluidIn.drhodh_pxi, _, valve_shell1.fluidIn.w, valve_shell1.fluidIn.gamma) = ($cse432, $cse433, $cse434, $cse435, $cse436, $cse437, $cse438, $cse439, $cse440, $cse441) has size 9 but 8 variables ($cse189, $cse190, $cse191, $cse192, hEXvle2vle_L3_1ph_BU_ntu.tubes.bulk.transp.Pr, hEXvle2vle_L3_1ph_BU_ntu.tubes.bulk.transp.lambda, hEXvle2vle_L3_1ph_BU_ntu.tubes.bulk.transp.eta, hEXvle2vle_L3_1ph_BU_ntu.tubes.bulk.transp.sigma) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0178/1.741, allocations: 9.17 MB / 1.042 GB, free: 14.66 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 6.194075345061719] Failed to read output from testmodel.py, exit status != 0: 2.2451459993608296 2.256966552 1.154406869 Calling exit ...