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.01733/0.01733, 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.002029/0.002029, allocations: 100.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: 215.1 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.44/1.44, allocations: 230.6 MB / 262.1 MB, free: 5.832 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.045/1.045, allocations: 130.7 MB / 449.6 MB, free: 6.441 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.06563/0.06563, allocations: 20.99 MB / 0.6363 GB, free: 4.199 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.2453, allocations: 81.9 MB / 0.7163 GB, free: 2.203 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.5521/0.7975, allocations: 58.17 MB / 0.7731 GB, free: 12.39 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04449/0.8419, allocations: 25.27 MB / 0.7978 GB, free: 10.41 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01021/0.8522, allocations: 166 kB / 0.798 GB, free: 10.34 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01054/0.8627, allocations: 3.119 MB / 0.801 GB, free: 8.156 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01906/0.8818, allocations: 4.92 MB / 0.8058 GB, free: 4.254 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01547/0.8972, allocations: 4.928 MB / 0.8106 GB, free: 0.5078 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0248/0.922, allocations: 13.89 MB / 0.8242 GB, free: 3.812 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008675/0.9307, allocations: 4.407 MB / 0.8285 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0129/0.9436, allocations: 5.669 MB / 0.834 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01204/0.9557, allocations: 5.695 MB / 0.8396 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004042/0.9597, allocations: 0.9375 MB / 0.8405 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009838/0.9695, allocations: 2.793 MB / 0.8432 GB, free: 216 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005606/0.9751, allocations: 2.986 MB / 0.8461 GB, free: 13.21 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.009672/0.9848, allocations: 3.72 MB / 0.8498 GB, free: 9.477 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.02612/1.011, allocations: 14.81 MB / 0.8642 GB, free: 10.62 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/1.011, allocations: 0 / 0.8642 GB, free: 10.62 MB / 0.6388 GB Notification: Performance of FrontEnd: time 2.224e-06/1.011, allocations: 0 / 0.8642 GB, free: 10.62 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0005/1.011, allocations: 0 / 0.8642 GB, free: 10.62 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.02924/1.041, allocations: 10.95 MB / 0.8749 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/1.041, allocations: 8.031 kB / 0.8749 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005494/1.046, allocations: 1.153 MB / 0.8761 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01822/1.064, allocations: 6.959 MB / 0.8829 GB, free: 7.43 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005634/1.065, allocations: 344.9 kB / 0.8832 GB, free: 7.09 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002273/1.067, allocations: 447.9 kB / 0.8836 GB, free: 6.652 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03812/1.105, allocations: 14.22 MB / 0.8975 GB, free: 6.641 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003228/1.106, allocations: 55.5 kB / 0.8975 GB, free: 6.586 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002184/1.108, allocations: 224 kB / 0.8978 GB, free: 6.367 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007421/1.109, allocations: 426.9 kB / 0.8982 GB, free: 5.949 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03008/1.139, allocations: 9.892 MB / 0.9078 GB, free: 12.07 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.0773/1.216, allocations: 45.52 MB / 0.9523 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02375/1.24, allocations: 8.141 MB / 0.9602 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007442/1.247, allocations: 3.051 MB / 0.9632 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001177/1.248, allocations: 270.4 kB / 0.9635 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01921/1.268, allocations: 6.539 MB / 0.9699 GB, free: 10.82 MB / 0.7482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003772/1.271, allocations: 0.712 MB / 0.9706 GB, free: 10.11 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=865): time 1.768e-05/1.271, allocations: 0 / 0.9706 GB, free: 10.11 MB / 0.7482 GB Notification: Performance of matching and sorting (n=866): time 0.1074/1.379, allocations: 56.46 MB / 1.026 GB, free: 1.289 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00119/1.38, allocations: 1.824 MB / 1.027 GB, free: 15.04 MB / 0.8107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0115/1.392, allocations: 6.326 MB / 1.034 GB, free: 8.73 MB / 0.8107 GB Notification: Performance of collectPreVariables (initialization): time 0.001702/1.393, allocations: 101.7 kB / 1.034 GB, free: 8.625 MB / 0.8107 GB Notification: Performance of collectInitialEqns (initialization): time 0.003547/1.397, allocations: 3.296 MB / 1.037 GB, free: 5.305 MB / 0.8107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0046/1.401, allocations: 2.978 MB / 1.04 GB, free: 2.301 MB / 0.8107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004132/1.406, allocations: 1.917 MB / 1.042 GB, free: 380 kB / 0.8107 GB Notification: Performance of setup shared object (initialization): time 0.0001563/1.406, allocations: 301.1 kB / 1.042 GB, free: 76 kB / 0.8107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008665/1.414, allocations: 4.153 MB / 1.046 GB, free: 11.91 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01307/1.427, allocations: 7.922 MB / 1.054 GB, free: 2.52 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6507/2.078, allocations: 51.45 MB / 1.104 GB, free: 322.6 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001072/2.078, allocations: 24 kB / 1.104 GB, free: 322.6 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1248) (initialization): time 0.03068/2.109, allocations: 12.58 MB / 1.116 GB, free: 310.3 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 7.929e-05/2.109, allocations: 42.84 kB / 1.116 GB, free: 310.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01824/2.127, allocations: 9.421 MB / 1.126 GB, free: 300.8 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04293/2.17, allocations: 4.161 MB / 1.13 GB, free: 296.7 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009587/2.18, allocations: 2.541 MB / 1.132 GB, free: 294.2 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01048/2.19, allocations: 12.11 MB / 1.144 GB, free: 281.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007856/2.198, allocations: 444.1 kB / 1.144 GB, free: 281.1 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002429/2.201, allocations: 0.5777 MB / 1.145 GB, free: 280.5 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.01356/2.214, allocations: 5.843 MB / 1.151 GB, free: 274.6 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01066/2.225, allocations: 7.886 MB / 1.158 GB, free: 265.3 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3128/2.538, allocations: 51.36 MB / 1.209 GB, free: 212.8 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001084/2.538, allocations: 24 kB / 1.209 GB, free: 212.8 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1248) (initialization_lambda0): time 0.02816/2.566, allocations: 12.49 MB / 1.221 GB, free: 200.7 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.655e-05/2.566, allocations: 40 kB / 1.221 GB, free: 200.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01825/2.584, allocations: 9.318 MB / 1.23 GB, free: 191.2 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04289/2.627, allocations: 4.035 MB / 1.234 GB, free: 187.2 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009112/2.636, allocations: 2.515 MB / 1.236 GB, free: 184.7 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009799/2.646, allocations: 11.45 MB / 1.247 GB, free: 172.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007589/2.654, allocations: 449.2 kB / 1.248 GB, free: 172.3 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002129/2.656, allocations: 0.5738 MB / 1.248 GB, free: 171.7 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.004073/2.66, allocations: 0.7565 MB / 1.249 GB, free: 171 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003587/2.663, allocations: 0.7936 MB / 1.25 GB, free: 170.6 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.02196/2.685, allocations: 11.17 MB / 1.261 GB, free: 159.8 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.586073026061058] Failed to read output from testmodel.py, exit status != 0: 2.8482521306723356 2.859819536 1.845945639 Calling exit ...