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.01227/0.01227, allocations: 1.761 MB / 20.59 MB, free: 1.285 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.001463/0.001463, allocations: 113.2 kB / 24.19 MB, free: 2.688 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.00186/0.00186, allocations: 208.5 kB / 27.92 MB, free: 4.027 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.463/1.463, allocations: 230.6 MB / 262.1 MB, free: 5.98 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.11/1.11, allocations: 130.7 MB / 449.6 MB, free: 6.734 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.0324/0.0324, allocations: 20.78 MB / 0.6362 GB, free: 4.605 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.2267, allocations: 81.9 MB / 0.7162 GB, free: 2.621 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.5959/0.8226, allocations: 59.01 MB / 0.7738 GB, free: 10.77 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03884/0.8614, allocations: 22.95 MB / 0.7962 GB, free: 10.37 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00913/0.8705, allocations: 145.7 kB / 0.7964 GB, free: 10.3 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.009633/0.8802, allocations: 2.651 MB / 0.799 GB, free: 8.703 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01841/0.8986, allocations: 3.677 MB / 0.8026 GB, free: 5.738 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01323/0.9118, allocations: 3.923 MB / 0.8064 GB, free: 2.762 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02312/0.9349, allocations: 9.899 MB / 0.8161 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007733/0.9427, allocations: 3.097 MB / 0.8191 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01117/0.9538, allocations: 4.169 MB / 0.8232 GB, free: 5.195 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009598/0.9634, allocations: 4.267 MB / 0.8273 GB, free: 0.9141 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.003202/0.9666, allocations: 0.668 MB / 0.828 GB, free: 252 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008931/0.9756, allocations: 2.587 MB / 0.8305 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004756/0.9803, allocations: 2.032 MB / 0.8325 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.008912/0.9892, allocations: 3.552 MB / 0.836 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02457/1.014, allocations: 10.64 MB / 0.8463 GB, free: 13.38 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/1.014, allocations: 2.656 kB / 0.8463 GB, free: 13.38 MB / 0.6232 GB Notification: Performance of FrontEnd: time 1.473e-06/1.014, allocations: 0 / 0.8463 GB, free: 13.38 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0003653/1.014, allocations: 0 / 0.8463 GB, free: 13.38 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.01889/1.033, allocations: 7.379 MB / 0.8536 GB, free: 5.949 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/1.033, allocations: 8.031 kB / 0.8536 GB, free: 5.941 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00275/1.036, allocations: 0.9005 MB / 0.8544 GB, free: 5.039 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01221/1.048, allocations: 5.381 MB / 0.8597 GB, free: 15.59 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002898/1.048, allocations: 251.8 kB / 0.8599 GB, free: 15.35 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007002/1.049, allocations: 304 kB / 0.8602 GB, free: 15.05 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02314/1.072, allocations: 8.549 MB / 0.8686 GB, free: 5.582 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.241e-05/1.072, allocations: 39.62 kB / 0.8686 GB, free: 5.543 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004868/1.073, allocations: 160 kB / 0.8688 GB, free: 5.387 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000254/1.073, allocations: 200.5 kB / 0.869 GB, free: 5.188 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02103/1.094, allocations: 6.559 MB / 0.8754 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05413/1.148, allocations: 35.26 MB / 0.9098 GB, free: 10.25 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01687/1.165, allocations: 5.544 MB / 0.9152 GB, free: 4.566 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005054/1.17, allocations: 1.893 MB / 0.9171 GB, free: 2.617 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008278/1.171, allocations: 208.2 kB / 0.9173 GB, free: 2.414 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001144/1.171, allocations: 94.83 kB / 0.9173 GB, free: 2.32 MB / 0.6857 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004116/1.175, allocations: 0.6298 MB / 0.918 GB, free: 1.691 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=712): time 1.724e-05/1.175, allocations: 0 / 0.918 GB, free: 1.691 MB / 0.6857 GB Notification: Performance of matching and sorting (n=712): time 0.03924/1.214, allocations: 10.99 MB / 0.9287 GB, free: 6.66 MB / 0.7013 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006811/1.215, allocations: 1.03 MB / 0.9297 GB, free: 5.391 MB / 0.7013 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01164/1.227, allocations: 4.86 MB / 0.9344 GB, free: 0.5547 MB / 0.7013 GB Notification: Performance of collectPreVariables (initialization): time 0.001359/1.228, allocations: 73.7 kB / 0.9345 GB, free: 488 kB / 0.7013 GB Notification: Performance of collectInitialEqns (initialization): time 0.002675/1.231, allocations: 2.444 MB / 0.9369 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.003639/1.234, allocations: 2.422 MB / 0.9393 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002917/1.237, allocations: 1.47 MB / 0.9407 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001562/1.238, allocations: 305.1 kB / 0.941 GB, free: 9.793 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005708/1.243, allocations: 2.67 MB / 0.9436 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007804/1.251, allocations: 4.776 MB / 0.9483 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1272/1.378, allocations: 20.49 MB / 0.9683 GB, free: 12.3 MB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-05/1.378, allocations: 16 kB / 0.9683 GB, free: 12.29 MB / 0.7482 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.0207/1.399, allocations: 8.453 MB / 0.9766 GB, free: 3.773 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 6.426e-05/1.399, allocations: 32 kB / 0.9766 GB, free: 3.742 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01427/1.413, allocations: 6.168 MB / 0.9826 GB, free: 13.5 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006478/1.414, allocations: 201.6 kB / 0.9828 GB, free: 13.3 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006814/1.421, allocations: 2.012 MB / 0.9848 GB, free: 11.29 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002889/1.424, allocations: 2.915 MB / 0.9876 GB, free: 8.148 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00471/1.428, allocations: 331.9 kB / 0.9879 GB, free: 7.824 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001196/1.43, allocations: 491.6 kB / 0.9884 GB, free: 7.344 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.008317/1.438, allocations: 3.752 MB / 0.9921 GB, free: 3.59 MB / 0.7638 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009879/1.448, allocations: 4.755 MB / 0.9967 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1251/1.573, allocations: 20.39 MB / 1.017 GB, free: 8.543 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.375e-05/1.573, allocations: 20 kB / 1.017 GB, free: 8.523 MB / 0.795 GB Notification: Performance of matching and sorting (n=993) (initialization_lambda0): time 0.02604/1.599, allocations: 8.371 MB / 1.025 GB, free: 88 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001317/1.599, allocations: 32 kB / 1.025 GB, free: 56 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01794/1.617, allocations: 6.081 MB / 1.031 GB, free: 9.898 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006177/1.618, allocations: 177.7 kB / 1.031 GB, free: 9.719 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007849/1.626, allocations: 2.014 MB / 1.033 GB, free: 7.703 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003202/1.629, allocations: 2.867 MB / 1.036 GB, free: 4.613 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005872/1.635, allocations: 316 kB / 1.036 GB, free: 4.305 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001924/1.637, allocations: 491.6 kB / 1.036 GB, free: 3.824 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.003315/1.64, allocations: 0.6281 MB / 1.037 GB, free: 3.199 MB / 0.8107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003349/1.643, allocations: 0.6439 MB / 1.038 GB, free: 2.551 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.02044/1.664, allocations: 9.126 MB / 1.047 GB, free: 9.598 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.925591183000506] Failed to read output from testmodel.py, exit status != 0: 2.0935929190018214 2.111864912 1.094274827 Calling exit ...