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.01352/0.01352, allocations: 1.798 MB / 21.36 MB, free: 3.191 MB / 18.57 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.001111/0.001111, allocations: 79.73 kB / 25.15 MB, free: 7.469 MB / 18.57 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.00141/0.00141, allocations: 158.9 kB / 29.06 MB, free: 3.664 MB / 18.57 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 0.9594/0.9594, allocations: 177.2 MB / 210 MB, free: 3.582 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6159/0.6159, allocations: 102.4 MB / 369.5 MB, free: 384 kB / 330.7 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 1.0.0 (/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: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 470 MB, free: 18.99 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.15e-05/3.346e-05, allocations: 3.766 kB / 470 MB, free: 18.99 MB / 410.8 MB 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.1248/0.1248, allocations: 74.99 MB / 0.5322 GB, free: 12.88 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03245/0.1573, allocations: 22.59 MB / 0.5543 GB, free: 6.219 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004907/0.1622, allocations: 143 kB / 0.5544 GB, free: 6.078 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004936/0.1671, allocations: 2.582 MB / 0.5569 GB, free: 3.48 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01485/0.182, allocations: 3.793 MB / 0.5606 GB, free: 15.66 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01045/0.1924, allocations: 3.98 MB / 0.5645 GB, free: 11.68 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01636/0.2088, allocations: 10.19 MB / 0.5745 GB, free: 1.461 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004736/0.2135, allocations: 3.493 MB / 0.5779 GB, free: 13.9 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00846/0.222, allocations: 5.679 MB / 0.5834 GB, free: 8.211 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005314/0.2273, allocations: 3.481 MB / 0.5868 GB, free: 4.723 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.001652/0.2289, allocations: 0.668 MB / 0.5875 GB, free: 4.055 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004506/0.2334, allocations: 1.991 MB / 0.5894 GB, free: 2.062 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.001703/0.2351, allocations: 2.079 MB / 0.5914 GB, free: 15.97 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.003874/0.239, allocations: 2.205 MB / 0.5936 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.01022/0.2492, allocations: 6.749 MB / 0.6002 GB, free: 6.992 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.2492, allocations: 0 / 0.6002 GB, free: 6.992 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2492, allocations: 0 / 0.6002 GB, free: 6.992 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002911/0.2495, allocations: 0 / 0.6002 GB, free: 6.992 MB / 0.5105 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.01075/0.2603, allocations: 7.49 MB / 0.6075 GB, free: 15.41 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.2603, allocations: 11.97 kB / 0.6075 GB, free: 15.4 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001964/0.2623, allocations: 1.152 MB / 0.6086 GB, free: 14.25 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008462/0.2707, allocations: 5.132 MB / 0.6136 GB, free: 9.016 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002086/0.271, allocations: 250.4 kB / 0.6139 GB, free: 8.77 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000498/0.2715, allocations: 336 kB / 0.6142 GB, free: 8.441 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0136/0.2851, allocations: 9.315 MB / 0.6233 GB, free: 13.37 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.865e-05/0.2851, allocations: 39.62 kB / 0.6233 GB, free: 13.33 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003902/0.2855, allocations: 160 kB / 0.6235 GB, free: 13.17 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002145/0.2858, allocations: 208.4 kB / 0.6237 GB, free: 12.96 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009204/0.295, allocations: 4.252 MB / 0.6278 GB, free: 8.691 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2569/0.5519, allocations: 43.68 MB / 0.6705 GB, free: 59.19 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007446/0.5593, allocations: 4.184 MB / 0.6746 GB, free: 58.46 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001608/0.5609, allocations: 1.062 MB / 0.6756 GB, free: 58.21 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003472/0.5613, allocations: 198.6 kB / 0.6758 GB, free: 58.2 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.963e-05/0.5613, allocations: 93.55 kB / 0.6759 GB, free: 58.16 MB / 0.5574 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001945/0.5633, allocations: 0.6177 MB / 0.6765 GB, free: 58.16 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=712): time 1.527e-05/0.5633, allocations: 3.375 kB / 0.6765 GB, free: 58.16 MB / 0.5574 GB Notification: Performance of matching and sorting (n=712): time 0.01916/0.5825, allocations: 8.574 MB / 0.6849 GB, free: 57.85 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001838/0.5826, allocations: 1.024 MB / 0.6859 GB, free: 56.63 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005711/0.5884, allocations: 4.442 MB / 0.6902 GB, free: 56.06 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.000468/0.5888, allocations: 74.48 kB / 0.6903 GB, free: 56.03 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.001446/0.5903, allocations: 2.622 MB / 0.6929 GB, free: 55.18 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.001516/0.5918, allocations: 2.427 MB / 0.6952 GB, free: 53.85 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001912/0.5937, allocations: 1.55 MB / 0.6967 GB, free: 53.7 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 3.791e-05/0.5937, allocations: 476.8 kB / 0.6972 GB, free: 53.23 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002672/0.5964, allocations: 1.37 MB / 0.6985 GB, free: 53.17 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004147/0.6006, allocations: 4.82 MB / 0.7032 GB, free: 48.95 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01037/0.6109, allocations: 7.437 MB / 0.7105 GB, free: 45.32 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.485e-05/0.611, allocations: 17.34 kB / 0.7105 GB, free: 45.32 MB / 0.5574 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.01147/0.6224, allocations: 6.2 MB / 0.7166 GB, free: 44.75 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 5.238e-05/0.6225, allocations: 32.31 kB / 0.7166 GB, free: 44.75 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00667/0.6292, allocations: 3.809 MB / 0.7203 GB, free: 44.35 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004812/0.6296, allocations: 181.4 kB / 0.7205 GB, free: 44.3 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003338/0.633, allocations: 1.969 MB / 0.7224 GB, free: 43.95 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/0.6344, allocations: 3.653 MB / 0.726 GB, free: 40.43 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002456/0.6369, allocations: 279.5 kB / 0.7262 GB, free: 40.41 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004788/0.6374, allocations: 499.1 kB / 0.7267 GB, free: 40.32 MB / 0.5574 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.003132/0.6405, allocations: 1.543 MB / 0.7282 GB, free: 39.93 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002979/0.6435, allocations: 4.803 MB / 0.7329 GB, free: 35.35 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007225/0.6507, allocations: 7.396 MB / 0.7401 GB, free: 30.82 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.356e-05/0.6507, allocations: 16.56 kB / 0.7402 GB, free: 30.82 MB / 0.5574 GB Notification: Performance of matching and sorting (n=993) (initialization_lambda0): time 0.008102/0.6588, allocations: 6.132 MB / 0.7461 GB, free: 28.8 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.833e-05/0.6589, allocations: 38.09 kB / 0.7462 GB, free: 28.8 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004844/0.6637, allocations: 3.752 MB / 0.7498 GB, free: 25.37 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002564/0.664, allocations: 166 kB / 0.75 GB, free: 25.2 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00299/0.6669, allocations: 1.97 MB / 0.7519 GB, free: 23.36 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001104/0.668, allocations: 3.627 MB / 0.7555 GB, free: 19.54 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002312/0.6704, allocations: 275.2 kB / 0.7557 GB, free: 19.27 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004129/0.6708, allocations: 483.7 kB / 0.7562 GB, free: 18.8 MB / 0.5574 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.001555/0.6723, allocations: 0.7156 MB / 0.7569 GB, free: 18.22 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001202/0.6735, allocations: 0.7106 MB / 0.7576 GB, free: 17.51 MB / 0.5574 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.007591/0.6811, allocations: 8.19 MB / 0.7656 GB, free: 10.03 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.4551436160691082]