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.01257/0.01257, allocations: 1.757 MB / 20.59 MB, free: 1.133 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.001581/0.001581, allocations: 112 kB / 24.18 MB, free: 2.598 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.001924/0.001924, allocations: 221.7 kB / 27.92 MB, free: 3.914 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.503/1.503, allocations: 230.6 MB / 262.1 MB, free: 6 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.13/1.13, allocations: 130.7 MB / 449.7 MB, free: 6.566 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.03329/0.03329, allocations: 20.78 MB / 0.6362 GB, free: 4.648 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.2017, allocations: 81.91 MB / 0.7162 GB, free: 2.633 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.5151/0.7168, allocations: 58.99 MB / 0.7738 GB, free: 10.85 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03857/0.7553, allocations: 22.96 MB / 0.7963 GB, free: 10.44 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009454/0.7648, allocations: 141.4 kB / 0.7964 GB, free: 10.38 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.009031/0.7738, allocations: 2.656 MB / 0.799 GB, free: 8.762 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01437/0.7882, allocations: 3.674 MB / 0.8026 GB, free: 5.797 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01155/0.7997, allocations: 3.92 MB / 0.8064 GB, free: 2.82 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0198/0.8195, allocations: 9.906 MB / 0.8161 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006674/0.8262, allocations: 3.099 MB / 0.8191 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009134/0.8353, allocations: 4.161 MB / 0.8232 GB, free: 5.246 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008515/0.8439, allocations: 4.278 MB / 0.8273 GB, free: 0.957 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002421/0.8463, allocations: 0.668 MB / 0.828 GB, free: 296 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007862/0.8541, allocations: 2.586 MB / 0.8305 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00369/0.8578, allocations: 2.024 MB / 0.8325 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.008753/0.8666, allocations: 3.558 MB / 0.836 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02134/0.8879, allocations: 10.64 MB / 0.8464 GB, free: 13.42 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.8879, allocations: 0 / 0.8464 GB, free: 13.42 MB / 0.6232 GB Notification: Performance of FrontEnd: time 1.883e-06/0.8879, allocations: 0 / 0.8464 GB, free: 13.42 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0003935/0.8883, allocations: 0 / 0.8464 GB, free: 13.42 MB / 0.6232 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.02003/0.9084, allocations: 7.377 MB / 0.8536 GB, free: 5.996 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.9084, allocations: 8.031 kB / 0.8536 GB, free: 5.988 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003414/0.9118, allocations: 0.8969 MB / 0.8545 GB, free: 5.09 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01221/0.924, allocations: 5.386 MB / 0.8597 GB, free: 15.64 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002646/0.9243, allocations: 253 kB / 0.86 GB, free: 15.39 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000682/0.925, allocations: 309.5 kB / 0.8603 GB, free: 15.09 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02079/0.9458, allocations: 8.532 MB / 0.8686 GB, free: 5.633 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-05/0.9459, allocations: 43.56 kB / 0.8686 GB, free: 5.59 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004274/0.9463, allocations: 164 kB / 0.8688 GB, free: 5.43 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002309/0.9465, allocations: 204.5 kB / 0.869 GB, free: 5.227 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01987/0.9664, allocations: 6.552 MB / 0.8754 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04454/1.011, allocations: 35.27 MB / 0.9098 GB, free: 10.3 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01687/1.028, allocations: 5.545 MB / 0.9152 GB, free: 4.613 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004803/1.033, allocations: 1.889 MB / 0.9171 GB, free: 2.668 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007164/1.033, allocations: 208.2 kB / 0.9173 GB, free: 2.465 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.249e-05/1.033, allocations: 98.14 kB / 0.9174 GB, free: 2.367 MB / 0.6857 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003533/1.037, allocations: 0.6272 MB / 0.918 GB, free: 1.738 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=712): time 9.187e-06/1.037, allocations: 3.438 kB / 0.918 GB, free: 1.738 MB / 0.6857 GB Notification: Performance of matching and sorting (n=712): time 0.03845/1.075, allocations: 10.98 MB / 0.9287 GB, free: 6.707 MB / 0.7013 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006189/1.076, allocations: 1.028 MB / 0.9297 GB, free: 5.438 MB / 0.7013 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01128/1.087, allocations: 4.871 MB / 0.9345 GB, free: 0.5938 MB / 0.7013 GB Notification: Performance of collectPreVariables (initialization): time 0.001552/1.089, allocations: 69.7 kB / 0.9345 GB, free: 0.5195 MB / 0.7013 GB Notification: Performance of collectInitialEqns (initialization): time 0.003117/1.092, allocations: 2.44 MB / 0.9369 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.00376/1.096, allocations: 2.42 MB / 0.9393 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003439/1.099, allocations: 1.474 MB / 0.9407 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001375/1.099, allocations: 309.6 kB / 0.941 GB, free: 9.84 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005737/1.105, allocations: 2.663 MB / 0.9436 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007987/1.113, allocations: 4.786 MB / 0.9483 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1321/1.245, allocations: 20.49 MB / 0.9683 GB, free: 12.36 MB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.288e-05/1.245, allocations: 16 kB / 0.9683 GB, free: 12.35 MB / 0.7482 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.02014/1.265, allocations: 8.456 MB / 0.9766 GB, free: 3.832 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 5.955e-05/1.265, allocations: 32 kB / 0.9766 GB, free: 3.801 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01407/1.279, allocations: 6.159 MB / 0.9826 GB, free: 13.57 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006666/1.28, allocations: 209.6 kB / 0.9828 GB, free: 13.36 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006975/1.287, allocations: 2.012 MB / 0.9848 GB, free: 11.35 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003037/1.29, allocations: 2.912 MB / 0.9876 GB, free: 8.207 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004396/1.295, allocations: 323.7 kB / 0.9879 GB, free: 7.891 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001016/1.296, allocations: 495.7 kB / 0.9884 GB, free: 7.406 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.008408/1.304, allocations: 3.753 MB / 0.9921 GB, free: 3.648 MB / 0.7638 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007629/1.312, allocations: 4.751 MB / 0.9967 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1326/1.444, allocations: 20.39 MB / 1.017 GB, free: 8.605 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.149e-05/1.444, allocations: 16 kB / 1.017 GB, free: 8.59 MB / 0.795 GB Notification: Performance of matching and sorting (n=993) (initialization_lambda0): time 0.02417/1.468, allocations: 8.381 MB / 1.025 GB, free: 148 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 7.366e-05/1.468, allocations: 33.72 kB / 1.025 GB, free: 116 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01602/1.485, allocations: 6.078 MB / 1.031 GB, free: 9.961 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005436/1.485, allocations: 185 kB / 1.031 GB, free: 9.777 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007346/1.492, allocations: 2.008 MB / 1.033 GB, free: 7.766 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002952/1.495, allocations: 2.87 MB / 1.036 GB, free: 4.676 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004781/1.5, allocations: 320.8 kB / 1.036 GB, free: 4.363 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001461/1.502, allocations: 491.6 kB / 1.037 GB, free: 3.883 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.002455/1.504, allocations: 0.6205 MB / 1.037 GB, free: 3.262 MB / 0.8107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002678/1.507, allocations: 0.64 MB / 1.038 GB, free: 2.617 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.02037/1.527, allocations: 9.133 MB / 1.047 GB, free: 9.652 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.646476096007973] Failed to read output from testmodel.py, exit status != 0: 1.8885941770859063 1.898983425 1.008386473 Calling exit ...