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.01235/0.01235, 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.0009707/0.0009707, allocations: 82.81 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.001507/0.001507, allocations: 164.4 kB / 29.06 MB, free: 3.66 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.9626/0.9626, allocations: 177.2 MB / 210 MB, free: 3.551 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.6267/0.6267, allocations: 102.5 MB / 369.5 MB, free: 340 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 1.383e-06/1.383e-06, allocations: 0 / 470 MB, free: 19.01 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.321e-05/1.46e-05, allocations: 4.469 kB / 470 MB, free: 19 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.1231/0.1231, allocations: 76.63 MB / 0.5338 GB, free: 11.21 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03259/0.1557, allocations: 26.61 MB / 0.5598 GB, free: 0.5391 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005348/0.161, allocations: 146.9 kB / 0.5599 GB, free: 404 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.00511/0.1661, allocations: 2.823 MB / 0.5627 GB, free: 13.56 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.008529/0.1747, allocations: 4.138 MB / 0.5667 GB, free: 9.395 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.009986/0.1847, allocations: 5.326 MB / 0.5719 GB, free: 4.059 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01521/0.1999, allocations: 12.31 MB / 0.5839 GB, free: 7.711 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00506/0.2049, allocations: 3.468 MB / 0.5873 GB, free: 4.176 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.09716/0.3021, allocations: 43.16 MB / 0.6295 GB, free: 10.29 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004593/0.3067, allocations: 3.891 MB / 0.6333 GB, free: 6.391 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.001215/0.3079, allocations: 0.8164 MB / 0.6341 GB, free: 5.574 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003427/0.3113, allocations: 2.164 MB / 0.6362 GB, free: 3.406 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.001436/0.3128, allocations: 2.492 MB / 0.6386 GB, free: 0.9062 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.2365/0.5493, allocations: 2.578 MB / 0.6411 GB, free: 73.56 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01096/0.5603, allocations: 7.798 MB / 0.6488 GB, free: 72.93 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.5603, allocations: 2.844 kB / 0.6488 GB, free: 72.93 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.104e-06/0.5603, allocations: 0 / 0.6488 GB, free: 72.93 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0002078/0.5605, allocations: 0 / 0.6488 GB, free: 72.93 MB / 0.5418 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.01352/0.574, allocations: 8.218 MB / 0.6568 GB, free: 69.39 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.5741, allocations: 8.688 kB / 0.6568 GB, free: 69.39 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002454/0.5765, allocations: 1.143 MB / 0.6579 GB, free: 68.91 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007816/0.5843, allocations: 5.073 MB / 0.6629 GB, free: 67.82 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002113/0.5845, allocations: 299 kB / 0.6631 GB, free: 67.82 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008897/0.5854, allocations: 401.8 kB / 0.6635 GB, free: 67.81 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01509/0.6005, allocations: 9.949 MB / 0.6732 GB, free: 62.12 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001009/0.6006, allocations: 51.64 kB / 0.6733 GB, free: 62.12 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001405/0.602, allocations: 194.6 kB / 0.6735 GB, free: 62.12 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003953/0.6024, allocations: 463 kB / 0.6739 GB, free: 62.11 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01359/0.616, allocations: 4.89 MB / 0.6787 GB, free: 62.06 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0436/0.6596, allocations: 54.67 MB / 0.7321 GB, free: 15.71 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01004/0.6696, allocations: 4.653 MB / 0.7366 GB, free: 13.49 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002704/0.6724, allocations: 1.315 MB / 0.7379 GB, free: 12.86 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005365/0.6729, allocations: 268.9 kB / 0.7382 GB, free: 12.77 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.064e-05/0.673, allocations: 101.2 kB / 0.7383 GB, free: 12.69 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=844): time 7.474e-06/0.673, allocations: 3.5 kB / 0.7383 GB, free: 12.69 MB / 0.5418 GB Notification: Performance of matching and sorting (n=844): time 0.02403/0.697, allocations: 9.86 MB / 0.7479 GB, free: 9.074 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002577/0.6973, allocations: 1.288 MB / 0.7492 GB, free: 7.527 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005034/0.7023, allocations: 4.447 MB / 0.7535 GB, free: 5.07 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.001245/0.7035, allocations: 80.73 kB / 0.7536 GB, free: 5 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.001308/0.7049, allocations: 2.899 MB / 0.7564 GB, free: 2.477 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.001897/0.7068, allocations: 2.891 MB / 0.7592 GB, free: 15.96 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001909/0.7087, allocations: 1.824 MB / 0.761 GB, free: 14.91 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.7088, allocations: 483.6 kB / 0.7615 GB, free: 14.43 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002368/0.7111, allocations: 1.396 MB / 0.7628 GB, free: 13.95 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004804/0.7159, allocations: 5.628 MB / 0.7683 GB, free: 7.973 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009369/0.7253, allocations: 8.036 MB / 0.7762 GB, free: 1.586 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.95e-05/0.7253, allocations: 24 kB / 0.7762 GB, free: 1.562 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1162) (initialization): time 0.01403/0.7394, allocations: 7.43 MB / 0.7835 GB, free: 10.64 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 5.273e-05/0.7394, allocations: 44.77 kB / 0.7835 GB, free: 10.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009098/0.7485, allocations: 4.942 MB / 0.7883 GB, free: 5.695 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03589/0.7844, allocations: 6.536 MB / 0.7947 GB, free: 15.46 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005398/0.7898, allocations: 2.129 MB / 0.7968 GB, free: 13.46 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005762/0.7956, allocations: 7.834 MB / 0.8044 GB, free: 5.324 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004387/0.8, allocations: 0.8452 MB / 0.8053 GB, free: 4.473 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006777/0.8006, allocations: 0.5725 MB / 0.8058 GB, free: 3.902 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004541/0.8052, allocations: 1.599 MB / 0.8074 GB, free: 2.309 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004724/0.8099, allocations: 5.599 MB / 0.8129 GB, free: 11.03 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009114/0.819, allocations: 7.984 MB / 0.8207 GB, free: 1.93 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.062e-05/0.8191, allocations: 27.94 kB / 0.8207 GB, free: 1.902 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1162) (initialization_lambda0): time 0.01292/0.832, allocations: 7.351 MB / 0.8279 GB, free: 10.74 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 3.663e-05/0.832, allocations: 38.03 kB / 0.8279 GB, free: 10.7 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008635/0.8406, allocations: 4.857 MB / 0.8326 GB, free: 5.773 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03534/0.876, allocations: 6.338 MB / 0.8388 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005827/0.8818, allocations: 2.121 MB / 0.8409 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005792/0.8876, allocations: 7.821 MB / 0.8485 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004753/0.8924, allocations: 0.7209 MB / 0.8492 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007735/0.8931, allocations: 0.566 MB / 0.8498 GB, free: 4.059 MB / 0.6355 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.002388/0.8955, allocations: 0.796 MB / 0.8506 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002124/0.8976, allocations: 0.7687 MB / 0.8513 GB, free: 2.484 MB / 0.6355 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.01099/0.9086, allocations: 8.968 MB / 0.8601 GB, free: 9.719 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.924850909039378]