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.0058/0.0058, allocations: 1.446 MB / 20.54 MB, free: 4.008 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.000622/0.000622, allocations: 91.45 kB / 24.16 MB, free: 396 kB / 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.0007224/0.0007224, allocations: 164.1 kB / 27.85 MB, free: 5.496 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.8481/0.8481, allocations: 177.2 MB / 208.6 MB, free: 2.957 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.7225/0.7225, allocations: 102.5 MB / 367.9 MB, free: 1.441 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.693e-06/1.693e-06, allocations: 0 / 0.5367 GB, free: 39.76 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.554e-05/1.723e-05, allocations: 4.984 kB / 0.5367 GB, free: 39.76 MB / 490.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.1164/0.1165, allocations: 69.25 MB / 0.6043 GB, free: 6.715 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.03058/0.147, allocations: 23.72 MB / 0.6275 GB, free: 14.91 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005077/0.1521, allocations: 139 kB / 0.6276 GB, free: 14.78 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.005388/0.1575, allocations: 2.884 MB / 0.6304 GB, free: 11.88 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.008784/0.1663, allocations: 4.458 MB / 0.6348 GB, free: 7.395 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.009069/0.1754, allocations: 4.475 MB / 0.6391 GB, free: 2.91 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.01236/0.1877, allocations: 12.78 MB / 0.6516 GB, free: 6.094 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004397/0.1921, allocations: 3.919 MB / 0.6555 GB, free: 2.102 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006784/0.1989, allocations: 6.841 MB / 0.6621 GB, free: 11.25 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003918/0.2028, allocations: 4.563 MB / 0.6666 GB, free: 6.672 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.0007235/0.2035, allocations: 0.8477 MB / 0.6674 GB, free: 5.824 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003985/0.2075, allocations: 2.636 MB / 0.67 GB, free: 3.184 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.001689/0.2092, allocations: 2.765 MB / 0.6727 GB, free: 420 kB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.002169/0.2114, allocations: 2.72 MB / 0.6753 GB, free: 13.68 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01076/0.2221, allocations: 13.43 MB / 0.6885 GB, free: 224 kB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2221, allocations: 3.938 kB / 0.6885 GB, free: 220 kB / 0.573 GB Notification: Performance of FrontEnd: time 1.884e-06/0.2221, allocations: 0 / 0.6885 GB, free: 220 kB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001386/0.2223, allocations: 0 / 0.6885 GB, free: 220 kB / 0.573 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.01248/0.2348, allocations: 9.698 MB / 0.6979 GB, free: 6.422 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.2348, allocations: 8.031 kB / 0.6979 GB, free: 6.414 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001587/0.2364, allocations: 1.014 MB / 0.6989 GB, free: 5.395 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006662/0.2431, allocations: 6.147 MB / 0.7049 GB, free: 15.16 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001576/0.2432, allocations: 303.7 kB / 0.7052 GB, free: 14.86 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004284/0.2436, allocations: 399.9 kB / 0.7056 GB, free: 14.47 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01303/0.2567, allocations: 12.61 MB / 0.7179 GB, free: 348 kB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.484e-05/0.2567, allocations: 39.62 kB / 0.718 GB, free: 308 kB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003459/0.2571, allocations: 204 kB / 0.7181 GB, free: 104 kB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002784/0.2574, allocations: 402.2 kB / 0.7185 GB, free: 15.71 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01213/0.2695, allocations: 8.846 MB / 0.7272 GB, free: 6.844 MB / 0.6199 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.3164/0.5859, allocations: 38.87 MB / 0.7651 GB, free: 169.5 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01207/0.598, allocations: 7.162 MB / 0.7721 GB, free: 168.6 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003581/0.6015, allocations: 2.82 MB / 0.7749 GB, free: 167.3 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005283/0.6021, allocations: 257.6 kB / 0.7751 GB, free: 167.2 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008335/0.6104, allocations: 5.884 MB / 0.7809 GB, free: 165.1 MB / 0.6512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002193/0.6126, allocations: 0.5765 MB / 0.7814 GB, free: 165 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=765): time 9.307e-06/0.6126, allocations: 0.5469 kB / 0.7814 GB, free: 165 MB / 0.6512 GB Notification: Performance of matching and sorting (n=767): time 0.04738/0.66, allocations: 47.85 MB / 0.8282 GB, free: 133.6 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001894/0.6602, allocations: 1.682 MB / 0.8298 GB, free: 131.6 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004627/0.6648, allocations: 5.521 MB / 0.8352 GB, free: 126.1 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.0004506/0.6653, allocations: 93.7 kB / 0.8353 GB, free: 126 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001171/0.6664, allocations: 2.839 MB / 0.8381 GB, free: 123.4 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001179/0.6676, allocations: 2.598 MB / 0.8406 GB, free: 121.2 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001471/0.6691, allocations: 1.666 MB / 0.8422 GB, free: 119.5 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 2.967e-05/0.6691, allocations: 306.4 kB / 0.8425 GB, free: 119.2 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003762/0.6729, allocations: 3.813 MB / 0.8462 GB, free: 115.4 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004594/0.6775, allocations: 7.152 MB / 0.8532 GB, free: 107 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1335/0.8109, allocations: 46.25 MB / 0.8984 GB, free: 60.78 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-05/0.811, allocations: 20 kB / 0.8984 GB, free: 60.76 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.01445/0.8254, allocations: 11.7 MB / 0.9098 GB, free: 49.01 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 3.861e-05/0.8255, allocations: 32 kB / 0.9099 GB, free: 48.98 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009917/0.8354, allocations: 9.01 MB / 0.9187 GB, free: 39.91 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02203/0.8574, allocations: 4.352 MB / 0.9229 GB, free: 35.59 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004955/0.8624, allocations: 2.267 MB / 0.9251 GB, free: 33.32 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00431/0.8667, allocations: 7.829 MB / 0.9328 GB, free: 25.18 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003605/0.8703, allocations: 411.1 kB / 0.9332 GB, free: 24.79 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004851/0.8708, allocations: 0.5114 MB / 0.9337 GB, free: 24.28 MB / 0.6512 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.006197/0.877, allocations: 5.294 MB / 0.9388 GB, free: 18.98 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005625/0.8826, allocations: 7.086 MB / 0.9458 GB, free: 10.6 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1422/1.025, allocations: 46.06 MB / 0.9907 GB, free: 11.55 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.967e-05/1.025, allocations: 20 kB / 0.9908 GB, free: 11.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.01621/1.041, allocations: 11.53 MB / 1.002 GB, free: 15.94 MB / 0.7137 GB Notification: Performance of prepare postOptimizeDAE: time 3.685e-05/1.041, allocations: 32 kB / 1.002 GB, free: 15.91 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01157/1.053, allocations: 8.901 MB / 1.011 GB, free: 6.945 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02221/1.075, allocations: 4.263 MB / 1.015 GB, free: 2.695 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006889/1.082, allocations: 2.161 MB / 1.017 GB, free: 0.5312 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005407/1.087, allocations: 6.657 MB / 1.024 GB, free: 9.559 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004331/1.091, allocations: 412.5 kB / 1.024 GB, free: 9.156 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008403/1.092, allocations: 0.5026 MB / 1.024 GB, free: 8.656 MB / 0.7293 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.001877/1.094, allocations: 0.6667 MB / 1.025 GB, free: 8.027 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001018/1.095, allocations: 0.6983 MB / 1.026 GB, free: 7.324 MB / 0.7293 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.2943/1.39, allocations: 9.569 MB / 1.035 GB, free: 241.3 MB / 0.7293 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.082685794681311] Failed to read output from testmodel.py, exit status != 0: 1.541266585700214 1.548220941 1.324575144 Calling exit ...