Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_BU_simple.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo): time 0.01226/0.01226, allocations: 1.76 MB / 20.61 MB, free: 3.863 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo): time 0.08348/0.08348, allocations: 25.61 MB / 49.71 MB, free: 2.926 MB / 33.03 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.0009408/0.0009408, allocations: 122.1 kB / 60.66 MB, free: 3.023 MB / 44.04 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.001227/0.001227, allocations: 227.7 kB / 71.73 MB, free: 6.469 MB / 44.04 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.9513/0.9513, allocations: 230.6 MB / 313.3 MB, free: 11.76 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/package.mo): time 0.7636/0.7636, allocations: 130.8 MB / 0.4964 GB, free: 2.371 MB / 362.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-main/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 TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo) Using package SMArtInt with version 0.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_BU_simple,fileNamePrefix="ClaRa_dev_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_2ph_BU_simple",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_BU_simple,fileNamePrefix="ClaRa_dev_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_2ph_BU_simple",fmuType="me_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: 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: 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: Performance of FrontEnd - loaded program: time 0.002599/0.002599, allocations: 154.7 kB / 0.6902 GB, free: 46.64 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1361, allocations: 89.27 MB / 0.7773 GB, free: 3.02 MB / 0.5418 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_BU_simple): time 0.0176/0.1537, allocations: 24.44 MB / 0.8012 GB, free: 10.47 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.02778/0.1814, allocations: 26.38 MB / 0.827 GB, free: 16 kB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004392/0.1858, allocations: 150.9 kB / 0.8271 GB, free: 15.86 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.005124/0.191, allocations: 2.954 MB / 0.83 GB, free: 12.9 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.009061/0.2, allocations: 5.008 MB / 0.8349 GB, free: 7.871 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.008021/0.208, allocations: 5.079 MB / 0.8398 GB, free: 2.801 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.01311/0.2212, allocations: 13.97 MB / 0.8535 GB, free: 4.793 MB / 0.6199 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005534/0.2267, allocations: 4.392 MB / 0.8578 GB, free: 344 kB / 0.6199 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007463/0.2342, allocations: 5.603 MB / 0.8632 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007108/0.2413, allocations: 5.638 MB / 0.8687 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.002457/0.2437, allocations: 0.9727 MB / 0.8697 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005914/0.2496, allocations: 3.197 MB / 0.8728 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.002744/0.2524, allocations: 3.088 MB / 0.8758 GB, free: 13.78 MB / 0.6512 GB Notification: Performance of NFVerifyModel.verify: time 0.004936/0.2573, allocations: 3.818 MB / 0.8796 GB, free: 9.945 MB / 0.6512 GB Notification: Performance of NFConvertDAE.convert: time 0.01504/0.2724, allocations: 15.82 MB / 0.895 GB, free: 10.08 MB / 0.6668 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.2724, allocations: 4 kB / 0.895 GB, free: 10.07 MB / 0.6668 GB Notification: Performance of FrontEnd: time 1.402e-06/0.2724, allocations: 0 / 0.895 GB, free: 10.07 MB / 0.6668 GB Notification: Performance of Transformations before backend: time 0.0003699/0.2727, allocations: 0 / 0.895 GB, free: 10.07 MB / 0.6668 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.2778/0.5505, allocations: 11.25 MB / 0.906 GB, free: 110.8 MB / 0.6668 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.5506, allocations: 10.42 kB / 0.906 GB, free: 110.8 MB / 0.6668 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0011/0.5517, allocations: 0.7877 MB / 0.9068 GB, free: 110.5 MB / 0.6668 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002377/0.5541, allocations: 1.126 MB / 0.9079 GB, free: 109.9 MB / 0.6668 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01054/0.5646, allocations: 7.665 MB / 0.9154 GB, free: 106.5 MB / 0.6668 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002772/0.5649, allocations: 457.9 kB / 0.9158 GB, free: 106.3 MB / 0.6668 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005083/0.5654, allocations: 439.1 kB / 0.9162 GB, free: 106.1 MB / 0.6668 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01638/0.5818, allocations: 13.6 MB / 0.9295 GB, free: 97.52 MB / 0.6668 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.671e-05/0.5818, allocations: 45.44 kB / 0.9295 GB, free: 97.5 MB / 0.6668 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004147/0.5823, allocations: 223.5 kB / 0.9298 GB, free: 97.36 MB / 0.6668 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000322/0.5826, allocations: 420.5 kB / 0.9302 GB, free: 97.31 MB / 0.6668 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0139/0.5965, allocations: 9.698 MB / 0.9396 GB, free: 92.55 MB / 0.6668 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.02902/0.6255, allocations: 43.31 MB / 0.9819 GB, free: 48.94 MB / 0.6668 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01102/0.6365, allocations: 7.962 MB / 0.9897 GB, free: 40.79 MB / 0.6668 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003237/0.6398, allocations: 3.079 MB / 0.9927 GB, free: 37.63 MB / 0.6668 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007667/0.6405, allocations: 406.2 kB / 0.9931 GB, free: 37.23 MB / 0.6668 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008319/0.6488, allocations: 6.321 MB / 0.9993 GB, free: 30.76 MB / 0.6668 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002682/0.6515, allocations: 0.5683 MB / 0.9998 GB, free: 30.36 MB / 0.6668 GB Notification: Performance of pre-optimization done (n=833): time 2.441e-05/0.6516, allocations: 0 / 0.9998 GB, free: 30.36 MB / 0.6668 GB Notification: Performance of matching and sorting (n=834): time 0.05625/0.7078, allocations: 52.78 MB / 1.051 GB, free: 9.25 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004853/0.7083, allocations: 1.766 MB / 1.053 GB, free: 7.07 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00837/0.7167, allocations: 6.953 MB / 1.06 GB, free: 240 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.001328/0.718, allocations: 105.7 kB / 1.06 GB, free: 128 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002047/0.72, allocations: 3.185 MB / 1.063 GB, free: 12.96 MB / 0.7137 GB Notification: Performance of collectInitialBindings (initialization): time 0.003183/0.7232, allocations: 2.862 MB / 1.066 GB, free: 10.14 MB / 0.7137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002254/0.7255, allocations: 1.815 MB / 1.068 GB, free: 8.316 MB / 0.7137 GB Notification: Performance of setup shared object (initialization): time 8.625e-05/0.7256, allocations: 301.1 kB / 1.068 GB, free: 8.02 MB / 0.7137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005308/0.7309, allocations: 4.041 MB / 1.072 GB, free: 3.961 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006651/0.7375, allocations: 7.599 MB / 1.079 GB, free: 10.99 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1789/0.9164, allocations: 52.04 MB / 1.13 GB, free: 5.91 MB / 0.7762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.996e-05/0.9164, allocations: 24 kB / 1.13 GB, free: 5.887 MB / 0.7762 GB Notification: Performance of matching and sorting (n=1178) (initialization): time 0.02038/0.9368, allocations: 12.33 MB / 1.142 GB, free: 9.496 MB / 0.7918 GB Notification: Performance of prepare postOptimizeDAE: time 6.592e-05/0.9369, allocations: 36.97 kB / 1.142 GB, free: 9.461 MB / 0.7918 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01368/0.9506, allocations: 9.469 MB / 1.151 GB, free: 15.93 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02189/0.9725, allocations: 3.9 MB / 1.155 GB, free: 12.01 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006371/0.9788, allocations: 2.398 MB / 1.158 GB, free: 9.609 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009235/0.9881, allocations: 13.35 MB / 1.171 GB, free: 11.41 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005557/0.9936, allocations: 0.5112 MB / 1.171 GB, free: 10.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001024/0.9946, allocations: 0.5465 MB / 1.172 GB, free: 10.36 MB / 0.823 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.008434/1.003, allocations: 5.707 MB / 1.177 GB, free: 4.633 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007286/1.01, allocations: 7.525 MB / 1.185 GB, free: 11.74 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1554/1.166, allocations: 49.78 MB / 1.233 GB, free: 8.82 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.119e-05/1.166, allocations: 24 kB / 1.233 GB, free: 8.797 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1178) (initialization_lambda0): time 0.3124/1.478, allocations: 11.95 MB / 1.245 GB, free: 309.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.28e-05/1.478, allocations: 35.69 kB / 1.245 GB, free: 309.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01258/1.491, allocations: 9.052 MB / 1.254 GB, free: 307.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001254/1.492, allocations: 0.6649 MB / 1.254 GB, free: 307.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005387/1.498, allocations: 2.399 MB / 1.257 GB, free: 307.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00699/1.504, allocations: 14.24 MB / 1.271 GB, free: 294.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005415/1.51, allocations: 0.5062 MB / 1.271 GB, free: 294.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007087/1.511, allocations: 0.5446 MB / 1.272 GB, free: 294.6 MB / 0.8855 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.001753/1.512, allocations: 0.728 MB / 1.272 GB, free: 294.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00137/1.514, allocations: 0.7813 MB / 1.273 GB, free: 294.1 MB / 0.8855 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.0104/1.524, allocations: 10.7 MB / 1.284 GB, free: 290.4 MB / 0.8855 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.511796044185758]