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.01218/0.01218, allocations: 1.784 MB / 21.57 MB, free: 2.902 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.001335/0.001335, allocations: 82.8 kB / 25.4 MB, free: 7 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.001515/0.001515, allocations: 158.3 kB / 29.33 MB, free: 3.137 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.9476/0.9476, allocations: 177.1 MB / 210.3 MB, free: 3.449 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.6302/0.6302, allocations: 102.4 MB / 369.8 MB, free: 248 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.353e-06/1.353e-06, allocations: 0 / 470.4 MB, free: 18.83 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.469e-05/1.604e-05, allocations: 2.859 kB / 470.4 MB, free: 18.82 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.1144/0.1144, allocations: 74.3 MB / 0.532 GB, free: 13.32 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.02774/0.1421, allocations: 24.54 MB / 0.5559 GB, free: 4.715 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003161/0.1453, allocations: 139 kB / 0.5561 GB, free: 4.578 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004231/0.1495, allocations: 2.887 MB / 0.5589 GB, free: 1.676 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.006419/0.156, allocations: 4.473 MB / 0.5633 GB, free: 13.18 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.006491/0.1624, allocations: 4.475 MB / 0.5676 GB, free: 8.691 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01141/0.1738, allocations: 12.76 MB / 0.5801 GB, free: 11.89 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004333/0.1782, allocations: 4.113 MB / 0.5841 GB, free: 7.711 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.128/0.3062, allocations: 52.2 MB / 0.6351 GB, free: 4.668 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005904/0.3121, allocations: 4.476 MB / 0.6395 GB, free: 184 kB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.2145/0.5266, allocations: 0.8013 MB / 0.6402 GB, free: 79.85 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005402/0.532, allocations: 2.578 MB / 0.6428 GB, free: 79.85 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.001331/0.5333, allocations: 2.657 MB / 0.6453 GB, free: 79.85 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.002047/0.5354, allocations: 2.642 MB / 0.6479 GB, free: 79.85 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.006343/0.5417, allocations: 8.632 MB / 0.6564 GB, free: 79.18 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.5417, allocations: 1.469 kB / 0.6564 GB, free: 79.18 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5417, allocations: 0 / 0.6564 GB, free: 79.18 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 6.084e-05/0.5418, allocations: 0 / 0.6564 GB, free: 79.18 MB / 0.5418 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.008309/0.5501, allocations: 10.19 MB / 0.6663 GB, free: 75.45 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.5501, allocations: 9.188 kB / 0.6663 GB, free: 75.45 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001498/0.5516, allocations: 1.222 MB / 0.6675 GB, free: 74.97 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004067/0.5557, allocations: 4.645 MB / 0.672 GB, free: 73.84 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001439/0.5558, allocations: 308 kB / 0.6723 GB, free: 73.83 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004335/0.5563, allocations: 426.7 kB / 0.6727 GB, free: 73.82 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009297/0.5656, allocations: 10.13 MB / 0.6826 GB, free: 67.31 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.948e-05/0.5657, allocations: 45.92 kB / 0.6827 GB, free: 67.31 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003586/0.566, allocations: 199.7 kB / 0.6829 GB, free: 67.31 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000315/0.5663, allocations: 400.6 kB / 0.6833 GB, free: 67.3 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007456/0.5738, allocations: 4.184 MB / 0.6873 GB, free: 67.2 MB / 0.5418 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.03066/0.6044, allocations: 47.59 MB / 0.7338 GB, free: 26.25 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007675/0.6121, allocations: 4.559 MB / 0.7383 GB, free: 24.14 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001667/0.6138, allocations: 1.179 MB / 0.7394 GB, free: 23.59 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005662/0.6144, allocations: 407.3 kB / 0.7398 GB, free: 23.52 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006254/0.6206, allocations: 3.913 MB / 0.7436 GB, free: 21.65 MB / 0.5418 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002099/0.6227, allocations: 0.6049 MB / 0.7442 GB, free: 21.21 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=765): time 1.501e-05/0.6227, allocations: 0 / 0.7442 GB, free: 21.21 MB / 0.5418 GB Notification: Performance of matching and sorting (n=767): time 0.03013/0.6529, allocations: 12.93 MB / 0.7569 GB, free: 16.27 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002395/0.6531, allocations: 2.015 MB / 0.7588 GB, free: 13.79 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004594/0.6577, allocations: 4.829 MB / 0.7635 GB, free: 9.738 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.00108/0.6588, allocations: 97.7 kB / 0.7636 GB, free: 9.637 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.001552/0.6603, allocations: 3.072 MB / 0.7666 GB, free: 6.77 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.002309/0.6626, allocations: 2.697 MB / 0.7693 GB, free: 4.234 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002208/0.6648, allocations: 1.826 MB / 0.7711 GB, free: 2.566 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 3.841e-05/0.6649, allocations: 476.8 kB / 0.7715 GB, free: 2.098 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001714/0.6666, allocations: 1.238 MB / 0.7727 GB, free: 0.8477 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004294/0.6709, allocations: 6.053 MB / 0.7786 GB, free: 9.207 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007993/0.6789, allocations: 7.565 MB / 0.786 GB, free: 0.8242 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.546e-05/0.6789, allocations: 22.66 kB / 0.786 GB, free: 0.8047 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.009817/0.6888, allocations: 6.579 MB / 0.7925 GB, free: 10.68 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.728e-05/0.6888, allocations: 36 kB / 0.7925 GB, free: 10.64 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006068/0.6949, allocations: 4.086 MB / 0.7965 GB, free: 6.551 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02261/0.7175, allocations: 4.022 MB / 0.8004 GB, free: 2.738 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005383/0.7229, allocations: 2.227 MB / 0.8026 GB, free: 0.6484 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004904/0.7278, allocations: 8.929 MB / 0.8113 GB, free: 7.453 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004691/0.7324, allocations: 333.6 kB / 0.8116 GB, free: 7.133 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00113/0.7336, allocations: 451.6 kB / 0.8121 GB, free: 6.691 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003839/0.7374, allocations: 1.43 MB / 0.8135 GB, free: 5.262 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00432/0.7417, allocations: 6.041 MB / 0.8194 GB, free: 13.63 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008348/0.7501, allocations: 7.541 MB / 0.8267 GB, free: 5.273 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.332e-05/0.7502, allocations: 20 kB / 0.8267 GB, free: 5.254 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.01076/0.7609, allocations: 6.542 MB / 0.8331 GB, free: 15.16 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 3.621e-05/0.761, allocations: 32.77 kB / 0.8332 GB, free: 15.13 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00608/0.7671, allocations: 4.053 MB / 0.8371 GB, free: 11.07 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02243/0.7895, allocations: 3.992 MB / 0.841 GB, free: 7.289 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005201/0.7947, allocations: 2.125 MB / 0.8431 GB, free: 5.27 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004057/0.7987, allocations: 6.242 MB / 0.8492 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004195/0.8029, allocations: 343 kB / 0.8495 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001335/0.8043, allocations: 451.6 kB / 0.8499 GB, free: 14.04 MB / 0.6355 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.002795/0.8071, allocations: 0.7605 MB / 0.8507 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002606/0.8097, allocations: 0.8115 MB / 0.8515 GB, free: 12.45 MB / 0.6355 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 1164 equation(s) and 1113 variable(s). Error: ($cse431, $cse432, $cse433, $cse434, $cse435, $cse436, $cse437, $cse438, $cse439, $cse440, $cse441, $cse442) = TILMedia.Internals.VLEFluid.AdditionalObjectFunctions.ObjectFunctions.VLEProperties_phxi(hex.tubes.p, -1.0, {}, pressureSink_ph1.fluidOut.vleFluidPointer) has size 12 but 8 variables ($cse279, $cse280, $cse281, $cse282, 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.01085/0.8205, allocations: 7.73 MB / 0.859 GB, free: 5.242 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.7021131343208253]