Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.01049/0.01049, allocations: 1.795 MB / 21.35 MB, free: 3.195 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.001329/0.001329, allocations: 81.88 kB / 25.15 MB, free: 7.465 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.001721/0.001721, allocations: 164.3 kB / 29.05 MB, free: 3.672 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.9681/0.9681, allocations: 177.2 MB / 210 MB, free: 3.586 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6046/0.6046, allocations: 102.4 MB / 369.5 MB, free: 368 kB / 330.7 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 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_dev_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_dev_ClaRa.Components.HeatExchangers.Check.Test_PlateHEXvle2vle_L3_2ph_ntu") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 470 MB, free: 18.98 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.665e-05/1.788e-05, allocations: 2.312 kB / 470 MB, free: 18.97 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.1171/0.1171, allocations: 76.62 MB / 0.5338 GB, free: 11.26 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03105/0.1481, allocations: 26.62 MB / 0.5598 GB, free: 0.5742 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004632/0.1528, allocations: 146.9 kB / 0.5599 GB, free: 440 kB / 474.8 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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.004721/0.1575, allocations: 2.808 MB / 0.5626 GB, free: 13.61 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.007518/0.165, allocations: 4.123 MB / 0.5667 GB, free: 9.457 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.008324/0.1733, allocations: 5.326 MB / 0.5719 GB, free: 4.121 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0135/0.1868, allocations: 12.32 MB / 0.5839 GB, free: 7.766 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003645/0.1905, allocations: 3.468 MB / 0.5873 GB, free: 4.23 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006018/0.1965, allocations: 6.599 MB / 0.5937 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003985/0.2005, allocations: 4.041 MB / 0.5977 GB, free: 9.566 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.000901/0.2014, allocations: 0.875 MB / 0.5985 GB, free: 8.691 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003609/0.205, allocations: 2.223 MB / 0.6007 GB, free: 6.465 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001566/0.2066, allocations: 2.621 MB / 0.6033 GB, free: 3.836 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.002219/0.2088, allocations: 2.681 MB / 0.6059 GB, free: 1.148 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.008026/0.2168, allocations: 7.942 MB / 0.6136 GB, free: 9.18 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2168, allocations: 0 / 0.6136 GB, free: 9.18 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2168, allocations: 4 kB / 0.6136 GB, free: 9.176 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 7.026e-05/0.2169, allocations: 4 kB / 0.6136 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.008118/0.225, allocations: 8.483 MB / 0.6219 GB, free: 0.5938 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.225, allocations: 12.03 kB / 0.6219 GB, free: 0.582 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001764/0.2268, allocations: 1.297 MB / 0.6232 GB, free: 15.28 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005661/0.2325, allocations: 5.995 MB / 0.6291 GB, free: 9.188 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001583/0.2326, allocations: 291.6 kB / 0.6293 GB, free: 8.902 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004742/0.2331, allocations: 399.9 kB / 0.6297 GB, free: 8.512 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01097/0.2441, allocations: 9.928 MB / 0.6394 GB, free: 12.78 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.266e-05/0.2441, allocations: 47.56 kB / 0.6395 GB, free: 12.73 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002777/0.2444, allocations: 192 kB / 0.6396 GB, free: 12.55 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003148/0.2447, allocations: 465.8 kB / 0.6401 GB, free: 12.09 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008726/0.2535, allocations: 4.869 MB / 0.6448 GB, free: 7.199 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2747/0.5282, allocations: 54.61 MB / 0.6982 GB, free: 40.72 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008782/0.537, allocations: 4.598 MB / 0.7027 GB, free: 39.86 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001865/0.5388, allocations: 1.308 MB / 0.7039 GB, free: 39.56 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004958/0.5393, allocations: 272.2 kB / 0.7042 GB, free: 39.54 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.509e-05/0.5394, allocations: 102 kB / 0.7043 GB, free: 39.49 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=844): time 8.906e-06/0.5394, allocations: 2.625 kB / 0.7043 GB, free: 39.49 MB / 0.5574 GB Notification: Performance of matching and sorting (n=844): time 0.02052/0.5599, allocations: 9.81 MB / 0.7139 GB, free: 39.17 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002168/0.5602, allocations: 1.088 MB / 0.7149 GB, free: 37.88 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00637/0.5665, allocations: 4.508 MB / 0.7193 GB, free: 37.32 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0005469/0.5671, allocations: 80.33 kB / 0.7194 GB, free: 37.29 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.001595/0.5687, allocations: 2.898 MB / 0.7223 GB, free: 36.3 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.001841/0.5705, allocations: 2.892 MB / 0.7251 GB, free: 34.71 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002217/0.5727, allocations: 1.82 MB / 0.7269 GB, free: 34.55 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 4.247e-05/0.5728, allocations: 479.6 kB / 0.7273 GB, free: 34.09 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002703/0.5755, allocations: 1.392 MB / 0.7287 GB, free: 34.01 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003984/0.5795, allocations: 5.334 MB / 0.7339 GB, free: 29.18 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0103/0.5898, allocations: 8.001 MB / 0.7417 GB, free: 24.7 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-05/0.5898, allocations: 23.78 kB / 0.7417 GB, free: 24.7 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1162) (initialization): time 0.01603/0.6058, allocations: 7.408 MB / 0.7489 GB, free: 23.03 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 4.908e-05/0.6059, allocations: 38.25 kB / 0.749 GB, free: 23.03 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01091/0.6168, allocations: 4.92 MB / 0.7538 GB, free: 21.86 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03888/0.6557, allocations: 6.494 MB / 0.7601 GB, free: 19.94 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004777/0.6605, allocations: 2.125 MB / 0.7622 GB, free: 19.57 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004105/0.6646, allocations: 7.839 MB / 0.7699 GB, free: 12.33 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003213/0.6678, allocations: 0.8454 MB / 0.7707 GB, free: 11.84 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006458/0.6684, allocations: 0.5726 MB / 0.7712 GB, free: 11.66 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.004005/0.6724, allocations: 1.585 MB / 0.7728 GB, free: 11.03 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003231/0.6757, allocations: 5.313 MB / 0.778 GB, free: 5.41 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007945/0.6836, allocations: 7.946 MB / 0.7857 GB, free: 13.27 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.644e-05/0.6836, allocations: 24 kB / 0.7858 GB, free: 13.24 MB / 0.573 GB Notification: Performance of matching and sorting (n=1162) (initialization_lambda0): time 0.01187/0.6955, allocations: 7.312 MB / 0.7929 GB, free: 6.426 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.254e-05/0.6955, allocations: 40 kB / 0.7929 GB, free: 6.387 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008433/0.704, allocations: 4.832 MB / 0.7977 GB, free: 1.59 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004282/0.7082, allocations: 1.592 MB / 0.7992 GB, free: 32 kB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003669/0.7119, allocations: 2.152 MB / 0.8013 GB, free: 14.01 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005458/0.7174, allocations: 9.54 MB / 0.8106 GB, free: 4.02 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003316/0.7207, allocations: 0.7139 MB / 0.8113 GB, free: 3.301 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006369/0.7213, allocations: 0.5659 MB / 0.8119 GB, free: 2.734 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.001987/0.7233, allocations: 0.7957 MB / 0.8127 GB, free: 2.082 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00161/0.7249, allocations: 0.7648 MB / 0.8134 GB, free: 1.312 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.01021/0.7351, allocations: 8.956 MB / 0.8222 GB, free: 9.059 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.7011246168985963]