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.01306/0.01306, allocations: 1.766 MB / 18.11 MB, free: 4.945 MB / 14.72 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.001451/0.001451, allocations: 103.7 kB / 21.36 MB, free: 1.715 MB / 14.72 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.001749/0.001749, allocations: 215.8 kB / 24.75 MB, free: 3.738 MB / 14.72 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.599/1.599, allocations: 230.6 MB / 258.5 MB, free: 13.12 MB / 206.1 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.128/1.128, allocations: 130.5 MB / 445.5 MB, free: 14.52 MB / 350.1 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.3.1 (/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: SMArtInt 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: ClaRa 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 uses annotation from ClaRa. 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. Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.4755/0.4755, allocations: 46.14 MB / 0.655 GB, free: 31.26 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.6898, allocations: 89.05 MB / 0.7419 GB, free: 2.328 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple): time 0.03212/0.7219, allocations: 25.98 MB / 0.7673 GB, free: 8.25 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.04712/0.769, allocations: 24.74 MB / 0.7915 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008467/0.7775, allocations: 143 kB / 0.7916 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01022/0.7877, allocations: 2.939 MB / 0.7945 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01723/0.8049, allocations: 4.244 MB / 0.7986 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01322/0.8182, allocations: 4.323 MB / 0.8028 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.02287/0.841, allocations: 12.46 MB / 0.815 GB, free: 7.258 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01072/0.8518, allocations: 3.85 MB / 0.8188 GB, free: 3.336 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01913/0.8709, allocations: 5.038 MB / 0.8237 GB, free: 14.28 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01337/0.8843, allocations: 5.319 MB / 0.8289 GB, free: 8.941 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.00527/0.8895, allocations: 0.8477 MB / 0.8297 GB, free: 8.094 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0132/0.9027, allocations: 3.26 MB / 0.8329 GB, free: 4.832 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.007454/0.9102, allocations: 2.679 MB / 0.8355 GB, free: 2.145 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.01563/0.9258, allocations: 4.237 MB / 0.8396 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.03808/0.9639, allocations: 13.41 MB / 0.8527 GB, free: 440 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.9639, allocations: 0 / 0.8527 GB, free: 440 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9639, allocations: 0 / 0.8527 GB, free: 440 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0005265/0.9644, allocations: 0 / 0.8527 GB, free: 440 kB / 0.6544 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.0329/0.9973, allocations: 8.753 MB / 0.8613 GB, free: 7.57 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.9974, allocations: 8.031 kB / 0.8613 GB, free: 7.562 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005959/1.003, allocations: 1.01 MB / 0.8623 GB, free: 6.547 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01804/1.021, allocations: 6.318 MB / 0.8684 GB, free: 164 kB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.4703/1.492, allocations: 303.3 kB / 0.8687 GB, free: 111.3 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002359/1.494, allocations: 388.6 kB / 0.8691 GB, free: 111.3 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02726/1.521, allocations: 10.76 MB / 0.8796 GB, free: 106.9 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001066/1.521, allocations: 42.5 kB / 0.8797 GB, free: 106.9 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006752/1.522, allocations: 203.2 kB / 0.8798 GB, free: 106.8 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004692/1.523, allocations: 400.7 kB / 0.8802 GB, free: 106.7 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0235/1.546, allocations: 8.886 MB / 0.8889 GB, free: 104.1 MB / 0.67 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.06283/1.609, allocations: 42.49 MB / 0.9304 GB, free: 68.41 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02341/1.632, allocations: 7.483 MB / 0.9377 GB, free: 64.05 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007834/1.64, allocations: 2.82 MB / 0.9405 GB, free: 62.39 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001853/1.642, allocations: 0.6553 MB / 0.9411 GB, free: 61.84 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01897/1.661, allocations: 5.896 MB / 0.9469 GB, free: 58.39 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004342/1.665, allocations: 0.5905 MB / 0.9474 GB, free: 58.12 MB / 0.67 GB Notification: Performance of pre-optimization done (n=765): time 2.699e-05/1.665, allocations: 0 / 0.9474 GB, free: 58.12 MB / 0.67 GB Notification: Performance of matching and sorting (n=767): time 0.09509/1.76, allocations: 48.23 MB / 0.9945 GB, free: 15.73 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003544/1.761, allocations: 1.675 MB / 0.9962 GB, free: 13.68 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007928/1.769, allocations: 5.557 MB / 1.002 GB, free: 8.164 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.001799/1.771, allocations: 93.7 kB / 1.002 GB, free: 8.066 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001993/1.773, allocations: 2.845 MB / 1.004 GB, free: 5.469 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.003601/1.776, allocations: 2.639 MB / 1.007 GB, free: 3.191 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002789/1.779, allocations: 1.682 MB / 1.009 GB, free: 1.5 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 4.676e-05/1.779, allocations: 309.8 kB / 1.009 GB, free: 1.195 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007729/1.787, allocations: 3.817 MB / 1.013 GB, free: 13.37 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0121/1.799, allocations: 6.285 MB / 1.019 GB, free: 6.105 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3112/2.11, allocations: 46.23 MB / 1.064 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001033/2.11, allocations: 24 kB / 1.064 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.03883/2.149, allocations: 11.71 MB / 1.075 GB, free: 12.07 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001427/2.149, allocations: 32 kB / 1.075 GB, free: 12.04 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02908/2.178, allocations: 9.007 MB / 1.084 GB, free: 2.969 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04853/2.227, allocations: 4.349 MB / 1.089 GB, free: 14.64 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01159/2.238, allocations: 2.268 MB / 1.091 GB, free: 12.37 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01328/2.252, allocations: 8.126 MB / 1.099 GB, free: 3.855 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008029/2.26, allocations: 403.6 kB / 1.099 GB, free: 3.461 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002559/2.262, allocations: 0.5114 MB / 1.1 GB, free: 2.949 MB / 0.7638 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.01568/2.278, allocations: 5.288 MB / 1.105 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01323/2.291, allocations: 6.228 MB / 1.111 GB, free: 6.34 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3191/2.61, allocations: 46.04 MB / 1.156 GB, free: 7.32 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.000133/2.61, allocations: 20 kB / 1.156 GB, free: 7.301 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.04036/2.651, allocations: 11.56 MB / 1.167 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001901/2.651, allocations: 33.72 kB / 1.167 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02961/2.68, allocations: 8.896 MB / 1.176 GB, free: 2.688 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04921/2.73, allocations: 4.26 MB / 1.18 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01061/2.74, allocations: 2.168 MB / 1.182 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01079/2.751, allocations: 7.075 MB / 1.189 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008795/2.76, allocations: 404.4 kB / 1.189 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002587/2.762, allocations: 0.4997 MB / 1.19 GB, free: 3.875 MB / 0.8575 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.004703/2.767, allocations: 0.6693 MB / 1.191 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003906/2.771, allocations: 0.7068 MB / 1.191 GB, free: 2.484 MB / 0.8575 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.534/3.305, allocations: 9.56 MB / 1.201 GB, free: 285.3 MB / 0.8575 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 7.199472263004282] Failed to read output from testmodel.py, exit status != 0: 3.3151050430024043 3.327661369 2.358025245 Calling exit ...