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.01033/0.01033, allocations: 1.757 MB / 20.61 MB, free: 1.168 MB / 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.001355/0.001355, allocations: 103.5 kB / 24.18 MB, free: 2.586 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.001593/0.001593, allocations: 217.1 kB / 27.9 MB, free: 3.922 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.423/1.423, allocations: 230.6 MB / 262.1 MB, free: 5.848 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.033/1.033, allocations: 130.7 MB / 449.7 MB, free: 6.461 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="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: 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.06484/0.06484, allocations: 20.99 MB / 0.6359 GB, free: 4.707 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.2252, allocations: 81.91 MB / 0.7158 GB, free: 2.699 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.5031/0.7284, allocations: 57.45 MB / 0.7719 GB, free: 12.82 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04526/0.7736, allocations: 26.37 MB / 0.7977 GB, free: 10.17 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01089/0.7845, allocations: 151.2 kB / 0.7978 GB, free: 10.1 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01067/0.7952, allocations: 2.961 MB / 0.8007 GB, free: 8.012 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.02031/0.8155, allocations: 5.022 MB / 0.8056 GB, free: 4 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01586/0.8314, allocations: 5.072 MB / 0.8106 GB, free: 164 kB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02795/0.8593, allocations: 13.98 MB / 0.8242 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007899/0.8672, allocations: 4.38 MB / 0.8285 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01099/0.8782, allocations: 5.615 MB / 0.834 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01083/0.889, allocations: 5.638 MB / 0.8395 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004662/0.8937, allocations: 0.9727 MB / 0.8405 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01197/0.9057, allocations: 3.187 MB / 0.8436 GB, free: 15.73 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.005812/0.9115, allocations: 3.087 MB / 0.8466 GB, free: 12.63 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.009391/0.9209, allocations: 3.824 MB / 0.8503 GB, free: 8.793 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.03044/0.9513, allocations: 15.81 MB / 0.8658 GB, free: 8.926 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.9513, allocations: 0 / 0.8658 GB, free: 8.926 MB / 0.6388 GB Notification: Performance of FrontEnd: time 2.114e-06/0.9513, allocations: 0.5625 kB / 0.8658 GB, free: 8.926 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0004621/0.9518, allocations: 2.656 kB / 0.8658 GB, free: 8.926 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.03303/0.9848, allocations: 11.25 MB / 0.8767 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.9848, allocations: 8.031 kB / 0.8768 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002626/0.9875, allocations: 0.7905 MB / 0.8775 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005199/0.9927, allocations: 1.126 MB / 0.8786 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02068/1.013, allocations: 7.674 MB / 0.8861 GB, free: 4 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006689/1.014, allocations: 451.6 kB / 0.8866 GB, free: 3.531 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001903/1.016, allocations: 443.9 kB / 0.887 GB, free: 3.098 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03343/1.049, allocations: 13.6 MB / 0.9003 GB, free: 3.855 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002543/1.05, allocations: 47.56 kB / 0.9003 GB, free: 3.809 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001896/1.052, allocations: 220 kB / 0.9005 GB, free: 3.594 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000673/1.052, allocations: 419.1 kB / 0.9009 GB, free: 3.184 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02901/1.081, allocations: 9.703 MB / 0.9104 GB, free: 9.492 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.07122/1.152, allocations: 43.3 MB / 0.9527 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02405/1.176, allocations: 7.965 MB / 0.9604 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007677/1.184, allocations: 3.072 MB / 0.9634 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00195/1.186, allocations: 409.8 kB / 0.9638 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01942/1.206, allocations: 6.323 MB / 0.97 GB, free: 10.87 MB / 0.7482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00375/1.209, allocations: 0.5691 MB / 0.9706 GB, free: 10.3 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=833): time 2.133e-05/1.209, allocations: 0 / 0.9706 GB, free: 10.3 MB / 0.7482 GB Notification: Performance of matching and sorting (n=834): time 0.1171/1.326, allocations: 52.79 MB / 1.022 GB, free: 5.184 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000944/1.327, allocations: 1.759 MB / 1.024 GB, free: 3.012 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01423/1.342, allocations: 6.949 MB / 1.031 GB, free: 12.09 MB / 0.8107 GB Notification: Performance of collectPreVariables (initialization): time 0.00148/1.343, allocations: 109.6 kB / 1.031 GB, free: 11.98 MB / 0.8107 GB Notification: Performance of collectInitialEqns (initialization): time 0.003512/1.347, allocations: 3.183 MB / 1.034 GB, free: 8.77 MB / 0.8107 GB Notification: Performance of collectInitialBindings (initialization): time 0.003932/1.351, allocations: 2.865 MB / 1.037 GB, free: 5.879 MB / 0.8107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004138/1.355, allocations: 1.807 MB / 1.038 GB, free: 4.059 MB / 0.8107 GB Notification: Performance of setup shared object (initialization): time 0.0001309/1.355, allocations: 315.7 kB / 1.039 GB, free: 3.75 MB / 0.8107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008567/1.363, allocations: 4.036 MB / 1.043 GB, free: 15.7 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01224/1.376, allocations: 7.598 MB / 1.05 GB, free: 6.738 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7152/2.091, allocations: 52.03 MB / 1.101 GB, free: 208.5 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.508e-05/2.091, allocations: 20 kB / 1.101 GB, free: 208.5 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1178) (initialization): time 0.03162/2.122, allocations: 12.33 MB / 1.113 GB, free: 200.8 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001172/2.123, allocations: 36 kB / 1.113 GB, free: 200.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02413/2.147, allocations: 9.468 MB / 1.122 GB, free: 194.5 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04193/2.189, allocations: 3.903 MB / 1.126 GB, free: 190.6 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009184/2.198, allocations: 2.399 MB / 1.128 GB, free: 188.3 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01159/2.209, allocations: 13.35 MB / 1.141 GB, free: 174.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008156/2.218, allocations: 0.5 MB / 1.142 GB, free: 173.9 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002103/2.22, allocations: 0.5426 MB / 1.142 GB, free: 173.3 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.0126/2.232, allocations: 5.707 MB / 1.148 GB, free: 167.6 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01165/2.244, allocations: 7.534 MB / 1.155 GB, free: 158.8 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3039/2.548, allocations: 49.79 MB / 1.204 GB, free: 108.3 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.367e-05/2.548, allocations: 21.25 kB / 1.204 GB, free: 108.2 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1178) (initialization_lambda0): time 0.02651/2.574, allocations: 11.95 MB / 1.216 GB, free: 97.08 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 7.731e-05/2.574, allocations: 36 kB / 1.216 GB, free: 97.04 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0199/2.594, allocations: 9.059 MB / 1.225 GB, free: 87.96 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002021/2.596, allocations: 0.6609 MB / 1.225 GB, free: 87.3 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008848/2.605, allocations: 2.396 MB / 1.228 GB, free: 85.04 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0111/2.616, allocations: 14.26 MB / 1.241 GB, free: 70.05 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007696/2.624, allocations: 0.5081 MB / 1.242 GB, free: 69.54 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001752/2.626, allocations: 0.5434 MB / 1.242 GB, free: 69 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.003227/2.629, allocations: 0.7191 MB / 1.243 GB, free: 68.46 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003033/2.632, allocations: 0.7865 MB / 1.244 GB, free: 68.02 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.02037/2.652, allocations: 10.69 MB / 1.254 GB, free: 57.99 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.31252248166129] Failed to read output from testmodel.py, exit status != 0: 2.7963057230226696 2.812093388 1.857184365 Calling exit ...