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.01036/0.01036, allocations: 1.756 MB / 21.38 MB, free: 0.582 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.001601/0.001601, allocations: 105.3 kB / 24.98 MB, free: 2.184 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.002264/0.002264, allocations: 206 kB / 28.71 MB, free: 3.461 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.458/1.458, allocations: 230.6 MB / 262.9 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.063/1.063, allocations: 130.7 MB / 450.4 MB, free: 6.586 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.03262/0.03262, allocations: 20.6 MB / 0.6363 GB, free: 5.344 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.2246, allocations: 81.91 MB / 0.7163 GB, free: 3.336 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.5711/0.7957, allocations: 71.26 MB / 0.7859 GB, free: 2.137 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.06566/0.8614, allocations: 33.19 MB / 0.8183 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01353/0.8749, allocations: 218.2 kB / 0.8185 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01212/0.887, allocations: 4.254 MB / 0.8227 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.02236/0.9094, allocations: 6.517 MB / 0.8291 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01894/0.9283, allocations: 7.238 MB / 0.8361 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.03118/0.9595, allocations: 18.98 MB / 0.8547 GB, free: 5.734 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0107/0.9702, allocations: 5.448 MB / 0.86 GB, free: 200 kB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01971/0.9899, allocations: 7.623 MB / 0.8674 GB, free: 8.547 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01768/1.008, allocations: 7.97 MB / 0.8752 GB, free: 0.5508 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.005839/1.013, allocations: 1.359 MB / 0.8765 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01233/1.026, allocations: 4.079 MB / 0.8805 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.007692/1.033, allocations: 4.143 MB / 0.8846 GB, free: 6.965 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.01436/1.048, allocations: 6.71 MB / 0.8911 GB, free: 228 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.03892/1.087, allocations: 20.89 MB / 0.9115 GB, free: 11.27 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 8.816e-06/1.087, allocations: 3.984 kB / 0.9115 GB, free: 11.26 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.903e-06/1.087, allocations: 0 / 0.9115 GB, free: 11.26 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 0.0007508/1.087, allocations: 0 / 0.9115 GB, free: 11.26 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.04206/1.13, allocations: 14.67 MB / 0.9259 GB, free: 12.5 MB / 0.7013 GB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/1.13, allocations: 14.72 kB / 0.9259 GB, free: 12.48 MB / 0.7013 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000254/1.13, allocations: 196.6 kB / 0.9261 GB, free: 12.29 MB / 0.7013 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004379/1.134, allocations: 1.164 MB / 0.9272 GB, free: 11.11 MB / 0.7013 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007678/1.142, allocations: 1.543 MB / 0.9287 GB, free: 9.57 MB / 0.7013 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02695/1.169, allocations: 9.147 MB / 0.9376 GB, free: 364 kB / 0.7013 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009015/1.17, allocations: 0.4913 MB / 0.9381 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003235/1.173, allocations: 0.6092 MB / 0.9387 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0525/1.226, allocations: 18.16 MB / 0.9564 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004772/1.226, allocations: 83.25 kB / 0.9565 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004626/1.231, allocations: 319.9 kB / 0.9568 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001619/1.232, allocations: 0.7892 MB / 0.9576 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04725/1.279, allocations: 14.37 MB / 0.9716 GB, free: 11.75 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.1203/1.4, allocations: 76.41 MB / 1.046 GB, free: 13.23 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03451/1.434, allocations: 11.77 MB / 1.058 GB, free: 1.281 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3587/1.793, allocations: 4.319 MB / 1.062 GB, free: 342.4 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001709/1.795, allocations: 407.6 kB / 1.062 GB, free: 342.4 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02875/1.823, allocations: 9.596 MB / 1.072 GB, free: 339.9 MB / 0.8263 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004783/1.828, allocations: 1.047 MB / 1.073 GB, free: 339.7 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=1268): time 2.821e-05/1.828, allocations: 0 / 1.073 GB, free: 339.7 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1269): time 0.1501/1.978, allocations: 93.15 MB / 1.164 GB, free: 262.7 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003881/1.979, allocations: 2.113 MB / 1.166 GB, free: 260.1 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01448/1.993, allocations: 8.193 MB / 1.174 GB, free: 252.1 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 0.002588/1.996, allocations: 129.7 kB / 1.174 GB, free: 251.9 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.004271/2, allocations: 4.561 MB / 1.178 GB, free: 247.8 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.004936/2.005, allocations: 4.352 MB / 1.183 GB, free: 244.1 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009278/2.014, allocations: 2.795 MB / 1.185 GB, free: 241.3 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 4.789e-05/2.014, allocations: 305.1 kB / 1.186 GB, free: 241 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01109/2.025, allocations: 6.031 MB / 1.192 GB, free: 234.9 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01426/2.04, allocations: 10.33 MB / 1.202 GB, free: 222.9 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3649/2.405, allocations: 61.48 MB / 1.262 GB, free: 160.3 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00011/2.405, allocations: 40 kB / 1.262 GB, free: 160.2 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1845) (initialization): time 0.05088/2.456, allocations: 19.63 MB / 1.281 GB, free: 140.5 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 9.167e-05/2.456, allocations: 63.98 kB / 1.281 GB, free: 140.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03295/2.489, allocations: 14.2 MB / 1.295 GB, free: 126.2 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05839/2.547, allocations: 6.038 MB / 1.301 GB, free: 120.1 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01471/2.562, allocations: 3.607 MB / 1.304 GB, free: 116.5 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01736/2.579, allocations: 18.09 MB / 1.322 GB, free: 97.52 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01184/2.591, allocations: 0.5932 MB / 1.322 GB, free: 96.94 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003296/2.594, allocations: 0.8744 MB / 1.323 GB, free: 96.06 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.01895/2.613, allocations: 8.462 MB / 1.332 GB, free: 87.6 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01486/2.628, allocations: 10.26 MB / 1.342 GB, free: 75.42 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.6878/3.316, allocations: 61 MB / 1.401 GB, free: 314.1 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001604/3.316, allocations: 37.62 kB / 1.401 GB, free: 314.1 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1845) (initialization_lambda0): time 0.05011/3.366, allocations: 19 MB / 1.42 GB, free: 307.5 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 7.878e-05/3.366, allocations: 62.09 kB / 1.42 GB, free: 307.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03571/3.402, allocations: 14.17 MB / 1.434 GB, free: 302.2 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05294/3.455, allocations: 5.063 MB / 1.439 GB, free: 301.8 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01304/3.468, allocations: 3.62 MB / 1.442 GB, free: 301.5 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01501/3.483, allocations: 16.13 MB / 1.458 GB, free: 286.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01088/3.494, allocations: 0.578 MB / 1.458 GB, free: 285.8 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003237/3.497, allocations: 0.8744 MB / 1.459 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.005912/3.503, allocations: 1.03 MB / 1.46 GB, free: 284 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005047/3.508, allocations: 1.08 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.02997/3.538, allocations: 16.4 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.385002602939494] Failed to read output from testmodel.py, exit status != 0: 3.7064585380721837 3.71829963 2.627386457 Calling exit ...