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.01026/0.01026, allocations: 1.771 MB / 18.83 MB, free: 4.332 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.001206/0.001206, allocations: 99.7 kB / 22.07 MB, free: 1.09 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.001463/0.001463, allocations: 211 kB / 25.45 MB, free: 2.797 MB / 14.72 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.468/1.468, allocations: 230.6 MB / 259.2 MB, free: 13.12 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.098/1.098, allocations: 130.6 MB / 446.3 MB, free: 14.62 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: Automatically loaded package TILMedia 1.9.0 ClaRa due to uses annotation from ClaRa. 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. 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.3802/0.3802, allocations: 46.14 MB / 0.6552 GB, free: 30.9 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.5598, allocations: 89.06 MB / 0.7422 GB, free: 2.781 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_BU_simple): time 0.03263/0.5924, allocations: 28.13 MB / 0.7696 GB, free: 6.535 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.04563/0.6381, allocations: 27.28 MB / 0.7963 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007996/0.6461, allocations: 150.9 kB / 0.7964 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.009571/0.6556, allocations: 3.035 MB / 0.7994 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01553/0.6712, allocations: 4.909 MB / 0.8042 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01428/0.6855, allocations: 4.95 MB / 0.809 GB, free: 14.1 MB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.02221/0.7077, allocations: 13.98 MB / 0.8226 GB, free: 84 kB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009255/0.7169, allocations: 4.338 MB / 0.8269 GB, free: 11.68 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01303/0.73, allocations: 5.587 MB / 0.8323 GB, free: 6.074 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01216/0.7421, allocations: 5.913 MB / 0.8381 GB, free: 144 kB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.004925/0.747, allocations: 0.9766 MB / 0.8391 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01162/0.7587, allocations: 4.035 MB / 0.843 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.005869/0.7645, allocations: 3.107 MB / 0.846 GB, free: 8.008 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.01039/0.7749, allocations: 4.867 MB / 0.8508 GB, free: 3.117 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.03006/0.805, allocations: 15.91 MB / 0.8663 GB, free: 3.152 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.805, allocations: 4 kB / 0.8663 GB, free: 3.148 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.345e-06/0.805, allocations: 0 / 0.8663 GB, free: 3.148 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0005577/0.8055, allocations: 7.938 kB / 0.8663 GB, free: 3.141 MB / 0.67 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.3985/1.204, allocations: 10.1 MB / 0.8762 GB, free: 110.6 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/1.204, allocations: 10.03 kB / 0.8762 GB, free: 110.6 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001976/1.204, allocations: 137.3 kB / 0.8763 GB, free: 110.6 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002664/1.207, allocations: 0.7865 MB / 0.8771 GB, free: 110.2 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005158/1.212, allocations: 1.126 MB / 0.8782 GB, free: 109.6 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01751/1.23, allocations: 7.697 MB / 0.8857 GB, free: 106.4 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004337/1.23, allocations: 405.9 kB / 0.8861 GB, free: 106.2 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001709/1.232, allocations: 435.6 kB / 0.8865 GB, free: 106.1 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02729/1.259, allocations: 11.69 MB / 0.8979 GB, free: 98.81 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002114/1.259, allocations: 49.73 kB / 0.898 GB, free: 98.81 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001206/1.26, allocations: 223 kB / 0.8982 GB, free: 98.67 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006019/1.261, allocations: 415.8 kB / 0.8986 GB, free: 98.57 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02815/1.289, allocations: 9.74 MB / 0.9081 GB, free: 93.93 MB / 0.67 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.05982/1.349, allocations: 46.78 MB / 0.9538 GB, free: 53.67 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01983/1.369, allocations: 8.136 MB / 0.9617 GB, free: 49.08 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006453/1.375, allocations: 3.078 MB / 0.9647 GB, free: 47.12 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001736/1.377, allocations: 0.8775 MB / 0.9656 GB, free: 46.18 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01654/1.394, allocations: 6.321 MB / 0.9718 GB, free: 39.73 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003957/1.398, allocations: 0.568 MB / 0.9723 GB, free: 39.16 MB / 0.67 GB Notification: Performance of pre-optimization done (n=833): time 3.44e-05/1.398, allocations: 1.875 kB / 0.9723 GB, free: 39.16 MB / 0.67 GB Notification: Performance of matching and sorting (n=834): time 0.09854/1.496, allocations: 53.33 MB / 1.024 GB, free: 1.449 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001093/1.497, allocations: 1.756 MB / 1.026 GB, free: 15.29 MB / 0.7013 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01511/1.512, allocations: 6.887 MB / 1.033 GB, free: 8.434 MB / 0.7013 GB Notification: Performance of collectPreVariables (initialization): time 0.002102/1.514, allocations: 104.4 kB / 1.033 GB, free: 8.328 MB / 0.7013 GB Notification: Performance of collectInitialEqns (initialization): time 0.003663/1.518, allocations: 3.194 MB / 1.036 GB, free: 5.137 MB / 0.7013 GB Notification: Performance of collectInitialBindings (initialization): time 0.005126/1.523, allocations: 2.87 MB / 1.039 GB, free: 2.312 MB / 0.7013 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005186/1.528, allocations: 1.807 MB / 1.041 GB, free: 0.4922 MB / 0.7013 GB Notification: Performance of setup shared object (initialization): time 0.000138/1.529, allocations: 305.1 kB / 1.041 GB, free: 196 kB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008741/1.537, allocations: 4.043 MB / 1.045 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01315/1.55, allocations: 6.664 MB / 1.051 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3563/1.907, allocations: 52.03 MB / 1.102 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.074e-05/1.907, allocations: 20 kB / 1.102 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1178) (initialization): time 0.03544/1.942, allocations: 12.33 MB / 1.114 GB, free: 3.516 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.626e-05/1.942, allocations: 36 kB / 1.114 GB, free: 3.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02638/1.969, allocations: 9.476 MB / 1.124 GB, free: 9.961 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04463/2.013, allocations: 3.894 MB / 1.127 GB, free: 6.082 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0103/2.024, allocations: 2.402 MB / 1.13 GB, free: 3.676 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01564/2.039, allocations: 14.15 MB / 1.144 GB, free: 4.531 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008605/2.048, allocations: 0.4971 MB / 1.144 GB, free: 4.035 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002159/2.05, allocations: 0.5504 MB / 1.145 GB, free: 3.484 MB / 0.8107 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.01357/2.064, allocations: 5.697 MB / 1.15 GB, free: 13.78 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01178/2.075, allocations: 6.597 MB / 1.157 GB, free: 6.043 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.7361/2.811, allocations: 49.77 MB / 1.205 GB, free: 275.1 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.703e-05/2.812, allocations: 19.75 kB / 1.205 GB, free: 275.1 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1178) (initialization_lambda0): time 0.04033/2.852, allocations: 11.97 MB / 1.217 GB, free: 271.8 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001029/2.852, allocations: 35.34 kB / 1.217 GB, free: 271.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02286/2.875, allocations: 9.056 MB / 1.226 GB, free: 268.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002367/2.877, allocations: 0.6664 MB / 1.226 GB, free: 268.3 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009657/2.887, allocations: 2.393 MB / 1.229 GB, free: 268.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01222/2.899, allocations: 15.16 MB / 1.244 GB, free: 254.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008895/2.908, allocations: 0.5135 MB / 1.244 GB, free: 254.6 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002198/2.91, allocations: 0.5361 MB / 1.245 GB, free: 254.5 MB / 0.8575 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.003616/2.914, allocations: 0.7296 MB / 1.245 GB, free: 254.1 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003642/2.917, allocations: 0.791 MB / 1.246 GB, free: 254.1 MB / 0.8575 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.02069/2.938, allocations: 10.65 MB / 1.256 GB, free: 249.9 MB / 0.8575 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.47766270005377] Failed to read output from testmodel.py, exit status != 0: 2.946020105970092 2.954831299 2.14728512 Calling exit ...