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.01261/0.01261, allocations: 1.791 MB / 21.89 MB, free: 2.641 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.001255/0.001255, allocations: 85.95 kB / 25.61 MB, free: 6.996 MB / 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.001276/0.001276, allocations: 170.7 kB / 29.46 MB, free: 3.191 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.9891/0.9891, allocations: 177.2 MB / 210.3 MB, free: 3.59 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.7154/0.7154, allocations: 102.4 MB / 369.8 MB, free: 372 kB / 330.7 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 1.0.0 (/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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 469.9 MB, free: 19.01 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.978e-05/2.152e-05, allocations: 2.312 kB / 469.9 MB, free: 19.01 MB / 410.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.1278/0.1278, allocations: 74.8 MB / 0.5319 GB, free: 13.45 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.02913/0.157, allocations: 24.63 MB / 0.556 GB, free: 4.762 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003515/0.1605, allocations: 139 kB / 0.5561 GB, free: 4.625 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004566/0.1651, allocations: 2.88 MB / 0.5589 GB, free: 1.73 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.007379/0.1724, allocations: 4.47 MB / 0.5633 GB, free: 13.23 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.009704/0.1821, allocations: 4.451 MB / 0.5676 GB, free: 8.773 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01352/0.1957, allocations: 12.78 MB / 0.5801 GB, free: 11.95 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00546/0.2011, allocations: 4.109 MB / 0.5841 GB, free: 7.777 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009646/0.2108, allocations: 6.848 MB / 0.5908 GB, free: 0.9141 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006443/0.2172, allocations: 4.571 MB / 0.5953 GB, free: 12.33 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.001361/0.2186, allocations: 0.8516 MB / 0.5961 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004528/0.2231, allocations: 2.628 MB / 0.5987 GB, free: 8.848 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001817/0.2249, allocations: 2.773 MB / 0.6014 GB, free: 6.066 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.002746/0.2277, allocations: 2.724 MB / 0.604 GB, free: 3.336 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.00921/0.2369, allocations: 8.728 MB / 0.6126 GB, free: 10.58 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.2369, allocations: 0 / 0.6126 GB, free: 10.58 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2369, allocations: 3.938 kB / 0.6126 GB, free: 10.57 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.0001238/0.237, allocations: 0 / 0.6126 GB, free: 10.57 MB / 0.5262 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.01097/0.248, allocations: 10.33 MB / 0.6226 GB, free: 136 kB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.248, allocations: 8.031 kB / 0.6227 GB, free: 128 kB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00204/0.25, allocations: 1.318 MB / 0.6239 GB, free: 14.8 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006226/0.2563, allocations: 5.72 MB / 0.6295 GB, free: 8.984 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001775/0.2565, allocations: 303.7 kB / 0.6298 GB, free: 8.688 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004632/0.2569, allocations: 423.9 kB / 0.6302 GB, free: 8.273 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01185/0.2688, allocations: 10.49 MB / 0.6405 GB, free: 11.86 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.483e-05/0.2688, allocations: 43.62 kB / 0.6405 GB, free: 11.82 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003766/0.2692, allocations: 192 kB / 0.6407 GB, free: 11.63 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003045/0.2695, allocations: 410.2 kB / 0.6411 GB, free: 11.23 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009541/0.2791, allocations: 4.687 MB / 0.6457 GB, free: 6.523 MB / 0.5574 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.2593/0.5384, allocations: 48.49 MB / 0.693 GB, free: 107 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009096/0.5475, allocations: 4.88 MB / 0.6978 GB, free: 105.5 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001972/0.5494, allocations: 1.37 MB / 0.6991 GB, free: 105 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005732/0.55, allocations: 270.6 kB / 0.6994 GB, free: 105 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007511/0.5575, allocations: 4.098 MB / 0.7034 GB, free: 103.9 MB / 0.5574 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001804/0.5593, allocations: 0.586 MB / 0.7039 GB, free: 103.8 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=765): time 1.241e-05/0.5593, allocations: 0 / 0.7039 GB, free: 103.8 MB / 0.5574 GB Notification: Performance of matching and sorting (n=767): time 0.04902/0.6084, allocations: 39.32 MB / 0.7423 GB, free: 80.19 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002543/0.6086, allocations: 1.68 MB / 0.744 GB, free: 78.16 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005083/0.6137, allocations: 4.961 MB / 0.7488 GB, free: 75.52 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0009403/0.6146, allocations: 91.67 kB / 0.7489 GB, free: 75.44 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.001504/0.6161, allocations: 3.033 MB / 0.7519 GB, free: 73.08 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.001622/0.6178, allocations: 2.667 MB / 0.7545 GB, free: 71 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001649/0.6194, allocations: 1.773 MB / 0.7562 GB, free: 69.98 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 5.117e-05/0.6195, allocations: 484.5 kB / 0.7567 GB, free: 69.51 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002407/0.6219, allocations: 1.534 MB / 0.7582 GB, free: 69.02 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003632/0.6255, allocations: 5.875 MB / 0.7639 GB, free: 62.16 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008399/0.6339, allocations: 8.329 MB / 0.772 GB, free: 52.54 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.242e-05/0.6339, allocations: 20 kB / 0.7721 GB, free: 52.52 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.01074/0.6447, allocations: 7.392 MB / 0.7793 GB, free: 45.13 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.777e-05/0.6447, allocations: 36 kB / 0.7793 GB, free: 45.1 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007321/0.652, allocations: 4.753 MB / 0.784 GB, free: 40.3 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02438/0.6764, allocations: 4.206 MB / 0.7881 GB, free: 36.27 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005456/0.6819, allocations: 2.199 MB / 0.7902 GB, free: 34.07 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003635/0.6855, allocations: 9.008 MB / 0.799 GB, free: 24.7 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004031/0.6895, allocations: 352.4 kB / 0.7993 GB, free: 24.36 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005896/0.6901, allocations: 0.5035 MB / 0.7998 GB, free: 23.86 MB / 0.5574 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.004475/0.6946, allocations: 1.734 MB / 0.8015 GB, free: 22.12 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003578/0.6982, allocations: 5.856 MB / 0.8073 GB, free: 14.57 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008073/0.7062, allocations: 8.286 MB / 0.8153 GB, free: 5 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.095e-05/0.7063, allocations: 16 kB / 0.8154 GB, free: 4.984 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.01098/0.7172, allocations: 7.335 MB / 0.8225 GB, free: 13.64 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001093/0.7174, allocations: 41.08 kB / 0.8226 GB, free: 13.61 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007899/0.7253, allocations: 4.737 MB / 0.8272 GB, free: 8.816 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02431/0.7496, allocations: 4.135 MB / 0.8312 GB, free: 4.852 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005157/0.7547, allocations: 2.107 MB / 0.8333 GB, free: 2.746 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004542/0.7593, allocations: 7.114 MB / 0.8402 GB, free: 11.26 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004045/0.7633, allocations: 361.8 kB / 0.8406 GB, free: 10.91 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005925/0.7639, allocations: 0.4997 MB / 0.8411 GB, free: 10.41 MB / 0.5887 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.001835/0.7657, allocations: 0.7596 MB / 0.8418 GB, free: 9.652 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00147/0.7672, allocations: 0.8038 MB / 0.8426 GB, free: 8.844 MB / 0.5887 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.009944/0.7772, allocations: 7.944 MB / 0.8503 GB, free: 1.297 MB / 0.5887 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.9082590360194445]