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.01581/0.01581, allocations: 1.447 MB / 20.8 MB, free: 3.594 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.007407/0.007407, allocations: 77.55 kB / 24.44 MB, free: 7.562 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.001497/0.001497, allocations: 172 kB / 28.2 MB, free: 4.664 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 1.436/1.436, allocations: 177.1 MB / 209 MB, free: 2.82 MB / 186.7 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.107/1.107, allocations: 102.5 MB / 368.3 MB, free: 1.27 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.974e-06/1.974e-06, allocations: 0 / 468.3 MB, free: 13.48 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.378e-05/3.576e-05, allocations: 6.25 kB / 468.3 MB, free: 13.48 MB / 442.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.4738/0.4738, allocations: 69.47 MB / 0.5252 GB, free: 71.83 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.03744/0.5113, allocations: 23.74 MB / 0.5484 GB, free: 56.64 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007524/0.5188, allocations: 140 kB / 0.5485 GB, free: 56.58 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.008372/0.5272, allocations: 2.885 MB / 0.5513 GB, free: 55.24 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01432/0.5415, allocations: 4.454 MB / 0.5557 GB, free: 52.57 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01214/0.5536, allocations: 4.458 MB / 0.56 GB, free: 50.16 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.02098/0.5746, allocations: 12.77 MB / 0.5725 GB, free: 43.64 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007538/0.5822, allocations: 4.105 MB / 0.5765 GB, free: 40.54 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01835/0.6005, allocations: 6.887 MB / 0.5832 GB, free: 36.21 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01018/0.6107, allocations: 4.618 MB / 0.5877 GB, free: 31.98 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.003059/0.6137, allocations: 0.8594 MB / 0.5886 GB, free: 31.12 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.09289/0.7066, allocations: 18.08 MB / 0.6062 GB, free: 15.03 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.00451/0.7111, allocations: 2.78 MB / 0.6089 GB, free: 12.24 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.007629/0.7188, allocations: 2.739 MB / 0.6116 GB, free: 9.492 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02246/0.7412, allocations: 13.54 MB / 0.6248 GB, free: 11.91 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.7412, allocations: 0 / 0.6248 GB, free: 11.91 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.485e-06/0.7412, allocations: 0 / 0.6248 GB, free: 11.91 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0005014/0.7417, allocations: 0 / 0.6248 GB, free: 11.91 MB / 0.4949 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.03102/0.7728, allocations: 9.708 MB / 0.6343 GB, free: 2.152 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.7728, allocations: 8.031 kB / 0.6343 GB, free: 2.145 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004824/0.7776, allocations: 1.325 MB / 0.6356 GB, free: 0.8164 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01689/0.7945, allocations: 6.426 MB / 0.6419 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005046/0.795, allocations: 307.7 kB / 0.6422 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002119/0.7972, allocations: 427.9 kB / 0.6426 GB, free: 9.598 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0307/0.8279, allocations: 12.68 MB / 0.655 GB, free: 11.4 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001353/0.828, allocations: 47.56 kB / 0.655 GB, free: 11.35 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008159/0.8288, allocations: 198.6 kB / 0.6552 GB, free: 11.16 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005527/0.8294, allocations: 404.9 kB / 0.6556 GB, free: 10.77 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0273/0.8567, allocations: 8.933 MB / 0.6643 GB, free: 1.836 MB / 0.5262 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.06963/0.9263, allocations: 39.24 MB / 0.7026 GB, free: 9.48 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02241/0.9487, allocations: 7.251 MB / 0.7097 GB, free: 2.07 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007138/0.9558, allocations: 2.849 MB / 0.7125 GB, free: 15.14 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001213/0.957, allocations: 278.1 kB / 0.7128 GB, free: 14.87 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01907/0.9761, allocations: 5.936 MB / 0.7186 GB, free: 8.773 MB / 0.5887 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003643/0.9798, allocations: 0.5957 MB / 0.7192 GB, free: 8.176 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=765): time 1.914e-05/0.9798, allocations: 0 / 0.7192 GB, free: 8.176 MB / 0.5887 GB Notification: Performance of matching and sorting (n=767): time 0.3335/1.313, allocations: 48.58 MB / 0.7666 GB, free: 176.7 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003752/1.314, allocations: 1.673 MB / 0.7682 GB, free: 174.7 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009765/1.323, allocations: 5.522 MB / 0.7736 GB, free: 172.7 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.001663/1.325, allocations: 95.5 kB / 0.7737 GB, free: 172.6 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.002629/1.328, allocations: 2.836 MB / 0.7765 GB, free: 170.6 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.003595/1.331, allocations: 2.602 MB / 0.779 GB, free: 168.9 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004096/1.335, allocations: 1.672 MB / 0.7807 GB, free: 168.3 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.766e-05/1.335, allocations: 303.2 kB / 0.7809 GB, free: 168 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008134/1.344, allocations: 3.845 MB / 0.7847 GB, free: 166.4 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01122/1.355, allocations: 7.17 MB / 0.7917 GB, free: 160.7 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2821/1.637, allocations: 46.5 MB / 0.8371 GB, free: 128.3 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001618/1.637, allocations: 20.55 kB / 0.8371 GB, free: 128.3 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.02805/1.665, allocations: 12.02 MB / 0.8489 GB, free: 116.2 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 6.206e-05/1.665, allocations: 40.03 kB / 0.8489 GB, free: 116.2 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01653/1.682, allocations: 9.068 MB / 0.8578 GB, free: 107 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04782/1.73, allocations: 4.511 MB / 0.8622 GB, free: 102.5 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01014/1.74, allocations: 2.301 MB / 0.8644 GB, free: 100.2 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008156/1.748, allocations: 7.91 MB / 0.8721 GB, free: 92.02 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008184/1.756, allocations: 407.2 kB / 0.8725 GB, free: 91.62 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00227/1.758, allocations: 0.5093 MB / 0.873 GB, free: 91.12 MB / 0.6043 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.01205/1.77, allocations: 5.333 MB / 0.8782 GB, free: 85.77 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008781/1.779, allocations: 7.11 MB / 0.8852 GB, free: 77.37 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2793/2.059, allocations: 46.14 MB / 0.9302 GB, free: 30.2 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.651e-05/2.059, allocations: 20.66 kB / 0.9303 GB, free: 30.18 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.02698/2.086, allocations: 11.9 MB / 0.9419 GB, free: 18.22 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 6.284e-05/2.086, allocations: 32.77 kB / 0.9419 GB, free: 18.19 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01838/2.104, allocations: 8.958 MB / 0.9507 GB, free: 9.176 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04763/2.152, allocations: 4.463 MB / 0.955 GB, free: 4.719 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00876/2.16, allocations: 2.203 MB / 0.9572 GB, free: 2.512 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009316/2.17, allocations: 6.071 MB / 0.9631 GB, free: 12.2 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009095/2.179, allocations: 413.2 kB / 0.9635 GB, free: 11.8 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002443/2.181, allocations: 0.4997 MB / 0.964 GB, free: 11.3 MB / 0.6199 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.00415/2.185, allocations: 0.6619 MB / 0.9646 GB, free: 10.67 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004683/2.19, allocations: 0.8116 MB / 0.9654 GB, free: 9.855 MB / 0.6199 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.3151/2.505, allocations: 9.605 MB / 0.9748 GB, free: 198 MB / 0.6199 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.122617861023173]