Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.01359/0.01359, allocations: 1.773 MB / 18.82 MB, free: 4.246 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.001386/0.001386, allocations: 111.6 kB / 22.07 MB, free: 0.9922 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.001709/0.001709, allocations: 210.5 kB / 25.45 MB, free: 3.25 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.517/1.517, 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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 1.114/1.114, allocations: 130.5 MB / 446.3 MB, free: 14.9 MB / 350.1 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 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 SMArtInt with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_simple,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="PI.I.y|PI.resetValueI|PI.resetValueID|PI.resetValueP|PI.smoothPIDInput.y_aux|PI.smoothPIDOutput.y_aux|PI.smoothPIDOutput1.y_aux|Time|hex.shell.h_liq|hex.shell.h_vap|hex.shell.p_vap|hex.shell.volume_vap|hex.tubes.h|hex.tubes.p|hex.wall.U.1.|hex.wall.U.2.|hex.wall.U.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_simple") translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_simple,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="PI.I.y|PI.resetValueI|PI.resetValueID|PI.resetValueP|PI.smoothPIDInput.y_aux|PI.smoothPIDOutput.y_aux|PI.smoothPIDOutput1.y_aux|Time|hex.shell.h_liq|hex.shell.h_vap|hex.shell.p_vap|hex.shell.volume_vap|hex.tubes.h|hex.tubes.p|hex.wall.U.1.|hex.wall.U.2.|hex.wall.U.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_simple") [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.4026/0.4026, allocations: 46.14 MB / 0.6556 GB, free: 30.46 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.6002, allocations: 89.05 MB / 0.7426 GB, free: 2.461 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_simple): time 0.03499/0.6351, allocations: 29.03 MB / 0.771 GB, free: 5.32 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.04861/0.6838, allocations: 26.01 MB / 0.7964 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008647/0.6924, allocations: 162.8 kB / 0.7965 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.009814/0.7022, allocations: 3.214 MB / 0.7997 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01589/0.7181, allocations: 4.811 MB / 0.8044 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01321/0.7313, allocations: 4.849 MB / 0.8091 GB, free: 14.16 MB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.02288/0.7542, allocations: 13.88 MB / 0.8226 GB, free: 248 kB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008435/0.7626, allocations: 4.323 MB / 0.8269 GB, free: 11.85 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01218/0.7748, allocations: 5.661 MB / 0.8324 GB, free: 6.168 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01226/0.7871, allocations: 5.976 MB / 0.8382 GB, free: 172 kB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.004181/0.7912, allocations: 0.9375 MB / 0.8391 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01026/0.8015, allocations: 3.435 MB / 0.8425 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.005725/0.8072, allocations: 2.979 MB / 0.8454 GB, free: 8.805 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.01127/0.8185, allocations: 4.785 MB / 0.8501 GB, free: 3.996 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02949/0.848, allocations: 14.84 MB / 0.8646 GB, free: 5.102 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.848, allocations: 0 / 0.8646 GB, free: 5.102 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.725e-06/0.848, allocations: 0 / 0.8646 GB, free: 5.102 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0005589/0.8486, allocations: 0 / 0.8646 GB, free: 5.102 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: 1739 * Number of variables: 1739 Notification: Performance of Generate backend data structure: time 0.4875/1.336, allocations: 9.773 MB / 0.8741 GB, free: 55.36 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 7.187e-05/1.336, allocations: 8.984 kB / 0.8741 GB, free: 55.36 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007532/1.344, allocations: 1.147 MB / 0.8752 GB, free: 54.81 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01517/1.359, allocations: 7.151 MB / 0.8822 GB, free: 53.92 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003139/1.359, allocations: 347.2 kB / 0.8826 GB, free: 53.91 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001316/1.36, allocations: 442.5 kB / 0.883 GB, free: 53.9 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02699/1.387, allocations: 12.18 MB / 0.8949 GB, free: 50.45 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001079/1.388, allocations: 49.38 kB / 0.8949 GB, free: 50.45 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006671/1.388, allocations: 229.4 kB / 0.8951 GB, free: 50.45 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004102/1.389, allocations: 425.8 kB / 0.8955 GB, free: 50.44 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02638/1.415, allocations: 9.93 MB / 0.9052 GB, free: 50.41 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.0579/1.473, allocations: 49.44 MB / 0.9535 GB, free: 10.29 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02102/1.494, allocations: 8.535 MB / 0.9619 GB, free: 5.344 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00644/1.5, allocations: 3.052 MB / 0.9648 GB, free: 3.551 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001357/1.502, allocations: 0.6724 MB / 0.9655 GB, free: 2.988 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01836/1.52, allocations: 6.539 MB / 0.9719 GB, free: 15.2 MB / 0.6857 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005054/1.525, allocations: 0.7149 MB / 0.9726 GB, free: 14.87 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=865): time 2.585e-05/1.525, allocations: 2.656 kB / 0.9726 GB, free: 14.87 MB / 0.6857 GB Notification: Performance of matching and sorting (n=866): time 0.1186/1.644, allocations: 56.94 MB / 1.028 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001044/1.645, allocations: 1.805 MB / 1.03 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01116/1.656, allocations: 6.354 MB / 1.036 GB, free: 14.89 MB / 0.7482 GB Notification: Performance of collectPreVariables (initialization): time 0.001793/1.658, allocations: 105.7 kB / 1.036 GB, free: 14.78 MB / 0.7482 GB Notification: Performance of collectInitialEqns (initialization): time 0.003232/1.661, allocations: 3.282 MB / 1.039 GB, free: 11.5 MB / 0.7482 GB Notification: Performance of collectInitialBindings (initialization): time 0.004637/1.666, allocations: 2.977 MB / 1.042 GB, free: 8.57 MB / 0.7482 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003617/1.669, allocations: 1.917 MB / 1.044 GB, free: 6.641 MB / 0.7482 GB Notification: Performance of setup shared object (initialization): time 0.0001467/1.669, allocations: 301.1 kB / 1.045 GB, free: 6.344 MB / 0.7482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008141/1.678, allocations: 4.149 MB / 1.049 GB, free: 2.188 MB / 0.7482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01118/1.689, allocations: 7.016 MB / 1.055 GB, free: 10.04 MB / 0.7638 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3407/2.029, allocations: 51.44 MB / 1.106 GB, free: 6.164 MB / 0.8107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.919e-05/2.029, allocations: 25.97 kB / 1.106 GB, free: 6.141 MB / 0.8107 GB Notification: Performance of matching and sorting (n=1248) (initialization): time 0.0299/2.059, allocations: 12.6 MB / 1.118 GB, free: 9.988 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 7.889e-05/2.059, allocations: 40.22 kB / 1.118 GB, free: 9.949 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02098/2.08, allocations: 9.424 MB / 1.127 GB, free: 0.5117 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04771/2.128, allocations: 4.161 MB / 1.131 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01105/2.139, allocations: 2.542 MB / 1.134 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01529/2.154, allocations: 12.93 MB / 1.146 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007994/2.162, allocations: 443.6 kB / 1.147 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002214/2.165, allocations: 0.5835 MB / 1.147 GB, free: 11.26 MB / 0.8575 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.01372/2.178, allocations: 5.83 MB / 1.153 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.012/2.19, allocations: 6.985 MB / 1.16 GB, free: 13.23 MB / 0.8732 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.7797/2.97, allocations: 51.33 MB / 1.21 GB, free: 321 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.24e-05/2.97, allocations: 22.81 kB / 1.21 GB, free: 321 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1248) (initialization_lambda0): time 0.02561/2.996, allocations: 12.51 MB / 1.222 GB, free: 317.8 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.376e-05/2.996, allocations: 41.88 kB / 1.222 GB, free: 317.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01921/3.015, allocations: 9.316 MB / 1.231 GB, free: 314.4 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04668/3.062, allocations: 4.044 MB / 1.235 GB, free: 314.2 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01041/3.072, allocations: 2.521 MB / 1.238 GB, free: 314.1 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01067/3.083, allocations: 12.24 MB / 1.25 GB, free: 303.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007751/3.091, allocations: 445.1 kB / 1.25 GB, free: 303.4 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002035/3.093, allocations: 0.582 MB / 1.251 GB, free: 303.3 MB / 0.9044 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.002567/3.095, allocations: 0.7489 MB / 1.252 GB, free: 302.9 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002447/3.098, allocations: 0.8081 MB / 1.252 GB, free: 302.9 MB / 0.9044 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.01781/3.115, allocations: 11.14 MB / 1.263 GB, free: 299.6 MB / 0.9044 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.8102362290374] Failed to read output from testmodel.py, exit status != 0: 3.1242306549684145 3.136952062 2.281750477 Calling exit ...