Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple_shutoff.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.01332/0.01332, allocations: 1.348 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.001789/0.001789, allocations: 79.19 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.002528/0.002528, allocations: 151.7 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.488/1.488, allocations: 177.1 MB / 208.4 MB, free: 7.676 MB / 190.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.079/1.079, allocations: 102.5 MB / 367.8 MB, free: 4.582 MB / 334.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: translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple_shutoff,tolerance=1e-05,outputFormat="mat",numberOfIntervals=50011,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.level_abs_|hex.shell.p_liq|hex.shell.volume_vap|hex.tubes.h|hex.tubes.p|hex.wall.U.1.|hex.wall.U.2.|hex.wall.U.3.",fileNamePrefix="ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple_shutoff") translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple_shutoff,tolerance=1e-05,outputFormat="mat",numberOfIntervals=50011,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.level_abs_|hex.shell.p_liq|hex.shell.volume_vap|hex.tubes.h|hex.tubes.p|hex.wall.U.1.|hex.wall.U.2.|hex.wall.U.3.",fileNamePrefix="ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple_shutoff") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.715e-06/2.715e-06, allocations: 0 / 0.5365 GB, free: 7.117 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.916e-05/4.188e-05, allocations: 6.281 kB / 0.5365 GB, free: 7.109 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_CH_simple_shutoff): time 0.1847/0.1848, allocations: 70.25 MB / 0.6051 GB, free: 3.293 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.0449/0.2297, allocations: 25.52 MB / 0.63 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006118/0.2358, allocations: 142.9 kB / 0.6301 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.008916/0.2447, allocations: 2.954 MB / 0.633 GB, free: 6.586 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01565/0.2604, allocations: 4.97 MB / 0.6379 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.01389/0.2742, allocations: 4.954 MB / 0.6427 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.02388/0.2981, allocations: 13.41 MB / 0.6558 GB, free: 15.16 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008515/0.3066, allocations: 4.058 MB / 0.6598 GB, free: 11.04 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02102/0.3277, allocations: 7.137 MB / 0.6668 GB, free: 3.883 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01116/0.3388, allocations: 4.663 MB / 0.6713 GB, free: 15.21 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.003892/0.3427, allocations: 0.8828 MB / 0.6722 GB, free: 14.32 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01168/0.3544, allocations: 3.138 MB / 0.6752 GB, free: 11.18 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.005505/0.3599, allocations: 2.772 MB / 0.6779 GB, free: 8.398 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.009452/0.3694, allocations: 2.825 MB / 0.6807 GB, free: 5.566 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.4452/0.8146, allocations: 14.42 MB / 0.6948 GB, free: 50.08 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.8146, allocations: 2.016 kB / 0.6948 GB, free: 50.08 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.412e-06/0.8146, allocations: 4.875 kB / 0.6948 GB, free: 50.08 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0005917/0.8152, allocations: 0 / 0.6948 GB, free: 50.08 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: 1569 * Number of variables: 1569 Notification: Performance of Generate backend data structure: time 0.03944/0.8546, allocations: 9.978 MB / 0.7045 GB, free: 46.34 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.8547, allocations: 9.625 kB / 0.7045 GB, free: 46.34 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006256/0.8609, allocations: 1.051 MB / 0.7056 GB, free: 45.85 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01815/0.8791, allocations: 6.468 MB / 0.7119 GB, free: 44.62 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005858/0.8797, allocations: 437.7 kB / 0.7123 GB, free: 44.48 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002448/0.8821, allocations: 420.8 kB / 0.7127 GB, free: 44.48 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02864/0.9107, allocations: 12.57 MB / 0.725 GB, free: 39.41 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001138/0.9109, allocations: 42.75 kB / 0.725 GB, free: 39.41 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008304/0.9117, allocations: 219.5 kB / 0.7252 GB, free: 39.41 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003222/0.912, allocations: 347.3 kB / 0.7256 GB, free: 39.4 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02499/0.937, allocations: 8.911 MB / 0.7343 GB, free: 37.54 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.0627/0.9997, allocations: 39.45 MB / 0.7728 GB, free: 3.832 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02182/1.022, allocations: 7.336 MB / 0.78 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008193/1.03, allocations: 2.848 MB / 0.7827 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002111/1.032, allocations: 390.2 kB / 0.7831 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02147/1.053, allocations: 5.931 MB / 0.7889 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=794): time 2.139e-05/1.053, allocations: 3.188 kB / 0.7889 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of matching and sorting (n=797): time 0.1283/1.182, allocations: 48.31 MB / 0.8361 GB, free: 3.688 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001219/1.183, allocations: 1.634 MB / 0.8377 GB, free: 1.684 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0128/1.196, allocations: 5.588 MB / 0.8431 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.002378/1.198, allocations: 97.7 kB / 0.8432 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.003478/1.202, allocations: 2.848 MB / 0.846 GB, free: 9.133 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.005286/1.207, allocations: 2.694 MB / 0.8486 GB, free: 6.477 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004758/1.212, allocations: 1.667 MB / 0.8503 GB, free: 4.801 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001634/1.212, allocations: 305.1 kB / 0.8506 GB, free: 4.5 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008789/1.221, allocations: 3.735 MB / 0.8542 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01355/1.234, allocations: 6.847 MB / 0.8609 GB, free: 8.762 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3842/1.618, allocations: 50.64 MB / 0.9103 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.928e-05/1.618, allocations: 20 kB / 0.9104 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.03785/1.656, allocations: 11.29 MB / 0.9214 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.157e-05/1.656, allocations: 32 kB / 0.9214 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02749/1.684, allocations: 8.878 MB / 0.9301 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04642/1.73, allocations: 3.932 MB / 0.9339 GB, free: 14.41 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01058/1.741, allocations: 2.174 MB / 0.9361 GB, free: 12.36 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01399/1.755, allocations: 12.09 MB / 0.9479 GB, free: 15.68 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009353/1.764, allocations: 407.3 kB / 0.9482 GB, free: 15.28 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002691/1.767, allocations: 0.5035 MB / 0.9487 GB, free: 14.77 MB / 0.7638 GB Warning: Assuming fixed start value for the following 6 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 PI.switch_OnOff.u2:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0155/1.782, allocations: 5.236 MB / 0.9539 GB, free: 9.539 MB / 0.7638 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01257/1.795, allocations: 6.777 MB / 0.9605 GB, free: 1.609 MB / 0.7638 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.7218/2.517, allocations: 48.39 MB / 1.008 GB, free: 261 MB / 0.7638 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.374e-05/2.517, allocations: 16 kB / 1.008 GB, free: 261 MB / 0.7638 GB Notification: Performance of matching and sorting (n=1091) (initialization_lambda0): time 0.02284/2.54, allocations: 10.96 MB / 1.018 GB, free: 250.3 MB / 0.7638 GB Notification: Performance of prepare postOptimizeDAE: time 4.163e-05/2.54, allocations: 35.83 kB / 1.018 GB, free: 250.3 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0146/2.554, allocations: 8.492 MB / 1.027 GB, free: 241.7 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001978/2.556, allocations: 0.7139 MB / 1.027 GB, free: 241 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00831/2.565, allocations: 2.176 MB / 1.03 GB, free: 238.8 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009404/2.574, allocations: 12.95 MB / 1.042 GB, free: 225.2 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008771/2.583, allocations: 414.9 kB / 1.043 GB, free: 224.8 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003468/2.586, allocations: 0.4958 MB / 1.043 GB, free: 224.3 MB / 0.7638 GB Warning: Assuming fixed start value for the following 6 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 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: 280 * Number of states: 0 () * Number of discrete variables: 8 ($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,valve_shell1.pressureLoss.normIsValid) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1063): * Single equations (assignments): 1053 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 6 * 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): 4 systems {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 {(1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(4,5), (1,1), (1,6), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.005192/2.591, allocations: 0.6756 MB / 1.044 GB, free: 223.7 MB / 0.7638 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004154/2.596, allocations: 0.7105 MB / 1.044 GB, free: 223.4 MB / 0.7638 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 1214 equation(s) and 1163 variable(s). Error: ($cse465, $cse466, $cse467, $cse468, $cse469, $cse470, $cse471, $cse472, $cse473, $cse474, $cse475, $cse476) = TILMedia.Internals.VLEFluid.AdditionalObjectFunctions.ObjectFunctions.VLEProperties_phxi(hex.shell.fluidIn[1].p, -1.0, {}, massFlowSource_h.fluidOut.vleFluidPointer) has size 12 but 5 variables (hex.shell.h_vap, hex.shell.drho_vapdt, hex.shell.p_vap, hex.shell.vap.drhodh_pxi, hex.shell.vap.drhodp_hxi) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0232/2.619, allocations: 9.816 MB / 1.054 GB, free: 214.1 MB / 0.7638 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.6038830652832985] Failed to read output from testmodel.py, exit status != 0: 2.8138529658317566 2.824420494 2.007073914 Calling exit ...