Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_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.01486/0.01486, allocations: 1.761 MB / 20.61 MB, free: 3.863 MB / 13.93 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.09975/0.09975, allocations: 25.61 MB / 49.71 MB, free: 2.918 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.001024/0.001024, allocations: 118.1 kB / 60.65 MB, free: 3.016 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.001264/0.001264, allocations: 217.6 kB / 71.72 MB, free: 6.469 MB / 44.04 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.9864/0.9864, allocations: 230.6 MB / 313.3 MB, free: 11.75 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/package.mo): time 0.762/0.762, allocations: 130.8 MB / 0.4964 GB, free: 2.379 MB / 362.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-main/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_CH_ntu,fileNamePrefix="ClaRa_dev_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_2ph_CH_ntu",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_ntu,fileNamePrefix="ClaRa_dev_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_2ph_CH_ntu",fmuType="me_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: 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: 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: Performance of FrontEnd - loaded program: time 0.002689/0.002689, allocations: 165.5 kB / 0.6902 GB, free: 46.71 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1456, allocations: 89.26 MB / 0.7773 GB, free: 3.059 MB / 0.5418 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_ntu): time 0.022/0.1676, allocations: 30.43 MB / 0.807 GB, free: 4.504 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.037/0.2046, allocations: 30.85 MB / 0.8372 GB, free: 5.57 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005821/0.2104, allocations: 202.6 kB / 0.8374 GB, free: 5.371 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.007602/0.218, allocations: 3.79 MB / 0.8411 GB, free: 1.562 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.01277/0.2308, allocations: 5.971 MB / 0.8469 GB, free: 11.56 MB / 0.6199 GB Notification: Performance of NFTyping.typeClassSections: time 0.01225/0.243, allocations: 6.702 MB / 0.8534 GB, free: 4.867 MB / 0.6199 GB Notification: Performance of NFFlatten.flatten: time 0.01808/0.2611, allocations: 17.47 MB / 0.8705 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00661/0.2677, allocations: 5.096 MB / 0.8755 GB, free: 14.18 MB / 0.6512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009621/0.2773, allocations: 6.997 MB / 0.8823 GB, free: 7.16 MB / 0.6512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008758/0.2861, allocations: 6.961 MB / 0.8891 GB, free: 176 kB / 0.6512 GB Notification: Performance of NFPackage.collectConstants: time 0.003246/0.2894, allocations: 1.262 MB / 0.8903 GB, free: 14.91 MB / 0.6668 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006347/0.2957, allocations: 3.096 MB / 0.8934 GB, free: 11.81 MB / 0.6668 GB Notification: Performance of NFScalarize.scalarize: time 0.003857/0.2996, allocations: 3.828 MB / 0.8971 GB, free: 7.973 MB / 0.6668 GB Notification: Performance of NFVerifyModel.verify: time 0.006314/0.3059, allocations: 4.712 MB / 0.9017 GB, free: 3.238 MB / 0.6668 GB Notification: Performance of NFConvertDAE.convert: time 0.3232/0.6291, allocations: 19.35 MB / 0.9206 GB, free: 45.79 MB / 0.6668 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.6291, allocations: 1 kB / 0.9206 GB, free: 45.79 MB / 0.6668 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6291, allocations: 0 / 0.9206 GB, free: 45.79 MB / 0.6668 GB Notification: Performance of Transformations before backend: time 0.0007045/0.6298, allocations: 5.594 kB / 0.9206 GB, free: 45.79 MB / 0.6668 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2361 * Number of variables: 2361 Notification: Performance of Generate backend data structure: time 0.03978/0.6696, allocations: 13.5 MB / 0.9338 GB, free: 41.01 MB / 0.6668 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.6697, allocations: 9.531 kB / 0.9338 GB, free: 41.01 MB / 0.6668 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004553/0.6742, allocations: 1.072 MB / 0.9348 GB, free: 40.91 MB / 0.6668 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006535/0.6807, allocations: 1.404 MB / 0.9362 GB, free: 40.23 MB / 0.6668 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02006/0.7008, allocations: 8.358 MB / 0.9444 GB, free: 38.66 MB / 0.6668 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005377/0.7013, allocations: 446.5 kB / 0.9448 GB, free: 38.65 MB / 0.6668 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0031/0.7044, allocations: 0.553 MB / 0.9453 GB, free: 38.64 MB / 0.6668 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04119/0.7456, allocations: 18.52 MB / 0.9634 GB, free: 29.73 MB / 0.6668 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003801/0.746, allocations: 72.69 kB / 0.9635 GB, free: 29.73 MB / 0.6668 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003568/0.7496, allocations: 304.4 kB / 0.9638 GB, free: 29.55 MB / 0.6668 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001044/0.7506, allocations: 0.7553 MB / 0.9645 GB, free: 29.32 MB / 0.6668 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03796/0.7886, allocations: 13.2 MB / 0.9774 GB, free: 22.93 MB / 0.6668 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.08/0.8686, allocations: 65.9 MB / 1.042 GB, free: 6.637 MB / 0.7137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02006/0.8886, allocations: 11.18 MB / 1.053 GB, free: 11.3 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006662/0.8953, allocations: 4.157 MB / 1.057 GB, free: 7.043 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001034/0.8963, allocations: 330.4 kB / 1.057 GB, free: 6.723 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01925/0.9156, allocations: 8.91 MB / 1.066 GB, free: 13.63 MB / 0.7449 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005356/0.9209, allocations: 0.9069 MB / 1.067 GB, free: 12.71 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=1180): time 2.485e-05/0.921, allocations: 0 / 1.067 GB, free: 12.71 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1181): time 0.1122/1.033, allocations: 81.53 MB / 1.146 GB, free: 10.63 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006799/1.034, allocations: 1.978 MB / 1.148 GB, free: 8.199 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01135/1.045, allocations: 7.501 MB / 1.156 GB, free: 0.7109 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.002176/1.047, allocations: 121.7 kB / 1.156 GB, free: 0.5859 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00325/1.051, allocations: 4.057 MB / 1.16 GB, free: 12.6 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 0.004914/1.056, allocations: 4.056 MB / 1.164 GB, free: 8.609 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006767/1.062, allocations: 2.532 MB / 1.166 GB, free: 6.066 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 6.559e-05/1.062, allocations: 301.1 kB / 1.166 GB, free: 5.77 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008481/1.071, allocations: 5.626 MB / 1.172 GB, free: 136 kB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01288/1.084, allocations: 10.24 MB / 1.182 GB, free: 4.082 MB / 0.8543 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1784/1.262, allocations: 55.37 MB / 1.236 GB, free: 11.54 MB / 0.9168 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.793e-05/1.262, allocations: 32 kB / 1.236 GB, free: 11.51 MB / 0.9168 GB Notification: Performance of matching and sorting (n=1680) (initialization): time 0.3542/1.616, allocations: 17.19 MB / 1.253 GB, free: 345.4 MB / 0.9168 GB Notification: Performance of prepare postOptimizeDAE: time 7.182e-05/1.616, allocations: 54.33 kB / 1.253 GB, free: 345.4 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02186/1.638, allocations: 13.16 MB / 1.266 GB, free: 341.9 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005494/1.644, allocations: 2.128 MB / 1.268 GB, free: 341.5 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008019/1.652, allocations: 3.246 MB / 1.271 GB, free: 341.4 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008401/1.66, allocations: 12.45 MB / 1.283 GB, free: 331.8 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007565/1.668, allocations: 0.5405 MB / 1.284 GB, free: 331.6 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002118/1.67, allocations: 0.7872 MB / 1.284 GB, free: 331.5 MB / 0.9168 GB Warning: Assuming fixed start value for the following 10 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.tubes.p:VARIABLE(min = 0.0 start = hex.tubes.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" 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_i[1]:VARIABLE(min = 0.0 start = hex.wall.nTU.T_w_i_start[1] unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at inner phase\" type: Real [3] 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.01307/1.683, allocations: 7.89 MB / 1.292 GB, free: 326.2 MB / 0.9168 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01039/1.693, allocations: 10.18 MB / 1.302 GB, free: 314.8 MB / 0.9168 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1677/1.861, allocations: 54.9 MB / 1.356 GB, free: 258.3 MB / 0.9168 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.916e-05/1.861, allocations: 32 kB / 1.356 GB, free: 258.3 MB / 0.9168 GB Notification: Performance of matching and sorting (n=1680) (initialization_lambda0): time 0.02921/1.89, allocations: 16.93 MB / 1.372 GB, free: 241.8 MB / 0.9168 GB Notification: Performance of prepare postOptimizeDAE: time 4.915e-05/1.89, allocations: 54.03 kB / 1.372 GB, free: 241.7 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02116/1.912, allocations: 12.9 MB / 1.385 GB, free: 228.7 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003164/1.915, allocations: 1.576 MB / 1.386 GB, free: 227.1 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007581/1.922, allocations: 3.225 MB / 1.389 GB, free: 223.9 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007561/1.93, allocations: 11.49 MB / 1.401 GB, free: 211.9 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007565/1.937, allocations: 0.541 MB / 1.401 GB, free: 211.3 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002515/1.94, allocations: 0.7807 MB / 1.402 GB, free: 210.6 MB / 0.9168 GB Warning: Assuming fixed start value for the following 10 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.tubes.p:VARIABLE(min = 0.0 start = hex.tubes.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" 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_i[1]:VARIABLE(min = 0.0 start = hex.wall.nTU.T_w_i_start[1] unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at inner phase\" type: Real [3] 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: 508 * 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 (1622): * Single equations (assignments): 1615 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (4,3,87.5%), (2,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,41)} Notification: Performance of prepare postOptimizeDAE: time 0.003949/1.944, allocations: 0.9579 MB / 1.403 GB, free: 209.7 MB / 0.9168 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003251/1.947, allocations: 0.9813 MB / 1.404 GB, free: 209.2 MB / 0.9168 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 1800 equation(s) and 1713 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02242/1.97, allocations: 14.23 MB / 1.418 GB, free: 195.5 MB / 0.9168 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.04771619848907]