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.01063/0.01063, allocations: 1.769 MB / 18.12 MB, free: 4.906 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.001356/0.001356, allocations: 103.7 kB / 21.36 MB, free: 1.684 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.001768/0.001768, allocations: 217.1 kB / 24.75 MB, free: 3.691 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.619/1.619, allocations: 230.6 MB / 258.5 MB, free: 13.11 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.23/1.23, allocations: 130.5 MB / 445.6 MB, free: 14.99 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.4807/0.4807, allocations: 46.14 MB / 0.655 GB, free: 30.9 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.6973, allocations: 89.04 MB / 0.7419 GB, free: 2.426 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_simple): time 0.04137/0.7386, allocations: 29.03 MB / 0.7703 GB, free: 5.285 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0525/0.7911, allocations: 26.01 MB / 0.7957 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01036/0.8015, allocations: 162.8 kB / 0.7958 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01143/0.8129, allocations: 3.214 MB / 0.799 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01805/0.831, allocations: 4.827 MB / 0.8037 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01363/0.8446, allocations: 4.83 MB / 0.8084 GB, free: 14.13 MB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.02538/0.87, allocations: 13.88 MB / 0.8219 GB, free: 216 kB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009087/0.8791, allocations: 4.327 MB / 0.8262 GB, free: 11.81 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01428/0.8934, allocations: 5.653 MB / 0.8317 GB, free: 6.141 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0139/0.9073, allocations: 5.978 MB / 0.8375 GB, free: 144 kB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.005/0.9123, allocations: 0.9375 MB / 0.8384 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01153/0.9238, allocations: 3.443 MB / 0.8418 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.006625/0.9304, allocations: 2.986 MB / 0.8447 GB, free: 8.762 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0117/0.9421, allocations: 4.785 MB / 0.8494 GB, free: 3.953 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.03111/0.9732, allocations: 14.84 MB / 0.8639 GB, free: 5.059 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 9.168e-06/0.9732, allocations: 4 kB / 0.8639 GB, free: 5.055 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.275e-06/0.9732, allocations: 0 / 0.8639 GB, free: 5.055 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0005951/0.9738, allocations: 0 / 0.8639 GB, free: 5.055 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.5532/1.527, allocations: 9.766 MB / 0.8734 GB, free: 55.5 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/1.527, allocations: 8.719 kB / 0.8734 GB, free: 55.5 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003863/1.531, allocations: 1.149 MB / 0.8746 GB, free: 54.96 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01349/1.544, allocations: 7.151 MB / 0.8815 GB, free: 54.07 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002823/1.545, allocations: 348.1 kB / 0.8819 GB, free: 54.05 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001678/1.546, allocations: 448.3 kB / 0.8823 GB, free: 54.05 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02957/1.576, allocations: 12.17 MB / 0.8942 GB, free: 50.6 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001187/1.576, allocations: 53.38 kB / 0.8942 GB, free: 50.6 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007565/1.577, allocations: 229.7 kB / 0.8945 GB, free: 50.6 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004329/1.577, allocations: 425.7 kB / 0.8949 GB, free: 50.59 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02934/1.607, allocations: 9.927 MB / 0.9046 GB, free: 50.55 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.07218/1.679, allocations: 49.44 MB / 0.9528 GB, free: 10.36 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02245/1.701, allocations: 8.526 MB / 0.9612 GB, free: 5.41 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007183/1.708, allocations: 3.061 MB / 0.9642 GB, free: 3.617 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001269/1.71, allocations: 0.6652 MB / 0.9648 GB, free: 3.059 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01871/1.728, allocations: 6.539 MB / 0.9712 GB, free: 15.27 MB / 0.6857 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005318/1.734, allocations: 0.7195 MB / 0.9719 GB, free: 14.94 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=865): time 3.416e-05/1.734, allocations: 0 / 0.9719 GB, free: 14.94 MB / 0.6857 GB Notification: Performance of matching and sorting (n=866): time 0.1531/1.887, allocations: 56.94 MB / 1.028 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001357/1.888, allocations: 1.808 MB / 1.029 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01481/1.903, allocations: 6.359 MB / 1.035 GB, free: 15.04 MB / 0.7482 GB Notification: Performance of collectPreVariables (initialization): time 0.002057/1.905, allocations: 101.7 kB / 1.036 GB, free: 14.93 MB / 0.7482 GB Notification: Performance of collectInitialEqns (initialization): time 0.003928/1.909, allocations: 3.279 MB / 1.039 GB, free: 11.66 MB / 0.7482 GB Notification: Performance of collectInitialBindings (initialization): time 0.005483/1.915, allocations: 2.975 MB / 1.042 GB, free: 8.727 MB / 0.7482 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004787/1.919, allocations: 1.917 MB / 1.044 GB, free: 6.797 MB / 0.7482 GB Notification: Performance of setup shared object (initialization): time 0.0001583/1.919, allocations: 307.8 kB / 1.044 GB, free: 6.496 MB / 0.7482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009452/1.929, allocations: 4.148 MB / 1.048 GB, free: 2.34 MB / 0.7482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01543/1.944, allocations: 7.019 MB / 1.055 GB, free: 10.2 MB / 0.7638 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3651/2.309, allocations: 51.43 MB / 1.105 GB, free: 6.32 MB / 0.8107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001205/2.31, allocations: 26.3 kB / 1.105 GB, free: 6.297 MB / 0.8107 GB Notification: Performance of matching and sorting (n=1248) (initialization): time 0.03916/2.349, allocations: 12.6 MB / 1.117 GB, free: 10.14 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001324/2.349, allocations: 40 kB / 1.117 GB, free: 10.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03171/2.381, allocations: 9.428 MB / 1.127 GB, free: 0.6641 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05027/2.431, allocations: 4.163 MB / 1.131 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01162/2.442, allocations: 2.532 MB / 1.133 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01747/2.46, allocations: 12.92 MB / 1.146 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009312/2.469, allocations: 444.7 kB / 1.146 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003122/2.472, allocations: 0.5855 MB / 1.147 GB, free: 11.42 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.01915/2.491, allocations: 5.835 MB / 1.152 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01672/2.508, allocations: 6.98 MB / 1.159 GB, free: 13.38 MB / 0.8732 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.9222/3.43, allocations: 51.33 MB / 1.209 GB, free: 324.1 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.306e-05/3.431, allocations: 22.84 kB / 1.209 GB, free: 324.1 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1248) (initialization_lambda0): time 0.03202/3.463, allocations: 12.51 MB / 1.222 GB, free: 321 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.031e-05/3.463, allocations: 38.41 kB / 1.222 GB, free: 321 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02582/3.488, allocations: 9.318 MB / 1.231 GB, free: 317.5 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04902/3.537, allocations: 4.046 MB / 1.235 GB, free: 317.3 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01184/3.549, allocations: 2.516 MB / 1.237 GB, free: 317.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01224/3.562, allocations: 12.25 MB / 1.249 GB, free: 306.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009382/3.571, allocations: 444.3 kB / 1.25 GB, free: 306.5 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002664/3.574, allocations: 0.5829 MB / 1.25 GB, free: 306.5 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.003212/3.577, allocations: 0.7406 MB / 1.251 GB, free: 306.1 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002991/3.58, allocations: 0.8143 MB / 1.252 GB, free: 306 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.02547/3.605, allocations: 11.13 MB / 1.262 GB, free: 301.7 MB / 0.9044 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 796] [Calling sys.exit(0), Time elapsed: 7.573897002002923] Failed to read output from testmodel.py, exit status != 0: 3.614926034992095 3.626243391 2.648567552 Calling exit ...