Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_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.01075/0.01075, allocations: 1.766 MB / 20.61 MB, free: 3.867 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.08572/0.08572, allocations: 25.61 MB / 49.71 MB, free: 2.945 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.0008816/0.0008816, allocations: 122.1 kB / 60.65 MB, free: 3 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.001506/0.001506, allocations: 215.9 kB / 71.73 MB, free: 14.47 MB / 58.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.03/1.03, allocations: 230.6 MB / 313.3 MB, free: 5.164 MB / 218.7 MB " [Timeout remaining time 179] 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 0.6415/0.6415, allocations: 130.7 MB / 0.4963 GB, free: 2.504 MB / 378.7 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 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_CU_simple,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_2ph_CU_simple",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_simple,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_2ph_CU_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.002643/0.002643, allocations: 155.8 kB / 0.6901 GB, free: 1.445 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.3921, allocations: 89.26 MB / 0.7772 GB, free: 7.641 MB / 0.5418 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_simple): time 0.01986/0.412, allocations: 25.19 MB / 0.8018 GB, free: 4.738 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.03559/0.4476, allocations: 25.26 MB / 0.8265 GB, free: 15.14 MB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006423/0.454, allocations: 166.8 kB / 0.8267 GB, free: 14.97 MB / 0.5887 GB Notification: Performance of NFTyping.typeComponents: time 0.00697/0.461, allocations: 3.115 MB / 0.8297 GB, free: 11.84 MB / 0.5887 GB Notification: Performance of NFTyping.typeBindings: time 0.01167/0.4727, allocations: 4.916 MB / 0.8345 GB, free: 6.902 MB / 0.5887 GB Notification: Performance of NFTyping.typeClassSections: time 0.009304/0.482, allocations: 4.935 MB / 0.8393 GB, free: 1.973 MB / 0.5887 GB Notification: Performance of NFFlatten.flatten: time 0.01705/0.499, allocations: 13.89 MB / 0.8529 GB, free: 4.047 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006972/0.506, allocations: 4.389 MB / 0.8572 GB, free: 15.59 MB / 0.6199 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00961/0.5156, allocations: 5.684 MB / 0.8627 GB, free: 9.879 MB / 0.6199 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008358/0.5239, allocations: 5.703 MB / 0.8683 GB, free: 4.152 MB / 0.6199 GB Notification: Performance of NFPackage.collectConstants: time 0.003157/0.5271, allocations: 0.9375 MB / 0.8692 GB, free: 3.215 MB / 0.6199 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00693/0.534, allocations: 2.792 MB / 0.8719 GB, free: 432 kB / 0.6199 GB Notification: Performance of NFScalarize.scalarize: time 0.003969/0.538, allocations: 2.99 MB / 0.8748 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.006498/0.5445, allocations: 3.716 MB / 0.8785 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.019/0.5635, allocations: 14.79 MB / 0.8929 GB, free: 10.84 MB / 0.6512 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.5635, allocations: 3.938 kB / 0.8929 GB, free: 10.84 MB / 0.6512 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5635, allocations: 0 / 0.8929 GB, free: 10.84 MB / 0.6512 GB Notification: Performance of Transformations before backend: time 0.0003851/0.5639, allocations: 0 / 0.8929 GB, free: 10.84 MB / 0.6512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1739 * Number of variables: 1739 Notification: Performance of Generate backend data structure: time 0.02078/0.5847, allocations: 10.96 MB / 0.9036 GB, free: 15.78 MB / 0.6668 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.5847, allocations: 8.031 kB / 0.9036 GB, free: 15.77 MB / 0.6668 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001186/0.5859, allocations: 0.8114 MB / 0.9044 GB, free: 14.95 MB / 0.6668 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002913/0.5888, allocations: 1.15 MB / 0.9056 GB, free: 13.8 MB / 0.6668 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01318/0.602, allocations: 6.948 MB / 0.9123 GB, free: 6.758 MB / 0.6668 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003166/0.6023, allocations: 352.9 kB / 0.9127 GB, free: 6.41 MB / 0.6668 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001234/0.6035, allocations: 439.9 kB / 0.9131 GB, free: 5.98 MB / 0.6668 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02827/0.6318, allocations: 14.22 MB / 0.927 GB, free: 5.957 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001528/0.632, allocations: 51.5 kB / 0.927 GB, free: 5.906 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008749/0.6328, allocations: 239.9 kB / 0.9273 GB, free: 5.672 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004741/0.6333, allocations: 422.9 kB / 0.9277 GB, free: 5.258 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02658/0.6599, allocations: 9.89 MB / 0.9373 GB, free: 11.35 MB / 0.698 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.05374/0.7136, allocations: 46.26 MB / 0.9825 GB, free: 11.69 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01378/0.7274, allocations: 8.137 MB / 0.9904 GB, free: 3.32 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005114/0.7325, allocations: 3.046 MB / 0.9934 GB, free: 192 kB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008737/0.7334, allocations: 274.3 kB / 0.9937 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01264/0.746, allocations: 6.539 MB / 1 GB, free: 9.215 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003638/0.7497, allocations: 0.7251 MB / 1.001 GB, free: 8.484 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=865): time 1.616e-05/0.7497, allocations: 0 / 1.001 GB, free: 8.484 MB / 0.7605 GB Notification: Performance of matching and sorting (n=866): time 0.3897/1.139, allocations: 56.46 MB / 1.056 GB, free: 222.4 MB / 0.7918 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002748/1.14, allocations: 1.817 MB / 1.058 GB, free: 220.3 MB / 0.7918 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009287/1.149, allocations: 6.49 MB / 1.064 GB, free: 218 MB / 0.7918 GB Notification: Performance of collectPreVariables (initialization): time 0.00135/1.15, allocations: 101.7 kB / 1.064 GB, free: 217.9 MB / 0.7918 GB Notification: Performance of collectInitialEqns (initialization): time 0.002084/1.152, allocations: 3.28 MB / 1.067 GB, free: 215.6 MB / 0.7918 GB Notification: Performance of collectInitialBindings (initialization): time 0.002804/1.155, allocations: 2.975 MB / 1.07 GB, free: 213.6 MB / 0.7918 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002942/1.158, allocations: 1.916 MB / 1.072 GB, free: 212.9 MB / 0.7918 GB Notification: Performance of setup shared object (initialization): time 3.768e-05/1.158, allocations: 303.9 kB / 1.072 GB, free: 212.6 MB / 0.7918 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006197/1.164, allocations: 4.15 MB / 1.076 GB, free: 210.9 MB / 0.7918 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008407/1.173, allocations: 7.93 MB / 1.084 GB, free: 203.8 MB / 0.7918 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1693/1.342, allocations: 51.45 MB / 1.134 GB, free: 157.9 MB / 0.7918 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-05/1.342, allocations: 24 kB / 1.134 GB, free: 157.8 MB / 0.7918 GB Notification: Performance of matching and sorting (n=1248) (initialization): time 0.01897/1.361, allocations: 12.6 MB / 1.147 GB, free: 145.2 MB / 0.7918 GB Notification: Performance of prepare postOptimizeDAE: time 4.646e-05/1.361, allocations: 41.88 kB / 1.147 GB, free: 145.2 MB / 0.7918 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01268/1.374, allocations: 9.423 MB / 1.156 GB, free: 135.7 MB / 0.7918 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02183/1.396, allocations: 4.16 MB / 1.16 GB, free: 131.5 MB / 0.7918 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006265/1.402, allocations: 2.543 MB / 1.163 GB, free: 129 MB / 0.7918 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006927/1.409, allocations: 12.24 MB / 1.175 GB, free: 116 MB / 0.7918 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005989/1.415, allocations: 444.3 kB / 1.175 GB, free: 115.6 MB / 0.7918 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002148/1.417, allocations: 0.5855 MB / 1.175 GB, free: 115 MB / 0.7918 GB Warning: Assuming fixed start value for the following 4 variables: 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.01072/1.428, allocations: 5.831 MB / 1.181 GB, free: 109.2 MB / 0.7918 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007578/1.435, allocations: 7.893 MB / 1.189 GB, free: 99.81 MB / 0.7918 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1556/1.591, allocations: 51.36 MB / 1.239 GB, free: 47.29 MB / 0.7918 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.82e-05/1.591, allocations: 24 kB / 1.239 GB, free: 47.27 MB / 0.7918 GB Notification: Performance of matching and sorting (n=1248) (initialization_lambda0): time 0.02162/1.613, allocations: 12.5 MB / 1.251 GB, free: 34.71 MB / 0.7918 GB Notification: Performance of prepare postOptimizeDAE: time 4.206e-05/1.613, allocations: 40 kB / 1.251 GB, free: 34.67 MB / 0.7918 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01296/1.626, allocations: 9.315 MB / 1.26 GB, free: 25.3 MB / 0.7918 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0217/1.647, allocations: 4.052 MB / 1.264 GB, free: 21.26 MB / 0.7918 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00627/1.654, allocations: 2.515 MB / 1.267 GB, free: 18.74 MB / 0.7918 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006182/1.66, allocations: 11.57 MB / 1.278 GB, free: 6.473 MB / 0.7918 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00585/1.666, allocations: 448.4 kB / 1.279 GB, free: 6.031 MB / 0.7918 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00198/1.668, allocations: 0.5738 MB / 1.279 GB, free: 5.457 MB / 0.7918 GB Warning: Assuming fixed start value for the following 4 variables: 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: 370 * Number of states: 0 () * Number of discrete variables: 7 ($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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1214): * Single equations (assignments): 1206 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 3 * 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): 5 systems {1, 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): 2 systems {(4,3,87.5%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,20)} Notification: Performance of prepare postOptimizeDAE: time 0.002393/1.67, allocations: 0.7452 MB / 1.28 GB, free: 4.758 MB / 0.7918 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002178/1.672, allocations: 0.8108 MB / 1.281 GB, free: 3.941 MB / 0.7918 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 1325 equation(s) and 1265 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01403/1.686, allocations: 11.18 MB / 1.292 GB, free: 8.855 MB / 0.8074 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.634390418417752]