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.01209/0.01209, allocations: 1.454 MB / 20.81 MB, free: 3.613 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.008874/0.008874, allocations: 81.38 kB / 24.44 MB, free: 7.551 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.001693/0.001693, allocations: 159.1 kB / 28.2 MB, free: 4.68 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 1.514/1.514, allocations: 177.2 MB / 209 MB, free: 2.785 MB / 186.7 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.097/1.097, allocations: 102.5 MB / 368.3 MB, free: 1.262 MB / 330.8 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.5.2 (/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: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 468.3 MB, free: 13.43 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.121e-05/3.335e-05, allocations: 3.438 kB / 468.3 MB, free: 13.42 MB / 442.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.3947/0.3947, allocations: 69.4 MB / 0.5251 GB, free: 71.66 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.02841/0.4232, allocations: 21.81 MB / 0.5464 GB, free: 57.66 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005607/0.4288, allocations: 139.2 kB / 0.5466 GB, free: 57.6 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.007195/0.436, allocations: 2.583 MB / 0.5491 GB, free: 56.36 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01168/0.4476, allocations: 3.788 MB / 0.5528 GB, free: 53.98 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.009536/0.4572, allocations: 3.977 MB / 0.5567 GB, free: 51.84 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01522/0.4724, allocations: 10.18 MB / 0.5666 GB, free: 46.71 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006639/0.479, allocations: 3.494 MB / 0.57 GB, free: 44.43 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0135/0.4925, allocations: 5.727 MB / 0.5756 GB, free: 41.21 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008007/0.5005, allocations: 3.543 MB / 0.5791 GB, free: 39.22 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.003212/0.5038, allocations: 0.6838 MB / 0.5797 GB, free: 39.22 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.09247/0.5962, allocations: 17.44 MB / 0.5968 GB, free: 24.61 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.003968/0.6002, allocations: 2.094 MB / 0.5988 GB, free: 22.5 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.007107/0.6073, allocations: 2.232 MB / 0.601 GB, free: 20.27 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01437/0.6217, allocations: 10.61 MB / 0.6114 GB, free: 9.625 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.6217, allocations: 0 / 0.6114 GB, free: 9.625 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.113e-06/0.6217, allocations: 0 / 0.6114 GB, free: 9.625 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0003127/0.622, allocations: 2.656 kB / 0.6114 GB, free: 9.625 MB / 490.8 MB 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.01418/0.6362, allocations: 7.304 MB / 0.6185 GB, free: 2.273 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.6362, allocations: 16.02 kB / 0.6185 GB, free: 2.258 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002575/0.6388, allocations: 1.136 MB / 0.6196 GB, free: 1.117 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01208/0.6509, allocations: 5.657 MB / 0.6251 GB, free: 11.39 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003562/0.6512, allocations: 257 kB / 0.6254 GB, free: 11.14 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001049/0.6523, allocations: 340 kB / 0.6257 GB, free: 10.8 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02493/0.6772, allocations: 10.13 MB / 0.6356 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000102/0.6773, allocations: 43.62 kB / 0.6356 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004943/0.6778, allocations: 160 kB / 0.6358 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000261/0.6781, allocations: 200.5 kB / 0.636 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02215/0.7002, allocations: 6.621 MB / 0.6425 GB, free: 8.273 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05548/0.7557, allocations: 33.23 MB / 0.6749 GB, free: 5.984 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01943/0.7751, allocations: 5.582 MB / 0.6804 GB, free: 260 kB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005767/0.7809, allocations: 1.913 MB / 0.6822 GB, free: 14.28 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000851/0.7817, allocations: 201.6 kB / 0.6824 GB, free: 14.08 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001321/0.7819, allocations: 92.92 kB / 0.6825 GB, free: 13.98 MB / 0.5574 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00431/0.7862, allocations: 0.6546 MB / 0.6831 GB, free: 13.32 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=712): time 1.961e-05/0.7862, allocations: 2.656 kB / 0.6831 GB, free: 13.32 MB / 0.5574 GB Notification: Performance of matching and sorting (n=712): time 0.04332/0.8295, allocations: 11.63 MB / 0.6945 GB, free: 1.637 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007846/0.8303, allocations: 1.028 MB / 0.6955 GB, free: 376 kB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01183/0.8421, allocations: 4.863 MB / 0.7003 GB, free: 11.52 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001114/0.8433, allocations: 72.36 kB / 0.7003 GB, free: 11.45 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.003068/0.8463, allocations: 2.458 MB / 0.7027 GB, free: 8.973 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003849/0.8502, allocations: 2.389 MB / 0.7051 GB, free: 6.562 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005902/0.8561, allocations: 1.458 MB / 0.7065 GB, free: 5.094 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001902/0.8563, allocations: 305.1 kB / 0.7068 GB, free: 4.793 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00869/0.865, allocations: 2.705 MB / 0.7094 GB, free: 2.082 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01141/0.8764, allocations: 5.27 MB / 0.7146 GB, free: 11.76 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1372/1.014, allocations: 20.78 MB / 0.7348 GB, free: 6.609 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-05/1.014, allocations: 20 kB / 0.7349 GB, free: 6.59 MB / 0.6043 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.2629/1.277, allocations: 8.749 MB / 0.7434 GB, free: 189.5 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 5.563e-05/1.277, allocations: 34.06 kB / 0.7434 GB, free: 189.5 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01357/1.29, allocations: 6.246 MB / 0.7495 GB, free: 188.5 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00109/1.291, allocations: 331.1 kB / 0.7499 GB, free: 188.4 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007418/1.299, allocations: 2.012 MB / 0.7518 GB, free: 188.2 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003468/1.302, allocations: 3.035 MB / 0.7548 GB, free: 185.5 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006986/1.309, allocations: 323.6 kB / 0.7551 GB, free: 185.4 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002391/1.312, allocations: 0.4887 MB / 0.7556 GB, free: 185.3 MB / 0.6043 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.01263/1.324, allocations: 3.783 MB / 0.7593 GB, free: 183.6 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008672/1.333, allocations: 5.245 MB / 0.7644 GB, free: 179.3 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1251/1.458, allocations: 20.5 MB / 0.7844 GB, free: 172.2 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001383/1.458, allocations: 19.34 kB / 0.7844 GB, free: 172.2 MB / 0.6043 GB Notification: Performance of matching and sorting (n=993) (initialization_lambda0): time 0.02171/1.48, allocations: 8.671 MB / 0.7929 GB, free: 167.9 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 8.171e-05/1.48, allocations: 34.19 kB / 0.7929 GB, free: 167.9 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01374/1.494, allocations: 6.165 MB / 0.799 GB, free: 162.4 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000791/1.494, allocations: 288.4 kB / 0.7992 GB, free: 162.1 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006894/1.501, allocations: 2.011 MB / 0.8012 GB, free: 160.5 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002295/1.504, allocations: 2.953 MB / 0.8041 GB, free: 157.4 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005459/1.509, allocations: 321.8 kB / 0.8044 GB, free: 157.2 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001577/1.511, allocations: 493 kB / 0.8049 GB, free: 156.7 MB / 0.6043 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.003079/1.514, allocations: 0.6174 MB / 0.8055 GB, free: 156.1 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003666/1.517, allocations: 0.7224 MB / 0.8062 GB, free: 155.8 MB / 0.6043 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.01806/1.535, allocations: 9.179 MB / 0.8151 GB, free: 147.3 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.187280963058583]