Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_simple.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.01016/0.01016, allocations: 1.349 MB / 20.45 MB, free: 1.262 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.001422/0.001422, allocations: 79.77 kB / 24.02 MB, free: 2.609 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.001663/0.001663, allocations: 153.1 kB / 27.7 MB, free: 3.863 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.487/1.487, allocations: 177.2 MB / 208.4 MB, free: 7.715 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 1.058/1.058, allocations: 102.5 MB / 367.7 MB, free: 4.625 MB / 334.1 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 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 SMArtInt with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_simple,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="PI.I.y|PI.resetValueI|PI.resetValueID|PI.resetValueP|PI.smoothPIDInput.y_aux|PI.smoothPIDOutput.y_aux|PI.smoothPIDOutput1.y_aux|Time|hex.shell.h_liq|hex.shell.h_vap|hex.shell.p_vap|hex.shell.volume_vap|hex.tubes.h|hex.tubes.p|hex.wall.U.1.|hex.wall.U.2.|hex.wall.U.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_simple") translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_simple,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="PI.I.y|PI.resetValueI|PI.resetValueID|PI.resetValueP|PI.smoothPIDInput.y_aux|PI.smoothPIDOutput.y_aux|PI.smoothPIDOutput1.y_aux|Time|hex.shell.h_liq|hex.shell.h_vap|hex.shell.p_vap|hex.shell.volume_vap|hex.tubes.h|hex.tubes.p|hex.wall.U.1.|hex.wall.U.2.|hex.wall.U.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_simple") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 0.5364 GB, free: 7.113 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.004e-05/3.238e-05, allocations: 8.891 kB / 0.5365 GB, free: 7.105 MB / 446.1 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_simple): time 0.192/0.1921, allocations: 71.85 MB / 0.6066 GB, free: 1.75 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.05431/0.2464, allocations: 24.98 MB / 0.631 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009303/0.2557, allocations: 162.8 kB / 0.6312 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.01018/0.2659, allocations: 3.144 MB / 0.6342 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01791/0.2838, allocations: 5.064 MB / 0.6392 GB, free: 288 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.01394/0.2977, allocations: 4.99 MB / 0.6441 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.02334/0.321, allocations: 14.23 MB / 0.658 GB, free: 13 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01049/0.3315, allocations: 4.423 MB / 0.6623 GB, free: 8.5 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02062/0.3522, allocations: 7.679 MB / 0.6698 GB, free: 0.8047 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01185/0.364, allocations: 5.105 MB / 0.6748 GB, free: 11.69 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.004332/0.3683, allocations: 0.9336 MB / 0.6757 GB, free: 10.75 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01025/0.3786, allocations: 2.827 MB / 0.6784 GB, free: 7.922 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.006041/0.3846, allocations: 3.061 MB / 0.6814 GB, free: 4.852 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.00967/0.3943, allocations: 3.055 MB / 0.6844 GB, free: 1.789 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.4115/0.8058, allocations: 14.84 MB / 0.6989 GB, free: 43.8 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/0.8058, allocations: 0.5312 kB / 0.6989 GB, free: 43.8 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.875e-06/0.8058, allocations: 0 / 0.6989 GB, free: 43.8 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0006941/0.8065, allocations: 0.5312 kB / 0.6989 GB, free: 43.8 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1739 * Number of variables: 1739 Notification: Performance of Generate backend data structure: time 0.04165/0.8482, allocations: 10.86 MB / 0.7095 GB, free: 39.79 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.8482, allocations: 9.438 kB / 0.7095 GB, free: 39.79 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006935/0.8552, allocations: 1.151 MB / 0.7106 GB, free: 39.24 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01876/0.8739, allocations: 6.934 MB / 0.7174 GB, free: 37.92 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000368/0.8743, allocations: 352.7 kB / 0.7177 GB, free: 37.9 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002319/0.8766, allocations: 449.1 kB / 0.7182 GB, free: 37.9 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03068/0.9073, allocations: 14.21 MB / 0.7321 GB, free: 30.93 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001274/0.9074, allocations: 52.69 kB / 0.7321 GB, free: 30.93 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008504/0.9083, allocations: 231.8 kB / 0.7323 GB, free: 30.93 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004422/0.9087, allocations: 424.8 kB / 0.7327 GB, free: 30.88 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02723/0.9359, allocations: 9.886 MB / 0.7424 GB, free: 27.47 MB / 0.5763 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.07232/1.008, allocations: 45.41 MB / 0.7867 GB, free: 3.832 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0267/1.035, allocations: 8.133 MB / 0.7947 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009039/1.044, allocations: 3.06 MB / 0.7977 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001596/1.046, allocations: 270 kB / 0.7979 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02311/1.069, allocations: 6.544 MB / 0.8043 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006289/1.075, allocations: 0.6958 MB / 0.805 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=865): time 3.044e-05/1.075, allocations: 3.312 kB / 0.805 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of matching and sorting (n=866): time 0.1405/1.216, allocations: 56.48 MB / 0.8602 GB, free: 8.098 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001389/1.217, allocations: 1.813 MB / 0.8619 GB, free: 5.871 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01416/1.231, allocations: 6.327 MB / 0.8681 GB, free: 15.56 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 0.002432/1.234, allocations: 101.7 kB / 0.8682 GB, free: 15.46 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 0.00398/1.238, allocations: 3.275 MB / 0.8714 GB, free: 12.19 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 0.006401/1.244, allocations: 2.933 MB / 0.8743 GB, free: 9.297 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006212/1.25, allocations: 1.894 MB / 0.8761 GB, free: 7.391 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 0.0002252/1.25, allocations: 309 kB / 0.8764 GB, free: 7.086 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01116/1.262, allocations: 4.153 MB / 0.8805 GB, free: 2.926 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01476/1.276, allocations: 7.927 MB / 0.8882 GB, free: 9.574 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3645/1.641, allocations: 51.46 MB / 0.9385 GB, free: 6.012 MB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001516/1.641, allocations: 20 kB / 0.9385 GB, free: 5.992 MB / 0.7482 GB Notification: Performance of matching and sorting (n=1248) (initialization): time 0.04236/1.683, allocations: 12.59 MB / 0.9508 GB, free: 9.852 MB / 0.7638 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001844/1.683, allocations: 42.19 kB / 0.9508 GB, free: 9.812 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03104/1.715, allocations: 9.428 MB / 0.96 GB, free: 388 kB / 0.7638 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04984/1.764, allocations: 4.167 MB / 0.9641 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01281/1.777, allocations: 2.539 MB / 0.9666 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4535/2.231, allocations: 12.1 MB / 0.9784 GB, free: 298.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01087/2.242, allocations: 444.5 kB / 0.9788 GB, free: 298.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003536/2.245, allocations: 0.5842 MB / 0.9794 GB, free: 298.7 MB / 0.7794 GB Warning: Assuming fixed start value for the following 4 variables: 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 PI.switch_OnOff.u2:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01626/2.261, allocations: 5.835 MB / 0.9851 GB, free: 297.9 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0129/2.274, allocations: 7.891 MB / 0.9928 GB, free: 291.6 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3297/2.604, allocations: 51.35 MB / 1.043 GB, free: 254.1 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001648/2.604, allocations: 24 kB / 1.043 GB, free: 254.1 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1248) (initialization_lambda0): time 0.03465/2.639, allocations: 12.48 MB / 1.055 GB, free: 242 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001127/2.639, allocations: 40 kB / 1.055 GB, free: 241.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02437/2.663, allocations: 9.32 MB / 1.064 GB, free: 232.6 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04566/2.709, allocations: 4.055 MB / 1.068 GB, free: 228.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01047/2.719, allocations: 2.512 MB / 1.071 GB, free: 226 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01022/2.73, allocations: 11.42 MB / 1.082 GB, free: 214.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01111/2.741, allocations: 447.1 kB / 1.082 GB, free: 213.6 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002688/2.743, allocations: 0.5816 MB / 1.083 GB, free: 213 MB / 0.7794 GB Warning: Assuming fixed start value for the following 4 variables: 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 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: 370 * Number of states: 0 () * Number of discrete variables: 7 ($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,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1214): * Single equations (assignments): 1206 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 3 * 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): 2 systems {(4,3,87.5%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,20)} Notification: Performance of prepare postOptimizeDAE: time 0.005756/2.749, allocations: 0.7535 MB / 1.084 GB, free: 212.3 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004346/2.754, allocations: 0.7885 MB / 1.084 GB, free: 212 MB / 0.7794 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 1325 equation(s) and 1265 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02412/2.778, allocations: 11.16 MB / 1.095 GB, free: 201.4 MB / 0.7794 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.759807113558054] Failed to read output from testmodel.py, exit status != 0: 2.95644399151206 2.96559679 2.157177815 Calling exit ...