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.01757/0.01757, allocations: 1.749 MB / 21.34 MB, free: 0.5898 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.001571/0.001571, allocations: 101.3 kB / 24.94 MB, free: 2.18 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.002037/0.002037, allocations: 211.8 kB / 28.67 MB, free: 3.461 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.496/1.496, allocations: 230.6 MB / 262.8 MB, free: 6.027 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.122/1.122, allocations: 130.7 MB / 450.4 MB, free: 6.59 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: 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.034/0.034, allocations: 20.78 MB / 0.637 GB, free: 4.637 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.2266, allocations: 81.9 MB / 0.7169 GB, free: 2.645 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.5814/0.808, allocations: 62.04 MB / 0.7775 GB, free: 8.648 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.05055/0.8586, allocations: 26.33 MB / 0.8032 GB, free: 5.582 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01145/0.87, allocations: 160.3 kB / 0.8034 GB, free: 5.512 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01064/0.8807, allocations: 3.274 MB / 0.8066 GB, free: 3.191 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.02026/0.9009, allocations: 4.92 MB / 0.8114 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01573/0.9166, allocations: 4.941 MB / 0.8162 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02558/0.9422, allocations: 13.91 MB / 0.8298 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008524/0.9507, allocations: 4.16 MB / 0.8339 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01274/0.9635, allocations: 5.667 MB / 0.8394 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01289/0.9764, allocations: 6 MB / 0.8452 GB, free: 15.29 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.004335/0.9807, allocations: 0.9375 MB / 0.8462 GB, free: 14.35 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01244/0.9932, allocations: 3.67 MB / 0.8497 GB, free: 10.69 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.006389/0.9995, allocations: 2.99 MB / 0.8527 GB, free: 7.688 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.01232/1.012, allocations: 4.777 MB / 0.8573 GB, free: 2.887 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.03115/1.043, allocations: 14.92 MB / 0.8719 GB, free: 3.914 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/1.043, allocations: 0 / 0.8719 GB, free: 3.914 MB / 0.6388 GB Notification: Performance of FrontEnd: time 2.696e-06/1.043, allocations: 0 / 0.8719 GB, free: 3.914 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0005697/1.044, allocations: 3.984 kB / 0.8719 GB, free: 3.91 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.03407/1.078, allocations: 10.97 MB / 0.8826 GB, free: 8.883 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/1.078, allocations: 11.97 kB / 0.8826 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005429/1.083, allocations: 1.153 MB / 0.8838 GB, free: 7.715 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01697/1.1, allocations: 6.932 MB / 0.8905 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004942/1.101, allocations: 348.9 kB / 0.8909 GB, free: 392 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002005/1.103, allocations: 446.6 kB / 0.8913 GB, free: 15.95 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03257/1.135, allocations: 12.17 MB / 0.9032 GB, free: 2.59 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002433/1.135, allocations: 51.5 kB / 0.9032 GB, free: 2.539 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001688/1.137, allocations: 227.6 kB / 0.9034 GB, free: 2.32 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000628/1.138, allocations: 429.5 kB / 0.9038 GB, free: 1.902 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02862/1.166, allocations: 9.922 MB / 0.9135 GB, free: 7.988 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.07485/1.241, allocations: 49.03 MB / 0.9614 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02341/1.265, allocations: 8.156 MB / 0.9694 GB, free: 13.25 MB / 0.7482 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009181/1.274, allocations: 3.054 MB / 0.9724 GB, free: 10.12 MB / 0.7482 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001789/1.276, allocations: 307.5 kB / 0.9727 GB, free: 9.82 MB / 0.7482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02048/1.296, allocations: 6.541 MB / 0.979 GB, free: 3.133 MB / 0.7482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004634/1.301, allocations: 0.7186 MB / 0.9797 GB, free: 2.414 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=865): time 2.585e-05/1.301, allocations: 4 kB / 0.9797 GB, free: 2.41 MB / 0.7482 GB Notification: Performance of matching and sorting (n=866): time 0.1187/1.419, allocations: 56.48 MB / 1.035 GB, free: 9.57 MB / 0.8107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00107/1.421, allocations: 1.811 MB / 1.037 GB, free: 7.336 MB / 0.8107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01154/1.432, allocations: 6.366 MB / 1.043 GB, free: 0.9883 MB / 0.8107 GB Notification: Performance of collectPreVariables (initialization): time 0.001852/1.434, allocations: 100.3 kB / 1.043 GB, free: 0.8867 MB / 0.8107 GB Notification: Performance of collectInitialEqns (initialization): time 0.003488/1.437, allocations: 3.289 MB / 1.046 GB, free: 13.58 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.004763/1.442, allocations: 2.97 MB / 1.049 GB, free: 10.58 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004073/1.446, allocations: 1.91 MB / 1.051 GB, free: 8.66 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001621/1.446, allocations: 309.1 kB / 1.051 GB, free: 8.355 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009225/1.456, allocations: 4.149 MB / 1.055 GB, free: 4.199 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3918/1.847, allocations: 7.016 MB / 1.062 GB, free: 345.9 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3191/2.167, allocations: 51.44 MB / 1.112 GB, free: 320.2 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.696e-05/2.167, allocations: 28 kB / 1.112 GB, free: 320.1 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1248) (initialization): time 0.02287/2.19, allocations: 12.58 MB / 1.125 GB, free: 307.9 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.894e-05/2.19, allocations: 44.06 kB / 1.125 GB, free: 307.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01519/2.205, allocations: 9.416 MB / 1.134 GB, free: 298.4 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04817/2.253, allocations: 4.164 MB / 1.138 GB, free: 294.3 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009911/2.263, allocations: 2.542 MB / 1.14 GB, free: 291.7 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01016/2.273, allocations: 12.31 MB / 1.153 GB, free: 278.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007986/2.281, allocations: 446.5 kB / 1.153 GB, free: 278.4 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001893/2.283, allocations: 0.5777 MB / 1.154 GB, free: 277.8 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.01081/2.294, allocations: 5.843 MB / 1.159 GB, free: 272 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009442/2.303, allocations: 6.978 MB / 1.166 GB, free: 263.7 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3286/2.632, allocations: 51.33 MB / 1.216 GB, free: 211.3 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.564e-05/2.632, allocations: 24 kB / 1.216 GB, free: 211.2 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1248) (initialization_lambda0): time 0.02455/2.656, allocations: 12.51 MB / 1.228 GB, free: 199.1 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 4.705e-05/2.656, allocations: 40 kB / 1.228 GB, free: 199.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01564/2.672, allocations: 9.313 MB / 1.238 GB, free: 189.7 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04695/2.719, allocations: 4.055 MB / 1.241 GB, free: 185.7 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009122/2.728, allocations: 2.511 MB / 1.244 GB, free: 183.2 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009597/2.738, allocations: 11.64 MB / 1.255 GB, free: 170.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007196/2.745, allocations: 448.4 kB / 1.256 GB, free: 170.5 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001731/2.747, allocations: 0.5738 MB / 1.256 GB, free: 169.9 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.002766/2.749, allocations: 0.7489 MB / 1.257 GB, free: 169.2 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002106/2.752, allocations: 0.8096 MB / 1.258 GB, free: 168.7 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.01706/2.769, allocations: 11.14 MB / 1.269 GB, free: 157.9 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.887171788141131] Failed to read output from testmodel.py, exit status != 0: 2.9484597879927605 2.958855707 1.913289828 Calling exit ...