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 0.5.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo): time 0.009565/0.009565, allocations: 1.772 MB / 20.62 MB, free: 3.871 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo): time 0.08731/0.08731, allocations: 25.61 MB / 49.71 MB, free: 2.863 MB / 33.03 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.0009091/0.0009091, allocations: 110.1 kB / 60.65 MB, free: 2.902 MB / 44.04 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.001512/0.001512, allocations: 222.5 kB / 71.73 MB, free: 6.461 MB / 44.04 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.9701/0.9701, allocations: 230.6 MB / 313.3 MB, free: 11.77 MB / 234.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.8563/0.8563, allocations: 130.7 MB / 0.4963 GB, free: 2.188 MB / 362.8 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 TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo) Using package SMArtInt with version 0.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_PlateHEXvle2vle_L3_2ph_ntu,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_PlateHEXvle2vle_L3_2ph_ntu",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_PlateHEXvle2vle_L3_2ph_ntu,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_PlateHEXvle2vle_L3_2ph_ntu",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: SMArtInt 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: 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: ClaRa 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: Performance of FrontEnd - loaded program: time 0.004128/0.004128, allocations: 158.1 kB / 0.69 GB, free: 47.09 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.148, allocations: 89.27 MB / 0.7772 GB, free: 2.992 MB / 0.5418 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_PlateHEXvle2vle_L3_2ph_ntu): time 0.01879/0.1668, allocations: 23.79 MB / 0.8005 GB, free: 11.1 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.03579/0.2026, allocations: 26.09 MB / 0.8259 GB, free: 0.9375 MB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005557/0.2081, allocations: 150.8 kB / 0.8261 GB, free: 0.7891 MB / 0.5887 GB [/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.006288/0.2144, allocations: 2.793 MB / 0.8288 GB, free: 13.98 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.01037/0.2248, allocations: 3.982 MB / 0.8327 GB, free: 9.977 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.01091/0.2357, allocations: 5.273 MB / 0.8379 GB, free: 4.703 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.01545/0.2512, allocations: 12 MB / 0.8496 GB, free: 8.672 MB / 0.6199 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005495/0.2567, allocations: 3.295 MB / 0.8528 GB, free: 5.316 MB / 0.6199 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008656/0.2653, allocations: 4.765 MB / 0.8574 GB, free: 0.5352 MB / 0.6199 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006828/0.2721, allocations: 4.561 MB / 0.8619 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.002571/0.2747, allocations: 0.875 MB / 0.8627 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005696/0.2804, allocations: 2.208 MB / 0.8649 GB, free: 8.871 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.003188/0.2836, allocations: 2.554 MB / 0.8674 GB, free: 6.309 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.007179/0.2908, allocations: 3.262 MB / 0.8706 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01938/0.3102, allocations: 13.71 MB / 0.884 GB, free: 5.277 MB / 0.6512 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.3102, allocations: 0 / 0.884 GB, free: 5.277 MB / 0.6512 GB Notification: Performance of FrontEnd: time 1.814e-06/0.3102, allocations: 0 / 0.884 GB, free: 5.277 MB / 0.6512 GB Notification: Performance of Transformations before backend: time 0.0003918/0.3106, allocations: 0 / 0.884 GB, free: 5.277 MB / 0.6512 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.01883/0.3294, allocations: 8.277 MB / 0.892 GB, free: 12.91 MB / 0.6668 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.3294, allocations: 8.031 kB / 0.8921 GB, free: 12.91 MB / 0.6668 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00173/0.3312, allocations: 0.7309 MB / 0.8928 GB, free: 12.16 MB / 0.6668 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00272/0.3339, allocations: 0.9988 MB / 0.8937 GB, free: 11.16 MB / 0.6668 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01279/0.3467, allocations: 6.256 MB / 0.8999 GB, free: 4.805 MB / 0.6668 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002938/0.347, allocations: 303.5 kB / 0.9001 GB, free: 4.508 MB / 0.6668 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001045/0.348, allocations: 375.9 kB / 0.9005 GB, free: 4.141 MB / 0.6668 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3438/0.6918, allocations: 11.84 MB / 0.9121 GB, free: 106.8 MB / 0.6668 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001683/0.692, allocations: 50.75 kB / 0.9121 GB, free: 106.8 MB / 0.6668 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005895/0.6926, allocations: 187.6 kB / 0.9123 GB, free: 106.7 MB / 0.6668 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004605/0.693, allocations: 462.9 kB / 0.9127 GB, free: 106.6 MB / 0.6668 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01603/0.7091, allocations: 8.052 MB / 0.9206 GB, free: 103.8 MB / 0.6668 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03518/0.7443, allocations: 43.04 MB / 0.9626 GB, free: 67.62 MB / 0.6668 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01158/0.7558, allocations: 6.572 MB / 0.9691 GB, free: 63.91 MB / 0.6668 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003504/0.7593, allocations: 2.325 MB / 0.9713 GB, free: 61.8 MB / 0.6668 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006202/0.76, allocations: 245.8 kB / 0.9716 GB, free: 61.55 MB / 0.6668 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.336e-05/0.76, allocations: 101.2 kB / 0.9717 GB, free: 61.45 MB / 0.6668 GB Notification: Performance of pre-optimization done (n=844): time 7.264e-06/0.76, allocations: 0 / 0.9717 GB, free: 61.45 MB / 0.6668 GB Notification: Performance of matching and sorting (n=844): time 0.0277/0.7877, allocations: 13.61 MB / 0.9849 GB, free: 47.8 MB / 0.6668 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001405/0.7879, allocations: 1.087 MB / 0.986 GB, free: 46.46 MB / 0.6668 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006859/0.7947, allocations: 5.41 MB / 0.9913 GB, free: 41.13 MB / 0.6668 GB Notification: Performance of collectPreVariables (initialization): time 0.001183/0.7959, allocations: 81.7 kB / 0.9914 GB, free: 41.04 MB / 0.6668 GB Notification: Performance of collectInitialEqns (initialization): time 0.001199/0.7971, allocations: 2.707 MB / 0.994 GB, free: 38.58 MB / 0.6668 GB Notification: Performance of collectInitialBindings (initialization): time 0.002286/0.7994, allocations: 2.866 MB / 0.9968 GB, free: 36.12 MB / 0.6668 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002263/0.8017, allocations: 1.735 MB / 0.9985 GB, free: 34.38 MB / 0.6668 GB Notification: Performance of setup shared object (initialization): time 2.747e-05/0.8017, allocations: 302.1 kB / 0.9988 GB, free: 34.08 MB / 0.6668 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00374/0.8054, allocations: 3.314 MB / 1.002 GB, free: 30.75 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004322/0.8097, allocations: 6.204 MB / 1.008 GB, free: 23.32 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06911/0.8788, allocations: 23.37 MB / 1.031 GB, free: 14.84 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.739e-05/0.8789, allocations: 24 kB / 1.031 GB, free: 14.81 MB / 0.6824 GB Notification: Performance of matching and sorting (n=1162) (initialization): time 0.02085/0.8998, allocations: 11.22 MB / 1.042 GB, free: 3.5 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 5.065e-05/0.8998, allocations: 36.97 kB / 1.042 GB, free: 3.465 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01517/0.915, allocations: 8.677 MB / 1.05 GB, free: 10.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0345/0.9495, allocations: 6.1 MB / 1.056 GB, free: 4.598 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005091/0.9546, allocations: 2.129 MB / 1.058 GB, free: 2.465 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006975/0.9616, allocations: 7.746 MB / 1.066 GB, free: 10.39 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004941/0.9665, allocations: 0.8932 MB / 1.067 GB, free: 9.543 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001137/0.9676, allocations: 0.5778 MB / 1.067 GB, free: 8.965 MB / 0.7137 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[1] 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[1] 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.007778/0.9754, allocations: 4.822 MB / 1.072 GB, free: 4.137 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005759/0.9812, allocations: 6.148 MB / 1.078 GB, free: 12.77 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.07182/1.053, allocations: 22.93 MB / 1.101 GB, free: 4.68 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.588e-05/1.053, allocations: 27.52 kB / 1.101 GB, free: 4.656 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1162) (initialization_lambda0): time 0.0219/1.075, allocations: 11.04 MB / 1.111 GB, free: 9.523 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 4.943e-05/1.075, allocations: 37 kB / 1.111 GB, free: 9.488 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01531/1.09, allocations: 8.463 MB / 1.12 GB, free: 0.9258 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003475/1.094, allocations: 1.343 MB / 1.121 GB, free: 15.57 MB / 0.7762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005458/1.099, allocations: 2.153 MB / 1.123 GB, free: 13.41 MB / 0.7762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007664/1.107, allocations: 8.971 MB / 1.132 GB, free: 3.926 MB / 0.7762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005313/1.112, allocations: 0.7216 MB / 1.133 GB, free: 3.199 MB / 0.7762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002235/1.114, allocations: 0.5699 MB / 1.133 GB, free: 2.629 MB / 0.7762 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[1] 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[1] 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.002425/1.117, allocations: 0.7116 MB / 1.134 GB, free: 1.918 MB / 0.7762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0024/1.119, allocations: 0.7021 MB / 1.134 GB, free: 1.211 MB / 0.7762 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 1.9.0-ClaRa/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.01617/1.135, allocations: 10.29 MB / 1.145 GB, free: 7 MB / 0.7918 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.304134272038937]