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.01601/0.01601, allocations: 1.756 MB / 21.38 MB, free: 0.582 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.001245/0.001245, allocations: 99.86 kB / 24.97 MB, free: 2.188 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.001659/0.001659, allocations: 207.2 kB / 28.71 MB, free: 3.461 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.444/1.444, allocations: 230.6 MB / 262.9 MB, free: 6.016 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.5 MB, free: 6.582 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.03178/0.03178, allocations: 20.61 MB / 0.6364 GB, free: 5.301 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.2117, allocations: 81.9 MB / 0.7163 GB, free: 3.309 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.5116/0.7232, allocations: 61.13 MB / 0.776 GB, free: 9.449 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04445/0.7677, allocations: 27.6 MB / 0.803 GB, free: 5.547 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00931/0.777, allocations: 151.5 kB / 0.8031 GB, free: 5.477 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.009442/0.7864, allocations: 3.103 MB / 0.8062 GB, free: 3.266 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01619/0.8026, allocations: 5.018 MB / 0.8111 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01337/0.816, allocations: 5.088 MB / 0.816 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02256/0.8386, allocations: 13.99 MB / 0.8297 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007932/0.8465, allocations: 4.174 MB / 0.8338 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01241/0.8589, allocations: 5.595 MB / 0.8392 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01159/0.8705, allocations: 5.945 MB / 0.845 GB, free: 15.46 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.003549/0.874, allocations: 0.9766 MB / 0.846 GB, free: 14.48 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01076/0.8848, allocations: 4.338 MB / 0.8502 GB, free: 10.15 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.005069/0.8899, allocations: 3.114 MB / 0.8533 GB, free: 7.031 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.008715/0.8986, allocations: 4.871 MB / 0.858 GB, free: 2.137 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.02607/0.9247, allocations: 16.01 MB / 0.8737 GB, free: 2.07 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.9247, allocations: 2.656 kB / 0.8737 GB, free: 2.07 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.824e-06/0.9247, allocations: 0 / 0.8737 GB, free: 2.07 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0004248/0.9251, allocations: 0 / 0.8737 GB, free: 2.07 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.03128/0.9564, allocations: 11.26 MB / 0.8847 GB, free: 6.777 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.9564, allocations: 12.03 kB / 0.8847 GB, free: 6.766 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001618/0.9566, allocations: 138.4 kB / 0.8848 GB, free: 6.633 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002373/0.959, allocations: 0.7944 MB / 0.8856 GB, free: 5.828 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005121/0.9641, allocations: 1.122 MB / 0.8867 GB, free: 4.703 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01849/0.9826, allocations: 7.513 MB / 0.894 GB, free: 13.14 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000505/0.9831, allocations: 459.6 kB / 0.8944 GB, free: 12.67 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001301/0.9844, allocations: 435.9 kB / 0.8949 GB, free: 12.24 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02799/1.012, allocations: 11.68 MB / 0.9063 GB, free: 15.48 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001194/1.012, allocations: 47.56 kB / 0.9063 GB, free: 15.44 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007436/1.013, allocations: 227.9 kB / 0.9065 GB, free: 15.21 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004999/1.014, allocations: 424.1 kB / 0.9069 GB, free: 14.81 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02737/1.041, allocations: 9.735 MB / 0.9164 GB, free: 5.082 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.06883/1.11, allocations: 46.37 MB / 0.9617 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02384/1.134, allocations: 7.988 MB / 0.9695 GB, free: 13.28 MB / 0.7482 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008643/1.142, allocations: 3.081 MB / 0.9725 GB, free: 10.13 MB / 0.7482 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002149/1.145, allocations: 424.9 kB / 0.9729 GB, free: 9.723 MB / 0.7482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02064/1.165, allocations: 6.331 MB / 0.9791 GB, free: 3.258 MB / 0.7482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004293/1.17, allocations: 0.5614 MB / 0.9797 GB, free: 2.691 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=833): time 2.452e-05/1.17, allocations: 2.688 kB / 0.9797 GB, free: 2.691 MB / 0.7482 GB Notification: Performance of matching and sorting (n=834): time 0.1333/1.303, allocations: 52.78 MB / 1.031 GB, free: 13.58 MB / 0.8107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001086/1.304, allocations: 1.769 MB / 1.033 GB, free: 11.4 MB / 0.8107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01547/1.319, allocations: 6.887 MB / 1.04 GB, free: 4.543 MB / 0.8107 GB Notification: Performance of collectPreVariables (initialization): time 0.001776/1.321, allocations: 105.7 kB / 1.04 GB, free: 4.434 MB / 0.8107 GB Notification: Performance of collectInitialEqns (initialization): time 0.003838/1.325, allocations: 3.188 MB / 1.043 GB, free: 1.223 MB / 0.8107 GB Notification: Performance of collectInitialBindings (initialization): time 0.004364/1.329, allocations: 2.876 MB / 1.046 GB, free: 14.32 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004459/1.334, allocations: 1.811 MB / 1.047 GB, free: 12.5 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001324/1.334, allocations: 308.9 kB / 1.048 GB, free: 12.2 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008543/1.343, allocations: 4.041 MB / 1.052 GB, free: 8.145 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01248/1.355, allocations: 6.664 MB / 1.058 GB, free: 420 kB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6722/2.027, allocations: 52.02 MB / 1.109 GB, free: 320.1 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.695e-05/2.027, allocations: 20 kB / 1.109 GB, free: 320.1 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1178) (initialization): time 0.02935/2.057, allocations: 12.33 MB / 1.121 GB, free: 308.2 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.54e-05/2.057, allocations: 39.94 kB / 1.121 GB, free: 308.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02113/2.078, allocations: 9.473 MB / 1.13 GB, free: 298.6 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04292/2.121, allocations: 3.896 MB / 1.134 GB, free: 294.7 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009305/2.13, allocations: 2.402 MB / 1.137 GB, free: 292.3 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.011/2.141, allocations: 13.42 MB / 1.15 GB, free: 278.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008053/2.149, allocations: 0.5058 MB / 1.15 GB, free: 277.7 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002094/2.151, allocations: 0.5503 MB / 1.151 GB, free: 277.1 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.01264/2.164, allocations: 5.704 MB / 1.156 GB, free: 271.4 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009629/2.174, allocations: 6.608 MB / 1.163 GB, free: 263.7 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2997/2.473, allocations: 49.77 MB / 1.211 GB, free: 212.9 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.044e-05/2.473, allocations: 20 kB / 1.211 GB, free: 212.9 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1178) (initialization_lambda0): time 0.0238/2.497, allocations: 11.96 MB / 1.223 GB, free: 201.3 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 4.551e-05/2.497, allocations: 36 kB / 1.223 GB, free: 201.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01716/2.514, allocations: 9.058 MB / 1.232 GB, free: 192.1 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001844/2.516, allocations: 0.6589 MB / 1.232 GB, free: 191.5 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008699/2.525, allocations: 2.398 MB / 1.235 GB, free: 189.1 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01031/2.535, allocations: 14.34 MB / 1.249 GB, free: 173.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00755/2.543, allocations: 0.513 MB / 1.249 GB, free: 173.4 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001726/2.544, allocations: 0.5348 MB / 1.25 GB, free: 172.8 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.002585/2.547, allocations: 0.7277 MB / 1.251 GB, free: 172.2 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002323/2.549, allocations: 0.7882 MB / 1.251 GB, free: 171.7 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.01692/2.566, allocations: 10.65 MB / 1.262 GB, free: 161.4 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.408967526978813] Failed to read output from testmodel.py, exit status != 0: 2.715773853007704 2.725658842 1.798334324 Calling exit ...