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.01031/0.01031, allocations: 1.754 MB / 20.6 MB, free: 1.152 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.001294/0.001294, allocations: 100.8 kB / 24.18 MB, free: 2.57 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.002204/0.002204, allocations: 206.2 kB / 27.9 MB, free: 3.906 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.451/1.451, 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.06/1.06, 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_HEXvle2vle_L3_2ph_CU_ntu,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_2ph_CU_ntu",fmuType="me",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="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.06359/0.06359, allocations: 20.99 MB / 0.6358 GB, free: 4.715 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.2382, allocations: 81.91 MB / 0.7158 GB, free: 2.703 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_HEXvle2vle_L3_2ph_CU_ntu): time 0.5101/0.7483, allocations: 65.88 MB / 0.7802 GB, free: 7.141 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.05998/0.8083, allocations: 32.02 MB / 0.8115 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01156/0.8199, allocations: 217.4 kB / 0.8117 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01241/0.8323, allocations: 4.073 MB / 0.8156 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.02282/0.8551, allocations: 6.502 MB / 0.822 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.02043/0.8755, allocations: 7.235 MB / 0.8291 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.03419/0.9097, allocations: 18.95 MB / 0.8476 GB, free: 11.62 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01324/0.923, allocations: 5.768 MB / 0.8532 GB, free: 5.762 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01893/0.9419, allocations: 7.647 MB / 0.8607 GB, free: 14.09 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01813/0.96, allocations: 7.584 MB / 0.8681 GB, free: 6.48 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.005786/0.9658, allocations: 1.355 MB / 0.8694 GB, free: 5.125 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01155/0.9774, allocations: 3.191 MB / 0.8725 GB, free: 1.938 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.007848/0.9852, allocations: 4.143 MB / 0.8766 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.01342/0.9986, allocations: 5.131 MB / 0.8816 GB, free: 8.625 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.03954/1.038, allocations: 20.79 MB / 0.9019 GB, free: 3.762 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/1.038, allocations: 0 / 0.9019 GB, free: 3.762 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.184e-06/1.038, allocations: 0.75 kB / 0.9019 GB, free: 3.762 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0007725/1.039, allocations: 0 / 0.9019 GB, free: 3.762 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.05301/1.092, allocations: 14.67 MB / 0.9162 GB, free: 5.008 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 7.259e-05/1.092, allocations: 8.031 kB / 0.9162 GB, free: 5 MB / 0.6857 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005563/1.098, allocations: 1.172 MB / 0.9174 GB, free: 3.816 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007737/1.105, allocations: 1.541 MB / 0.9189 GB, free: 2.27 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02524/1.131, allocations: 9.173 MB / 0.9278 GB, free: 9.031 MB / 0.7013 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008481/1.131, allocations: 492.4 kB / 0.9283 GB, free: 8.547 MB / 0.7013 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003115/1.135, allocations: 0.6093 MB / 0.9289 GB, free: 7.938 MB / 0.7013 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05009/1.185, allocations: 20.18 MB / 0.9486 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002673/1.185, allocations: 87.19 kB / 0.9487 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001192/1.186, allocations: 314.6 kB / 0.949 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001009/1.187, allocations: 0.7867 MB / 0.9497 GB, free: 112 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04361/1.231, allocations: 14.32 MB / 0.9637 GB, free: 1.793 MB / 0.7325 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.1099/1.341, allocations: 72.84 MB / 1.035 GB, free: 6.797 MB / 0.8107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03183/1.372, allocations: 11.74 MB / 1.046 GB, free: 10.86 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009998/1.382, allocations: 4.313 MB / 1.051 GB, free: 6.426 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001549/1.384, allocations: 355.3 kB / 1.051 GB, free: 6.078 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3481/1.732, allocations: 9.592 MB / 1.06 GB, free: 343.7 MB / 0.8263 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006086/1.738, allocations: 1.05 MB / 1.061 GB, free: 343.7 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=1268): time 5.164e-05/1.738, allocations: 2.922 kB / 1.061 GB, free: 343.7 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1269): time 0.1738/1.912, allocations: 93.14 MB / 1.152 GB, free: 271.7 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004077/1.912, allocations: 2.12 MB / 1.154 GB, free: 269.1 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0128/1.925, allocations: 8.394 MB / 1.162 GB, free: 260.9 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 0.0023/1.928, allocations: 125.7 kB / 1.163 GB, free: 260.8 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.003476/1.931, allocations: 4.552 MB / 1.167 GB, free: 256.7 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.005292/1.936, allocations: 4.362 MB / 1.171 GB, free: 252.9 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006087/1.942, allocations: 2.792 MB / 1.174 GB, free: 250.1 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 4.745e-05/1.942, allocations: 305.1 kB / 1.174 GB, free: 249.8 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01035/1.953, allocations: 6.031 MB / 1.18 GB, free: 243.8 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01374/1.967, allocations: 11.22 MB / 1.191 GB, free: 230.4 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.352/2.319, allocations: 61.52 MB / 1.251 GB, free: 167.8 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001405/2.319, allocations: 36 kB / 1.251 GB, free: 167.8 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1845) (initialization): time 0.04851/2.367, allocations: 19.62 MB / 1.27 GB, free: 148.1 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 8.486e-05/2.367, allocations: 62.22 kB / 1.27 GB, free: 148 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03111/2.398, allocations: 14.2 MB / 1.284 GB, free: 133.7 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05529/2.454, allocations: 6.043 MB / 1.29 GB, free: 127.7 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01292/2.467, allocations: 3.611 MB / 1.294 GB, free: 124.1 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01582/2.482, allocations: 18.01 MB / 1.311 GB, free: 105.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01003/2.493, allocations: 0.5821 MB / 1.312 GB, free: 104.6 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00303/2.496, allocations: 0.8822 MB / 1.313 GB, free: 103.7 MB / 0.8263 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.01663/2.512, allocations: 8.464 MB / 1.321 GB, free: 95.24 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01318/2.525, allocations: 11.14 MB / 1.332 GB, free: 81.96 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.6724/3.198, allocations: 61.02 MB / 1.392 GB, free: 317.9 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001345/3.198, allocations: 36.16 kB / 1.392 GB, free: 317.9 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1845) (initialization_lambda0): time 0.04716/3.245, allocations: 18.99 MB / 1.41 GB, free: 314.1 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 8.243e-05/3.245, allocations: 58.28 kB / 1.41 GB, free: 314.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03567/3.281, allocations: 14.16 MB / 1.424 GB, free: 308.7 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05748/3.338, allocations: 5.074 MB / 1.429 GB, free: 308.4 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01518/3.353, allocations: 3.613 MB / 1.433 GB, free: 308 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01709/3.371, allocations: 16.05 MB / 1.448 GB, free: 292.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01187/3.382, allocations: 0.5759 MB / 1.449 GB, free: 291.6 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002959/3.385, allocations: 0.8744 MB / 1.45 GB, free: 290.8 MB / 0.8263 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.005141/3.39, allocations: 1.033 MB / 1.451 GB, free: 289.8 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003733/3.394, allocations: 1.076 MB / 1.452 GB, free: 289.4 MB / 0.8263 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.02954/3.424, allocations: 16.49 MB / 1.468 GB, free: 274 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 796] [Calling sys.exit(0), Time elapsed: 7.223932072985917] Failed to read output from testmodel.py, exit status != 0: 3.5875321882776916 3.597356043 2.556539112 Calling exit ...