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.008023/0.008023, allocations: 1.784 MB / 21.57 MB, free: 2.898 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.0007687/0.0007687, allocations: 88.91 kB / 25.4 MB, free: 6.457 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.0008092/0.0008092, allocations: 165.5 kB / 29.33 MB, free: 2.949 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.9283/0.9283, allocations: 177.2 MB / 210.3 MB, free: 3.445 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6217/0.6217, allocations: 102.5 MB / 369.9 MB, free: 188 kB / 330.7 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 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_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_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 470.5 MB, free: 18.81 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.508e-05/1.695e-05, allocations: 2.312 kB / 470.5 MB, free: 18.8 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.1213/0.1214, allocations: 74.29 MB / 0.532 GB, free: 13.28 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03069/0.152, allocations: 24.54 MB / 0.556 GB, free: 4.676 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004306/0.1563, allocations: 139 kB / 0.5561 GB, free: 4.539 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004766/0.1611, allocations: 2.887 MB / 0.5589 GB, free: 1.637 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.008478/0.1696, allocations: 4.485 MB / 0.5633 GB, free: 13.12 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.007611/0.1772, allocations: 4.467 MB / 0.5677 GB, free: 8.648 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01544/0.1926, allocations: 12.76 MB / 0.5801 GB, free: 11.85 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005337/0.198, allocations: 4.109 MB / 0.5841 GB, free: 7.676 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1316/0.3296, allocations: 52.19 MB / 0.6351 GB, free: 4.629 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00718/0.3367, allocations: 4.487 MB / 0.6395 GB, free: 132 kB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.2491/0.5858, allocations: 0.8024 MB / 0.6403 GB, free: 79.79 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006603/0.5924, allocations: 2.575 MB / 0.6428 GB, free: 79.79 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.001764/0.5942, allocations: 2.656 MB / 0.6454 GB, free: 79.79 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.004143/0.5983, allocations: 2.645 MB / 0.648 GB, free: 79.79 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01046/0.6088, allocations: 8.632 MB / 0.6564 GB, free: 79.12 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.6088, allocations: 0.6562 kB / 0.6564 GB, free: 79.12 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6088, allocations: 0 / 0.6564 GB, free: 79.12 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0002867/0.6091, allocations: 2.656 kB / 0.6564 GB, free: 79.12 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.0108/0.6199, allocations: 10.18 MB / 0.6663 GB, free: 75.38 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.6199, allocations: 10.25 kB / 0.6663 GB, free: 75.38 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001666/0.6216, allocations: 1.223 MB / 0.6675 GB, free: 74.91 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004384/0.626, allocations: 4.647 MB / 0.6721 GB, free: 73.77 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001534/0.6261, allocations: 305.9 kB / 0.6724 GB, free: 73.77 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004466/0.6266, allocations: 429.5 kB / 0.6728 GB, free: 73.76 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01004/0.6366, allocations: 10.14 MB / 0.6827 GB, free: 67.25 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.305e-05/0.6367, allocations: 39.3 kB / 0.6827 GB, free: 67.25 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003894/0.6371, allocations: 198.6 kB / 0.6829 GB, free: 67.25 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003531/0.6375, allocations: 405.8 kB / 0.6833 GB, free: 67.24 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007723/0.6452, allocations: 4.182 MB / 0.6874 GB, free: 67.13 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.02191/0.6671, allocations: 47.59 MB / 0.7339 GB, free: 26.22 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006857/0.674, allocations: 4.562 MB / 0.7383 GB, free: 24.1 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001252/0.6752, allocations: 1.176 MB / 0.7395 GB, free: 23.56 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005181/0.6757, allocations: 408.5 kB / 0.7399 GB, free: 23.48 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005491/0.6812, allocations: 3.916 MB / 0.7437 GB, free: 21.61 MB / 0.5418 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001983/0.6832, allocations: 0.6017 MB / 0.7443 GB, free: 21.18 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=765): time 9.508e-06/0.6832, allocations: 0 / 0.7443 GB, free: 21.18 MB / 0.5418 GB Notification: Performance of matching and sorting (n=767): time 0.02698/0.7102, allocations: 12.94 MB / 0.7569 GB, free: 16.19 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002676/0.7105, allocations: 2.007 MB / 0.7589 GB, free: 13.71 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003705/0.7142, allocations: 4.834 MB / 0.7636 GB, free: 9.656 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0003875/0.7145, allocations: 93.7 kB / 0.7637 GB, free: 9.559 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.001393/0.7159, allocations: 3.066 MB / 0.7667 GB, free: 6.695 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.001263/0.7172, allocations: 2.699 MB / 0.7693 GB, free: 4.156 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001647/0.7188, allocations: 1.824 MB / 0.7711 GB, free: 2.488 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 4.303e-05/0.7189, allocations: 476.8 kB / 0.7715 GB, free: 2.02 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001397/0.7203, allocations: 1.234 MB / 0.7727 GB, free: 0.7734 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004006/0.7243, allocations: 6.064 MB / 0.7787 GB, free: 9.125 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008048/0.7323, allocations: 7.558 MB / 0.786 GB, free: 0.7461 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.034e-05/0.7324, allocations: 20 kB / 0.7861 GB, free: 0.7266 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.0112/0.7436, allocations: 6.586 MB / 0.7925 GB, free: 10.6 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 4.484e-05/0.7436, allocations: 40.59 kB / 0.7925 GB, free: 10.56 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006706/0.7504, allocations: 4.085 MB / 0.7965 GB, free: 6.473 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02207/0.7724, allocations: 4.019 MB / 0.8004 GB, free: 2.66 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005824/0.7782, allocations: 2.229 MB / 0.8026 GB, free: 0.5703 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00561/0.7839, allocations: 8.929 MB / 0.8113 GB, free: 7.379 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004448/0.7883, allocations: 333.7 kB / 0.8117 GB, free: 7.059 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006323/0.7889, allocations: 451.6 kB / 0.8121 GB, free: 6.617 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.003406/0.7923, allocations: 1.43 MB / 0.8135 GB, free: 5.184 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004003/0.7963, allocations: 6.047 MB / 0.8194 GB, free: 13.55 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00891/0.8053, allocations: 7.538 MB / 0.8268 GB, free: 5.195 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.32e-05/0.8053, allocations: 16 kB / 0.8268 GB, free: 5.18 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.01268/0.818, allocations: 6.548 MB / 0.8332 GB, free: 15.08 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 4.487e-05/0.818, allocations: 36 kB / 0.8332 GB, free: 15.05 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007845/0.8259, allocations: 4.044 MB / 0.8371 GB, free: 11 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02722/0.8531, allocations: 3.985 MB / 0.841 GB, free: 7.219 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005876/0.859, allocations: 2.133 MB / 0.8431 GB, free: 5.207 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003967/0.8629, allocations: 6.238 MB / 0.8492 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00484/0.8678, allocations: 343.8 kB / 0.8495 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000772/0.8685, allocations: 451.6 kB / 0.85 GB, free: 13.97 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.001918/0.8705, allocations: 0.7575 MB / 0.8507 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001682/0.8721, allocations: 0.8154 MB / 0.8515 GB, free: 12.39 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.01127/0.8834, allocations: 7.729 MB / 0.8591 GB, free: 5.18 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.766058453824371]