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.01428/0.01428, allocations: 1.744 MB / 21.38 MB, free: 464 kB / 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.001514/0.001514, allocations: 106.9 kB / 24.97 MB, free: 2.035 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.002029/0.002029, allocations: 210.3 kB / 28.68 MB, free: 3.324 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.484/1.484, allocations: 230.6 MB / 262.9 MB, free: 5.828 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.064/1.064, allocations: 130.7 MB / 450.4 MB, free: 6.43 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="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="cs",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.08605/0.08605, allocations: 20.6 MB / 0.6362 GB, free: 5.09 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.2813, allocations: 81.91 MB / 0.7162 GB, free: 3.082 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.5456/0.8269, allocations: 65.85 MB / 0.7805 GB, free: 7.453 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.05865/0.8855, allocations: 32 MB / 0.8118 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01811/0.9036, allocations: 221.2 kB / 0.812 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01331/0.9169, allocations: 4.093 MB / 0.816 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0233/0.9402, allocations: 6.523 MB / 0.8224 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.02001/0.9602, allocations: 7.242 MB / 0.8294 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.03502/0.9953, allocations: 18.95 MB / 0.8479 GB, free: 12.05 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01308/1.008, allocations: 5.449 MB / 0.8533 GB, free: 6.508 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01722/1.026, allocations: 7.651 MB / 0.8607 GB, free: 14.83 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01648/1.042, allocations: 7.969 MB / 0.8685 GB, free: 6.836 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.006543/1.049, allocations: 1.355 MB / 0.8698 GB, free: 5.48 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01377/1.062, allocations: 3.254 MB / 0.873 GB, free: 2.23 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.009298/1.072, allocations: 4.139 MB / 0.8771 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.01516/1.087, allocations: 5.135 MB / 0.8821 GB, free: 8.918 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.03959/1.126, allocations: 20.8 MB / 0.9024 GB, free: 4.047 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 9.207e-06/1.126, allocations: 4 kB / 0.9024 GB, free: 4.043 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.944e-06/1.126, allocations: 0 / 0.9024 GB, free: 4.043 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0007644/1.127, allocations: 0 / 0.9024 GB, free: 4.043 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.05244/1.18, allocations: 14.67 MB / 0.9167 GB, free: 5.281 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 6.019e-05/1.18, allocations: 12.03 kB / 0.9167 GB, free: 5.27 MB / 0.6857 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002955/1.18, allocations: 192.6 kB / 0.9169 GB, free: 5.078 MB / 0.6857 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00537/1.185, allocations: 1.163 MB / 0.9181 GB, free: 3.906 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008022/1.193, allocations: 1.544 MB / 0.9196 GB, free: 2.359 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02528/1.219, allocations: 9.177 MB / 0.9285 GB, free: 9.113 MB / 0.7013 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008001/1.219, allocations: 488.4 kB / 0.929 GB, free: 8.633 MB / 0.7013 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003396/1.223, allocations: 0.6054 MB / 0.9296 GB, free: 8.027 MB / 0.7013 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0502/1.273, allocations: 20.18 MB / 0.9493 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002127/1.273, allocations: 87.19 kB / 0.9494 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001625/1.275, allocations: 316 kB / 0.9497 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000984/1.276, allocations: 0.7814 MB / 0.9504 GB, free: 208 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04301/1.319, allocations: 14.37 MB / 0.9645 GB, free: 1.84 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.1141/1.433, allocations: 72.83 MB / 1.036 GB, free: 6.844 MB / 0.8107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03221/1.465, allocations: 11.74 MB / 1.047 GB, free: 10.91 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01063/1.476, allocations: 4.315 MB / 1.051 GB, free: 6.469 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001719/1.478, allocations: 361.8 kB / 1.052 GB, free: 6.117 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3571/1.835, allocations: 9.593 MB / 1.061 GB, free: 344.2 MB / 0.8263 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005349/1.84, allocations: 1.048 MB / 1.062 GB, free: 344.2 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=1268): time 4.007e-05/1.84, allocations: 0 / 1.062 GB, free: 344.2 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1269): time 0.1464/1.986, allocations: 93.14 MB / 1.153 GB, free: 271.9 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003903/1.987, allocations: 2.109 MB / 1.155 GB, free: 269.3 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01214/1.999, allocations: 8.204 MB / 1.163 GB, free: 261.3 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 0.002687/2.002, allocations: 126.4 kB / 1.163 GB, free: 261.1 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.003275/2.005, allocations: 4.558 MB / 1.168 GB, free: 257 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.005199/2.01, allocations: 4.358 MB / 1.172 GB, free: 253.3 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005788/2.016, allocations: 2.785 MB / 1.175 GB, free: 250.5 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 4.981e-05/2.016, allocations: 304.5 kB / 1.175 GB, free: 250.2 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01038/2.026, allocations: 6.041 MB / 1.181 GB, free: 244.1 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01427/2.041, allocations: 11.2 MB / 1.192 GB, free: 230.8 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3602/2.401, allocations: 61.52 MB / 1.252 GB, free: 168.2 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001208/2.401, allocations: 36 kB / 1.252 GB, free: 168.1 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1845) (initialization): time 0.04943/2.45, allocations: 19.63 MB / 1.271 GB, free: 148.4 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 8.957e-05/2.45, allocations: 60 kB / 1.271 GB, free: 148.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03111/2.482, allocations: 14.2 MB / 1.285 GB, free: 134.1 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05965/2.541, allocations: 6.028 MB / 1.291 GB, free: 128 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01324/2.554, allocations: 3.615 MB / 1.294 GB, free: 124.4 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01663/2.571, allocations: 18.02 MB / 1.312 GB, free: 105.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01029/2.581, allocations: 0.5812 MB / 1.313 GB, free: 104.9 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002856/2.584, allocations: 0.8783 MB / 1.313 GB, free: 104 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.01723/2.601, allocations: 8.467 MB / 1.322 GB, free: 95.57 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01422/2.616, allocations: 11.15 MB / 1.333 GB, free: 82.29 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.6779/3.294, allocations: 61.01 MB / 1.392 GB, free: 318.7 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.000154/3.294, allocations: 36.72 kB / 1.392 GB, free: 318.7 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1845) (initialization_lambda0): time 0.04541/3.339, allocations: 19.01 MB / 1.411 GB, free: 314.6 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 7.286e-05/3.339, allocations: 65.38 kB / 1.411 GB, free: 314.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03145/3.371, allocations: 14.16 MB / 1.425 GB, free: 309.3 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05264/3.423, allocations: 5.07 MB / 1.43 GB, free: 308.9 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01315/3.437, allocations: 3.616 MB / 1.433 GB, free: 308.6 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01481/3.451, allocations: 16.05 MB / 1.449 GB, free: 292.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01064/3.462, allocations: 0.5785 MB / 1.449 GB, free: 292.2 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003017/3.465, allocations: 0.8705 MB / 1.45 GB, free: 291.4 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.004904/3.47, allocations: 1.034 MB / 1.451 GB, free: 290.4 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003972/3.474, allocations: 1.08 MB / 1.452 GB, free: 290 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.02888/3.503, allocations: 16.41 MB / 1.468 GB, free: 274.7 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 796] [Calling sys.exit(0), Time elapsed: 7.425130638992414] Failed to read output from testmodel.py, exit status != 0: 3.6697682989761233 3.680813934 2.549665087 Calling exit ...