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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.01328/0.01328, allocations: 1.754 MB / 20.61 MB, free: 1.004 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.001371/0.001371, allocations: 104.6 kB / 24.18 MB, free: 2.438 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.001753/0.001753, allocations: 213.5 kB / 27.9 MB, free: 3.742 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.491/1.491, allocations: 230.6 MB / 262.1 MB, free: 5.828 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.074/1.074, allocations: 130.7 MB / 449.7 MB, free: 6.449 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_CU_simple,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_2ph_CU_simple",fmuType="me",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",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.06417/0.06417, allocations: 20.99 MB / 0.6358 GB, free: 4.695 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.2279, allocations: 81.91 MB / 0.7158 GB, free: 2.684 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_CU_simple): time 0.5522/0.7801, allocations: 58.18 MB / 0.7727 GB, free: 12.36 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04255/0.8227, allocations: 25.25 MB / 0.7973 GB, free: 10.48 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009561/0.8322, allocations: 160.9 kB / 0.7975 GB, free: 10.4 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01039/0.8426, allocations: 3.13 MB / 0.8005 GB, free: 8.215 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01775/0.8604, allocations: 4.912 MB / 0.8053 GB, free: 4.32 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01379/0.8742, allocations: 4.929 MB / 0.8101 GB, free: 0.5742 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0253/0.8995, allocations: 13.9 MB / 0.8237 GB, free: 4.094 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00972/0.9092, allocations: 4.393 MB / 0.828 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01465/0.9238, allocations: 5.684 MB / 0.8336 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01338/0.9372, allocations: 5.704 MB / 0.8391 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004661/0.9419, allocations: 0.9336 MB / 0.84 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01028/0.9522, allocations: 2.785 MB / 0.8428 GB, free: 496 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00611/0.9583, allocations: 2.989 MB / 0.8457 GB, free: 13.49 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.01067/0.9689, allocations: 3.712 MB / 0.8493 GB, free: 9.758 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.03026/0.9992, allocations: 14.8 MB / 0.8638 GB, free: 10.91 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.9992, allocations: 6.656 kB / 0.8638 GB, free: 10.9 MB / 0.6388 GB Notification: Performance of FrontEnd: time 2.245e-06/0.9992, allocations: 0 / 0.8638 GB, free: 10.9 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.00055/0.9998, allocations: 0 / 0.8638 GB, free: 10.9 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: 1739 * Number of variables: 1739 Notification: Performance of Generate backend data structure: time 0.03386/1.034, allocations: 10.96 MB / 0.8745 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.762e-05/1.034, allocations: 12.03 kB / 0.8745 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003152/1.037, allocations: 0.8075 MB / 0.8753 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00556/1.042, allocations: 1.149 MB / 0.8764 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01868/1.061, allocations: 6.955 MB / 0.8832 GB, free: 6.895 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006199/1.062, allocations: 344.9 kB / 0.8835 GB, free: 6.555 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002556/1.064, allocations: 447.3 kB / 0.8839 GB, free: 6.121 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03547/1.1, allocations: 14.22 MB / 0.8978 GB, free: 6.105 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002558/1.1, allocations: 54.16 kB / 0.8979 GB, free: 6.055 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001988/1.102, allocations: 228 kB / 0.8981 GB, free: 5.832 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007129/1.103, allocations: 422.9 kB / 0.8985 GB, free: 5.418 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02947/1.132, allocations: 9.889 MB / 0.9081 GB, free: 11.54 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.07709/1.209, allocations: 46.26 MB / 0.9533 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02398/1.233, allocations: 8.123 MB / 0.9613 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008103/1.241, allocations: 3.059 MB / 0.9642 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001413/1.243, allocations: 265 kB / 0.9645 GB, free: 256 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02004/1.263, allocations: 6.547 MB / 0.9709 GB, free: 9.547 MB / 0.7482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004495/1.267, allocations: 0.7154 MB / 0.9716 GB, free: 8.832 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=865): time 2.572e-05/1.267, allocations: 3 kB / 0.9716 GB, free: 8.832 MB / 0.7482 GB Notification: Performance of matching and sorting (n=866): time 0.1052/1.373, allocations: 56.49 MB / 1.027 GB, free: 15.98 MB / 0.8107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009436/1.373, allocations: 1.816 MB / 1.029 GB, free: 13.74 MB / 0.8107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01138/1.385, allocations: 6.488 MB / 1.035 GB, free: 7.266 MB / 0.8107 GB Notification: Performance of collectPreVariables (initialization): time 0.001681/1.387, allocations: 101.7 kB / 1.035 GB, free: 7.16 MB / 0.8107 GB Notification: Performance of collectInitialEqns (initialization): time 0.003344/1.39, allocations: 3.277 MB / 1.038 GB, free: 3.863 MB / 0.8107 GB Notification: Performance of collectInitialBindings (initialization): time 0.004221/1.394, allocations: 2.98 MB / 1.041 GB, free: 0.8594 MB / 0.8107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003956/1.398, allocations: 1.914 MB / 1.043 GB, free: 14.93 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001328/1.398, allocations: 301.1 kB / 1.043 GB, free: 14.64 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008556/1.407, allocations: 4.151 MB / 1.047 GB, free: 10.48 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.013/1.42, allocations: 7.927 MB / 1.055 GB, free: 1.082 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6809/2.101, allocations: 51.45 MB / 1.105 GB, free: 321.4 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.241e-05/2.101, allocations: 24 kB / 1.105 GB, free: 321.4 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1248) (initialization): time 0.02837/2.129, allocations: 12.59 MB / 1.118 GB, free: 309.2 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 6.744e-05/2.129, allocations: 40 kB / 1.118 GB, free: 309.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01945/2.149, allocations: 9.417 MB / 1.127 GB, free: 299.7 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04486/2.193, allocations: 4.172 MB / 1.131 GB, free: 295.5 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009378/2.203, allocations: 2.535 MB / 1.133 GB, free: 293 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01004/2.213, allocations: 12.26 MB / 1.145 GB, free: 280.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00748/2.22, allocations: 436.2 kB / 1.146 GB, free: 279.7 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002141/2.222, allocations: 0.5785 MB / 1.146 GB, free: 279.1 MB / 0.8263 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.01208/2.235, allocations: 5.839 MB / 1.152 GB, free: 273.3 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009835/2.244, allocations: 7.886 MB / 1.16 GB, free: 263.9 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3136/2.558, allocations: 51.36 MB / 1.21 GB, free: 211.4 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.684e-05/2.558, allocations: 24 kB / 1.21 GB, free: 211.4 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1248) (initialization_lambda0): time 0.02475/2.583, allocations: 12.5 MB / 1.222 GB, free: 199.3 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.272e-05/2.583, allocations: 43.56 kB / 1.222 GB, free: 199.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01754/2.6, allocations: 9.319 MB / 1.231 GB, free: 189.9 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04355/2.644, allocations: 4.039 MB / 1.235 GB, free: 185.9 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008684/2.653, allocations: 2.523 MB / 1.238 GB, free: 183.3 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009064/2.662, allocations: 11.58 MB / 1.249 GB, free: 171.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00699/2.669, allocations: 442.7 kB / 1.249 GB, free: 170.7 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002008/2.671, allocations: 0.5816 MB / 1.25 GB, free: 170.1 MB / 0.8263 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.003361/2.674, allocations: 0.7406 MB / 1.251 GB, free: 169.4 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002331/2.676, allocations: 0.8035 MB / 1.251 GB, free: 169 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 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.01744/2.694, allocations: 11.18 MB / 1.262 GB, free: 158.2 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.5366187007166445] Failed to read output from testmodel.py, exit status != 0: 2.831978756003082 2.842666259 1.840629981 Calling exit ...