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.01034/0.01034, allocations: 1.745 MB / 21.38 MB, free: 464 kB / 14.72 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.001289/0.001289, allocations: 103.6 kB / 24.97 MB, free: 2.035 MB / 14.72 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.001603/0.001603, allocations: 209.6 kB / 28.68 MB, free: 3.324 MB / 19.63 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.435/1.435, allocations: 230.6 MB / 262.9 MB, free: 5.809 MB / 206.1 MB " [Timeout remaining time 178] 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 1.065/1.065, allocations: 130.7 MB / 450.4 MB, free: 6.41 MB / 350.1 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 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_PlateHEXvle2vle_L3_2ph_ntu,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_PlateHEXvle2vle_L3_2ph_ntu",fmuType="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="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: 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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.06724/0.06724, allocations: 20.6 MB / 0.6362 GB, free: 5.094 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.2542, allocations: 81.91 MB / 0.7162 GB, free: 3.086 MB / 0.5294 GB 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.5755/0.8297, allocations: 56.77 MB / 0.7717 GB, free: 13.41 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04456/0.8743, allocations: 26.07 MB / 0.7971 GB, free: 11.04 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01038/0.8846, allocations: 153.3 kB / 0.7973 GB, free: 10.96 MB / 0.5763 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.009755/0.8944, allocations: 2.799 MB / 0.8 GB, free: 9.023 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01577/0.9102, allocations: 3.991 MB / 0.8039 GB, free: 5.773 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0144/0.9246, allocations: 5.271 MB / 0.809 GB, free: 1.68 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02247/0.947, allocations: 12 MB / 0.8208 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006768/0.9538, allocations: 3.085 MB / 0.8238 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01288/0.9667, allocations: 4.76 MB / 0.8284 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01049/0.9772, allocations: 4.792 MB / 0.8331 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004124/0.9813, allocations: 0.8776 MB / 0.834 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008906/0.9902, allocations: 2.24 MB / 0.8361 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005095/0.9953, allocations: 2.546 MB / 0.8386 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.009183/1.004, allocations: 3.269 MB / 0.8418 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0254/1.03, allocations: 13.71 MB / 0.8552 GB, free: 4.387 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/1.03, allocations: 0 / 0.8552 GB, free: 4.387 MB / 0.6232 GB Notification: Performance of FrontEnd: time 1.743e-06/1.03, allocations: 0 / 0.8552 GB, free: 4.387 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0004611/1.03, allocations: 0 / 0.8552 GB, free: 4.387 MB / 0.6232 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.02328/1.054, allocations: 8.269 MB / 0.8633 GB, free: 12.06 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/1.054, allocations: 8.031 kB / 0.8633 GB, free: 12.05 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000153/1.054, allocations: 123.8 kB / 0.8634 GB, free: 11.93 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001318/1.055, allocations: 0.7309 MB / 0.8641 GB, free: 11.19 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003139/1.058, allocations: 0.9976 MB / 0.8651 GB, free: 10.19 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01323/1.072, allocations: 6.277 MB / 0.8712 GB, free: 3.848 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002896/1.072, allocations: 295.6 kB / 0.8715 GB, free: 3.559 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001131/1.073, allocations: 378.6 kB / 0.8719 GB, free: 3.191 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02759/1.101, allocations: 11.85 MB / 0.8834 GB, free: 5.953 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001118/1.101, allocations: 51.5 kB / 0.8835 GB, free: 5.902 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005535/1.101, allocations: 192 kB / 0.8837 GB, free: 5.715 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000539/1.102, allocations: 461.8 kB / 0.8841 GB, free: 5.262 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02297/1.125, allocations: 8.07 MB / 0.892 GB, free: 13.19 MB / 0.67 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.05729/1.182, allocations: 43.04 MB / 0.934 GB, free: 0.8984 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01919/1.201, allocations: 6.566 MB / 0.9404 GB, free: 10.15 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005109/1.206, allocations: 2.311 MB / 0.9427 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009462/1.207, allocations: 249.7 kB / 0.9429 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001063/1.207, allocations: 103.9 kB / 0.943 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=844): time 7.694e-06/1.207, allocations: 0 / 0.943 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of matching and sorting (n=844): time 0.04562/1.253, allocations: 13.62 MB / 0.9563 GB, free: 9.77 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006315/1.254, allocations: 1.092 MB / 0.9574 GB, free: 8.426 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009475/1.263, allocations: 5.294 MB / 0.9626 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001457/1.265, allocations: 81.7 kB / 0.9626 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002547/1.267, allocations: 2.704 MB / 0.9653 GB, free: 316 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.004191/1.271, allocations: 2.866 MB / 0.9681 GB, free: 13.41 MB / 0.7482 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003588/1.275, allocations: 1.735 MB / 0.9698 GB, free: 11.66 MB / 0.7482 GB Notification: Performance of setup shared object (initialization): time 0.0001396/1.275, allocations: 304.9 kB / 0.9701 GB, free: 11.37 MB / 0.7482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006703/1.282, allocations: 3.319 MB / 0.9733 GB, free: 8.031 MB / 0.7482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009927/1.292, allocations: 6.197 MB / 0.9794 GB, free: 0.6133 MB / 0.7482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1497/1.441, allocations: 23.36 MB / 1.002 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.183e-05/1.441, allocations: 24 kB / 1.002 GB, free: 8.625 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1162) (initialization): time 0.03261/1.474, allocations: 11.22 MB / 1.013 GB, free: 13.36 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 7.731e-05/1.474, allocations: 39.94 kB / 1.013 GB, free: 13.32 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02502/1.499, allocations: 8.665 MB / 1.022 GB, free: 4.57 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07472/1.574, allocations: 6.1 MB / 1.028 GB, free: 14.45 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007921/1.582, allocations: 2.133 MB / 1.03 GB, free: 12.31 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01107/1.593, allocations: 7.75 MB / 1.037 GB, free: 4.223 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007524/1.6, allocations: 0.8994 MB / 1.038 GB, free: 3.316 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002517/1.603, allocations: 0.566 MB / 1.039 GB, free: 2.75 MB / 0.8107 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.01391/1.617, allocations: 4.812 MB / 1.043 GB, free: 13.93 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01033/1.627, allocations: 6.16 MB / 1.049 GB, free: 6.547 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5571/2.184, allocations: 22.93 MB / 1.072 GB, free: 358.7 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001201/2.184, allocations: 21.25 kB / 1.072 GB, free: 358.7 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1162) (initialization_lambda0): time 0.03432/2.219, allocations: 11.05 MB / 1.083 GB, free: 357.1 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.25e-05/2.219, allocations: 39.23 kB / 1.083 GB, free: 357.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01981/2.239, allocations: 8.46 MB / 1.091 GB, free: 353.8 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006308/2.245, allocations: 1.346 MB / 1.092 GB, free: 353.5 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007222/2.252, allocations: 2.156 MB / 1.094 GB, free: 353.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008432/2.261, allocations: 8.972 MB / 1.103 GB, free: 346 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006808/2.267, allocations: 0.725 MB / 1.104 GB, free: 345.8 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001816/2.269, allocations: 0.5641 MB / 1.104 GB, free: 345.8 MB / 0.8419 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.002704/2.272, allocations: 0.7083 MB / 1.105 GB, free: 345.3 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002785/2.275, allocations: 0.6995 MB / 1.106 GB, free: 345 MB / 0.8419 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.01711/2.292, allocations: 10.17 MB / 1.116 GB, free: 340.2 MB / 0.8419 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 6.187923293909989] Failed to read output from testmodel.py, exit status != 0: 2.4620322610717267 2.473821537 1.439179856 Calling exit ...