Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_BU_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.006132/0.006132, allocations: 1.443 MB / 21.3 MB, free: 3.254 MB / 18.57 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.0007458/0.0007458, allocations: 92.08 kB / 24.91 MB, free: 7.266 MB / 18.57 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.0008083/0.0008083, allocations: 163.5 kB / 28.62 MB, free: 4.445 MB / 18.57 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.9034/0.9034, allocations: 177.1 MB / 209.4 MB, free: 2.98 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7404/0.7404, allocations: 102.5 MB / 368.7 MB, free: 1.484 MB / 330.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/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.5.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_BU_simple,tolerance=1e-05,outputFormat="mat",numberOfIntervals=50010,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_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_BU_simple") translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_BU_simple,tolerance=1e-05,outputFormat="mat",numberOfIntervals=50010,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_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_BU_simple") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.5374 GB, free: 39.84 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.281e-05/2.482e-05, allocations: 2.281 kB / 0.5374 GB, free: 39.84 MB / 490.8 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_BU_simple): time 0.1164/0.1165, allocations: 71.1 MB / 0.6069 GB, free: 4.859 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.03483/0.1513, allocations: 26.09 MB / 0.6323 GB, free: 10.68 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006061/0.1573, allocations: 146.9 kB / 0.6325 GB, free: 10.54 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.005991/0.1633, allocations: 2.98 MB / 0.6354 GB, free: 7.539 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.01113/0.1745, allocations: 5.142 MB / 0.6404 GB, free: 2.367 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00925/0.1837, allocations: 5.137 MB / 0.6454 GB, free: 13.22 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.01546/0.1992, allocations: 14.31 MB / 0.6594 GB, free: 14.86 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00616/0.2053, allocations: 4.411 MB / 0.6637 GB, free: 10.38 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01075/0.2161, allocations: 7.636 MB / 0.6712 GB, free: 2.727 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007037/0.2231, allocations: 5.063 MB / 0.6761 GB, free: 13.65 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.001496/0.2246, allocations: 0.9766 MB / 0.6771 GB, free: 12.68 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005843/0.2305, allocations: 3.224 MB / 0.6802 GB, free: 9.445 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.002186/0.2327, allocations: 3.154 MB / 0.6833 GB, free: 6.281 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.003489/0.2361, allocations: 3.176 MB / 0.6864 GB, free: 3.098 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01525/0.2514, allocations: 15.91 MB / 0.7019 GB, free: 3.141 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2514, allocations: 0 / 0.7019 GB, free: 3.141 MB / 0.5887 GB Notification: Performance of FrontEnd: time 1.704e-06/0.2514, allocations: 0 / 0.7019 GB, free: 3.141 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 0.0001721/0.2516, allocations: 3.938 kB / 0.7019 GB, free: 3.137 MB / 0.5887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1685 * Number of variables: 1685 Notification: Performance of Generate backend data structure: time 0.01573/0.2673, allocations: 11.16 MB / 0.7128 GB, free: 7.871 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.2673, allocations: 8.031 kB / 0.7129 GB, free: 7.863 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002331/0.2697, allocations: 1.119 MB / 0.7139 GB, free: 6.738 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.011/0.2807, allocations: 7.658 MB / 0.7214 GB, free: 14.99 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003075/0.281, allocations: 455.5 kB / 0.7219 GB, free: 14.52 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005922/0.2816, allocations: 439.9 kB / 0.7223 GB, free: 14.09 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01653/0.2981, allocations: 13.6 MB / 0.7356 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-05/0.2982, allocations: 47.56 kB / 0.7356 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004663/0.2987, allocations: 220 kB / 0.7358 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003208/0.299, allocations: 427.1 kB / 0.7362 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01486/0.3138, allocations: 9.693 MB / 0.7457 GB, free: 4.461 MB / 0.6355 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.3216/0.6354, allocations: 42.48 MB / 0.7872 GB, free: 146.1 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01369/0.6491, allocations: 7.968 MB / 0.7949 GB, free: 143.9 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004454/0.6535, allocations: 3.08 MB / 0.798 GB, free: 142.5 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009555/0.6545, allocations: 404.2 kB / 0.7983 GB, free: 142.4 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01008/0.6646, allocations: 6.319 MB / 0.8045 GB, free: 139.8 MB / 0.6512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002675/0.6672, allocations: 0.5541 MB / 0.8051 GB, free: 139.8 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=833): time 9.017e-06/0.6673, allocations: 0 / 0.8051 GB, free: 139.8 MB / 0.6512 GB Notification: Performance of matching and sorting (n=834): time 0.05692/0.7242, allocations: 52.78 MB / 0.8566 GB, free: 102.3 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002418/0.7244, allocations: 1.761 MB / 0.8583 GB, free: 100.2 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006954/0.7314, allocations: 6.804 MB / 0.865 GB, free: 93.49 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.001426/0.7328, allocations: 109.2 kB / 0.8651 GB, free: 93.38 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001391/0.7342, allocations: 3.193 MB / 0.8682 GB, free: 90.23 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001593/0.7358, allocations: 2.825 MB / 0.8709 GB, free: 87.44 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001637/0.7374, allocations: 1.795 MB / 0.8727 GB, free: 85.63 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 3.461e-05/0.7375, allocations: 301.1 kB / 0.873 GB, free: 85.34 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004191/0.7416, allocations: 4.039 MB / 0.8769 GB, free: 81.29 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005005/0.7466, allocations: 7.603 MB / 0.8844 GB, free: 72.34 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1633/0.91, allocations: 52.04 MB / 0.9352 GB, free: 20.28 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.844e-05/0.91, allocations: 23.5 kB / 0.9352 GB, free: 20.26 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1178) (initialization): time 0.01643/0.9264, allocations: 12.33 MB / 0.9472 GB, free: 7.887 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 3.836e-05/0.9265, allocations: 44.2 kB / 0.9473 GB, free: 7.844 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01135/0.9378, allocations: 9.479 MB / 0.9565 GB, free: 14.32 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02219/0.96, allocations: 3.89 MB / 0.9603 GB, free: 10.45 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006525/0.9665, allocations: 2.402 MB / 0.9627 GB, free: 8.039 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009385/0.9759, allocations: 13.18 MB / 0.9755 GB, free: 10.14 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005986/0.9819, allocations: 0.506 MB / 0.976 GB, free: 9.633 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007564/0.9827, allocations: 0.546 MB / 0.9766 GB, free: 9.09 MB / 0.6824 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.008367/0.991, allocations: 5.714 MB / 0.9822 GB, free: 3.375 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006394/0.9974, allocations: 7.533 MB / 0.9895 GB, free: 10.47 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1591/1.157, allocations: 49.78 MB / 1.038 GB, free: 7.684 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.116e-05/1.157, allocations: 24 kB / 1.038 GB, free: 7.66 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1178) (initialization_lambda0): time 0.3198/1.476, allocations: 11.93 MB / 1.05 GB, free: 252.4 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 5.804e-05/1.476, allocations: 39.12 kB / 1.05 GB, free: 252.4 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01378/1.49, allocations: 9.06 MB / 1.059 GB, free: 250.4 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001349/1.492, allocations: 0.6694 MB / 1.059 GB, free: 250.2 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005583/1.497, allocations: 2.391 MB / 1.062 GB, free: 250.2 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008145/1.505, allocations: 14.07 MB / 1.075 GB, free: 237.9 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00623/1.512, allocations: 0.5128 MB / 1.076 GB, free: 237.8 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008685/1.512, allocations: 0.5417 MB / 1.076 GB, free: 237.7 MB / 0.7449 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: 330 * 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 (1154): * Single equations (assignments): 1145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 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): 3 systems {(4,3,87.5%), (1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.002452/1.515, allocations: 0.7175 MB / 1.077 GB, free: 237.2 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001765/1.517, allocations: 0.7757 MB / 1.078 GB, free: 237.2 MB / 0.7449 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 1268 equation(s) and 1214 variable(s). Error: ($cse509, $cse510, $cse511, $cse512, $cse513, $cse514, $cse515, $cse516, $cse517, $cse518, $cse519, $cse520) = TILMedia.Internals.VLEFluid.AdditionalObjectFunctions.ObjectFunctions.VLEProperties_phxi(massFlowSource_h1.steam_a.p, -1.0, {}, massFlowSource_h1.fluidOut.vleFluidPointer) has size 12 but 3 variables (hex.shell.Q_flow[2], hex.shell.heattransfer.Q_flow_tot, hex.shell.summary.outline.Q_flow[2]) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01328/1.53, allocations: 10.67 MB / 1.088 GB, free: 233.8 MB / 0.7449 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.44316322170198] Failed to read output from testmodel.py, exit status != 0: 1.6797755798324943 1.686644905 1.433805073 Calling exit ...