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.0104/0.0104, allocations: 1.757 MB / 20.6 MB, free: 0.8828 MB / 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.00135/0.00135, allocations: 99.84 kB / 24.18 MB, free: 2.184 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.00181/0.00181, allocations: 215.5 kB / 27.9 MB, free: 3.504 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.468/1.468, allocations: 230.6 MB / 262.1 MB, free: 5.832 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.082/1.082, allocations: 130.7 MB / 449.6 MB, free: 6.418 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="me",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",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.06671/0.06671, allocations: 20.99 MB / 0.6358 GB, free: 4.73 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.2448, allocations: 81.91 MB / 0.7158 GB, free: 2.723 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.5676/0.8124, allocations: 56.78 MB / 0.7713 GB, free: 13.28 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.0416/0.854, allocations: 26.09 MB / 0.7968 GB, free: 10.88 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008714/0.8627, allocations: 148.4 kB / 0.7969 GB, free: 10.81 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.009109/0.8718, allocations: 2.801 MB / 0.7996 GB, free: 8.871 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01685/0.8887, allocations: 3.981 MB / 0.8035 GB, free: 5.629 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01727/0.906, allocations: 5.262 MB / 0.8087 GB, free: 1.551 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02257/0.9285, allocations: 12.01 MB / 0.8204 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008365/0.9369, allocations: 3.307 MB / 0.8236 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01202/0.9489, allocations: 4.757 MB / 0.8283 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01019/0.9591, allocations: 4.557 MB / 0.8327 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003642/0.9628, allocations: 0.8776 MB / 0.8336 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008344/0.9711, allocations: 2.206 MB / 0.8357 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005025/0.9761, allocations: 2.55 MB / 0.8382 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.009154/0.9853, allocations: 3.265 MB / 0.8414 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02675/1.012, allocations: 13.71 MB / 0.8548 GB, free: 4.145 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/1.012, allocations: 0 / 0.8548 GB, free: 4.145 MB / 0.6232 GB Notification: Performance of FrontEnd: time 2.073e-06/1.012, allocations: 0 / 0.8548 GB, free: 4.145 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0004806/1.013, allocations: 1.406 kB / 0.8548 GB, free: 4.145 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.02681/1.039, allocations: 8.273 MB / 0.8629 GB, free: 11.82 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/1.039, allocations: 12.03 kB / 0.8629 GB, free: 11.8 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00306/1.042, allocations: 0.7347 MB / 0.8636 GB, free: 11.06 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004672/1.047, allocations: 0.995 MB / 0.8646 GB, free: 10.06 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01562/1.063, allocations: 6.268 MB / 0.8707 GB, free: 3.723 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003746/1.063, allocations: 299.5 kB / 0.871 GB, free: 3.43 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001503/1.065, allocations: 381.4 kB / 0.8713 GB, free: 3.059 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03153/1.096, allocations: 11.84 MB / 0.8829 GB, free: 5.828 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001757/1.096, allocations: 51.5 kB / 0.883 GB, free: 5.777 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008841/1.097, allocations: 188 kB / 0.8831 GB, free: 5.594 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006064/1.098, allocations: 468.5 kB / 0.8836 GB, free: 5.137 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02424/1.122, allocations: 8.054 MB / 0.8915 GB, free: 13.08 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.06422/1.186, allocations: 43.03 MB / 0.9335 GB, free: 0.7891 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01892/1.205, allocations: 6.559 MB / 0.9399 GB, free: 10.05 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005619/1.211, allocations: 2.323 MB / 0.9421 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001056/1.212, allocations: 253.7 kB / 0.9424 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001121/1.212, allocations: 97.25 kB / 0.9425 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=844): time 7.434e-06/1.212, allocations: 0.75 kB / 0.9425 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of matching and sorting (n=844): time 0.04533/1.257, allocations: 13.62 MB / 0.9558 GB, free: 9.66 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006475/1.258, allocations: 1.086 MB / 0.9568 GB, free: 8.32 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01016/1.268, allocations: 5.409 MB / 0.9621 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001434/1.27, allocations: 77.7 kB / 0.9622 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002766/1.272, allocations: 2.7 MB / 0.9648 GB, free: 100 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.005219/1.278, allocations: 2.877 MB / 0.9676 GB, free: 13.19 MB / 0.7482 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003963/1.281, allocations: 1.735 MB / 0.9693 GB, free: 11.44 MB / 0.7482 GB Notification: Performance of setup shared object (initialization): time 0.0001579/1.282, allocations: 310.4 kB / 0.9696 GB, free: 11.14 MB / 0.7482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006745/1.288, allocations: 3.314 MB / 0.9729 GB, free: 7.812 MB / 0.7482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01032/1.299, allocations: 6.201 MB / 0.9789 GB, free: 400 kB / 0.7482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1386/1.437, allocations: 23.35 MB / 1.002 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.245e-05/1.437, allocations: 20 kB / 1.002 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1162) (initialization): time 0.0316/1.469, allocations: 11.24 MB / 1.013 GB, free: 13.16 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 8.105e-05/1.469, allocations: 43.94 kB / 1.013 GB, free: 13.11 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02314/1.492, allocations: 8.663 MB / 1.021 GB, free: 4.363 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06808/1.56, allocations: 6.106 MB / 1.027 GB, free: 14.24 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008129/1.568, allocations: 2.129 MB / 1.029 GB, free: 12.1 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01146/1.58, allocations: 7.731 MB / 1.037 GB, free: 4.031 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00711/1.587, allocations: 0.8955 MB / 1.038 GB, free: 3.129 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001988/1.589, allocations: 0.5739 MB / 1.038 GB, free: 2.555 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.01171/1.601, allocations: 4.816 MB / 1.043 GB, free: 13.73 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009816/1.61, allocations: 6.156 MB / 1.049 GB, free: 6.355 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.4757/2.086, allocations: 22.94 MB / 1.071 GB, free: 358.4 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001023/2.086, allocations: 22.25 kB / 1.071 GB, free: 358.4 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1162) (initialization_lambda0): time 0.03211/2.118, allocations: 11.05 MB / 1.082 GB, free: 356.8 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.465e-05/2.118, allocations: 39.53 kB / 1.082 GB, free: 356.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02004/2.138, allocations: 8.467 MB / 1.09 GB, free: 353.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006247/2.145, allocations: 1.339 MB / 1.092 GB, free: 353.3 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00725/2.152, allocations: 2.16 MB / 1.094 GB, free: 353.1 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008329/2.16, allocations: 8.964 MB / 1.103 GB, free: 345.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006678/2.167, allocations: 0.726 MB / 1.103 GB, free: 345.6 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001742/2.169, allocations: 0.5637 MB / 1.104 GB, free: 345.5 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.00242/2.171, allocations: 0.7041 MB / 1.105 GB, free: 345 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00246/2.174, allocations: 0.6982 MB / 1.105 GB, free: 344.7 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.01619/2.19, allocations: 10.28 MB / 1.115 GB, free: 339.9 MB / 0.8419 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 6.117421424947679] Failed to read output from testmodel.py, exit status != 0: 2.35887593915686 2.370430264 1.355631583 Calling exit ...