Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.005847/0.005847, allocations: 1.442 MB / 20.54 MB, free: 4.012 MB / 18.57 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.000964/0.000964, allocations: 91.45 kB / 24.16 MB, free: 396 kB / 18.57 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.0007579/0.0007579, allocations: 165.8 kB / 27.86 MB, free: 5.496 MB / 18.57 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 0.8101/0.8101, allocations: 177.2 MB / 208.6 MB, free: 2.996 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6694/0.6694, allocations: 102.4 MB / 367.9 MB, free: 1.469 MB / 330.8 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.5.2 (/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_dev_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_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.5367 GB, free: 39.73 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.325e-05/1.458e-05, allocations: 2.281 kB / 0.5367 GB, free: 39.73 MB / 490.8 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.1056/0.1056, allocations: 69.26 MB / 0.6043 GB, free: 6.715 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.02587/0.1315, allocations: 23.72 MB / 0.6275 GB, free: 14.92 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003144/0.1346, allocations: 139 kB / 0.6276 GB, free: 14.79 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.004384/0.139, allocations: 2.895 MB / 0.6304 GB, free: 11.88 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.006351/0.1453, allocations: 4.446 MB / 0.6348 GB, free: 7.402 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.006134/0.1515, allocations: 4.486 MB / 0.6391 GB, free: 2.906 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.01082/0.1623, allocations: 12.77 MB / 0.6516 GB, free: 6.098 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004788/0.1671, allocations: 3.919 MB / 0.6554 GB, free: 2.105 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007532/0.1746, allocations: 6.848 MB / 0.6621 GB, free: 11.24 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004209/0.1788, allocations: 4.563 MB / 0.6666 GB, free: 6.668 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.0009585/0.1798, allocations: 0.8438 MB / 0.6674 GB, free: 5.824 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003864/0.1836, allocations: 2.639 MB / 0.67 GB, free: 3.18 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.001538/0.1852, allocations: 2.765 MB / 0.6727 GB, free: 416 kB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.002277/0.1875, allocations: 2.712 MB / 0.6753 GB, free: 13.69 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01133/0.1988, allocations: 13.43 MB / 0.6885 GB, free: 224 kB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1988, allocations: 0 / 0.6885 GB, free: 224 kB / 0.573 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1988, allocations: 0 / 0.6885 GB, free: 224 kB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001757/0.199, allocations: 0 / 0.6885 GB, free: 224 kB / 0.573 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.0117/0.2107, allocations: 9.702 MB / 0.6979 GB, free: 6.426 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.2107, allocations: 8.031 kB / 0.6979 GB, free: 6.418 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001597/0.2123, allocations: 1.021 MB / 0.6989 GB, free: 5.391 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007114/0.2194, allocations: 6.133 MB / 0.7049 GB, free: 15.16 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001754/0.2196, allocations: 307.7 kB / 0.7052 GB, free: 14.87 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004691/0.2201, allocations: 391.9 kB / 0.7056 GB, free: 14.48 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01445/0.2345, allocations: 12.61 MB / 0.7179 GB, free: 356 kB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.219e-05/0.2346, allocations: 39.62 kB / 0.7179 GB, free: 316 kB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003723/0.235, allocations: 200 kB / 0.7181 GB, free: 116 kB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000273/0.2352, allocations: 406.1 kB / 0.7185 GB, free: 15.71 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01266/0.2479, allocations: 8.846 MB / 0.7272 GB, free: 6.852 MB / 0.6199 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.2673/0.5152, allocations: 38.88 MB / 0.7651 GB, free: 169.5 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01174/0.5269, allocations: 7.154 MB / 0.7721 GB, free: 168.6 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003792/0.5307, allocations: 2.822 MB / 0.7749 GB, free: 167.3 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000561/0.5313, allocations: 255 kB / 0.7751 GB, free: 167.3 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008868/0.5402, allocations: 5.889 MB / 0.7809 GB, free: 165.1 MB / 0.6512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001963/0.5421, allocations: 0.5799 MB / 0.7814 GB, free: 165.1 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=765): time 7.734e-06/0.5421, allocations: 3.562 kB / 0.7814 GB, free: 165.1 MB / 0.6512 GB Notification: Performance of matching and sorting (n=767): time 0.04716/0.5893, allocations: 47.84 MB / 0.8281 GB, free: 133.6 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001829/0.5895, allocations: 1.678 MB / 0.8298 GB, free: 131.6 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004492/0.594, allocations: 5.523 MB / 0.8352 GB, free: 126.1 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.00082/0.5948, allocations: 94.25 kB / 0.8353 GB, free: 126 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001066/0.5958, allocations: 2.838 MB / 0.838 GB, free: 123.4 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001197/0.597, allocations: 2.593 MB / 0.8406 GB, free: 121.2 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001426/0.5985, allocations: 1.677 MB / 0.8422 GB, free: 119.5 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 3.119e-05/0.5985, allocations: 303.8 kB / 0.8425 GB, free: 119.2 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003688/0.6022, allocations: 3.816 MB / 0.8462 GB, free: 115.4 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004394/0.6066, allocations: 7.145 MB / 0.8532 GB, free: 107 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1356/0.7422, allocations: 46.27 MB / 0.8984 GB, free: 60.79 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.423e-05/0.7422, allocations: 23.94 kB / 0.8984 GB, free: 60.77 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.01379/0.756, allocations: 11.69 MB / 0.9098 GB, free: 49.03 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 3.548e-05/0.756, allocations: 41.39 kB / 0.9099 GB, free: 48.99 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009733/0.7658, allocations: 9.01 MB / 0.9187 GB, free: 39.93 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02246/0.7882, allocations: 4.346 MB / 0.9229 GB, free: 35.6 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00529/0.7935, allocations: 2.264 MB / 0.9251 GB, free: 33.34 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004416/0.7979, allocations: 7.832 MB / 0.9328 GB, free: 25.2 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004313/0.8022, allocations: 406.2 kB / 0.9332 GB, free: 24.8 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005235/0.8028, allocations: 0.5114 MB / 0.9337 GB, free: 24.29 MB / 0.6512 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.006352/0.8091, allocations: 5.289 MB / 0.9388 GB, free: 18.99 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004347/0.8135, allocations: 7.094 MB / 0.9457 GB, free: 10.61 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.139/0.9524, allocations: 46.05 MB / 0.9907 GB, free: 11.58 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.273e-05/0.9524, allocations: 23.12 kB / 0.9907 GB, free: 11.56 MB / 0.698 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.01573/0.9682, allocations: 11.55 MB / 1.002 GB, free: 15.95 MB / 0.7137 GB Notification: Performance of prepare postOptimizeDAE: time 3.325e-05/0.9682, allocations: 36 kB / 1.002 GB, free: 15.92 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01099/0.9792, allocations: 8.9 MB / 1.011 GB, free: 6.957 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02284/1.002, allocations: 4.253 MB / 1.015 GB, free: 2.719 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005265/1.007, allocations: 2.164 MB / 1.017 GB, free: 0.5508 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005187/1.012, allocations: 6.654 MB / 1.024 GB, free: 9.574 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004609/1.017, allocations: 412.5 kB / 1.024 GB, free: 9.172 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007652/1.018, allocations: 0.4997 MB / 1.024 GB, free: 8.672 MB / 0.7293 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.001811/1.02, allocations: 0.6609 MB / 1.025 GB, free: 8.047 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001315/1.021, allocations: 0.6983 MB / 1.026 GB, free: 7.344 MB / 0.7293 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.2635/1.284, allocations: 9.58 MB / 1.035 GB, free: 241.4 MB / 0.7293 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.8189592035487294] Failed to read output from testmodel.py, exit status != 0: 1.4338902737945318 1.4409003919999999 1.240782547 Calling exit ...