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.01424/0.01424, allocations: 1.757 MB / 20.59 MB, free: 1.277 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.001268/0.001268, allocations: 105.5 kB / 24.19 MB, free: 2.656 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.001541/0.001541, allocations: 209.2 kB / 27.92 MB, free: 4 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.478/1.478, allocations: 230.6 MB / 262.1 MB, free: 6.211 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.106/1.106, allocations: 130.7 MB / 449.7 MB, free: 6.574 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.03333/0.03333, allocations: 20.78 MB / 0.6357 GB, free: 5.25 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.2259, allocations: 81.91 MB / 0.7157 GB, free: 3.242 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.6145/0.8404, allocations: 71.27 MB / 0.7853 GB, free: 2.047 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.07365/0.9141, allocations: 33.19 MB / 0.8177 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01592/0.93, allocations: 218.6 kB / 0.818 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01653/0.9465, allocations: 4.255 MB / 0.8221 GB, free: 5.738 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.02889/0.9754, allocations: 6.506 MB / 0.8285 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.02256/0.998, allocations: 7.239 MB / 0.8355 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.03848/1.036, allocations: 18.98 MB / 0.8541 GB, free: 5.578 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0133/1.05, allocations: 5.461 MB / 0.8594 GB, free: 24 kB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02044/1.07, allocations: 7.62 MB / 0.8668 GB, free: 8.379 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01833/1.089, allocations: 7.975 MB / 0.8746 GB, free: 388 kB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.007039/1.096, allocations: 1.359 MB / 0.876 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01522/1.111, allocations: 4.082 MB / 0.8799 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00944/1.12, allocations: 4.139 MB / 0.884 GB, free: 6.797 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.01885/1.139, allocations: 6.71 MB / 0.8905 GB, free: 56 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0447/1.184, allocations: 20.88 MB / 0.9109 GB, free: 11.11 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 1.587e-05/1.184, allocations: 8 kB / 0.9109 GB, free: 11.1 MB / 0.6857 GB Notification: Performance of FrontEnd: time 2.074e-06/1.184, allocations: 2.656 kB / 0.9109 GB, free: 11.1 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 0.0007492/1.185, allocations: 0 / 0.9109 GB, free: 11.1 MB / 0.6857 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.0474/1.232, allocations: 14.67 MB / 0.9253 GB, free: 12.34 MB / 0.7013 GB Notification: Performance of prepare preOptimizeDAE: time 6.701e-05/1.232, allocations: 15.97 kB / 0.9253 GB, free: 12.32 MB / 0.7013 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004989/1.237, allocations: 1.159 MB / 0.9264 GB, free: 11.15 MB / 0.7013 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008069/1.245, allocations: 1.545 MB / 0.9279 GB, free: 9.602 MB / 0.7013 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02563/1.271, allocations: 9.158 MB / 0.9369 GB, free: 384 kB / 0.7013 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007953/1.271, allocations: 499.1 kB / 0.9373 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003356/1.275, allocations: 0.6014 MB / 0.9379 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04868/1.324, allocations: 18.16 MB / 0.9557 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002265/1.324, allocations: 87.19 kB / 0.9557 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001508/1.325, allocations: 315.9 kB / 0.956 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009765/1.326, allocations: 0.7827 MB / 0.9568 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04322/1.369, allocations: 14.38 MB / 0.9708 GB, free: 11.77 MB / 0.7482 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.1152/1.485, allocations: 76.4 MB / 1.045 GB, free: 13.27 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03189/1.517, allocations: 11.77 MB / 1.057 GB, free: 1.324 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3387/1.855, allocations: 4.325 MB / 1.061 GB, free: 342.5 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001731/1.857, allocations: 408.4 kB / 1.062 GB, free: 342.4 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02894/1.886, allocations: 9.593 MB / 1.071 GB, free: 339.9 MB / 0.8263 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004921/1.891, allocations: 1.057 MB / 1.072 GB, free: 339.7 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=1268): time 2.749e-05/1.891, allocations: 0 / 1.072 GB, free: 339.7 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1269): time 0.1461/2.037, allocations: 93.13 MB / 1.163 GB, free: 262.7 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004529/2.037, allocations: 2.111 MB / 1.165 GB, free: 260.1 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01211/2.049, allocations: 8.208 MB / 1.173 GB, free: 252 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 0.002561/2.052, allocations: 121.7 kB / 1.173 GB, free: 251.9 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.003655/2.056, allocations: 4.556 MB / 1.178 GB, free: 247.8 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.007889/2.064, allocations: 4.356 MB / 1.182 GB, free: 244 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006205/2.07, allocations: 2.796 MB / 1.185 GB, free: 241.2 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 6.639e-05/2.07, allocations: 307.8 kB / 1.185 GB, free: 240.9 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009988/2.08, allocations: 6.031 MB / 1.191 GB, free: 234.9 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01365/2.093, allocations: 10.33 MB / 1.201 GB, free: 222.8 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3483/2.442, allocations: 61.49 MB / 1.261 GB, free: 160.3 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001457/2.442, allocations: 40 kB / 1.261 GB, free: 160.2 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1845) (initialization): time 0.04849/2.49, allocations: 19.62 MB / 1.28 GB, free: 140.5 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 8.496e-05/2.49, allocations: 60.62 kB / 1.28 GB, free: 140.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03332/2.524, allocations: 14.2 MB / 1.294 GB, free: 126.2 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05897/2.583, allocations: 6.033 MB / 1.3 GB, free: 120.1 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01351/2.596, allocations: 3.614 MB / 1.303 GB, free: 116.5 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01629/2.613, allocations: 18.09 MB / 1.321 GB, free: 97.53 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01055/2.623, allocations: 0.5889 MB / 1.322 GB, free: 96.95 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002981/2.626, allocations: 0.8861 MB / 1.323 GB, free: 96.07 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.0175/2.644, allocations: 8.463 MB / 1.331 GB, free: 87.61 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01403/2.658, allocations: 10.26 MB / 1.341 GB, free: 75.43 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.7342/3.392, allocations: 61 MB / 1.4 GB, free: 314.1 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001707/3.392, allocations: 36.25 kB / 1.4 GB, free: 314.1 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1845) (initialization_lambda0): time 0.05859/3.451, allocations: 18.99 MB / 1.419 GB, free: 307.6 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 8.747e-05/3.451, allocations: 62.22 kB / 1.419 GB, free: 307.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0347/3.485, allocations: 14.16 MB / 1.433 GB, free: 302.3 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05278/3.538, allocations: 5.069 MB / 1.438 GB, free: 301.9 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01572/3.554, allocations: 3.615 MB / 1.441 GB, free: 301.6 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01542/3.569, allocations: 16.12 MB / 1.457 GB, free: 286.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01187/3.581, allocations: 0.5815 MB / 1.458 GB, free: 285.8 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003316/3.584, allocations: 0.875 MB / 1.458 GB, free: 284.9 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.005213/3.59, allocations: 1.039 MB / 1.459 GB, free: 283.9 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004127/3.594, allocations: 1.076 MB / 1.461 GB, free: 283.5 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.0298/3.624, allocations: 16.41 MB / 1.477 GB, free: 267.9 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 796] [Calling sys.exit(0), Time elapsed: 7.682675187999848] Failed to read output from testmodel.py, exit status != 0: 3.8106124580008327 3.820631498 2.633946289 Calling exit ...