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.005908/0.005908, allocations: 1.442 MB / 20.54 MB, free: 4.012 MB / 18.57 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.0006903/0.0006903, allocations: 87.47 kB / 24.15 MB, free: 400 kB / 18.57 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.0008294/0.0008294, allocations: 165 kB / 27.86 MB, free: 5.496 MB / 18.57 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.855/0.855, allocations: 177.2 MB / 208.6 MB, free: 2.98 MB / 186.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.7113/0.7113, allocations: 102.5 MB / 367.9 MB, free: 1.453 MB / 330.8 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.5.2 (/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: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 0.5362 GB, free: 40.05 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.282e-05/2.461e-05, allocations: 3.25 kB / 0.5362 GB, free: 40.05 MB / 490.8 MB 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.1449/0.1449, allocations: 79.53 MB / 0.6139 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0497/0.1946, allocations: 31.69 MB / 0.6448 GB, free: 13.14 MB / 0.5418 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01115/0.2057, allocations: 214.4 kB / 0.645 GB, free: 12.93 MB / 0.5418 GB Notification: Performance of NFTyping.typeComponents: time 0.01178/0.2175, allocations: 4.095 MB / 0.649 GB, free: 8.809 MB / 0.5418 GB Notification: Performance of NFTyping.typeBindings: time 0.01948/0.237, allocations: 6.699 MB / 0.6556 GB, free: 2.07 MB / 0.5418 GB Notification: Performance of NFTyping.typeClassSections: time 0.01746/0.2545, allocations: 7.311 MB / 0.6627 GB, free: 10.75 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.02657/0.281, allocations: 19.42 MB / 0.6817 GB, free: 7.262 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009951/0.291, allocations: 5.81 MB / 0.6873 GB, free: 1.359 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02248/0.3135, allocations: 10.46 MB / 0.6975 GB, free: 6.875 MB / 0.5887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01188/0.3253, allocations: 6.776 MB / 0.7042 GB, free: 84 kB / 0.5887 GB Notification: Performance of NFPackage.collectConstants: time 0.00477/0.3301, allocations: 1.359 MB / 0.7055 GB, free: 14.72 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01069/0.3408, allocations: 3.241 MB / 0.7087 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 0.006832/0.3476, allocations: 4.245 MB / 0.7128 GB, free: 7.219 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 0.0107/0.3583, allocations: 4.232 MB / 0.7169 GB, free: 2.977 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.03094/0.3893, allocations: 20.82 MB / 0.7373 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.015e-05/0.3893, allocations: 4 kB / 0.7373 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3893, allocations: 0 / 0.7373 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0007539/0.39, allocations: 0 / 0.7373 GB, free: 14.09 MB / 0.6355 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.03382/0.4238, allocations: 14.54 MB / 0.7515 GB, free: 15.41 MB / 0.6512 GB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.4239, allocations: 12.03 kB / 0.7515 GB, free: 15.4 MB / 0.6512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003677/0.4276, allocations: 1.168 MB / 0.7526 GB, free: 14.22 MB / 0.6512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005178/0.4328, allocations: 1.538 MB / 0.7541 GB, free: 12.68 MB / 0.6512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01833/0.4511, allocations: 9.182 MB / 0.7631 GB, free: 3.391 MB / 0.6512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004663/0.4516, allocations: 488.4 kB / 0.7636 GB, free: 2.91 MB / 0.6512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002479/0.454, allocations: 0.6092 MB / 0.7642 GB, free: 2.301 MB / 0.6512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3008/0.7548, allocations: 20.17 MB / 0.7839 GB, free: 159.9 MB / 0.6512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003619/0.7552, allocations: 84.84 kB / 0.7839 GB, free: 159.9 MB / 0.6512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001531/0.7567, allocations: 323.2 kB / 0.7842 GB, free: 159.7 MB / 0.6512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008567/0.7576, allocations: 0.7835 MB / 0.785 GB, free: 159.5 MB / 0.6512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02818/0.7858, allocations: 14.33 MB / 0.799 GB, free: 152.2 MB / 0.6512 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.07179/0.8576, allocations: 72.6 MB / 0.8699 GB, free: 87.09 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01876/0.8763, allocations: 11.74 MB / 0.8814 GB, free: 75.16 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007068/0.8834, allocations: 4.322 MB / 0.8856 GB, free: 70.72 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001113/0.8845, allocations: 353.9 kB / 0.8859 GB, free: 70.38 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01645/0.9009, allocations: 9.593 MB / 0.8953 GB, free: 60.48 MB / 0.6512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003796/0.9047, allocations: 1.057 MB / 0.8963 GB, free: 59.69 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=1268): time 2.608e-05/0.9048, allocations: 0 / 0.8963 GB, free: 59.69 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1269): time 0.1045/1.009, allocations: 93.14 MB / 0.9873 GB, free: 14.02 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000871/1.01, allocations: 2.113 MB / 0.9893 GB, free: 11.41 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01081/1.021, allocations: 8.409 MB / 0.9976 GB, free: 3.215 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.002242/1.023, allocations: 125.7 kB / 0.9977 GB, free: 3.086 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.004187/1.027, allocations: 4.525 MB / 1.002 GB, free: 14.99 MB / 0.7137 GB Notification: Performance of collectInitialBindings (initialization): time 0.005604/1.033, allocations: 4.298 MB / 1.006 GB, free: 10.96 MB / 0.7137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006583/1.04, allocations: 2.766 MB / 1.009 GB, free: 8.18 MB / 0.7137 GB Notification: Performance of setup shared object (initialization): time 8.278e-05/1.04, allocations: 304.9 kB / 1.009 GB, free: 7.883 MB / 0.7137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008668/1.048, allocations: 6.039 MB / 1.015 GB, free: 1.832 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01361/1.062, allocations: 11.21 MB / 1.026 GB, free: 4.496 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4907/1.553, allocations: 61.52 MB / 1.086 GB, free: 235.1 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001338/1.553, allocations: 35.09 kB / 1.086 GB, free: 235.1 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1845) (initialization): time 0.03594/1.589, allocations: 19.63 MB / 1.105 GB, free: 221 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 9.237e-05/1.589, allocations: 60 kB / 1.105 GB, free: 221 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02281/1.612, allocations: 14.21 MB / 1.119 GB, free: 206.7 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02766/1.639, allocations: 6.027 MB / 1.125 GB, free: 200.6 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008959/1.648, allocations: 3.611 MB / 1.129 GB, free: 197 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01092/1.659, allocations: 17.98 MB / 1.146 GB, free: 178.2 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007964/1.667, allocations: 0.597 MB / 1.147 GB, free: 177.6 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00247/1.67, allocations: 0.8783 MB / 1.148 GB, free: 176.8 MB / 0.7449 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.01447/1.684, allocations: 8.469 MB / 1.156 GB, free: 168.3 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01098/1.695, allocations: 11.13 MB / 1.167 GB, free: 155 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1788/1.874, allocations: 61.03 MB / 1.226 GB, free: 92.2 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001112/1.874, allocations: 36.66 kB / 1.227 GB, free: 92.16 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1845) (initialization_lambda0): time 0.03269/1.907, allocations: 19 MB / 1.245 GB, free: 73.65 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 7.415e-05/1.907, allocations: 60 kB / 1.245 GB, free: 73.59 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02336/1.93, allocations: 14.16 MB / 1.259 GB, free: 59.36 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02488/1.955, allocations: 5.072 MB / 1.264 GB, free: 54.3 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008467/1.963, allocations: 3.619 MB / 1.267 GB, free: 50.67 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0093/1.973, allocations: 16.04 MB / 1.283 GB, free: 33.84 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007513/1.98, allocations: 0.5825 MB / 1.284 GB, free: 33.26 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002363/1.983, allocations: 0.8705 MB / 1.285 GB, free: 32.39 MB / 0.7449 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.003657/1.986, allocations: 1.037 MB / 1.286 GB, free: 31.44 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00307/1.989, allocations: 1.079 MB / 1.287 GB, free: 30.54 MB / 0.7449 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.02274/2.012, allocations: 16.45 MB / 1.303 GB, free: 14.49 MB / 0.7449 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.983003997243941] Failed to read output from testmodel.py, exit status != 0: 2.3895999202504754 2.396043905 2.005011095 Calling exit ...