Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_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.01484/0.01484, allocations: 1.78 MB / 18.83 MB, free: 4.262 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.00158/0.00158, allocations: 107.6 kB / 22.07 MB, free: 1.016 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.002124/0.002124, allocations: 216.3 kB / 25.45 MB, free: 3.293 MB / 14.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 1.474/1.474, allocations: 230.6 MB / 259.3 MB, free: 13.12 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.114/1.114, allocations: 130.6 MB / 446.3 MB, free: 14.52 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_HEXvle2vle_L3_2ph_CU_ntu,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_2ph_CU_ntu",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_ntu,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_2ph_CU_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: Automatically loaded package TILMedia 1.9.0 ClaRa due to uses annotation from ClaRa. 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. 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.4229/0.4229, allocations: 46.15 MB / 0.6552 GB, free: 30.18 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.62, allocations: 89.05 MB / 0.7421 GB, free: 2.664 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_ntu): time 0.0442/0.6642, allocations: 38.27 MB / 0.7795 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.06114/0.7254, allocations: 32.82 MB / 0.8116 GB, free: 11.34 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01196/0.7373, allocations: 214.4 kB / 0.8118 GB, free: 11.13 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.01232/0.7496, allocations: 4.209 MB / 0.8159 GB, free: 6.902 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.02326/0.7729, allocations: 6.377 MB / 0.8221 GB, free: 0.4922 MB / 0.6232 GB Notification: Performance of NFTyping.typeClassSections: time 0.01951/0.7924, allocations: 7.136 MB / 0.8291 GB, free: 9.355 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 0.03162/0.824, allocations: 18.96 MB / 0.8476 GB, free: 6.332 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0108/0.8348, allocations: 5.683 MB / 0.8531 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01724/0.8521, allocations: 7.623 MB / 0.8606 GB, free: 8.906 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01603/0.8681, allocations: 7.941 MB / 0.8683 GB, free: 0.9336 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.4359/1.304, allocations: 1.356 MB / 0.8697 GB, free: 35.18 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01008/1.314, allocations: 3.831 MB / 0.8734 GB, free: 35.18 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.006266/1.32, allocations: 4.131 MB / 0.8774 GB, free: 35.18 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.01479/1.335, allocations: 6.709 MB / 0.884 GB, free: 33.98 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.03791/1.373, allocations: 20.8 MB / 0.9043 GB, free: 31.3 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.966e-06/1.373, allocations: 1.125 kB / 0.9043 GB, free: 31.3 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.365e-06/1.373, allocations: 1.719 kB / 0.9043 GB, free: 31.3 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0009474/1.374, allocations: 0.6562 kB / 0.9043 GB, free: 31.3 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2569 * Number of variables: 2569 Notification: Performance of Generate backend data structure: time 0.0535/1.428, allocations: 12.88 MB / 0.9169 GB, free: 25.99 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.703e-05/1.428, allocations: 9.75 kB / 0.9169 GB, free: 25.99 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003619/1.428, allocations: 195.4 kB / 0.9171 GB, free: 25.98 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005549/1.434, allocations: 1.164 MB / 0.9182 GB, free: 25.88 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009562/1.443, allocations: 1.539 MB / 0.9197 GB, free: 25.13 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02578/1.469, allocations: 9.422 MB / 0.9289 GB, free: 22.36 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007774/1.47, allocations: 493.5 kB / 0.9294 GB, free: 22.34 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003914/1.474, allocations: 0.6112 MB / 0.93 GB, free: 22.33 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04845/1.522, allocations: 18.15 MB / 0.9477 GB, free: 9.762 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003141/1.522, allocations: 88.84 kB / 0.9478 GB, free: 9.762 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00331/1.526, allocations: 319.2 kB / 0.9481 GB, free: 9.57 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001046/1.527, allocations: 0.7791 MB / 0.9489 GB, free: 9.34 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03944/1.566, allocations: 14.37 MB / 0.9629 GB, free: 2.484 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.1112/1.677, allocations: 76.84 MB / 1.038 GB, free: 11.12 MB / 0.7482 GB Notification: Performance of preOpt comSubExp (simulation): time 0.033/1.71, allocations: 11.99 MB / 1.05 GB, free: 15.01 MB / 0.7638 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01059/1.721, allocations: 4.324 MB / 1.054 GB, free: 10.59 MB / 0.7638 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001957/1.723, allocations: 0.7771 MB / 1.055 GB, free: 9.781 MB / 0.7638 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03037/1.753, allocations: 9.6 MB / 1.064 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006988/1.76, allocations: 1.049 MB / 1.065 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1268): time 2.304e-05/1.76, allocations: 2.656 kB / 1.065 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1269): time 0.1919/1.952, allocations: 93.59 MB / 1.156 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001126/1.953, allocations: 2.108 MB / 1.158 GB, free: 14.04 MB / 0.8732 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01844/1.972, allocations: 8.211 MB / 1.167 GB, free: 5.875 MB / 0.8732 GB Notification: Performance of collectPreVariables (initialization): time 0.002919/1.975, allocations: 121.7 kB / 1.167 GB, free: 5.75 MB / 0.8732 GB Notification: Performance of collectInitialEqns (initialization): time 0.005985/1.981, allocations: 4.559 MB / 1.171 GB, free: 1.207 MB / 0.8732 GB Notification: Performance of collectInitialBindings (initialization): time 0.008803/1.989, allocations: 4.36 MB / 1.175 GB, free: 12.91 MB / 0.8888 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01276/2.002, allocations: 2.789 MB / 1.178 GB, free: 10.1 MB / 0.8888 GB Notification: Performance of setup shared object (initialization): time 0.0001458/2.002, allocations: 305.1 kB / 1.178 GB, free: 9.801 MB / 0.8888 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01514/2.017, allocations: 6.035 MB / 1.184 GB, free: 3.754 MB / 0.8888 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02012/2.038, allocations: 10.33 MB / 1.194 GB, free: 7.703 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7985/2.836, allocations: 61.48 MB / 1.254 GB, free: 308.9 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001172/2.836, allocations: 36.12 kB / 1.254 GB, free: 308.9 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1845) (initialization): time 0.0545/2.891, allocations: 19.63 MB / 1.274 GB, free: 295.6 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001866/2.891, allocations: 60 kB / 1.274 GB, free: 295.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03781/2.929, allocations: 14.2 MB / 1.287 GB, free: 281.3 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05835/2.987, allocations: 6.039 MB / 1.293 GB, free: 275.3 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01419/3.001, allocations: 3.611 MB / 1.297 GB, free: 271.7 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01797/3.019, allocations: 18.79 MB / 1.315 GB, free: 251.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01218/3.031, allocations: 0.5832 MB / 1.316 GB, free: 251.3 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003841/3.035, allocations: 0.8783 MB / 1.317 GB, free: 250.4 MB / 0.9044 GB Warning: Assuming fixed start value for the following 8 variables: hex.tubes.h:VARIABLE(start = hex.tubes.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hex.shell.h_liq:VARIABLE(start = hex.shell.h_liq_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of liquid phase\" type: Real hex.shell.h_vap:VARIABLE(start = hex.shell.h_vap_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of vapour phase\" type: Real hex.shell.p_vap:VARIABLE(min = 0.0 start = hex.shell.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Vapour pressure\" type: Real hex.wall.nTU.T_w_o[3]:VARIABLE(min = 0.0 start = hex.wall.nTU.T_w_o_start[3] unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at outer phase\" type: Real [3] hex.wall.PI_2ph.outputI:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real hex.wall.PI_1ph_in.outputI:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real PI.switch_OnOff.u2:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02074/3.056, allocations: 8.474 MB / 1.325 GB, free: 242 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01593/3.072, allocations: 10.26 MB / 1.335 GB, free: 229.8 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3583/3.43, allocations: 61 MB / 1.395 GB, free: 167 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001149/3.43, allocations: 36 kB / 1.395 GB, free: 166.9 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1845) (initialization_lambda0): time 0.04876/3.479, allocations: 19.02 MB / 1.413 GB, free: 148.4 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001408/3.479, allocations: 67.75 kB / 1.413 GB, free: 148.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03776/3.517, allocations: 14.16 MB / 1.427 GB, free: 134.1 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05128/3.568, allocations: 5.066 MB / 1.432 GB, free: 129.1 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01546/3.584, allocations: 3.619 MB / 1.436 GB, free: 125.4 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01558/3.599, allocations: 16.84 MB / 1.452 GB, free: 107.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01173/3.611, allocations: 0.5812 MB / 1.453 GB, free: 107 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003513/3.614, allocations: 0.8705 MB / 1.453 GB, free: 106.2 MB / 0.9044 GB Warning: Assuming fixed start value for the following 8 variables: hex.tubes.h:VARIABLE(start = hex.tubes.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hex.shell.h_liq:VARIABLE(start = hex.shell.h_liq_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of liquid phase\" type: Real hex.shell.h_vap:VARIABLE(start = hex.shell.h_vap_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of vapour phase\" type: Real hex.shell.p_vap:VARIABLE(min = 0.0 start = hex.shell.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Vapour pressure\" type: Real hex.wall.nTU.T_w_o[3]:VARIABLE(min = 0.0 start = hex.wall.nTU.T_w_o_start[3] unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at outer phase\" type: Real [3] hex.wall.PI_2ph.outputI:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real hex.wall.PI_1ph_in.outputI:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real PI.switch_OnOff.u2:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 584 * Number of states: 0 () * Number of discrete variables: 11 (hex.wall.nTU.smallShellFlow[2],$PRE.PI.time_lag_I_activation.entryTime,$PRE.PI.switch_OnOff.u2,PI.I_activation.y,PI.time_lag_I_activation.entryTime,PI.switch_OnOff.u2,hex.wall.nTU.smallShellFlow[3],hex.wall.nTU.smallShellFlow[1],hex.wall.nTU.mass,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1768): * Single equations (assignments): 1755 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,2,100.0%), (4,3,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,4), (3,14), (2,18), (4,18), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.006663/3.621, allocations: 1.043 MB / 1.454 GB, free: 105.2 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005475/3.627, allocations: 1.075 MB / 1.455 GB, free: 104.5 MB / 0.9044 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 1953 equation(s) and 1857 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (hex.wall.nTU.O1_in.q, hex.wall.nTU.O1_in.cp, hex.wall.nTU.O1_in.cv, hex.wall.nTU.O1_in.beta, hex.wall.nTU.O1_in.kappa, hex.wall.nTU.O1_in.drhodp_hxi, hex.wall.nTU.O1_in.drhodh_pxi, _, hex.wall.nTU.O1_in.w, hex.wall.nTU.O1_in.gamma) = ($cse315, $cse316, $cse317, $cse318, $cse319, $cse320, $cse321, $cse322, $cse323, $cse324) has size 9 but 3 variables (hex.tubes.summary.outline.Delta_p, hex.tubes.phaseBorder.Delta_p_geo_in, hex.tubes.pressureLoss.Delta_p) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03631/3.663, allocations: 16.4 MB / 1.471 GB, free: 88.42 MB / 0.9044 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 796] [Calling sys.exit(0), Time elapsed: 7.310719825967681] Failed to read output from testmodel.py, exit status != 0: 3.6712966570048593 3.682935491 2.3050356770000002 Calling exit ...