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.01314/0.01314, allocations: 1.795 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.00131/0.00131, allocations: 83.94 kB / 25.15 MB, free: 6.887 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.001066/0.001066, allocations: 170.8 kB / 29.06 MB, free: 3.488 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.8803/0.8803, allocations: 177.2 MB / 210 MB, free: 2.414 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.7266/0.7266, allocations: 102.5 MB / 369.5 MB, free: 0.9727 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 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_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_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_BU_simple") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 470 MB, free: 12.62 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.839e-05/3.039e-05, allocations: 3.859 kB / 470 MB, free: 12.62 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.3413/0.3414, allocations: 77.05 MB / 0.5342 GB, free: 68.5 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.02815/0.3695, allocations: 27.2 MB / 0.5608 GB, free: 49.92 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003658/0.3732, allocations: 147.9 kB / 0.5609 GB, free: 49.85 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.005139/0.3783, allocations: 2.981 MB / 0.5638 GB, free: 48.43 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.009208/0.3875, allocations: 5.168 MB / 0.5689 GB, free: 45.28 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.008712/0.3962, allocations: 5.125 MB / 0.5739 GB, free: 41.97 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01574/0.412, allocations: 14.3 MB / 0.5879 GB, free: 33.38 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006116/0.4181, allocations: 4.629 MB / 0.5924 GB, free: 28.89 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1195/0.5376, allocations: 52.99 MB / 0.6441 GB, free: 10.33 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008177/0.5458, allocations: 4.972 MB / 0.649 GB, free: 5.352 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.002269/0.5481, allocations: 0.9219 MB / 0.6499 GB, free: 4.43 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006591/0.5547, allocations: 3.161 MB / 0.653 GB, free: 1.266 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.002098/0.5568, allocations: 3.052 MB / 0.656 GB, free: 14.21 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.004981/0.5618, allocations: 3.098 MB / 0.659 GB, free: 11.1 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.01505/0.5768, allocations: 10.09 MB / 0.6688 GB, free: 0.9766 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.5768, allocations: 0 / 0.6688 GB, free: 0.9766 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5768, allocations: 0 / 0.6688 GB, free: 0.9766 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.0003448/0.5772, allocations: 3.984 kB / 0.6688 GB, free: 0.9727 MB / 0.5262 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.01518/0.5923, allocations: 11.46 MB / 0.68 GB, free: 5.445 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.5924, allocations: 12.03 kB / 0.68 GB, free: 5.434 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002373/0.5948, allocations: 1.392 MB / 0.6814 GB, free: 4.039 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007592/0.6023, allocations: 5.844 MB / 0.6871 GB, free: 14.13 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003695/0.6027, allocations: 459.5 kB / 0.6875 GB, free: 13.66 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007842/0.6035, allocations: 487.8 kB / 0.688 GB, free: 13.18 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01444/0.6179, allocations: 11.43 MB / 0.6992 GB, free: 15.7 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.395e-05/0.618, allocations: 47.56 kB / 0.6992 GB, free: 15.65 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004076/0.6184, allocations: 220 kB / 0.6994 GB, free: 15.44 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003162/0.6188, allocations: 423.1 kB / 0.6998 GB, free: 15.02 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01026/0.629, allocations: 5.299 MB / 0.705 GB, free: 9.738 MB / 0.573 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.2797/0.9087, allocations: 53.15 MB / 0.7569 GB, free: 109.6 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01347/0.9222, allocations: 5.492 MB / 0.7623 GB, free: 108.7 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002918/0.9251, allocations: 1.563 MB / 0.7638 GB, free: 108.4 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001055/0.9261, allocations: 413.4 kB / 0.7642 GB, free: 108.4 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02317/0.9493, allocations: 4.505 MB / 0.7686 GB, free: 107.8 MB / 0.6043 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002683/0.952, allocations: 0.5655 MB / 0.7691 GB, free: 107.8 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=833): time 2.58e-05/0.952, allocations: 0 / 0.7691 GB, free: 107.8 MB / 0.6043 GB Notification: Performance of matching and sorting (n=834): time 0.05497/1.007, allocations: 44.32 MB / 0.8124 GB, free: 83.23 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000278/1.007, allocations: 2.088 MB / 0.8145 GB, free: 80.68 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005207/1.012, allocations: 5.672 MB / 0.82 GB, free: 77.41 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.0008701/1.013, allocations: 105.3 kB / 0.8201 GB, free: 77.35 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.001688/1.015, allocations: 3.417 MB / 0.8234 GB, free: 75.83 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.001757/1.017, allocations: 2.902 MB / 0.8263 GB, free: 73.89 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001784/1.019, allocations: 1.925 MB / 0.8282 GB, free: 72.78 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 3.803e-05/1.019, allocations: 476.8 kB / 0.8286 GB, free: 72.31 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002443/1.021, allocations: 1.728 MB / 0.8303 GB, free: 70.74 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003824/1.025, allocations: 6.782 MB / 0.8369 GB, free: 62.54 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009119/1.034, allocations: 9.136 MB / 0.8458 GB, free: 53.8 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.398e-05/1.034, allocations: 26.72 kB / 0.8459 GB, free: 53.78 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1178) (initialization): time 0.01248/1.046, allocations: 8.084 MB / 0.8538 GB, free: 46.47 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.984e-05/1.047, allocations: 38.38 kB / 0.8538 GB, free: 46.44 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007925/1.054, allocations: 5.294 MB / 0.859 GB, free: 41.16 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0319/1.086, allocations: 5.752 MB / 0.8646 GB, free: 35.71 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00565/1.092, allocations: 2.343 MB / 0.8669 GB, free: 33.51 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005813/1.098, allocations: 15.54 MB / 0.882 GB, free: 17.21 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005187/1.103, allocations: 424.7 kB / 0.8825 GB, free: 16.8 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008213/1.104, allocations: 0.553 MB / 0.883 GB, free: 16.25 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.004466/1.108, allocations: 1.914 MB / 0.8849 GB, free: 14.32 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003911/1.112, allocations: 6.76 MB / 0.8915 GB, free: 5.688 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009687/1.122, allocations: 9.02 MB / 0.9003 GB, free: 11.62 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.602e-05/1.122, allocations: 24 kB / 0.9003 GB, free: 11.6 MB / 0.6199 GB Notification: Performance of matching and sorting (n=1178) (initialization_lambda0): time 0.01353/1.135, allocations: 7.914 MB / 0.908 GB, free: 4.176 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 4.112e-05/1.135, allocations: 39.94 kB / 0.9081 GB, free: 4.137 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008927/1.144, allocations: 5.087 MB / 0.913 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01169/1.156, allocations: 2.28 MB / 0.9153 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005806/1.162, allocations: 2.33 MB / 0.9175 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00925/1.171, allocations: 15.51 MB / 0.9327 GB, free: 10.41 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005165/1.176, allocations: 435.8 kB / 0.9331 GB, free: 9.996 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007407/1.177, allocations: 0.5426 MB / 0.9336 GB, free: 9.453 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.002124/1.179, allocations: 0.8159 MB / 0.9344 GB, free: 8.781 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001973/1.181, allocations: 0.8971 MB / 0.9353 GB, free: 7.879 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.01104/1.192, allocations: 9.018 MB / 0.9441 GB, free: 15.54 MB / 0.6668 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.088376312982291]