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.006292/0.006292, allocations: 1.354 MB / 20.45 MB, free: 4.102 MB / 18.57 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.08352/0.08352, allocations: 18.25 MB / 42.2 MB, free: 5.184 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.00108/0.00108, allocations: 90.61 kB / 53.07 MB, free: 6.504 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.001344/0.001344, allocations: 153.8 kB / 64.03 MB, free: 10.2 MB / 58.72 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.9711/0.9711, allocations: 177.2 MB / 252.1 MB, free: 11.76 MB / 218.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.6116/0.6116, allocations: 102.5 MB / 418.6 MB, free: 5.203 MB / 362.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 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: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.6029 GB, free: 268 kB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.793e-05/1.946e-05, allocations: 4.672 kB / 0.6029 GB, free: 264 kB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_PlateHEXvle2vle_L3_2ph_ntu): time 0.0227/0.02272, allocations: 23.77 MB / 0.6261 GB, free: 8.391 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.03075/0.05347, allocations: 25.74 MB / 0.6513 GB, free: 14.58 MB / 0.5418 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004427/0.0579, allocations: 146.9 kB / 0.6514 GB, free: 14.43 MB / 0.5418 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.005836/0.06374, allocations: 2.816 MB / 0.6542 GB, free: 11.6 MB / 0.5418 GB Notification: Performance of NFTyping.typeBindings: time 0.007823/0.07156, allocations: 4.111 MB / 0.6582 GB, free: 7.465 MB / 0.5418 GB Notification: Performance of NFTyping.typeClassSections: time 0.007565/0.07912, allocations: 5.328 MB / 0.6634 GB, free: 2.129 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.2669/0.346, allocations: 12.31 MB / 0.6754 GB, free: 20.81 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00482/0.3508, allocations: 3.325 MB / 0.6787 GB, free: 20.42 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01016/0.361, allocations: 6.581 MB / 0.6851 GB, free: 19.86 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007538/0.3685, allocations: 4.022 MB / 0.689 GB, free: 19.43 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.003137/0.3717, allocations: 0.8737 MB / 0.6899 GB, free: 19.43 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007066/0.3787, allocations: 2.236 MB / 0.6921 GB, free: 19.35 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.00396/0.3827, allocations: 2.614 MB / 0.6946 GB, free: 18.95 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.008353/0.391, allocations: 2.678 MB / 0.6972 GB, free: 18.02 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01666/0.4077, allocations: 13.67 MB / 0.7106 GB, free: 12.29 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.4077, allocations: 0 / 0.7106 GB, free: 12.29 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4077, allocations: 1.188 kB / 0.7106 GB, free: 12.29 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.000454/0.4082, allocations: 0 / 0.7106 GB, free: 12.29 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.01717/0.4253, allocations: 8.188 MB / 0.7186 GB, free: 6.516 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.4254, allocations: 12.44 kB / 0.7186 GB, free: 6.516 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009599/0.4263, allocations: 0.7352 MB / 0.7193 GB, free: 5.969 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001862/0.4282, allocations: 0.9931 MB / 0.7203 GB, free: 5.398 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008528/0.4367, allocations: 6.269 MB / 0.7264 GB, free: 1.125 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001522/0.4369, allocations: 291.1 kB / 0.7267 GB, free: 1 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000613/0.4375, allocations: 388 kB / 0.727 GB, free: 0.8711 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01629/0.4538, allocations: 11.85 MB / 0.7386 GB, free: 8 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.642e-05/0.4539, allocations: 50.56 kB / 0.7386 GB, free: 7.996 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004031/0.4543, allocations: 187 kB / 0.7388 GB, free: 7.883 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003199/0.4546, allocations: 465.3 kB / 0.7393 GB, free: 7.75 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0151/0.4697, allocations: 8.053 MB / 0.7471 GB, free: 168 kB / 0.5574 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.04053/0.5102, allocations: 42.89 MB / 0.789 GB, free: 4.469 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01248/0.5227, allocations: 6.576 MB / 0.7954 GB, free: 13.73 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003721/0.5264, allocations: 2.314 MB / 0.7977 GB, free: 11.35 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006465/0.5271, allocations: 253 kB / 0.7979 GB, free: 11.1 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.481e-05/0.5272, allocations: 106.9 kB / 0.798 GB, free: 11 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=844): time 7.023e-06/0.5272, allocations: 4 kB / 0.7981 GB, free: 10.99 MB / 0.6199 GB Notification: Performance of matching and sorting (n=844): time 0.02832/0.5555, allocations: 13.62 MB / 0.8113 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003557/0.5558, allocations: 1.089 MB / 0.8124 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007187/0.563, allocations: 5.406 MB / 0.8177 GB, free: 6.605 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0009278/0.564, allocations: 81.7 kB / 0.8178 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001492/0.5654, allocations: 2.685 MB / 0.8204 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.002704/0.5681, allocations: 2.832 MB / 0.8232 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002027/0.5702, allocations: 1.72 MB / 0.8248 GB, free: 15.32 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 7.091e-05/0.5702, allocations: 305.1 kB / 0.8251 GB, free: 15.02 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00446/0.5747, allocations: 3.312 MB / 0.8284 GB, free: 11.68 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005644/0.5804, allocations: 6.215 MB / 0.8344 GB, free: 4.289 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07483/0.6552, allocations: 23.36 MB / 0.8572 GB, free: 12.1 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.832e-05/0.6552, allocations: 24 kB / 0.8573 GB, free: 12.08 MB / 0.6824 GB Notification: Performance of matching and sorting (n=1162) (initialization): time 0.01962/0.6748, allocations: 11.23 MB / 0.8682 GB, free: 1.23 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 5.264e-05/0.6749, allocations: 36 kB / 0.8683 GB, free: 1.195 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01458/0.6895, allocations: 8.659 MB / 0.8767 GB, free: 8.539 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03559/0.7251, allocations: 6.116 MB / 0.8827 GB, free: 2.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005173/0.7302, allocations: 2.123 MB / 0.8848 GB, free: 448 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006897/0.7371, allocations: 7.755 MB / 0.8923 GB, free: 8.41 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005073/0.7422, allocations: 0.8956 MB / 0.8932 GB, free: 7.508 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001003/0.7432, allocations: 0.566 MB / 0.8938 GB, free: 6.941 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.007735/0.7509, allocations: 4.81 MB / 0.8985 GB, free: 2.125 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005705/0.7567, allocations: 6.159 MB / 0.9045 GB, free: 10.78 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.07593/0.8326, allocations: 22.93 MB / 0.9269 GB, free: 3.023 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.037e-05/0.8326, allocations: 24 kB / 0.9269 GB, free: 3 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1162) (initialization_lambda0): time 0.02008/0.8527, allocations: 11.05 MB / 0.9377 GB, free: 8.008 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.982e-05/0.8527, allocations: 36 kB / 0.9377 GB, free: 7.973 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2725/1.125, allocations: 8.457 MB / 0.946 GB, free: 258.2 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004409/1.13, allocations: 1.337 MB / 0.9473 GB, free: 258.2 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005857/1.135, allocations: 2.159 MB / 0.9494 GB, free: 258.2 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006187/1.142, allocations: 8.96 MB / 0.9582 GB, free: 252.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005059/1.147, allocations: 0.7278 MB / 0.9589 GB, free: 252.2 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008539/1.148, allocations: 0.5635 MB / 0.9594 GB, free: 252.2 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.00183/1.149, allocations: 0.7066 MB / 0.9601 GB, free: 252 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001703/1.151, allocations: 0.7043 MB / 0.9608 GB, free: 252 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.01265/1.164, allocations: 10.27 MB / 0.9708 GB, free: 249 MB / 0.7605 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.0387764582410455]