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.01582/0.01582, 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.001741/0.001741, allocations: 103.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.002439/0.002439, allocations: 205.4 kB / 27.91 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.588/1.588, allocations: 230.6 MB / 262.1 MB, free: 6.008 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.154/1.154, allocations: 130.7 MB / 449.7 MB, free: 6.555 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.03616/0.03616, allocations: 20.78 MB / 0.6362 GB, free: 4.664 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.2164, allocations: 81.91 MB / 0.7162 GB, free: 2.656 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.5791/0.7955, allocations: 59 MB / 0.7738 GB, free: 10.83 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04457/0.8401, allocations: 22.96 MB / 0.7962 GB, free: 10.42 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01098/0.8511, allocations: 147.3 kB / 0.7964 GB, free: 10.36 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01096/0.862, allocations: 2.645 MB / 0.799 GB, free: 8.773 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01739/0.8794, allocations: 3.678 MB / 0.8026 GB, free: 5.805 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01301/0.8924, allocations: 3.921 MB / 0.8064 GB, free: 2.828 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0214/0.9138, allocations: 9.909 MB / 0.8161 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008697/0.9225, allocations: 3.095 MB / 0.8191 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01294/0.9355, allocations: 4.165 MB / 0.8232 GB, free: 5.25 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01142/0.9469, allocations: 4.273 MB / 0.8273 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.003459/0.9504, allocations: 0.668 MB / 0.828 GB, free: 304 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00965/0.96, allocations: 2.581 MB / 0.8305 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004404/0.9644, allocations: 2.038 MB / 0.8325 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.008817/0.9732, allocations: 3.552 MB / 0.836 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02327/0.9965, allocations: 10.64 MB / 0.8464 GB, free: 13.43 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 8.236e-06/0.9965, allocations: 0 / 0.8464 GB, free: 13.43 MB / 0.6232 GB Notification: Performance of FrontEnd: time 2.264e-06/0.9965, allocations: 0 / 0.8464 GB, free: 13.43 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0004099/0.9969, allocations: 0 / 0.8464 GB, free: 13.43 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.02252/1.019, allocations: 7.382 MB / 0.8536 GB, free: 6.004 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/1.02, allocations: 8.031 kB / 0.8536 GB, free: 5.996 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00433/1.024, allocations: 0.894 MB / 0.8544 GB, free: 5.098 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01472/1.039, allocations: 5.384 MB / 0.8597 GB, free: 15.65 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000411/1.039, allocations: 253 kB / 0.8599 GB, free: 15.4 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001489/1.04, allocations: 308 kB / 0.8602 GB, free: 15.1 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02594/1.066, allocations: 8.535 MB / 0.8686 GB, free: 5.641 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000195/1.067, allocations: 43.56 kB / 0.8686 GB, free: 5.598 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001358/1.068, allocations: 160 kB / 0.8688 GB, free: 5.441 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004324/1.068, allocations: 200.5 kB / 0.869 GB, free: 5.242 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02269/1.091, allocations: 6.559 MB / 0.8754 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05377/1.145, allocations: 35.27 MB / 0.9098 GB, free: 10.3 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01782/1.163, allocations: 5.545 MB / 0.9152 GB, free: 4.621 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00551/1.168, allocations: 1.89 MB / 0.9171 GB, free: 2.676 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008972/1.169, allocations: 212.2 kB / 0.9173 GB, free: 2.469 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001243/1.169, allocations: 88.28 kB / 0.9174 GB, free: 2.379 MB / 0.6857 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00444/1.174, allocations: 0.6337 MB / 0.918 GB, free: 1.746 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=712): time 1.721e-05/1.174, allocations: 0 / 0.918 GB, free: 1.746 MB / 0.6857 GB Notification: Performance of matching and sorting (n=712): time 0.04089/1.215, allocations: 10.99 MB / 0.9287 GB, free: 6.711 MB / 0.7013 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007519/1.215, allocations: 1.03 MB / 0.9297 GB, free: 5.441 MB / 0.7013 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01243/1.228, allocations: 4.86 MB / 0.9345 GB, free: 0.6055 MB / 0.7013 GB Notification: Performance of collectPreVariables (initialization): time 0.001445/1.229, allocations: 73.7 kB / 0.9345 GB, free: 0.5273 MB / 0.7013 GB Notification: Performance of collectInitialEqns (initialization): time 0.003346/1.233, allocations: 2.44 MB / 0.9369 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.003894/1.236, allocations: 2.423 MB / 0.9393 GB, free: 11.63 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005766/1.242, allocations: 1.473 MB / 0.9407 GB, free: 10.15 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000151/1.242, allocations: 305.1 kB / 0.941 GB, free: 9.852 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00794/1.25, allocations: 2.671 MB / 0.9436 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01031/1.261, allocations: 4.774 MB / 0.9483 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1391/1.4, allocations: 20.5 MB / 0.9683 GB, free: 12.36 MB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.541e-05/1.4, allocations: 16 kB / 0.9683 GB, free: 12.34 MB / 0.7482 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.02429/1.424, allocations: 8.451 MB / 0.9766 GB, free: 3.828 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 9.128e-05/1.424, allocations: 32 kB / 0.9766 GB, free: 3.797 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01616/1.44, allocations: 6.162 MB / 0.9826 GB, free: 13.56 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007831/1.441, allocations: 201.7 kB / 0.9828 GB, free: 13.36 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007522/1.449, allocations: 2.012 MB / 0.9848 GB, free: 11.34 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003609/1.452, allocations: 2.919 MB / 0.9876 GB, free: 8.203 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005467/1.458, allocations: 327.8 kB / 0.9879 GB, free: 7.883 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001732/1.459, allocations: 495.6 kB / 0.9884 GB, free: 7.398 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.01115/1.471, allocations: 3.745 MB / 0.9921 GB, free: 3.645 MB / 0.7638 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009487/1.48, allocations: 4.755 MB / 0.9967 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1294/1.61, allocations: 20.39 MB / 1.017 GB, free: 8.605 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.863e-05/1.61, allocations: 20 kB / 1.017 GB, free: 8.586 MB / 0.795 GB Notification: Performance of matching and sorting (n=993) (initialization_lambda0): time 0.02515/1.635, allocations: 8.384 MB / 1.025 GB, free: 140 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 7.922e-05/1.635, allocations: 33.56 kB / 1.025 GB, free: 108 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01761/1.652, allocations: 6.071 MB / 1.031 GB, free: 9.961 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006294/1.653, allocations: 185.7 kB / 1.031 GB, free: 9.773 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008273/1.661, allocations: 2.005 MB / 1.033 GB, free: 7.766 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0031/1.664, allocations: 2.874 MB / 1.036 GB, free: 4.668 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005868/1.67, allocations: 320.9 kB / 1.036 GB, free: 4.355 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001885/1.672, allocations: 483.7 kB / 1.036 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.003528/1.676, allocations: 0.6237 MB / 1.037 GB, free: 3.258 MB / 0.8107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003536/1.679, allocations: 0.6439 MB / 1.038 GB, free: 2.609 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.02326/1.703, allocations: 9.136 MB / 1.047 GB, free: 9.633 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 6.220758050912991] Failed to read output from testmodel.py, exit status != 0: 2.138876728946343 2.150043494 1.150636704 Calling exit ...