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 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.01367/0.01367, allocations: 1.775 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.08224/0.08224, allocations: 25.61 MB / 49.71 MB, free: 2.961 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.0008978/0.0008978, allocations: 118.1 kB / 60.66 MB, free: 3.016 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.001437/0.001437, allocations: 225.9 kB / 71.73 MB, free: 6.477 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 1.07/1.07, 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-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/package.mo): time 0.8585/0.8585, allocations: 130.8 MB / 0.4964 GB, free: 3.676 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-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 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_dev_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_dev_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.003162/0.003162, allocations: 156.5 kB / 0.6901 GB, free: 53.22 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1481, allocations: 89.28 MB / 0.7773 GB, free: 5.176 MB / 0.5418 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_PlateHEXvle2vle_L3_2ph_ntu): time 0.01768/0.1658, allocations: 23.8 MB / 0.8006 GB, free: 13.28 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.03094/0.1967, allocations: 26.08 MB / 0.826 GB, free: 3.121 MB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005102/0.2018, allocations: 146.9 kB / 0.8262 GB, free: 2.977 MB / 0.5887 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-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.007735/0.2096, allocations: 2.792 MB / 0.8289 GB, free: 176 kB / 0.5887 GB Notification: Performance of NFTyping.typeBindings: time 0.00824/0.2178, allocations: 3.986 MB / 0.8328 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.008061/0.2259, allocations: 5.27 MB / 0.8379 GB, free: 6.891 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.01361/0.2395, allocations: 12 MB / 0.8497 GB, free: 10.86 MB / 0.6199 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004755/0.2442, allocations: 3.307 MB / 0.8529 GB, free: 7.488 MB / 0.6199 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007544/0.2518, allocations: 4.761 MB / 0.8575 GB, free: 2.711 MB / 0.6199 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006201/0.258, allocations: 4.556 MB / 0.862 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.002378/0.2603, allocations: 0.8711 MB / 0.8628 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005292/0.2656, allocations: 2.219 MB / 0.865 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.003145/0.2688, allocations: 2.55 MB / 0.8675 GB, free: 8.484 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.00571/0.2745, allocations: 3.262 MB / 0.8707 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01699/0.2915, allocations: 13.71 MB / 0.8841 GB, free: 7.453 MB / 0.6512 GB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.2915, allocations: 0 / 0.8841 GB, free: 7.453 MB / 0.6512 GB Notification: Performance of FrontEnd: time 2.344e-06/0.2915, allocations: 0 / 0.8841 GB, free: 7.453 MB / 0.6512 GB Notification: Performance of Transformations before backend: time 0.0004812/0.292, allocations: 0 / 0.8841 GB, free: 7.453 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.01847/0.3104, allocations: 8.273 MB / 0.8921 GB, free: 15.09 MB / 0.6668 GB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/0.3105, allocations: 12.03 kB / 0.8922 GB, free: 15.08 MB / 0.6668 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001455/0.312, allocations: 0.7308 MB / 0.8929 GB, free: 14.34 MB / 0.6668 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002395/0.3143, allocations: 1.007 MB / 0.8938 GB, free: 13.33 MB / 0.6668 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01123/0.3256, allocations: 6.252 MB / 0.9 GB, free: 6.977 MB / 0.6668 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002257/0.3258, allocations: 303.5 kB / 0.9002 GB, free: 6.68 MB / 0.6668 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009577/0.3268, allocations: 379.9 kB / 0.9006 GB, free: 6.309 MB / 0.6668 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01695/0.3437, allocations: 11.84 MB / 0.9122 GB, free: 9.074 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.101e-05/0.3438, allocations: 47.56 kB / 0.9122 GB, free: 9.027 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005404/0.3443, allocations: 188 kB / 0.9124 GB, free: 8.844 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003313/0.3447, allocations: 465.8 kB / 0.9128 GB, free: 8.387 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01523/0.3599, allocations: 8.049 MB / 0.9207 GB, free: 328 kB / 0.6824 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.3982/0.7581, allocations: 43.03 MB / 0.9627 GB, free: 111.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02314/0.7813, allocations: 6.564 MB / 0.9691 GB, free: 109.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01083/0.7921, allocations: 2.32 MB / 0.9714 GB, free: 108.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006942/0.799, allocations: 256.8 kB / 0.9716 GB, free: 108.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.036e-05/0.7991, allocations: 94.77 kB / 0.9717 GB, free: 108.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=844): time 9.017e-06/0.7991, allocations: 0 / 0.9717 GB, free: 108.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=844): time 0.05994/0.8591, allocations: 13.63 MB / 0.985 GB, free: 103.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001721/0.8592, allocations: 1.085 MB / 0.9861 GB, free: 102.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007228/0.8665, allocations: 5.408 MB / 0.9914 GB, free: 99.02 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.00125/0.8677, allocations: 78.55 kB / 0.9915 GB, free: 98.94 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001322/0.869, allocations: 2.706 MB / 0.9941 GB, free: 96.47 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.002434/0.8715, allocations: 2.865 MB / 0.9969 GB, free: 94.02 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002516/0.874, allocations: 1.736 MB / 0.9986 GB, free: 92.27 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 3.068e-05/0.874, allocations: 305.1 kB / 0.9989 GB, free: 91.97 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003962/0.878, allocations: 3.318 MB / 1.002 GB, free: 88.63 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004746/0.8827, allocations: 6.198 MB / 1.008 GB, free: 81.25 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06871/0.9514, allocations: 23.36 MB / 1.031 GB, free: 56.86 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.113e-05/0.9515, allocations: 20 kB / 1.031 GB, free: 56.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=1162) (initialization): time 0.01437/0.9658, allocations: 11.23 MB / 1.042 GB, free: 45.52 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.653e-05/0.9659, allocations: 44.91 kB / 1.042 GB, free: 45.47 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01039/0.9763, allocations: 8.663 MB / 1.05 GB, free: 36.72 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03105/1.007, allocations: 6.102 MB / 1.056 GB, free: 30.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004584/1.012, allocations: 2.137 MB / 1.059 GB, free: 28.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004829/1.017, allocations: 7.73 MB / 1.066 GB, free: 20.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003811/1.021, allocations: 0.9043 MB / 1.067 GB, free: 19.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000578/1.021, allocations: 0.566 MB / 1.068 GB, free: 19.18 MB / 0.698 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.005849/1.027, allocations: 4.823 MB / 1.072 GB, free: 14.36 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003949/1.031, allocations: 6.163 MB / 1.078 GB, free: 6.973 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06674/1.098, allocations: 22.93 MB / 1.101 GB, free: 14.91 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.855e-05/1.098, allocations: 20 kB / 1.101 GB, free: 14.89 MB / 0.7293 GB Notification: Performance of matching and sorting (n=1162) (initialization_lambda0): time 0.02652/1.124, allocations: 11.05 MB / 1.111 GB, free: 3.75 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 5.543e-05/1.124, allocations: 44.06 kB / 1.111 GB, free: 3.707 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01479/1.139, allocations: 8.457 MB / 1.12 GB, free: 11.16 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003292/1.142, allocations: 1.333 MB / 1.121 GB, free: 9.812 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004172/1.147, allocations: 2.164 MB / 1.123 GB, free: 7.645 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006196/1.153, allocations: 8.956 MB / 1.132 GB, free: 14.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004191/1.157, allocations: 0.7321 MB / 1.133 GB, free: 13.52 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007635/1.158, allocations: 0.5621 MB / 1.133 GB, free: 12.96 MB / 0.7605 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.002052/1.16, allocations: 0.7098 MB / 1.134 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001709/1.161, allocations: 0.702 MB / 1.135 GB, free: 11.54 MB / 0.7605 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.01173/1.173, allocations: 10.29 MB / 1.145 GB, free: 1.328 MB / 0.7605 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.448457615450025]