Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_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.006149/0.006149, 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.07544/0.07544, allocations: 18.24 MB / 42.19 MB, free: 5.188 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.0008254/0.0008254, allocations: 88.16 kB / 53.06 MB, free: 6.508 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.001096/0.001096, allocations: 156.5 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.8879/0.8879, allocations: 177.2 MB / 252.1 MB, free: 11.78 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/package.mo): time 0.505/0.505, allocations: 102.6 MB / 418.7 MB, free: 5.312 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-main/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_HEXvle2vle_L3_2ph_CU_ntu,fileNamePrefix="ClaRa_dev_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_2ph_CU_ntu",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_ntu,fileNamePrefix="ClaRa_dev_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_2ph_CU_ntu",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 0.603 GB, free: 372 kB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.628e-05/1.757e-05, allocations: 7.938 kB / 0.603 GB, free: 368 kB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_ntu): time 0.0228/0.02282, allocations: 32.84 MB / 0.6351 GB, free: 15.38 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.2779/0.3007, allocations: 31.7 MB / 0.6661 GB, free: 15.88 MB / 0.5418 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007211/0.3079, allocations: 217.7 kB / 0.6663 GB, free: 15.88 MB / 0.5418 GB Notification: Performance of NFTyping.typeComponents: time 0.008017/0.3159, allocations: 4.084 MB / 0.6703 GB, free: 15.86 MB / 0.5418 GB Notification: Performance of NFTyping.typeBindings: time 0.01251/0.3284, allocations: 6.702 MB / 0.6768 GB, free: 14.64 MB / 0.5418 GB Notification: Performance of NFTyping.typeClassSections: time 0.01144/0.3399, allocations: 7.315 MB / 0.6839 GB, free: 14.38 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.02331/0.3632, allocations: 19.43 MB / 0.7029 GB, free: 9.668 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008601/0.3718, allocations: 5.805 MB / 0.7086 GB, free: 6.621 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01841/0.3902, allocations: 10.46 MB / 0.7188 GB, free: 408 kB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01139/0.4016, allocations: 6.773 MB / 0.7254 GB, free: 13.12 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.003509/0.4051, allocations: 1.36 MB / 0.7268 GB, free: 13.11 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007584/0.4126, allocations: 3.234 MB / 0.7299 GB, free: 12.24 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.003389/0.416, allocations: 4.249 MB / 0.7341 GB, free: 9.219 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.006684/0.4227, allocations: 4.222 MB / 0.7382 GB, free: 6.887 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.01923/0.4419, allocations: 20.83 MB / 0.7585 GB, free: 2.945 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.442, allocations: 0 / 0.7585 GB, free: 2.945 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.253e-06/0.442, allocations: 0 / 0.7585 GB, free: 2.945 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0005142/0.4425, allocations: 0 / 0.7585 GB, free: 2.945 MB / 0.573 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.02093/0.4634, allocations: 14.54 MB / 0.7727 GB, free: 4.414 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 6.23e-05/0.4635, allocations: 12.03 kB / 0.7727 GB, free: 4.402 MB / 0.5887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001185/0.4646, allocations: 1.157 MB / 0.7739 GB, free: 3.25 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003059/0.4677, allocations: 1.547 MB / 0.7754 GB, free: 1.695 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01099/0.4787, allocations: 9.176 MB / 0.7843 GB, free: 8.855 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002594/0.4789, allocations: 495.2 kB / 0.7848 GB, free: 8.383 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006947/0.4796, allocations: 0.605 MB / 0.7854 GB, free: 7.793 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02505/0.5047, allocations: 20.17 MB / 0.8051 GB, free: 1.422 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001338/0.5048, allocations: 82.81 kB / 0.8052 GB, free: 1.391 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006887/0.5055, allocations: 320 kB / 0.8055 GB, free: 1.094 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006436/0.5062, allocations: 0.7838 MB / 0.8063 GB, free: 316 kB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02338/0.5295, allocations: 14.33 MB / 0.8203 GB, free: 2.414 MB / 0.6355 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.05614/0.5857, allocations: 72.63 MB / 0.8912 GB, free: 8.207 MB / 0.7137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01857/0.6043, allocations: 11.74 MB / 0.9026 GB, free: 12.2 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005824/0.6101, allocations: 4.326 MB / 0.9069 GB, free: 7.738 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007368/0.6108, allocations: 359.2 kB / 0.9072 GB, free: 7.387 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01432/0.6251, allocations: 9.601 MB / 0.9166 GB, free: 13.48 MB / 0.7449 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003244/0.6284, allocations: 1.074 MB / 0.9176 GB, free: 12.4 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=1268): time 1.486e-05/0.6284, allocations: 0 / 0.9176 GB, free: 12.4 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1269): time 0.3885/1.017, allocations: 93.14 MB / 1.009 GB, free: 209.6 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000312/1.017, allocations: 2.113 MB / 1.011 GB, free: 207.1 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01198/1.029, allocations: 8.406 MB / 1.019 GB, free: 204 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.002043/1.031, allocations: 124.5 kB / 1.019 GB, free: 203.9 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.003455/1.035, allocations: 4.536 MB / 1.023 GB, free: 200.8 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.004426/1.039, allocations: 4.294 MB / 1.028 GB, free: 197.9 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006863/1.046, allocations: 2.763 MB / 1.03 GB, free: 196.9 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 3.526e-05/1.046, allocations: 309.3 kB / 1.031 GB, free: 196.6 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008715/1.055, allocations: 6.042 MB / 1.036 GB, free: 194 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01102/1.066, allocations: 11.21 MB / 1.047 GB, free: 184.9 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2174/1.283, allocations: 61.54 MB / 1.108 GB, free: 126.6 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001047/1.283, allocations: 36 kB / 1.108 GB, free: 126.6 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1845) (initialization): time 0.03725/1.32, allocations: 19.63 MB / 1.127 GB, free: 106.8 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 8.021e-05/1.321, allocations: 60 kB / 1.127 GB, free: 106.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02599/1.347, allocations: 14.22 MB / 1.141 GB, free: 92.46 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02863/1.375, allocations: 6.03 MB / 1.147 GB, free: 86.43 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009138/1.384, allocations: 3.611 MB / 1.15 GB, free: 82.81 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01043/1.395, allocations: 18 MB / 1.168 GB, free: 63.88 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007186/1.402, allocations: 0.5851 MB / 1.168 GB, free: 63.3 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002437/1.404, allocations: 0.8783 MB / 1.169 GB, free: 62.43 MB / 0.7605 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.01412/1.418, allocations: 8.469 MB / 1.177 GB, free: 53.95 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01084/1.429, allocations: 11.15 MB / 1.188 GB, free: 40.67 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.4763/1.906, allocations: 61.01 MB / 1.248 GB, free: 230.3 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001614/1.906, allocations: 37.22 kB / 1.248 GB, free: 230.3 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1845) (initialization_lambda0): time 0.04523/1.951, allocations: 19 MB / 1.266 GB, free: 222.9 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 7.344e-05/1.951, allocations: 62.62 kB / 1.266 GB, free: 222.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02936/1.98, allocations: 14.16 MB / 1.28 GB, free: 216.8 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02619/2.007, allocations: 5.064 MB / 1.285 GB, free: 213.5 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008478/2.015, allocations: 3.616 MB / 1.289 GB, free: 209.9 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009116/2.024, allocations: 16.04 MB / 1.304 GB, free: 193.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008972/2.033, allocations: 0.58 MB / 1.305 GB, free: 192.5 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003477/2.037, allocations: 0.874 MB / 1.306 GB, free: 191.6 MB / 0.7605 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.00404/2.041, allocations: 1.036 MB / 1.307 GB, free: 190.7 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003099/2.044, allocations: 1.085 MB / 1.308 GB, free: 190.2 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 1953 equation(s) and 1857 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: (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.02269/2.067, allocations: 16.46 MB / 1.324 GB, free: 174.3 MB / 0.7605 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.813774707727134]