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.0061/0.0061, allocations: 1.442 MB / 20.54 MB, free: 4.012 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.0009526/0.0009526, allocations: 91.45 kB / 24.16 MB, free: 396 kB / 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.0009587/0.0009587, allocations: 165.8 kB / 27.86 MB, free: 5.496 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.8683/0.8683, allocations: 177.2 MB / 208.6 MB, free: 2.973 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.7238/0.7238, allocations: 102.5 MB / 367.9 MB, free: 1.508 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: "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_BU_simple,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_2ph_BU_simple",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_BU_simple,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_2ph_BU_simple",fmuType="me",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 0.5362 GB, free: 39.96 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.559e-05/1.777e-05, allocations: 2.281 kB / 0.5362 GB, free: 39.95 MB / 490.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.1206/0.1207, allocations: 71.07 MB / 0.6056 GB, free: 5.398 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.03288/0.1535, allocations: 26.12 MB / 0.6311 GB, free: 11.2 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005921/0.1595, allocations: 146.9 kB / 0.6313 GB, free: 11.05 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.005894/0.1654, allocations: 2.972 MB / 0.6342 GB, free: 8.062 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.01192/0.1773, allocations: 5.152 MB / 0.6392 GB, free: 2.883 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.009675/0.1869, allocations: 5.141 MB / 0.6442 GB, free: 13.73 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.01552/0.2025, allocations: 14.31 MB / 0.6582 GB, free: 15.38 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007589/0.2101, allocations: 4.411 MB / 0.6625 GB, free: 10.9 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01114/0.2212, allocations: 7.636 MB / 0.6699 GB, free: 3.246 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006482/0.2277, allocations: 5.06 MB / 0.6749 GB, free: 14.17 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.001697/0.2294, allocations: 0.9805 MB / 0.6758 GB, free: 13.19 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006181/0.2356, allocations: 3.22 MB / 0.679 GB, free: 9.965 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.002132/0.2377, allocations: 3.162 MB / 0.6821 GB, free: 6.793 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.00374/0.2414, allocations: 3.176 MB / 0.6852 GB, free: 3.609 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01699/0.2584, allocations: 15.9 MB / 0.7007 GB, free: 3.66 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.2584, allocations: 0 / 0.7007 GB, free: 3.66 MB / 0.5887 GB Notification: Performance of FrontEnd: time 2.555e-06/0.2584, allocations: 0 / 0.7007 GB, free: 3.66 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 0.0003895/0.2588, allocations: 0 / 0.7007 GB, free: 3.66 MB / 0.5887 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.01803/0.2769, allocations: 11.15 MB / 0.7116 GB, free: 8.406 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.2769, allocations: 12.03 kB / 0.7116 GB, free: 8.395 MB / 0.6043 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001001/0.2779, allocations: 0.7905 MB / 0.7124 GB, free: 7.594 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002216/0.2801, allocations: 1.123 MB / 0.7135 GB, free: 6.465 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0106/0.2907, allocations: 7.658 MB / 0.721 GB, free: 14.72 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003737/0.2911, allocations: 455.6 kB / 0.7214 GB, free: 14.25 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005167/0.2916, allocations: 447.9 kB / 0.7218 GB, free: 13.81 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01678/0.3084, allocations: 13.59 MB / 0.7351 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.739e-05/0.3085, allocations: 43.56 kB / 0.7351 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004393/0.3089, allocations: 224 kB / 0.7353 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003145/0.3092, allocations: 423.1 kB / 0.7357 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01512/0.3244, allocations: 9.696 MB / 0.7452 GB, free: 4.18 MB / 0.6355 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.3511/0.6754, allocations: 43.2 MB / 0.7874 GB, free: 144.7 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01289/0.6883, allocations: 7.955 MB / 0.7952 GB, free: 142.1 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004246/0.6926, allocations: 3.087 MB / 0.7982 GB, free: 140.6 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000934/0.6935, allocations: 394.3 kB / 0.7986 GB, free: 140.6 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009616/0.7031, allocations: 6.322 MB / 0.8047 GB, free: 137.5 MB / 0.6512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002834/0.7059, allocations: 0.5718 MB / 0.8053 GB, free: 137.5 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=833): time 1.335e-05/0.706, allocations: 0 / 0.8053 GB, free: 137.5 MB / 0.6512 GB Notification: Performance of matching and sorting (n=834): time 0.065/0.771, allocations: 52.79 MB / 0.8569 GB, free: 98.91 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002413/0.7712, allocations: 1.76 MB / 0.8586 GB, free: 96.75 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008005/0.7792, allocations: 6.952 MB / 0.8654 GB, free: 89.93 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.001546/0.7808, allocations: 101.7 kB / 0.8655 GB, free: 89.82 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001403/0.7822, allocations: 3.164 MB / 0.8685 GB, free: 86.93 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001973/0.7841, allocations: 2.828 MB / 0.8713 GB, free: 84.5 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001734/0.7859, allocations: 1.791 MB / 0.8731 GB, free: 82.7 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 2.75e-05/0.7859, allocations: 305.1 kB / 0.8733 GB, free: 82.4 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004206/0.7901, allocations: 4.042 MB / 0.8773 GB, free: 78.35 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004954/0.795, allocations: 7.599 MB / 0.8847 GB, free: 69.4 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1709/0.966, allocations: 52.05 MB / 0.9355 GB, free: 17.34 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.161e-05/0.966, allocations: 20 kB / 0.9356 GB, free: 17.32 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1178) (initialization): time 0.01717/0.9832, allocations: 12.34 MB / 0.9476 GB, free: 4.941 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 4.412e-05/0.9832, allocations: 46.22 kB / 0.9477 GB, free: 4.898 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01252/0.9957, allocations: 9.471 MB / 0.9569 GB, free: 11.38 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0217/1.017, allocations: 3.903 MB / 0.9607 GB, free: 7.496 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007006/1.024, allocations: 2.398 MB / 0.9631 GB, free: 5.094 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009765/1.034, allocations: 13.33 MB / 0.9761 GB, free: 6.953 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006206/1.04, allocations: 0.5008 MB / 0.9766 GB, free: 6.457 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009046/1.041, allocations: 0.5483 MB / 0.9771 GB, free: 5.91 MB / 0.6824 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.008934/1.05, allocations: 5.708 MB / 0.9827 GB, free: 204 kB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00662/1.057, allocations: 7.534 MB / 0.99 GB, free: 7.297 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1539/1.211, allocations: 49.78 MB / 1.039 GB, free: 4.5 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.931e-05/1.211, allocations: 20 kB / 1.039 GB, free: 4.48 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1178) (initialization_lambda0): time 0.2884/1.499, allocations: 11.94 MB / 1.05 GB, free: 252.5 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 3.661e-05/1.499, allocations: 41.27 kB / 1.05 GB, free: 252.5 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01139/1.511, allocations: 9.055 MB / 1.059 GB, free: 249.4 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001309/1.512, allocations: 0.6635 MB / 1.06 GB, free: 249.2 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005464/1.517, allocations: 2.398 MB / 1.062 GB, free: 249 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007648/1.525, allocations: 14.24 MB / 1.076 GB, free: 236.5 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005171/1.53, allocations: 0.5135 MB / 1.077 GB, free: 236.3 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000708/1.531, allocations: 0.5363 MB / 1.077 GB, free: 236.3 MB / 0.7449 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.002076/1.533, allocations: 0.7334 MB / 1.078 GB, free: 235.7 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001637/1.535, allocations: 0.7865 MB / 1.079 GB, free: 235.7 MB / 0.7449 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.01253/1.547, allocations: 10.68 MB / 1.089 GB, free: 231.8 MB / 0.7449 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.330612591467798] Failed to read output from testmodel.py, exit status != 0: 1.693253455683589 1.700866711 1.440869003 Calling exit ...