Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.01019/0.01019, allocations: 1.759 MB / 21.39 MB, free: 452 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.001207/0.001207, allocations: 105.8 kB / 24.97 MB, free: 2.039 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.001433/0.001433, allocations: 217.7 kB / 28.68 MB, free: 3.324 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.415/1.415, allocations: 230.6 MB / 262.9 MB, free: 5.797 MB / 206.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.035/1.035, allocations: 130.7 MB / 450.4 MB, free: 6.422 MB / 350.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_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_dev_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_dev_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.06226/0.06226, allocations: 20.61 MB / 0.6367 GB, free: 4.559 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.2333, allocations: 81.9 MB / 0.7167 GB, free: 2.578 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.5002/0.7336, allocations: 55.51 MB / 0.7709 GB, free: 14.2 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03399/0.7675, allocations: 22.09 MB / 0.7925 GB, free: 14.71 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008705/0.7762, allocations: 144.3 kB / 0.7926 GB, free: 14.64 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.008889/0.7851, allocations: 2.578 MB / 0.7951 GB, free: 13.09 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01411/0.7992, allocations: 3.692 MB / 0.7987 GB, free: 10.12 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01118/0.8104, allocations: 3.926 MB / 0.8026 GB, free: 7.148 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01741/0.8278, allocations: 9.89 MB / 0.8122 GB, free: 0.6523 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006829/0.8347, allocations: 3.101 MB / 0.8153 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009548/0.8442, allocations: 4.188 MB / 0.8194 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008681/0.8529, allocations: 4.259 MB / 0.8235 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002783/0.8557, allocations: 0.668 MB / 0.8242 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007113/0.8628, allocations: 2.005 MB / 0.8261 GB, free: 2.348 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.003604/0.8664, allocations: 2.028 MB / 0.8281 GB, free: 320 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.006671/0.8731, allocations: 2.732 MB / 0.8308 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01801/0.8911, allocations: 10.56 MB / 0.8411 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.8911, allocations: 0 / 0.8411 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.385e-06/0.8911, allocations: 0 / 0.8411 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002998/0.8914, allocations: 2.656 kB / 0.8411 GB, free: 2.965 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.01826/0.9097, allocations: 7.371 MB / 0.8483 GB, free: 11.54 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.9097, allocations: 12.03 kB / 0.8483 GB, free: 11.53 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003407/0.9131, allocations: 0.8994 MB / 0.8492 GB, free: 10.63 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01225/0.9254, allocations: 5.398 MB / 0.8545 GB, free: 5.172 MB / 0.6232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002936/0.9257, allocations: 246.4 kB / 0.8547 GB, free: 4.93 MB / 0.6232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008632/0.9265, allocations: 312 kB / 0.855 GB, free: 4.625 MB / 0.6232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02263/0.9491, allocations: 10.05 MB / 0.8648 GB, free: 9.191 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.686e-05/0.9492, allocations: 47.56 kB / 0.8648 GB, free: 9.145 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005274/0.9498, allocations: 164 kB / 0.865 GB, free: 8.984 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002433/0.95, allocations: 207.1 kB / 0.8652 GB, free: 8.781 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0197/0.9697, allocations: 6.544 MB / 0.8716 GB, free: 2.242 MB / 0.6388 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04089/1.011, allocations: 32.95 MB / 0.9038 GB, free: 232 kB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01628/1.027, allocations: 5.534 MB / 0.9092 GB, free: 10.53 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004662/1.032, allocations: 1.888 MB / 0.911 GB, free: 8.59 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006809/1.032, allocations: 187 kB / 0.9112 GB, free: 8.406 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.93e-05/1.032, allocations: 95.55 kB / 0.9113 GB, free: 8.309 MB / 0.6857 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003647/1.036, allocations: 0.6194 MB / 0.9119 GB, free: 7.688 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=712): time 1.441e-05/1.036, allocations: 2.656 kB / 0.9119 GB, free: 7.688 MB / 0.6857 GB Notification: Performance of matching and sorting (n=712): time 0.03673/1.073, allocations: 10.97 MB / 0.9226 GB, free: 12.66 MB / 0.7013 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005833/1.073, allocations: 1.024 MB / 0.9236 GB, free: 11.4 MB / 0.7013 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008421/1.082, allocations: 4.768 MB / 0.9283 GB, free: 6.648 MB / 0.7013 GB Notification: Performance of collectPreVariables (initialization): time 0.001143/1.083, allocations: 77.64 kB / 0.9283 GB, free: 6.566 MB / 0.7013 GB Notification: Performance of collectInitialEqns (initialization): time 0.002206/1.085, allocations: 2.459 MB / 0.9307 GB, free: 4.09 MB / 0.7013 GB Notification: Performance of collectInitialBindings (initialization): time 0.003061/1.088, allocations: 2.416 MB / 0.9331 GB, free: 1.652 MB / 0.7013 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002831/1.091, allocations: 1.474 MB / 0.9345 GB, free: 172 kB / 0.7013 GB Notification: Performance of setup shared object (initialization): time 0.0001443/1.091, allocations: 309.1 kB / 0.9348 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005487/1.097, allocations: 2.669 MB / 0.9374 GB, free: 13.19 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008094/1.105, allocations: 5.235 MB / 0.9425 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.126/1.231, allocations: 20.5 MB / 0.9626 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.982e-05/1.231, allocations: 20 kB / 0.9626 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.0202/1.251, allocations: 8.443 MB / 0.9708 GB, free: 9.523 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 6.108e-05/1.251, allocations: 35.98 kB / 0.9709 GB, free: 9.488 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01323/1.264, allocations: 6.16 MB / 0.9769 GB, free: 3.258 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006397/1.265, allocations: 205.6 kB / 0.9771 GB, free: 3.051 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006758/1.272, allocations: 2.02 MB / 0.979 GB, free: 1.031 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002991/1.275, allocations: 2.855 MB / 0.9818 GB, free: 13.97 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004862/1.28, allocations: 324.1 kB / 0.9821 GB, free: 13.66 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001237/1.281, allocations: 495.6 kB / 0.9826 GB, free: 13.17 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.008452/1.289, allocations: 3.751 MB / 0.9863 GB, free: 9.418 MB / 0.7638 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007908/1.297, allocations: 5.212 MB / 0.9914 GB, free: 3.152 MB / 0.7638 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1278/1.425, allocations: 20.41 MB / 1.011 GB, free: 13.79 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.403e-05/1.425, allocations: 16 kB / 1.011 GB, free: 13.77 MB / 0.795 GB Notification: Performance of matching and sorting (n=993) (initialization_lambda0): time 0.01937/1.444, allocations: 8.378 MB / 1.019 GB, free: 5.328 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.811e-05/1.444, allocations: 32 kB / 1.02 GB, free: 5.297 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01254/1.457, allocations: 6.072 MB / 1.025 GB, free: 15.15 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004556/1.457, allocations: 177.7 kB / 1.026 GB, free: 14.97 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006555/1.464, allocations: 2.005 MB / 1.028 GB, free: 12.96 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002617/1.467, allocations: 2.811 MB / 1.03 GB, free: 9.949 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004932/1.472, allocations: 320.1 kB / 1.031 GB, free: 9.637 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001065/1.473, allocations: 495.6 kB / 1.031 GB, free: 9.152 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.002776/1.475, allocations: 0.6118 MB / 1.032 GB, free: 8.539 MB / 0.8107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002704/1.478, allocations: 0.6348 MB / 1.032 GB, free: 7.902 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.01671/1.495, allocations: 9.13 MB / 1.041 GB, free: 14.95 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.53252320503816] Failed to read output from testmodel.py, exit status != 0: 1.9402260020142421 1.950322517 1.056524914 Calling exit ...