Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.HeatExchangers.Check.Test_PlateHEXvle2vle_L3_2ph_ntu.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.008467/0.008467, allocations: 1.794 MB / 21.35 MB, free: 3.184 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.001604/0.001604, allocations: 88.72 kB / 25.15 MB, free: 7.43 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.001885/0.001885, allocations: 159.4 kB / 29.05 MB, free: 3.645 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.049/1.049, allocations: 177.1 MB / 210 MB, free: 3.613 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.6956/0.6956, allocations: 102.5 MB / 369.5 MB, free: 352 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_PlateHEXvle2vle_L3_2ph_ntu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|plateHEX.flow_a.h|plateHEX.flow_b.h|plateHEX.thinWall.PI_1ph_in.outputI|plateHEX.thinWall.PI_2ph.outputI|plateHEX.thinWall.nTU.Q_flow_s.[0-9,]+.|plateHEX.thinWall.nTU.T_w_i.[0-9,]+.|plateHEX.thinWall.nTU.T_w_o.[0-9,]+.|plateHEX.thinWall.nTU.yps.[0-9,]+.",fileNamePrefix="ClaRa_ClaRa.Components.HeatExchangers.Check.Test_PlateHEXvle2vle_L3_2ph_ntu") translateModel(ClaRa.Components.HeatExchangers.Check.Test_PlateHEXvle2vle_L3_2ph_ntu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|plateHEX.flow_a.h|plateHEX.flow_b.h|plateHEX.thinWall.PI_1ph_in.outputI|plateHEX.thinWall.PI_2ph.outputI|plateHEX.thinWall.nTU.Q_flow_s.[0-9,]+.|plateHEX.thinWall.nTU.T_w_i.[0-9,]+.|plateHEX.thinWall.nTU.T_w_o.[0-9,]+.|plateHEX.thinWall.nTU.yps.[0-9,]+.",fileNamePrefix="ClaRa_ClaRa.Components.HeatExchangers.Check.Test_PlateHEXvle2vle_L3_2ph_ntu") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.564e-06/2.564e-06, allocations: 0 / 470 MB, free: 18.99 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.067e-05/4.323e-05, allocations: 4.094 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_PlateHEXvle2vle_L3_2ph_ntu): time 0.1318/0.1319, allocations: 76.64 MB / 0.5338 GB, free: 11.25 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.0312/0.1631, allocations: 26.61 MB / 0.5598 GB, free: 0.5703 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005113/0.1682, allocations: 146.9 kB / 0.5599 GB, free: 436 kB / 474.8 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/SimCenter.mo:71:5-72:35:writable] Warning: Connector cycleSumPort is not balanced: The number of potential variables (0) is not equal to the number of flow variables (4). Notification: Performance of NFTyping.typeComponents: time 0.004933/0.1731, allocations: 2.82 MB / 0.5627 GB, free: 13.59 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.007074/0.1802, allocations: 4.107 MB / 0.5667 GB, free: 9.457 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.007869/0.1881, allocations: 5.329 MB / 0.5719 GB, free: 4.117 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01254/0.2006, allocations: 12.32 MB / 0.5839 GB, free: 7.762 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00484/0.2054, allocations: 3.464 MB / 0.5873 GB, free: 4.23 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007977/0.2134, allocations: 6.592 MB / 0.5937 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00542/0.2188, allocations: 4.035 MB / 0.5977 GB, free: 9.578 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.001399/0.2202, allocations: 0.875 MB / 0.5985 GB, free: 8.703 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0043/0.2245, allocations: 2.238 MB / 0.6007 GB, free: 6.465 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001684/0.2262, allocations: 2.621 MB / 0.6033 GB, free: 3.836 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.002573/0.2288, allocations: 2.689 MB / 0.6059 GB, free: 1.141 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.009737/0.2385, allocations: 7.942 MB / 0.6137 GB, free: 9.172 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2385, allocations: 0 / 0.6137 GB, free: 9.172 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2385, allocations: 0 / 0.6137 GB, free: 9.172 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.0001116/0.2386, allocations: 0 / 0.6137 GB, free: 9.172 MB / 0.5262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.0095/0.2481, allocations: 8.483 MB / 0.6219 GB, free: 0.5938 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.2482, allocations: 12.03 kB / 0.622 GB, free: 0.582 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001869/0.2501, allocations: 1.301 MB / 0.6232 GB, free: 15.27 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006379/0.2564, allocations: 5.994 MB / 0.6291 GB, free: 9.184 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001628/0.2566, allocations: 299.5 kB / 0.6294 GB, free: 8.891 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004064/0.257, allocations: 395.9 kB / 0.6297 GB, free: 8.504 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01156/0.2686, allocations: 9.932 MB / 0.6394 GB, free: 12.77 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.26e-05/0.2686, allocations: 51.5 kB / 0.6395 GB, free: 12.72 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002999/0.2689, allocations: 188 kB / 0.6397 GB, free: 12.54 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003399/0.2693, allocations: 465.8 kB / 0.6401 GB, free: 12.08 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009586/0.2789, allocations: 4.865 MB / 0.6449 GB, free: 7.191 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3011/0.5799, allocations: 54.6 MB / 0.6982 GB, free: 42.2 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01141/0.5913, allocations: 4.61 MB / 0.7027 GB, free: 41.34 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001918/0.5932, allocations: 1.304 MB / 0.704 GB, free: 41.04 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005134/0.5938, allocations: 265.7 kB / 0.7042 GB, free: 41.02 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.905e-05/0.5938, allocations: 102.8 kB / 0.7043 GB, free: 40.97 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=844): time 6.272e-06/0.5938, allocations: 0 / 0.7043 GB, free: 40.97 MB / 0.5574 GB Notification: Performance of matching and sorting (n=844): time 0.02093/0.6148, allocations: 9.819 MB / 0.7139 GB, free: 40.64 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002362/0.615, allocations: 1.084 MB / 0.715 GB, free: 39.36 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006631/0.6216, allocations: 4.51 MB / 0.7194 GB, free: 38.79 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0006008/0.6222, allocations: 80.55 kB / 0.7194 GB, free: 38.76 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.001662/0.6239, allocations: 2.897 MB / 0.7223 GB, free: 37.51 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.001949/0.6259, allocations: 2.888 MB / 0.7251 GB, free: 35.55 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002527/0.6284, allocations: 1.82 MB / 0.7269 GB, free: 35.39 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 4.434e-05/0.6284, allocations: 476.8 kB / 0.7273 GB, free: 34.93 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00271/0.6311, allocations: 1.39 MB / 0.7287 GB, free: 34.85 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004378/0.6355, allocations: 5.34 MB / 0.7339 GB, free: 30.02 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00981/0.6453, allocations: 8.005 MB / 0.7417 GB, free: 25.6 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.799e-05/0.6454, allocations: 22.81 kB / 0.7417 GB, free: 25.6 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1162) (initialization): time 0.01268/0.658, allocations: 7.408 MB / 0.749 GB, free: 23.93 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 4.536e-05/0.6581, allocations: 38.88 kB / 0.749 GB, free: 23.93 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008578/0.6667, allocations: 4.921 MB / 0.7538 GB, free: 22.77 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03508/0.7018, allocations: 6.492 MB / 0.7602 GB, free: 20.84 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004939/0.7067, allocations: 2.126 MB / 0.7622 GB, free: 20.47 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004534/0.7112, allocations: 7.836 MB / 0.7699 GB, free: 13.28 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004376/0.7156, allocations: 0.8435 MB / 0.7707 GB, free: 12.66 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006342/0.7162, allocations: 0.5688 MB / 0.7713 GB, free: 12.48 MB / 0.5574 GB Warning: Assuming fixed start value for the following 6 variables: plateHEX.flow_a.h:VARIABLE(start = plateHEX.flow_a.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real plateHEX.flow_b.h:VARIABLE(start = plateHEX.flow_b.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real plateHEX.thinWall.nTU.T_w_i[1]:VARIABLE(min = 0.0 start = plateHEX.thinWall.nTU.T_w_i_start[3] unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at inner phase\" type: Real [3] plateHEX.thinWall.nTU.T_w_o[1]:VARIABLE(min = 0.0 start = plateHEX.thinWall.nTU.T_w_o_start[3] unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at outer phase\" type: Real [3] plateHEX.thinWall.PI_2ph.outputI:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real plateHEX.thinWall.PI_1ph_in.outputI:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004353/0.7206, allocations: 1.59 MB / 0.7728 GB, free: 11.84 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003522/0.7241, allocations: 5.315 MB / 0.778 GB, free: 6.227 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00921/0.7333, allocations: 7.939 MB / 0.7858 GB, free: 14.4 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.033e-05/0.7334, allocations: 24 kB / 0.7858 GB, free: 14.38 MB / 0.573 GB Notification: Performance of matching and sorting (n=1162) (initialization_lambda0): time 0.01349/0.7469, allocations: 7.319 MB / 0.7929 GB, free: 7.559 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.966e-05/0.7469, allocations: 40 kB / 0.793 GB, free: 7.52 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008612/0.7555, allocations: 4.828 MB / 0.7977 GB, free: 2.723 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004371/0.7599, allocations: 1.596 MB / 0.7992 GB, free: 1.164 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003635/0.7635, allocations: 2.153 MB / 0.8013 GB, free: 15.14 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005598/0.7691, allocations: 9.543 MB / 0.8107 GB, free: 5.152 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003513/0.7726, allocations: 0.71 MB / 0.8114 GB, free: 4.438 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006334/0.7733, allocations: 0.5659 MB / 0.8119 GB, free: 3.871 MB / 0.5887 GB Warning: Assuming fixed start value for the following 6 variables: plateHEX.flow_a.h:VARIABLE(start = plateHEX.flow_a.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real plateHEX.flow_b.h:VARIABLE(start = plateHEX.flow_b.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real plateHEX.thinWall.nTU.T_w_i[1]:VARIABLE(min = 0.0 start = plateHEX.thinWall.nTU.T_w_i_start[3] unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at inner phase\" type: Real [3] plateHEX.thinWall.nTU.T_w_o[1]:VARIABLE(min = 0.0 start = plateHEX.thinWall.nTU.T_w_o_start[3] unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at outer phase\" type: Real [3] plateHEX.thinWall.PI_2ph.outputI:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real plateHEX.thinWall.PI_1ph_in.outputI:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 344 * Number of states: 0 () * Number of discrete variables: 4 (plateHEX.thinWall.nTU.smallShellFlow[2],plateHEX.thinWall.nTU.smallShellFlow[3],plateHEX.thinWall.nTU.smallShellFlow[1],plateHEX.thinWall.nTU.mass) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1109): * Single equations (assignments): 1103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,15), (1,14), (2,8), (2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.002523/0.7758, allocations: 0.791 MB / 0.8127 GB, free: 3.219 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001893/0.7777, allocations: 0.7664 MB / 0.8134 GB, free: 2.449 MB / 0.5887 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 1148 equation(s) and 1106 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (plateHEX.thinWall.nTU.O1_in.q, plateHEX.thinWall.nTU.O1_in.cp, plateHEX.thinWall.nTU.O1_in.cv, plateHEX.thinWall.nTU.O1_in.beta, plateHEX.thinWall.nTU.O1_in.kappa, plateHEX.thinWall.nTU.O1_in.drhodp_hxi, plateHEX.thinWall.nTU.O1_in.drhodh_pxi, _, plateHEX.thinWall.nTU.O1_in.w, plateHEX.thinWall.nTU.O1_in.gamma) = ($cse364, $cse365, $cse366, $cse367, $cse368, $cse369, $cse370, $cse371, $cse372, $cse373) has size 9 but 6 variables (plateHEX.flow_a.fluidOut.VLEAdditional.cp_l, plateHEX.flow_a.fluidOut.VLEAdditional.cp_v, plateHEX.flow_a.fluidOut.VLEAdditional.beta_l, plateHEX.flow_a.fluidOut.VLEAdditional.beta_v, plateHEX.flow_a.fluidOut.VLEAdditional.kappa_l, plateHEX.flow_a.fluidOut.VLEAdditional.kappa_v) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01043/0.7881, allocations: 8.963 MB / 0.8222 GB, free: 10.21 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.030959271360189]