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.006103/0.006103, allocations: 1.446 MB / 20.54 MB, free: 4.008 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.0007452/0.0007452, 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.0008221/0.0008221, allocations: 162.8 kB / 27.85 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.8372/0.8372, allocations: 177.2 MB / 208.6 MB, free: 2.945 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.7356/0.7356, allocations: 102.5 MB / 367.9 MB, free: 1.488 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 1.422e-06/1.422e-06, allocations: 0 / 0.5362 GB, free: 40.06 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.725e-05/1.867e-05, allocations: 7.547 kB / 0.5362 GB, free: 40.05 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.1123/0.1123, allocations: 71.08 MB / 0.6056 GB, free: 5.379 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.03158/0.1439, allocations: 26.1 MB / 0.6311 GB, free: 11.19 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004455/0.1483, allocations: 150.9 kB / 0.6313 GB, free: 11.04 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.004817/0.1531, allocations: 2.961 MB / 0.6341 GB, free: 8.062 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.008794/0.1619, allocations: 5.166 MB / 0.6392 GB, free: 2.867 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.007792/0.1697, allocations: 5.133 MB / 0.6442 GB, free: 13.72 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.01274/0.1825, allocations: 14.32 MB / 0.6582 GB, free: 15.36 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004911/0.1874, allocations: 4.411 MB / 0.6625 GB, free: 10.88 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008078/0.1955, allocations: 7.628 MB / 0.6699 GB, free: 3.234 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005459/0.2009, allocations: 5.055 MB / 0.6749 GB, free: 14.17 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.001332/0.2022, allocations: 0.9766 MB / 0.6758 GB, free: 13.19 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005398/0.2076, allocations: 3.236 MB / 0.679 GB, free: 9.949 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.002407/0.21, allocations: 3.154 MB / 0.6821 GB, free: 6.785 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.003279/0.2133, allocations: 3.176 MB / 0.6852 GB, free: 3.602 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01584/0.2292, allocations: 15.91 MB / 0.7007 GB, free: 3.648 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2292, allocations: 0 / 0.7007 GB, free: 3.648 MB / 0.5887 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2292, allocations: 0 / 0.7007 GB, free: 3.648 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 0.000239/0.2294, allocations: 0 / 0.7007 GB, free: 3.648 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.01655/0.246, allocations: 11.16 MB / 0.7116 GB, free: 8.391 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.246, allocations: 8.031 kB / 0.7116 GB, free: 8.383 MB / 0.6043 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008374/0.2468, allocations: 0.7905 MB / 0.7124 GB, free: 7.582 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002156/0.249, allocations: 1.123 MB / 0.7135 GB, free: 6.453 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01039/0.2594, allocations: 7.659 MB / 0.721 GB, free: 14.71 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002941/0.2597, allocations: 451.6 kB / 0.7214 GB, free: 14.24 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006995/0.2604, allocations: 443.9 kB / 0.7218 GB, free: 13.81 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01583/0.2762, allocations: 13.61 MB / 0.7351 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.892e-05/0.2763, allocations: 47.56 kB / 0.7352 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004429/0.2768, allocations: 216 kB / 0.7354 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002845/0.277, allocations: 427.1 kB / 0.7358 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01473/0.2918, allocations: 9.693 MB / 0.7452 GB, free: 4.168 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.332/0.6238, allocations: 43.2 MB / 0.7874 GB, free: 144.7 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01219/0.636, allocations: 7.956 MB / 0.7952 GB, free: 142 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004006/0.64, allocations: 3.083 MB / 0.7982 GB, free: 140.6 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008793/0.6409, allocations: 397.8 kB / 0.7986 GB, free: 140.6 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0091/0.65, allocations: 6.322 MB / 0.8047 GB, free: 137.5 MB / 0.6512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002528/0.6525, allocations: 0.5723 MB / 0.8053 GB, free: 137.5 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=833): time 7.634e-06/0.6525, allocations: 2.688 kB / 0.8053 GB, free: 137.5 MB / 0.6512 GB Notification: Performance of matching and sorting (n=834): time 0.05365/0.7062, allocations: 52.79 MB / 0.8569 GB, free: 98.88 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000223/0.7064, allocations: 1.756 MB / 0.8586 GB, free: 96.71 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006796/0.7132, allocations: 6.953 MB / 0.8654 GB, free: 89.89 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.0008863/0.7141, allocations: 101.7 kB / 0.8655 GB, free: 89.79 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.00139/0.7155, allocations: 3.162 MB / 0.8686 GB, free: 86.9 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001476/0.7169, allocations: 2.831 MB / 0.8713 GB, free: 84.48 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001673/0.7186, allocations: 1.791 MB / 0.8731 GB, free: 82.67 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 3.086e-05/0.7186, allocations: 305.1 kB / 0.8734 GB, free: 82.37 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004056/0.7227, allocations: 4.039 MB / 0.8773 GB, free: 78.32 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005273/0.728, allocations: 7.603 MB / 0.8847 GB, free: 69.37 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1602/0.8881, allocations: 52.05 MB / 0.9356 GB, free: 17.3 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.726e-05/0.8882, allocations: 20 kB / 0.9356 GB, free: 17.28 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1178) (initialization): time 0.01581/0.904, allocations: 12.34 MB / 0.9476 GB, free: 4.895 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 4.413e-05/0.904, allocations: 43.97 kB / 0.9477 GB, free: 4.852 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01157/0.9156, allocations: 9.473 MB / 0.9569 GB, free: 11.34 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02181/0.9374, allocations: 3.888 MB / 0.9607 GB, free: 7.457 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006453/0.9438, allocations: 2.406 MB / 0.9631 GB, free: 5.051 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009418/0.9533, allocations: 13.33 MB / 0.9761 GB, free: 6.91 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006556/0.9598, allocations: 0.502 MB / 0.9766 GB, free: 6.414 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000816/0.9606, allocations: 0.5465 MB / 0.9771 GB, free: 5.867 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.008139/0.9688, allocations: 5.712 MB / 0.9827 GB, free: 156 kB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006191/0.975, allocations: 7.529 MB / 0.99 GB, free: 7.254 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1706/1.146, allocations: 49.78 MB / 1.039 GB, free: 4.465 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.496e-05/1.146, allocations: 20 kB / 1.039 GB, free: 4.445 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1178) (initialization_lambda0): time 0.3125/1.458, allocations: 11.95 MB / 1.05 GB, free: 252.5 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 4.289e-05/1.458, allocations: 39.64 kB / 1.05 GB, free: 252.5 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01151/1.47, allocations: 9.057 MB / 1.059 GB, free: 249.4 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001264/1.471, allocations: 0.6625 MB / 1.06 GB, free: 249.3 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004904/1.476, allocations: 2.398 MB / 1.062 GB, free: 249 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00713/1.483, allocations: 14.24 MB / 1.076 GB, free: 236.5 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004913/1.488, allocations: 0.5055 MB / 1.077 GB, free: 236.4 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006205/1.489, allocations: 0.5432 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.002016/1.491, allocations: 0.7256 MB / 1.078 GB, free: 235.7 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001331/1.492, allocations: 0.7866 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.01239/1.504, 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.283913106657565] Failed to read output from testmodel.py, exit status != 0: 1.6655418826267123 1.675270842 1.444102762 Calling exit ...