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.01673/0.01673, allocations: 1.744 MB / 21.38 MB, free: 464 kB / 14.72 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.001694/0.001694, allocations: 100.2 kB / 24.97 MB, free: 2.039 MB / 14.72 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.002265/0.002265, allocations: 211.6 kB / 28.69 MB, free: 3.324 MB / 19.63 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.43/1.43, allocations: 230.6 MB / 262.9 MB, free: 5.805 MB / 206.1 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.092/1.092, allocations: 130.7 MB / 450.4 MB, free: 6.426 MB / 350.1 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.3.1 (/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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: SMArtInt 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: ClaRa 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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.06302/0.06302, allocations: 20.6 MB / 0.6362 GB, free: 5.07 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.2272, allocations: 81.91 MB / 0.7162 GB, free: 3.066 MB / 0.5294 GB 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.4912/0.7184, allocations: 57.42 MB / 0.7723 GB, free: 12.97 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04475/0.7632, allocations: 26.35 MB / 0.798 GB, free: 10.38 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009203/0.7724, allocations: 146.4 kB / 0.7982 GB, free: 10.32 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.009735/0.7821, allocations: 2.977 MB / 0.8011 GB, free: 8.207 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01746/0.7996, allocations: 5.034 MB / 0.806 GB, free: 4.184 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01394/0.8135, allocations: 5.083 MB / 0.811 GB, free: 332 kB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02309/0.8366, allocations: 13.98 MB / 0.8246 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007955/0.8446, allocations: 4.17 MB / 0.8287 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0123/0.8569, allocations: 5.629 MB / 0.8342 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01302/0.8699, allocations: 5.925 MB / 0.84 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.005163/0.875, allocations: 0.9773 MB / 0.8409 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01075/0.8858, allocations: 3.261 MB / 0.8441 GB, free: 15.87 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.005908/0.8917, allocations: 3.109 MB / 0.8472 GB, free: 12.76 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.01066/0.9024, allocations: 3.829 MB / 0.8509 GB, free: 8.914 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.02831/0.9307, allocations: 15.84 MB / 0.8664 GB, free: 9.023 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.9307, allocations: 0 / 0.8664 GB, free: 9.023 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9307, allocations: 6.625 kB / 0.8664 GB, free: 9.02 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0004961/0.9312, allocations: 0 / 0.8664 GB, free: 9.02 MB / 0.6388 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.03699/0.9682, allocations: 11.25 MB / 0.8774 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.9682, allocations: 8.031 kB / 0.8774 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002003/0.9684, allocations: 133 kB / 0.8775 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002528/0.971, allocations: 0.7944 MB / 0.8783 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005033/0.976, allocations: 1.122 MB / 0.8794 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01842/0.9944, allocations: 7.52 MB / 0.8867 GB, free: 4.098 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005844/0.995, allocations: 458.3 kB / 0.8871 GB, free: 3.625 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001747/0.9967, allocations: 439.9 kB / 0.8876 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02975/1.026, allocations: 13.6 MB / 0.9008 GB, free: 3.949 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001237/1.027, allocations: 47.56 kB / 0.9009 GB, free: 3.902 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007147/1.027, allocations: 220 kB / 0.9011 GB, free: 3.688 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004921/1.028, allocations: 419.1 kB / 0.9015 GB, free: 3.277 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02829/1.056, allocations: 9.742 MB / 0.911 GB, free: 9.547 MB / 0.6857 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.06811/1.124, allocations: 43.34 MB / 0.9533 GB, free: 13 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02349/1.148, allocations: 7.969 MB / 0.9611 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008577/1.156, allocations: 3.071 MB / 0.9641 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00199/1.158, allocations: 406.2 kB / 0.9645 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02097/1.179, allocations: 6.32 MB / 0.9707 GB, free: 10.89 MB / 0.7482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004138/1.183, allocations: 0.5679 MB / 0.9712 GB, free: 10.32 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=833): time 1.938e-05/1.183, allocations: 2.656 kB / 0.9712 GB, free: 10.32 MB / 0.7482 GB Notification: Performance of matching and sorting (n=834): time 0.1109/1.294, allocations: 52.8 MB / 1.023 GB, free: 5.191 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009345/1.295, allocations: 1.759 MB / 1.025 GB, free: 3.02 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01305/1.308, allocations: 6.891 MB / 1.031 GB, free: 12.16 MB / 0.8107 GB Notification: Performance of collectPreVariables (initialization): time 0.001658/1.31, allocations: 97.7 kB / 1.031 GB, free: 12.05 MB / 0.8107 GB Notification: Performance of collectInitialEqns (initialization): time 0.003336/1.313, allocations: 3.203 MB / 1.034 GB, free: 8.828 MB / 0.8107 GB Notification: Performance of collectInitialBindings (initialization): time 0.004057/1.317, allocations: 2.86 MB / 1.037 GB, free: 5.945 MB / 0.8107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003654/1.321, allocations: 1.818 MB / 1.039 GB, free: 4.113 MB / 0.8107 GB Notification: Performance of setup shared object (initialization): time 0.0001399/1.321, allocations: 301.1 kB / 1.039 GB, free: 3.816 MB / 0.8107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007947/1.329, allocations: 4.031 MB / 1.043 GB, free: 15.77 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01137/1.34, allocations: 7.603 MB / 1.051 GB, free: 6.809 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6322/1.973, allocations: 52.05 MB / 1.102 GB, free: 325.9 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.447e-05/1.973, allocations: 20 kB / 1.102 GB, free: 325.9 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1178) (initialization): time 0.02404/1.997, allocations: 12.33 MB / 1.114 GB, free: 313.9 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.256e-05/1.997, allocations: 39.94 kB / 1.114 GB, free: 313.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01826/2.015, allocations: 9.465 MB / 1.123 GB, free: 304.4 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04775/2.063, allocations: 3.898 MB / 1.127 GB, free: 300.5 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008959/2.072, allocations: 2.398 MB / 1.129 GB, free: 298.1 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01018/2.082, allocations: 13.35 MB / 1.142 GB, free: 284 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009504/2.091, allocations: 0.5051 MB / 1.143 GB, free: 283.5 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002358/2.094, allocations: 0.5464 MB / 1.143 GB, free: 283 MB / 0.8263 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.01302/2.107, allocations: 5.707 MB / 1.149 GB, free: 277.3 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01029/2.117, allocations: 7.541 MB / 1.156 GB, free: 268.4 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3115/2.429, allocations: 49.78 MB / 1.205 GB, free: 217.6 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.153e-05/2.429, allocations: 24 kB / 1.205 GB, free: 217.5 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1178) (initialization_lambda0): time 0.02507/2.454, allocations: 11.95 MB / 1.216 GB, free: 205.9 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 4.956e-05/2.454, allocations: 41.09 kB / 1.216 GB, free: 205.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01751/2.471, allocations: 9.057 MB / 1.225 GB, free: 196.8 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001857/2.473, allocations: 0.672 MB / 1.226 GB, free: 196.1 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009215/2.482, allocations: 2.391 MB / 1.228 GB, free: 193.7 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01074/2.493, allocations: 14.26 MB / 1.242 GB, free: 178.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008453/2.502, allocations: 0.5119 MB / 1.243 GB, free: 178.1 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002113/2.504, allocations: 0.5426 MB / 1.243 GB, free: 177.6 MB / 0.8263 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.002702/2.506, allocations: 0.7172 MB / 1.244 GB, free: 176.9 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002333/2.509, allocations: 0.7823 MB / 1.245 GB, free: 176.4 MB / 0.8263 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.01685/2.526, allocations: 10.65 MB / 1.255 GB, free: 166.1 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.377164570032619] Failed to read output from testmodel.py, exit status != 0: 2.6828083669533953 2.692631855 1.759307037 Calling exit ...