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.01353/0.01353, allocations: 1.45 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.007135/0.007135, allocations: 78.86 kB / 24.44 MB, free: 7.543 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.001762/0.001762, allocations: 156.8 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.443/1.443, allocations: 177.2 MB / 209 MB, free: 2.801 MB / 186.7 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.096/1.096, allocations: 102.5 MB / 368.4 MB, free: 1.312 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.174e-06/2.174e-06, allocations: 0 / 468.3 MB, free: 13.51 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.312e-05/3.53e-05, allocations: 2.312 kB / 468.3 MB, free: 13.5 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.4048/0.4048, allocations: 71.3 MB / 0.527 GB, free: 70.84 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.03449/0.4393, allocations: 26.11 MB / 0.5525 GB, free: 53.87 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005925/0.4453, allocations: 147.4 kB / 0.5526 GB, free: 53.8 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.007946/0.4532, allocations: 2.977 MB / 0.5555 GB, free: 52.38 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01544/0.4686, allocations: 5.144 MB / 0.5606 GB, free: 49.26 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0114/0.48, allocations: 5.115 MB / 0.5656 GB, free: 46.51 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01735/0.4974, allocations: 14.31 MB / 0.5795 GB, free: 38.3 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006418/0.5038, allocations: 4.637 MB / 0.5841 GB, free: 34.79 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01588/0.5197, allocations: 7.692 MB / 0.5916 GB, free: 28.1 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00879/0.5285, allocations: 5.129 MB / 0.5966 GB, free: 22.96 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.002939/0.5314, allocations: 0.9922 MB / 0.5976 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.09488/0.6263, allocations: 18.69 MB / 0.6158 GB, free: 5.254 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.004047/0.6303, allocations: 3.192 MB / 0.6189 GB, free: 2.055 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.00748/0.6378, allocations: 3.211 MB / 0.6221 GB, free: 14.84 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.02737/0.6652, allocations: 16.07 MB / 0.6377 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.6652, allocations: 4.656 kB / 0.6378 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.072e-06/0.6652, allocations: 0 / 0.6378 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003155/0.6655, allocations: 4.5 kB / 0.6378 GB, free: 14.71 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.03/0.6955, allocations: 11.16 MB / 0.6487 GB, free: 3.516 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.6956, allocations: 12.02 kB / 0.6487 GB, free: 3.504 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005073/0.7006, allocations: 1.469 MB / 0.6501 GB, free: 2.031 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02013/0.7208, allocations: 7.959 MB / 0.6579 GB, free: 10.03 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006924/0.7215, allocations: 459.5 kB / 0.6583 GB, free: 9.555 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001957/0.7234, allocations: 479.9 kB / 0.6588 GB, free: 9.086 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03452/0.7579, allocations: 13.69 MB / 0.6721 GB, free: 9.754 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002502/0.7582, allocations: 47.56 kB / 0.6722 GB, free: 9.707 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002267/0.7605, allocations: 216 kB / 0.6724 GB, free: 9.496 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007761/0.7612, allocations: 423.1 kB / 0.6728 GB, free: 9.082 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03061/0.7918, allocations: 9.843 MB / 0.6824 GB, free: 15.25 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.07462/0.8665, allocations: 42.94 MB / 0.7244 GB, free: 3.125 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0256/0.8921, allocations: 8.051 MB / 0.7322 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008931/0.901, allocations: 3.129 MB / 0.7353 GB, free: 7.727 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002139/0.9031, allocations: 426.2 kB / 0.7357 GB, free: 7.316 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02098/0.9241, allocations: 6.379 MB / 0.7419 GB, free: 0.793 MB / 0.6043 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004144/0.9283, allocations: 0.5654 MB / 0.7425 GB, free: 228 kB / 0.6043 GB Notification: Performance of pre-optimization done (n=833): time 2.49e-05/0.9283, allocations: 0 / 0.7425 GB, free: 228 kB / 0.6043 GB Notification: Performance of matching and sorting (n=834): time 0.3334/1.262, allocations: 53.76 MB / 0.795 GB, free: 163.4 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003851/1.262, allocations: 1.757 MB / 0.7967 GB, free: 161.3 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01314/1.275, allocations: 6.81 MB / 0.8033 GB, free: 158.8 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.001748/1.277, allocations: 102.4 kB / 0.8034 GB, free: 158.7 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.00256/1.279, allocations: 3.189 MB / 0.8065 GB, free: 156 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.003648/1.283, allocations: 2.831 MB / 0.8093 GB, free: 153.8 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003859/1.287, allocations: 1.799 MB / 0.8111 GB, free: 152.4 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 5.458e-05/1.287, allocations: 301.7 kB / 0.8114 GB, free: 152.1 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009474/1.297, allocations: 4.091 MB / 0.8153 GB, free: 148.5 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01004/1.307, allocations: 7.648 MB / 0.8228 GB, free: 140.3 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3698/1.676, allocations: 54.92 MB / 0.8765 GB, free: 86.88 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.779e-05/1.676, allocations: 20 kB / 0.8765 GB, free: 86.86 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1178) (initialization): time 0.02829/1.705, allocations: 12.81 MB / 0.889 GB, free: 74.01 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 5.152e-05/1.705, allocations: 39.98 kB / 0.889 GB, free: 73.97 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01908/1.724, allocations: 9.695 MB / 0.8985 GB, free: 64.24 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06551/1.789, allocations: 5.911 MB / 0.9043 GB, free: 58.34 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00939/1.799, allocations: 2.413 MB / 0.9066 GB, free: 55.92 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01086/1.81, allocations: 13.37 MB / 0.9197 GB, free: 41.84 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008345/1.818, allocations: 0.5015 MB / 0.9202 GB, free: 41.34 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001944/1.82, allocations: 0.5514 MB / 0.9207 GB, free: 40.79 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.01163/1.832, allocations: 5.752 MB / 0.9263 GB, free: 35.04 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009019/1.841, allocations: 7.592 MB / 0.9337 GB, free: 26.08 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5816/2.422, allocations: 50.09 MB / 0.9827 GB, free: 188.8 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.628e-05/2.422, allocations: 21.92 kB / 0.9827 GB, free: 188.8 MB / 0.6199 GB Notification: Performance of matching and sorting (n=1178) (initialization_lambda0): time 0.03536/2.458, allocations: 12.58 MB / 0.995 GB, free: 184.3 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 5.035e-05/2.458, allocations: 37.66 kB / 0.995 GB, free: 184.3 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03213/2.49, allocations: 9.45 MB / 1.004 GB, free: 180.9 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02524/2.515, allocations: 2.484 MB / 1.007 GB, free: 180.6 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01028/2.525, allocations: 2.393 MB / 1.009 GB, free: 180.4 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01191/2.537, allocations: 13.28 MB / 1.022 GB, free: 168.9 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008839/2.546, allocations: 0.5105 MB / 1.022 GB, free: 168.8 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002315/2.548, allocations: 0.5444 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.004609/2.553, allocations: 0.7252 MB / 1.024 GB, free: 167.7 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006343/2.559, allocations: 0.8965 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.02967/2.589, allocations: 10.67 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.162407465977594]