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.01273/0.01273, allocations: 1.794 MB / 21.35 MB, free: 3.191 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.001165/0.001165, allocations: 89.02 kB / 25.16 MB, free: 6.316 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.001358/0.001358, allocations: 166.3 kB / 29.06 MB, free: 3.348 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.9178/0.9178, allocations: 177.1 MB / 210 MB, free: 3.637 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6333/0.6333, allocations: 102.4 MB / 369.5 MB, free: 420 kB / 330.7 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 1.0.0 (/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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_BU_simple") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 470 MB, free: 19.01 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.652e-05/1.79e-05, allocations: 3.625 kB / 470 MB, free: 19 MB / 410.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.1234/0.1234, allocations: 77.06 MB / 0.5342 GB, free: 10.84 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03504/0.1584, allocations: 27.21 MB / 0.5608 GB, free: 15.56 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002715/0.1611, allocations: 146.9 kB / 0.5609 GB, free: 15.42 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004006/0.1651, allocations: 2.972 MB / 0.5638 GB, free: 12.43 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.006511/0.1717, allocations: 5.177 MB / 0.5689 GB, free: 7.223 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.006515/0.1782, allocations: 5.129 MB / 0.5739 GB, free: 2.082 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01055/0.1887, allocations: 14.31 MB / 0.5879 GB, free: 3.727 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004624/0.1933, allocations: 4.624 MB / 0.5924 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3168/0.5101, allocations: 52.96 MB / 0.6441 GB, free: 70.22 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007789/0.5179, allocations: 4.966 MB / 0.6489 GB, free: 70.22 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.002646/0.5206, allocations: 0.9237 MB / 0.6498 GB, free: 70.22 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005652/0.5262, allocations: 3.17 MB / 0.6529 GB, free: 70.21 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.002111/0.5283, allocations: 3.052 MB / 0.6559 GB, free: 70.21 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.004736/0.5331, allocations: 3.097 MB / 0.6589 GB, free: 70.21 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01147/0.5445, allocations: 10.08 MB / 0.6688 GB, free: 69.46 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.5445, allocations: 4.531 kB / 0.6688 GB, free: 69.46 MB / 0.5418 GB Notification: Performance of FrontEnd: time 3.186e-06/0.5446, allocations: 0 / 0.6688 GB, free: 69.46 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0001593/0.5447, allocations: 0 / 0.6688 GB, free: 69.46 MB / 0.5418 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.01408/0.5588, allocations: 11.45 MB / 0.68 GB, free: 65.28 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.5588, allocations: 13.84 kB / 0.68 GB, free: 65.28 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002607/0.5614, allocations: 1.391 MB / 0.6814 GB, free: 64.75 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007766/0.5692, allocations: 5.851 MB / 0.6871 GB, free: 63.41 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003576/0.5696, allocations: 455.1 kB / 0.6875 GB, free: 63.27 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006838/0.5703, allocations: 489.3 kB / 0.688 GB, free: 63.26 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01666/0.5869, allocations: 11.42 MB / 0.6991 GB, free: 54.14 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001855/0.5871, allocations: 42.94 kB / 0.6992 GB, free: 54.14 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009694/0.5881, allocations: 220.2 kB / 0.6994 GB, free: 54.01 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004085/0.5885, allocations: 427.5 kB / 0.6998 GB, free: 53.9 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01101/0.5995, allocations: 5.302 MB / 0.705 GB, free: 52.18 MB / 0.5418 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.02847/0.628, allocations: 53.16 MB / 0.7569 GB, free: 3.777 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00854/0.6365, allocations: 5.488 MB / 0.7622 GB, free: 1.227 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002056/0.6386, allocations: 1.567 MB / 0.7638 GB, free: 0.5195 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007462/0.6393, allocations: 416.9 kB / 0.7642 GB, free: 400 kB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007613/0.6469, allocations: 4.496 MB / 0.7686 GB, free: 14.04 MB / 0.5574 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002655/0.6496, allocations: 0.5734 MB / 0.7691 GB, free: 13.6 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=833): time 1.926e-05/0.6496, allocations: 2.672 kB / 0.7691 GB, free: 13.6 MB / 0.5574 GB Notification: Performance of matching and sorting (n=834): time 0.06017/0.7098, allocations: 44.31 MB / 0.8124 GB, free: 1.574 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007583/0.7105, allocations: 2.092 MB / 0.8144 GB, free: 15 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007996/0.7185, allocations: 5.676 MB / 0.82 GB, free: 9.344 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.001665/0.7202, allocations: 105.7 kB / 0.8201 GB, free: 9.234 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.002818/0.723, allocations: 3.413 MB / 0.8234 GB, free: 5.816 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.003362/0.7264, allocations: 2.907 MB / 0.8262 GB, free: 2.957 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002789/0.7291, allocations: 1.924 MB / 0.8281 GB, free: 1.016 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.7293, allocations: 476.8 kB / 0.8286 GB, free: 0.5469 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003201/0.7325, allocations: 1.723 MB / 0.8303 GB, free: 14.8 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005571/0.738, allocations: 6.784 MB / 0.8369 GB, free: 6.137 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01368/0.7517, allocations: 9.133 MB / 0.8458 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.793e-05/0.7518, allocations: 22.69 kB / 0.8458 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1178) (initialization): time 0.01589/0.7677, allocations: 8.087 MB / 0.8537 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.104e-05/0.7677, allocations: 36 kB / 0.8538 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01137/0.7791, allocations: 5.286 MB / 0.8589 GB, free: 15.04 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0434/0.8225, allocations: 5.753 MB / 0.8645 GB, free: 9.59 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007722/0.8302, allocations: 2.345 MB / 0.8668 GB, free: 7.387 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2245/1.055, allocations: 15.55 MB / 0.882 GB, free: 166.6 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005472/1.06, allocations: 417.3 kB / 0.8824 GB, free: 166.6 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001293/1.061, allocations: 0.5488 MB / 0.883 GB, free: 166.6 MB / 0.6512 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.004726/1.066, allocations: 1.925 MB / 0.8848 GB, free: 166.5 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004224/1.07, allocations: 6.751 MB / 0.8914 GB, free: 160.3 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009981/1.08, allocations: 9.033 MB / 0.9002 GB, free: 156.2 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.723e-05/1.08, allocations: 19.19 kB / 0.9003 GB, free: 156.2 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1178) (initialization_lambda0): time 0.014/1.094, allocations: 7.908 MB / 0.908 GB, free: 155.9 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 4.787e-05/1.094, allocations: 35.97 kB / 0.908 GB, free: 155.9 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009361/1.104, allocations: 5.096 MB / 0.913 GB, free: 155.6 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01222/1.116, allocations: 2.276 MB / 0.9152 GB, free: 155.6 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006523/1.123, allocations: 2.334 MB / 0.9175 GB, free: 155.6 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006154/1.129, allocations: 15.49 MB / 0.9326 GB, free: 141.1 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006054/1.135, allocations: 428.7 kB / 0.933 GB, free: 141.1 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001156/1.136, allocations: 0.5502 MB / 0.9336 GB, free: 141.1 MB / 0.6512 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.002292/1.138, allocations: 0.8146 MB / 0.9344 GB, free: 140.8 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002241/1.14, allocations: 0.9015 MB / 0.9353 GB, free: 140.8 MB / 0.6512 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.01083/1.151, allocations: 9.025 MB / 0.9441 GB, free: 140.2 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.787777046673]