Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.01564/0.01564, allocations: 1.757 MB / 20.59 MB, free: 1.277 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.001369/0.001369, allocations: 115.2 kB / 24.19 MB, free: 2.656 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.001805/0.001805, allocations: 209.3 kB / 27.92 MB, free: 4.004 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.467/1.467, allocations: 230.6 MB / 262.1 MB, free: 6.016 MB / 206.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.066/1.066, allocations: 130.7 MB / 449.7 MB, free: 6.582 MB / 350.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_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_dev_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_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_BU_simple") [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.03457/0.03457, allocations: 20.78 MB / 0.6362 GB, free: 4.77 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.2327, allocations: 81.91 MB / 0.7162 GB, free: 2.766 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_BU_simple): time 0.5758/0.8085, allocations: 61.13 MB / 0.7759 GB, free: 9.074 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.05475/0.8633, allocations: 27.61 MB / 0.8029 GB, free: 5.047 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01301/0.8763, allocations: 148.7 kB / 0.803 GB, free: 4.98 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0118/0.8881, allocations: 3.111 MB / 0.8061 GB, free: 2.762 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.02129/0.9094, allocations: 5.006 MB / 0.8109 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01635/0.9257, allocations: 5.096 MB / 0.8159 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02897/0.9547, allocations: 13.99 MB / 0.8296 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009494/0.9642, allocations: 4.174 MB / 0.8337 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0142/0.9784, allocations: 5.595 MB / 0.8391 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01356/0.992, allocations: 5.945 MB / 0.8449 GB, free: 14.73 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.004302/0.9963, allocations: 0.9766 MB / 0.8459 GB, free: 13.76 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01408/1.01, allocations: 4.346 MB / 0.8501 GB, free: 9.418 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.007119/1.017, allocations: 3.106 MB / 0.8532 GB, free: 6.305 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.01325/1.031, allocations: 4.867 MB / 0.8579 GB, free: 1.414 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.03388/1.065, allocations: 16.02 MB / 0.8736 GB, free: 1.34 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/1.065, allocations: 0 / 0.8736 GB, free: 1.34 MB / 0.6388 GB Notification: Performance of FrontEnd: time 2.424e-06/1.065, allocations: 0 / 0.8736 GB, free: 1.34 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0004823/1.065, allocations: 4 kB / 0.8736 GB, free: 1.336 MB / 0.6388 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.03488/1.1, allocations: 11.25 MB / 0.8845 GB, free: 6.051 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/1.1, allocations: 12.02 kB / 0.8846 GB, free: 6.039 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004514/1.105, allocations: 1.126 MB / 0.8857 GB, free: 4.91 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01957/1.124, allocations: 7.517 MB / 0.893 GB, free: 13.36 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006718/1.125, allocations: 459.6 kB / 0.8934 GB, free: 12.88 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002063/1.127, allocations: 439.9 kB / 0.8939 GB, free: 12.45 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03227/1.159, allocations: 11.67 MB / 0.9053 GB, free: 15.7 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001314/1.159, allocations: 50.19 kB / 0.9053 GB, free: 15.65 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008319/1.16, allocations: 216 kB / 0.9055 GB, free: 15.44 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005468/1.161, allocations: 423.1 kB / 0.9059 GB, free: 15.02 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02903/1.19, allocations: 9.735 MB / 0.9154 GB, free: 5.297 MB / 0.6857 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.08114/1.271, allocations: 46.38 MB / 0.9607 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02351/1.294, allocations: 7.975 MB / 0.9685 GB, free: 13.5 MB / 0.7482 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007728/1.302, allocations: 3.09 MB / 0.9715 GB, free: 10.35 MB / 0.7482 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001935/1.304, allocations: 430.2 kB / 0.9719 GB, free: 9.934 MB / 0.7482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02141/1.325, allocations: 6.324 MB / 0.9781 GB, free: 3.477 MB / 0.7482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005172/1.331, allocations: 0.5614 MB / 0.9786 GB, free: 2.91 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=833): time 2.468e-05/1.331, allocations: 4.156 kB / 0.9787 GB, free: 2.91 MB / 0.7482 GB Notification: Performance of matching and sorting (n=834): time 0.1299/1.46, allocations: 52.8 MB / 1.03 GB, free: 13.79 MB / 0.8107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001185/1.462, allocations: 1.765 MB / 1.032 GB, free: 11.61 MB / 0.8107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01614/1.478, allocations: 6.888 MB / 1.039 GB, free: 4.75 MB / 0.8107 GB Notification: Performance of collectPreVariables (initialization): time 0.002426/1.48, allocations: 101.7 kB / 1.039 GB, free: 4.645 MB / 0.8107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0045/1.485, allocations: 3.184 MB / 1.042 GB, free: 1.438 MB / 0.8107 GB Notification: Performance of collectInitialBindings (initialization): time 0.005057/1.49, allocations: 2.872 MB / 1.045 GB, free: 14.54 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004731/1.495, allocations: 1.807 MB / 1.046 GB, free: 12.72 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001578/1.495, allocations: 313 kB / 1.047 GB, free: 12.41 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009274/1.504, allocations: 4.045 MB / 1.051 GB, free: 8.359 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01304/1.517, allocations: 6.656 MB / 1.057 GB, free: 0.6328 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7597/2.277, allocations: 52.03 MB / 1.108 GB, free: 320 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.622e-05/2.277, allocations: 20 kB / 1.108 GB, free: 320 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1178) (initialization): time 0.02666/2.303, allocations: 12.33 MB / 1.12 GB, free: 308.1 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.776e-05/2.303, allocations: 39.94 kB / 1.12 GB, free: 308 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01982/2.323, allocations: 9.471 MB / 1.129 GB, free: 298.5 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0457/2.369, allocations: 3.891 MB / 1.133 GB, free: 294.6 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009586/2.379, allocations: 2.405 MB / 1.136 GB, free: 292.2 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01078/2.389, allocations: 13.42 MB / 1.149 GB, free: 278.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008881/2.398, allocations: 0.5055 MB / 1.149 GB, free: 277.6 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00207/2.4, allocations: 0.5464 MB / 1.15 GB, free: 277 MB / 0.8263 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.01129/2.412, allocations: 5.702 MB / 1.155 GB, free: 271.3 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008586/2.42, allocations: 6.604 MB / 1.162 GB, free: 263.6 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3131/2.733, allocations: 49.77 MB / 1.21 GB, free: 212.8 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.231e-05/2.733, allocations: 20 kB / 1.21 GB, free: 212.8 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1178) (initialization_lambda0): time 0.02679/2.76, allocations: 11.96 MB / 1.222 GB, free: 201.2 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 4.797e-05/2.76, allocations: 39.98 kB / 1.222 GB, free: 201.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01718/2.777, allocations: 9.051 MB / 1.231 GB, free: 192 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001997/2.779, allocations: 0.667 MB / 1.231 GB, free: 191.3 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009413/2.789, allocations: 2.398 MB / 1.234 GB, free: 188.9 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01158/2.8, allocations: 14.33 MB / 1.248 GB, free: 173.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009806/2.81, allocations: 0.519 MB / 1.248 GB, free: 173.3 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00237/2.813, allocations: 0.5426 MB / 1.249 GB, free: 172.7 MB / 0.8263 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.003277/2.816, allocations: 0.7207 MB / 1.25 GB, free: 172.1 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0031/2.819, allocations: 0.7862 MB / 1.25 GB, free: 171.6 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 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.01928/2.838, allocations: 10.65 MB / 1.261 GB, free: 161.3 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.8563829159829766] Failed to read output from testmodel.py, exit status != 0: 3.0247187418863177 3.042347948 1.973675912 Calling exit ...