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 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.009361/0.009361, 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.08912/0.08912, allocations: 18.24 MB / 42.19 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.001028/0.001028, allocations: 83.67 kB / 53.06 MB, free: 6.387 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.001267/0.001267, allocations: 158.6 kB / 64.03 MB, free: 10.08 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.9528/0.9528, 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/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.4903/0.4903, 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_HEXvle2vle_L3_2ph_CU_ntu,fileNamePrefix="ClaRa_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_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.6029 GB, free: 260 kB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.82e-05/1.95e-05, allocations: 2.281 kB / 0.6029 GB, free: 256 kB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_ntu): time 0.02634/0.02636, allocations: 32.86 MB / 0.635 GB, free: 15.26 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.275/0.3014, allocations: 31.69 MB / 0.666 GB, free: 15.92 MB / 0.5418 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007008/0.3084, allocations: 217.5 kB / 0.6662 GB, free: 15.92 MB / 0.5418 GB Notification: Performance of NFTyping.typeComponents: time 0.008071/0.3165, allocations: 4.084 MB / 0.6702 GB, free: 15.9 MB / 0.5418 GB Notification: Performance of NFTyping.typeBindings: time 0.01246/0.3289, allocations: 6.703 MB / 0.6767 GB, free: 14.68 MB / 0.5418 GB Notification: Performance of NFTyping.typeClassSections: time 0.01061/0.3395, allocations: 7.32 MB / 0.6839 GB, free: 14.42 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.01837/0.3579, allocations: 19.43 MB / 0.7028 GB, free: 9.617 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00774/0.3656, allocations: 5.808 MB / 0.7085 GB, free: 6.559 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01798/0.3836, allocations: 10.46 MB / 0.7187 GB, free: 344 kB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01035/0.394, allocations: 6.774 MB / 0.7253 GB, free: 13.05 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.003132/0.3971, allocations: 1.357 MB / 0.7267 GB, free: 13.05 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007607/0.4047, allocations: 3.233 MB / 0.7298 GB, free: 12.18 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.004357/0.4091, allocations: 4.253 MB / 0.734 GB, free: 9.148 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.006386/0.4154, allocations: 4.224 MB / 0.7381 GB, free: 6.816 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.01897/0.4344, allocations: 20.83 MB / 0.7584 GB, free: 2.879 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.4344, allocations: 0 / 0.7584 GB, free: 2.879 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.233e-06/0.4344, allocations: 0 / 0.7584 GB, free: 2.879 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0004136/0.4348, allocations: 4 kB / 0.7584 GB, free: 2.875 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.02564/0.4605, allocations: 14.54 MB / 0.7726 GB, free: 4.344 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.4605, allocations: 8.031 kB / 0.7727 GB, free: 4.336 MB / 0.5887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001886/0.4624, allocations: 1.161 MB / 0.7738 GB, free: 3.18 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003344/0.4657, allocations: 1.539 MB / 0.7753 GB, free: 1.633 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01439/0.4801, allocations: 9.188 MB / 0.7843 GB, free: 8.785 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003921/0.4805, allocations: 498 kB / 0.7847 GB, free: 8.312 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001667/0.4822, allocations: 0.601 MB / 0.7853 GB, free: 7.727 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02936/0.5116, allocations: 20.18 MB / 0.805 GB, free: 1.348 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001575/0.5117, allocations: 83.66 kB / 0.8051 GB, free: 1.316 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001152/0.5129, allocations: 318.3 kB / 0.8054 GB, free: 1.02 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006187/0.5135, allocations: 0.7819 MB / 0.8062 GB, free: 244 kB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02843/0.5419, allocations: 14.33 MB / 0.8202 GB, free: 2.34 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.07409/0.616, allocations: 72.63 MB / 0.8911 GB, free: 8.098 MB / 0.7137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01906/0.6351, allocations: 11.73 MB / 0.9026 GB, free: 12.09 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006416/0.6415, allocations: 4.316 MB / 0.9068 GB, free: 7.641 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008813/0.6424, allocations: 355.2 kB / 0.9071 GB, free: 7.293 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0166/0.659, allocations: 9.614 MB / 0.9165 GB, free: 13.38 MB / 0.7449 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003159/0.6621, allocations: 1.07 MB / 0.9175 GB, free: 12.3 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=1268): time 1.421e-05/0.6621, allocations: 3.938 kB / 0.9175 GB, free: 12.29 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1269): time 0.3138/0.976, allocations: 93.14 MB / 1.009 GB, free: 209.5 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003545/0.9763, allocations: 2.113 MB / 1.011 GB, free: 207 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01227/0.9886, allocations: 8.401 MB / 1.019 GB, free: 204 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.00218/0.9908, allocations: 128.1 kB / 1.019 GB, free: 203.9 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.003481/0.9942, allocations: 4.532 MB / 1.023 GB, free: 200.7 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.004289/0.9985, allocations: 4.301 MB / 1.028 GB, free: 197.8 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004228/1.003, allocations: 2.76 MB / 1.03 GB, free: 196.8 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 3.332e-05/1.003, allocations: 303.4 kB / 1.031 GB, free: 196.5 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007361/1.01, allocations: 6.042 MB / 1.036 GB, free: 193.9 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009385/1.02, allocations: 11.21 MB / 1.047 GB, free: 184.9 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1893/1.209, allocations: 61.53 MB / 1.107 GB, free: 126.3 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.183e-05/1.209, allocations: 36 kB / 1.107 GB, free: 126.3 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1845) (initialization): time 0.03572/1.245, allocations: 19.64 MB / 1.127 GB, free: 106.6 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 6.268e-05/1.245, allocations: 60 kB / 1.127 GB, free: 106.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02274/1.267, allocations: 14.21 MB / 1.141 GB, free: 92.19 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02918/1.297, allocations: 6.042 MB / 1.146 GB, free: 86.14 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008971/1.306, allocations: 3.611 MB / 1.15 GB, free: 82.53 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01034/1.316, allocations: 17.99 MB / 1.168 GB, free: 63.61 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007157/1.323, allocations: 0.5894 MB / 1.168 GB, free: 63.03 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001677/1.325, allocations: 0.8783 MB / 1.169 GB, free: 62.15 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.01235/1.337, allocations: 8.467 MB / 1.177 GB, free: 53.68 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01283/1.35, allocations: 11.14 MB / 1.188 GB, free: 40.4 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.4407/1.791, allocations: 61.02 MB / 1.248 GB, free: 230.1 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001004/1.791, allocations: 37.56 kB / 1.248 GB, free: 230.1 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1845) (initialization_lambda0): time 0.03609/1.827, allocations: 19 MB / 1.266 GB, free: 222.7 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 6.979e-05/1.827, allocations: 62.91 kB / 1.266 GB, free: 222.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03887/1.866, allocations: 14.17 MB / 1.28 GB, free: 216.5 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02633/1.892, allocations: 5.058 MB / 1.285 GB, free: 213.2 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008775/1.901, allocations: 3.615 MB / 1.289 GB, free: 209.6 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009397/1.91, allocations: 16.05 MB / 1.304 GB, free: 192.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008231/1.918, allocations: 0.5747 MB / 1.305 GB, free: 192.2 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002461/1.921, allocations: 0.8783 MB / 1.306 GB, free: 191.3 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.003068/1.924, allocations: 1.024 MB / 1.307 GB, free: 190.4 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002609/1.927, allocations: 1.084 MB / 1.308 GB, free: 189.9 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.019/1.946, allocations: 16.46 MB / 1.324 GB, free: 174.2 MB / 0.7605 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.690594627521932]