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.01252/0.01252, allocations: 1.458 MB / 20.81 MB, free: 3.617 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.007987/0.007987, allocations: 72.94 kB / 24.44 MB, free: 7.531 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.001647/0.001647, allocations: 158.1 kB / 28.19 MB, free: 4.672 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 1.454/1.454, allocations: 177.2 MB / 209 MB, free: 2.793 MB / 186.7 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.125/1.125, allocations: 102.5 MB / 368.3 MB, free: 1.27 MB / 330.8 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.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_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: Performance of FrontEnd - loaded program: time 5.11e-06/5.11e-06, allocations: 4 kB / 468.3 MB, free: 13.48 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.329e-05/3.84e-05, allocations: 3.438 kB / 468.3 MB, free: 13.47 MB / 442.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.4525/0.4525, allocations: 71.31 MB / 0.527 GB, free: 70.86 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.04161/0.4941, allocations: 26.11 MB / 0.5525 GB, free: 53.9 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01016/0.5043, allocations: 151.9 kB / 0.5526 GB, free: 53.83 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0106/0.5149, allocations: 2.967 MB / 0.5555 GB, free: 52.41 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01787/0.5327, allocations: 5.146 MB / 0.5605 GB, free: 49.29 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01369/0.5464, allocations: 5.125 MB / 0.5655 GB, free: 46.53 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.02179/0.5682, allocations: 14.3 MB / 0.5795 GB, free: 38.3 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009995/0.5782, allocations: 4.637 MB / 0.584 GB, free: 34.79 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01943/0.5976, allocations: 7.69 MB / 0.5916 GB, free: 28.07 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01124/0.6089, allocations: 5.125 MB / 0.5966 GB, free: 22.93 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.004581/0.6135, allocations: 0.9922 MB / 0.5975 GB, free: 21.94 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.09555/0.709, allocations: 18.69 MB / 0.6158 GB, free: 5.219 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.004873/0.7139, allocations: 3.193 MB / 0.6189 GB, free: 2.02 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.009579/0.7235, allocations: 3.207 MB / 0.622 GB, free: 14.8 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.03463/0.7581, allocations: 16.07 MB / 0.6377 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.7581, allocations: 0 / 0.6377 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7581, allocations: 4 kB / 0.6377 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0005257/0.7586, allocations: 0 / 0.6377 GB, free: 14.68 MB / 0.5105 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.03832/0.797, allocations: 11.17 MB / 0.6486 GB, free: 3.484 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/0.797, allocations: 10.72 kB / 0.6486 GB, free: 3.477 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006711/0.8037, allocations: 1.471 MB / 0.6501 GB, free: 2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02256/0.8263, allocations: 7.967 MB / 0.6579 GB, free: 9.992 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006674/0.8269, allocations: 459.5 kB / 0.6583 GB, free: 9.516 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002024/0.829, allocations: 479.9 kB / 0.6588 GB, free: 9.047 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03395/0.8629, allocations: 13.7 MB / 0.6721 GB, free: 9.707 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001281/0.863, allocations: 43.56 kB / 0.6722 GB, free: 9.664 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008414/0.8639, allocations: 220 kB / 0.6724 GB, free: 9.449 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005555/0.8644, allocations: 423.5 kB / 0.6728 GB, free: 9.039 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0307/0.8951, allocations: 9.833 MB / 0.6824 GB, free: 15.21 MB / 0.5574 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.07531/0.9705, allocations: 42.95 MB / 0.7243 GB, free: 3.086 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02586/0.9963, allocations: 8.041 MB / 0.7322 GB, free: 10.89 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008195/1.005, allocations: 3.132 MB / 0.7352 GB, free: 7.691 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002023/1.007, allocations: 426.2 kB / 0.7357 GB, free: 7.281 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02057/1.027, allocations: 6.379 MB / 0.7419 GB, free: 0.7578 MB / 0.6043 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003979/1.031, allocations: 0.5655 MB / 0.7424 GB, free: 192 kB / 0.6043 GB Notification: Performance of pre-optimization done (n=833): time 2.586e-05/1.031, allocations: 0 / 0.7424 GB, free: 192 kB / 0.6043 GB Notification: Performance of matching and sorting (n=834): time 0.3377/1.369, allocations: 53.76 MB / 0.7949 GB, free: 163.4 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004031/1.369, allocations: 1.755 MB / 0.7967 GB, free: 161.3 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01262/1.382, allocations: 6.817 MB / 0.8033 GB, free: 158.7 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.001558/1.383, allocations: 98.5 kB / 0.8034 GB, free: 158.6 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.002213/1.386, allocations: 3.193 MB / 0.8065 GB, free: 156 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.003511/1.389, allocations: 2.822 MB / 0.8093 GB, free: 153.8 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003474/1.393, allocations: 1.808 MB / 0.811 GB, free: 152.3 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 4.741e-05/1.393, allocations: 301.9 kB / 0.8113 GB, free: 152 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006921/1.4, allocations: 4.089 MB / 0.8153 GB, free: 148.5 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00902/1.409, allocations: 7.647 MB / 0.8228 GB, free: 140.2 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.371/1.78, allocations: 54.92 MB / 0.8764 GB, free: 86.8 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.671e-05/1.78, allocations: 24 kB / 0.8765 GB, free: 86.78 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1178) (initialization): time 0.02601/1.806, allocations: 12.81 MB / 0.889 GB, free: 73.93 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 5.451e-05/1.806, allocations: 36 kB / 0.889 GB, free: 73.9 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01946/1.825, allocations: 9.705 MB / 0.8985 GB, free: 64.16 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06681/1.892, allocations: 5.911 MB / 0.9042 GB, free: 58.25 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01024/1.902, allocations: 2.402 MB / 0.9066 GB, free: 55.85 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01144/1.914, allocations: 13.37 MB / 0.9197 GB, free: 41.76 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008752/1.922, allocations: 0.5019 MB / 0.9201 GB, free: 41.26 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001956/1.924, allocations: 0.5426 MB / 0.9207 GB, free: 40.71 MB / 0.6043 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.01051/1.935, allocations: 5.76 MB / 0.9263 GB, free: 34.96 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007987/1.943, allocations: 7.598 MB / 0.9337 GB, free: 25.99 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.609/2.552, allocations: 50.09 MB / 0.9826 GB, free: 188.9 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.326e-05/2.552, allocations: 21.66 kB / 0.9827 GB, free: 188.9 MB / 0.6199 GB Notification: Performance of matching and sorting (n=1178) (initialization_lambda0): time 0.03472/2.587, allocations: 12.58 MB / 0.9949 GB, free: 184.4 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 6.378e-05/2.587, allocations: 35.41 kB / 0.995 GB, free: 184.4 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02228/2.609, allocations: 9.451 MB / 1.004 GB, free: 181 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02319/2.632, allocations: 2.483 MB / 1.007 GB, free: 180.7 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009408/2.642, allocations: 2.391 MB / 1.009 GB, free: 180.5 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01077/2.652, allocations: 13.29 MB / 1.022 GB, free: 169 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009088/2.661, allocations: 0.506 MB / 1.022 GB, free: 168.9 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002359/2.664, allocations: 0.5461 MB / 1.023 GB, free: 168.4 MB / 0.6199 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): 2 systems {(4,3,87.5%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,6), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.002899/2.667, allocations: 0.7299 MB / 1.024 GB, free: 167.7 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003296/2.67, allocations: 0.8992 MB / 1.025 GB, free: 167.3 MB / 0.6199 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 1257 equation(s) and 1203 variable(s). Error: ($cse500, $cse501, $cse502, $cse503, $cse504, $cse505, $cse506, $cse507, $cse508, $cse509, $cse510, $cse511) = TILMedia.Internals.VLEFluid.AdditionalObjectFunctions.ObjectFunctions.VLEProperties_phxi(massFlowSource_h1.steam_a.p, -1.0, {}, massFlowSource_h1.fluidOut.vleFluidPointer) has size 12 but 4 variables ($cse286, hex.shell.Q_flow_phases, hex.shell.summary.fluid.T[1], hex.shell.summary.fluid.T[2]) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01623/2.686, allocations: 10.66 MB / 1.035 GB, free: 157.4 MB / 0.6199 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.3077560680685565]