Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_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.01529/0.01529, allocations: 1.349 MB / 20.45 MB, free: 1.25 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.001845/0.001845, allocations: 77.91 kB / 24.02 MB, free: 2.59 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.002562/0.002562, allocations: 155.2 kB / 27.71 MB, free: 3.844 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.578/1.578, allocations: 177.1 MB / 208.4 MB, free: 7.684 MB / 190.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.059/1.059, allocations: 102.5 MB / 367.8 MB, free: 4.578 MB / 334.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: translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_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.wall.U.1.|hex.wall.U.2.|hex.wall.U.3.",fileNamePrefix="ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple") translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_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.wall.U.1.|hex.wall.U.2.|hex.wall.U.3.",fileNamePrefix="ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 0.5365 GB, free: 7.148 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.132e-05/3.362e-05, allocations: 2.281 kB / 0.5365 GB, free: 7.145 MB / 446.1 MB 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_CH_simple): time 0.185/0.185, allocations: 69.3 MB / 0.6041 GB, free: 4.289 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.0452/0.2302, allocations: 23.71 MB / 0.6273 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007458/0.2377, allocations: 139 kB / 0.6274 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.009555/0.2472, allocations: 2.88 MB / 0.6302 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01479/0.262, allocations: 4.47 MB / 0.6346 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0123/0.2743, allocations: 4.475 MB / 0.639 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.02063/0.2949, allocations: 12.76 MB / 0.6514 GB, free: 3.68 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007875/0.3028, allocations: 3.923 MB / 0.6553 GB, free: 15.69 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01757/0.3204, allocations: 6.852 MB / 0.662 GB, free: 8.82 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01026/0.3307, allocations: 4.554 MB / 0.6664 GB, free: 4.254 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.003261/0.3339, allocations: 0.8477 MB / 0.6672 GB, free: 3.406 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00832/0.3422, allocations: 2.632 MB / 0.6698 GB, free: 0.7695 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.005018/0.3473, allocations: 2.757 MB / 0.6725 GB, free: 14 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.007279/0.3545, allocations: 2.72 MB / 0.6752 GB, free: 11.28 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.4088/0.7633, allocations: 13.43 MB / 0.6883 GB, free: 48.91 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/0.7633, allocations: 0 / 0.6883 GB, free: 48.91 MB / 0.5763 GB Notification: Performance of FrontEnd: time 3.126e-06/0.7633, allocations: 0.625 kB / 0.6883 GB, free: 48.91 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0005061/0.7638, allocations: 0 / 0.6883 GB, free: 48.91 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1530 * Number of variables: 1530 Notification: Performance of Generate backend data structure: time 0.03574/0.7996, allocations: 9.703 MB / 0.6978 GB, free: 45.46 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/0.7996, allocations: 10.59 kB / 0.6978 GB, free: 45.46 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007594/0.8072, allocations: 1.009 MB / 0.6987 GB, free: 44.98 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0166/0.8238, allocations: 6.144 MB / 0.7047 GB, free: 43.78 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004165/0.8242, allocations: 308.4 kB / 0.705 GB, free: 43.77 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00256/0.8268, allocations: 390.3 kB / 0.7054 GB, free: 43.77 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02856/0.8554, allocations: 12.61 MB / 0.7177 GB, free: 38.6 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001239/0.8555, allocations: 42.53 kB / 0.7178 GB, free: 38.6 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007797/0.8563, allocations: 202.4 kB / 0.718 GB, free: 38.6 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004121/0.8567, allocations: 399.3 kB / 0.7183 GB, free: 38.59 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02402/0.8807, allocations: 8.848 MB / 0.727 GB, free: 38.55 MB / 0.5763 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.0495/0.9302, allocations: 38.87 MB / 0.7649 GB, free: 6.855 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01893/0.9491, allocations: 7.166 MB / 0.7719 GB, free: 1.93 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006292/0.9554, allocations: 2.824 MB / 0.7747 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001073/0.9565, allocations: 254.1 kB / 0.7749 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01932/0.9758, allocations: 5.893 MB / 0.7807 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00463/0.9804, allocations: 0.5776 MB / 0.7813 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=765): time 2.005e-05/0.9805, allocations: 0 / 0.7813 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of matching and sorting (n=767): time 0.1118/1.092, allocations: 47.83 MB / 0.828 GB, free: 8.117 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001002/1.093, allocations: 1.677 MB / 0.8296 GB, free: 6.055 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01006/1.103, allocations: 5.526 MB / 0.835 GB, free: 0.5117 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.001808/1.105, allocations: 97.69 kB / 0.8351 GB, free: 420 kB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.002839/1.108, allocations: 2.835 MB / 0.8379 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.003973/1.112, allocations: 2.608 MB / 0.8404 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003336/1.115, allocations: 1.67 MB / 0.842 GB, free: 9.336 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001401/1.115, allocations: 301.1 kB / 0.8423 GB, free: 9.039 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007631/1.123, allocations: 3.817 MB / 0.8461 GB, free: 5.211 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01292/1.136, allocations: 7.144 MB / 0.853 GB, free: 12.82 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3409/1.477, allocations: 46.26 MB / 0.8982 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001034/1.477, allocations: 23.94 kB / 0.8982 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.0416/1.519, allocations: 11.7 MB / 0.9097 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.714e-05/1.519, allocations: 32.97 kB / 0.9097 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02724/1.546, allocations: 9.018 MB / 0.9185 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04975/1.596, allocations: 4.338 MB / 0.9227 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01148/1.607, allocations: 2.272 MB / 0.925 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01214/1.619, allocations: 7.83 MB / 0.9326 GB, free: 11.6 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009312/1.629, allocations: 408.6 kB / 0.933 GB, free: 11.2 MB / 0.7482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00244/1.631, allocations: 0.5036 MB / 0.9335 GB, free: 10.7 MB / 0.7482 GB Warning: Assuming fixed start value for the following 2 variables: hex.tubes.h:VARIABLE(start = hex.tubes.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" 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.01615/1.647, allocations: 5.298 MB / 0.9387 GB, free: 5.391 MB / 0.7482 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01396/1.661, allocations: 7.095 MB / 0.9456 GB, free: 13.04 MB / 0.7638 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.7115/2.373, allocations: 46.04 MB / 0.9905 GB, free: 297.4 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.282e-05/2.373, allocations: 25.84 kB / 0.9906 GB, free: 297.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.02912/2.402, allocations: 11.55 MB / 1.002 GB, free: 293.1 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.287e-05/2.402, allocations: 34.44 kB / 1.002 GB, free: 293.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02345/2.425, allocations: 8.9 MB / 1.011 GB, free: 287.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04976/2.475, allocations: 4.256 MB / 1.015 GB, free: 283.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009156/2.484, allocations: 2.162 MB / 1.017 GB, free: 281 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007707/2.492, allocations: 6.662 MB / 1.023 GB, free: 274.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008841/2.501, allocations: 411 kB / 1.024 GB, free: 273.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002153/2.503, allocations: 0.5023 MB / 1.024 GB, free: 273.2 MB / 0.7794 GB Warning: Assuming fixed start value for the following 2 variables: hex.tubes.h:VARIABLE(start = hex.tubes.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" 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: 313 * 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 (1063): * Single equations (assignments): 1056 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 2 * 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): 1 system {(4,3,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,17)} Notification: Performance of prepare postOptimizeDAE: time 0.003047/2.506, allocations: 0.6689 MB / 1.025 GB, free: 272.6 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002542/2.508, allocations: 0.6921 MB / 1.026 GB, free: 272.3 MB / 0.7794 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 1165 equation(s) and 1114 variable(s). Error: ($cse432, $cse433, $cse434, $cse435, $cse436, $cse437, $cse438, $cse439, $cse440, $cse441, $cse442, $cse443) = TILMedia.Internals.VLEFluid.AdditionalObjectFunctions.ObjectFunctions.VLEProperties_phxi(hex.tubes.p, -1.0, {}, pressureSink_ph1.fluidOut.vleFluidPointer) has size 12 but 8 variables ($cse280, $cse281, $cse282, $cse283, hex.shell.liq.transp.Pr, hex.shell.liq.transp.lambda, hex.shell.liq.transp.eta, hex.shell.liq.transp.sigma) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01928/2.528, allocations: 9.589 MB / 1.035 GB, free: 263.4 MB / 0.7794 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.600807949900627] Failed to read output from testmodel.py, exit status != 0: 2.7098639868199825 2.720425346 1.954382944 Calling exit ...