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.01437/0.01437, 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.001277/0.001277, allocations: 99.84 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.001799/0.001799, 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.445/1.445, allocations: 230.6 MB / 262.1 MB, free: 5.844 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.069/1.069, allocations: 130.7 MB / 449.7 MB, free: 6.398 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.06465/0.06465, allocations: 20.98 MB / 0.6358 GB, free: 4.699 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.227, allocations: 81.91 MB / 0.7158 GB, free: 2.691 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.5282/0.7552, allocations: 58.18 MB / 0.7727 GB, free: 12.39 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04194/0.7971, allocations: 25.26 MB / 0.7973 GB, free: 10.5 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008975/0.8061, allocations: 156.2 kB / 0.7975 GB, free: 10.43 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01001/0.8161, allocations: 3.131 MB / 0.8005 GB, free: 8.242 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01807/0.8342, allocations: 4.916 MB / 0.8053 GB, free: 4.344 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01593/0.8501, allocations: 4.937 MB / 0.8101 GB, free: 0.5977 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02303/0.8732, allocations: 13.89 MB / 0.8237 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009174/0.8823, allocations: 4.399 MB / 0.828 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01284/0.8952, allocations: 5.684 MB / 0.8336 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01155/0.9067, allocations: 5.697 MB / 0.8391 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004446/0.9112, allocations: 0.9362 MB / 0.84 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009905/0.9211, allocations: 2.782 MB / 0.8428 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005852/0.9269, allocations: 2.994 MB / 0.8457 GB, free: 13.5 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.01005/0.937, allocations: 3.716 MB / 0.8493 GB, free: 9.77 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.02732/0.9643, allocations: 14.79 MB / 0.8638 GB, free: 10.93 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/0.9643, allocations: 4 kB / 0.8638 GB, free: 10.92 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.974e-06/0.9643, allocations: 0 / 0.8638 GB, free: 10.92 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0005079/0.9648, allocations: 0.5625 kB / 0.8638 GB, free: 10.92 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.03007/0.9949, allocations: 10.96 MB / 0.8745 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.77e-05/0.9949, allocations: 12.03 kB / 0.8745 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002866/0.9978, allocations: 0.8114 MB / 0.8753 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005186/1.003, allocations: 1.153 MB / 0.8764 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0177/1.021, allocations: 6.949 MB / 0.8832 GB, free: 6.914 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000525/1.021, allocations: 348.9 kB / 0.8835 GB, free: 6.57 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002054/1.023, allocations: 447.9 kB / 0.8839 GB, free: 6.133 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03493/1.058, allocations: 14.22 MB / 0.8978 GB, free: 6.121 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002734/1.058, allocations: 51.5 kB / 0.8979 GB, free: 6.07 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002003/1.06, allocations: 228.7 kB / 0.8981 GB, free: 5.852 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000668/1.061, allocations: 426.9 kB / 0.8985 GB, free: 5.434 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02993/1.091, allocations: 9.889 MB / 0.9081 GB, free: 11.55 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.07927/1.17, allocations: 46.25 MB / 0.9533 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02423/1.195, allocations: 8.136 MB / 0.9613 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007746/1.202, allocations: 3.055 MB / 0.9642 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001343/1.204, allocations: 271.7 kB / 0.9645 GB, free: 272 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02022/1.224, allocations: 6.543 MB / 0.9709 GB, free: 9.566 MB / 0.7482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004246/1.228, allocations: 0.716 MB / 0.9716 GB, free: 8.848 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=865): time 2.232e-05/1.228, allocations: 0 / 0.9716 GB, free: 8.848 MB / 0.7482 GB Notification: Performance of matching and sorting (n=866): time 0.1266/1.355, allocations: 56.48 MB / 1.027 GB, free: 12 kB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001087/1.356, allocations: 1.816 MB / 1.029 GB, free: 13.77 MB / 0.8107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01423/1.37, allocations: 6.488 MB / 1.035 GB, free: 7.293 MB / 0.8107 GB Notification: Performance of collectPreVariables (initialization): time 0.001794/1.372, allocations: 104.3 kB / 1.035 GB, free: 7.188 MB / 0.8107 GB Notification: Performance of collectInitialEqns (initialization): time 0.004149/1.376, allocations: 3.277 MB / 1.038 GB, free: 3.887 MB / 0.8107 GB Notification: Performance of collectInitialBindings (initialization): time 0.004687/1.381, allocations: 2.982 MB / 1.041 GB, free: 0.8789 MB / 0.8107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004802/1.386, allocations: 1.914 MB / 1.043 GB, free: 14.95 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001472/1.386, allocations: 305.1 kB / 1.043 GB, free: 14.65 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00922/1.395, allocations: 4.157 MB / 1.047 GB, free: 10.49 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01417/1.409, allocations: 7.922 MB / 1.055 GB, free: 1.094 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.692/2.101, allocations: 51.45 MB / 1.105 GB, free: 321.3 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001076/2.101, allocations: 24 kB / 1.105 GB, free: 321.3 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1248) (initialization): time 0.02858/2.13, allocations: 12.59 MB / 1.118 GB, free: 309 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001017/2.13, allocations: 40 kB / 1.118 GB, free: 309 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02094/2.151, allocations: 9.417 MB / 1.127 GB, free: 299.5 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04445/2.195, allocations: 4.162 MB / 1.131 GB, free: 295.4 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009569/2.205, allocations: 2.541 MB / 1.133 GB, free: 292.8 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01041/2.215, allocations: 12.24 MB / 1.145 GB, free: 280 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007641/2.223, allocations: 446.4 kB / 1.146 GB, free: 279.6 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002034/2.225, allocations: 0.5855 MB / 1.146 GB, free: 279 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.01266/2.238, allocations: 5.835 MB / 1.152 GB, free: 273.1 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01014/2.248, allocations: 7.882 MB / 1.16 GB, free: 263.8 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3133/2.561, allocations: 51.36 MB / 1.21 GB, free: 211.3 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.709e-05/2.561, allocations: 24 kB / 1.21 GB, free: 211.3 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1248) (initialization_lambda0): time 0.0281/2.589, allocations: 12.51 MB / 1.222 GB, free: 199.1 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001021/2.589, allocations: 40 kB / 1.222 GB, free: 199.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02079/2.61, allocations: 9.316 MB / 1.231 GB, free: 189.7 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04403/2.654, allocations: 4.044 MB / 1.235 GB, free: 185.7 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009033/2.663, allocations: 2.515 MB / 1.238 GB, free: 183.2 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009883/2.673, allocations: 11.57 MB / 1.249 GB, free: 171 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00742/2.68, allocations: 455.2 kB / 1.249 GB, free: 170.6 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002191/2.683, allocations: 0.5765 MB / 1.25 GB, free: 170 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.004224/2.687, allocations: 0.742 MB / 1.251 GB, free: 169.3 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003524/2.69, allocations: 0.8135 MB / 1.251 GB, free: 168.8 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.02321/2.714, allocations: 11.17 MB / 1.262 GB, free: 158.1 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.555409980006516] Failed to read output from testmodel.py, exit status != 0: 2.869739635847509 2.880990727 1.913878149 Calling exit ...