Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_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.005971/0.005971, allocations: 1.442 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.0006096/0.0006096, 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.000726/0.000726, allocations: 165.8 kB / 27.86 MB, free: 5.5 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.8329/0.8329, allocations: 177.2 MB / 208.6 MB, free: 2.973 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.6753/0.6753, allocations: 102.5 MB / 367.9 MB, free: 1.449 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_CU_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.tubes.p|hex.wall.U.1.|hex.wall.U.2.|hex.wall.U.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_simple") translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_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.tubes.p|hex.wall.U.1.|hex.wall.U.2.|hex.wall.U.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_simple") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.5367 GB, free: 39.73 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.756e-05/2.95e-05, allocations: 2.281 kB / 0.5367 GB, free: 39.73 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_CU_simple): time 0.112/0.112, allocations: 71.8 MB / 0.6068 GB, free: 4.152 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.02734/0.1394, allocations: 24.99 MB / 0.6312 GB, free: 11.09 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002501/0.1419, allocations: 154.9 kB / 0.6313 GB, free: 10.93 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.00422/0.1461, allocations: 3.155 MB / 0.6344 GB, free: 7.762 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.006139/0.1522, allocations: 5.06 MB / 0.6394 GB, free: 2.672 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.006584/0.1588, allocations: 4.993 MB / 0.6442 GB, free: 13.67 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.01105/0.1699, allocations: 14.25 MB / 0.6582 GB, free: 15.38 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00483/0.1747, allocations: 4.419 MB / 0.6625 GB, free: 10.88 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007474/0.1822, allocations: 7.69 MB / 0.67 GB, free: 3.176 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005441/0.1876, allocations: 5.099 MB / 0.675 GB, free: 14.06 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.00107/0.1887, allocations: 0.9375 MB / 0.6759 GB, free: 13.12 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004056/0.1927, allocations: 2.811 MB / 0.6786 GB, free: 10.31 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.002058/0.1948, allocations: 3.064 MB / 0.6816 GB, free: 7.234 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.002388/0.1972, allocations: 3.051 MB / 0.6846 GB, free: 4.176 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01136/0.2086, allocations: 14.86 MB / 0.6991 GB, free: 5.277 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2086, allocations: 0 / 0.6991 GB, free: 5.277 MB / 0.5887 GB Notification: Performance of FrontEnd: time 1.734e-06/0.2086, allocations: 0 / 0.6991 GB, free: 5.277 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 9.981e-05/0.2087, allocations: 0 / 0.6991 GB, free: 5.277 MB / 0.5887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1739 * Number of variables: 1739 Notification: Performance of Generate backend data structure: time 0.01143/0.2201, allocations: 10.87 MB / 0.7097 GB, free: 10.31 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.2201, allocations: 8.031 kB / 0.7097 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001725/0.2219, allocations: 1.15 MB / 0.7109 GB, free: 9.148 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0109/0.2328, allocations: 6.95 MB / 0.7176 GB, free: 2.121 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002757/0.233, allocations: 348.9 kB / 0.718 GB, free: 1.777 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007114/0.2337, allocations: 439.9 kB / 0.7184 GB, free: 1.348 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01662/0.2504, allocations: 14.22 MB / 0.7323 GB, free: 1.32 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.418e-05/0.2504, allocations: 55.5 kB / 0.7323 GB, free: 1.266 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003894/0.2508, allocations: 224 kB / 0.7325 GB, free: 1.047 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002686/0.2511, allocations: 426.9 kB / 0.733 GB, free: 0.6289 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01341/0.2645, allocations: 9.898 MB / 0.7426 GB, free: 6.715 MB / 0.6355 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.281/0.5455, allocations: 45.4 MB / 0.787 GB, free: 142.5 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01365/0.5592, allocations: 8.122 MB / 0.7949 GB, free: 140.1 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004809/0.564, allocations: 3.055 MB / 0.7979 GB, free: 138.7 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007545/0.5647, allocations: 273.1 kB / 0.7981 GB, free: 138.6 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0111/0.5758, allocations: 6.541 MB / 0.8045 GB, free: 135.4 MB / 0.6512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002725/0.5786, allocations: 0.698 MB / 0.8052 GB, free: 135.2 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=865): time 1.85e-05/0.5786, allocations: 0 / 0.8052 GB, free: 135.2 MB / 0.6512 GB Notification: Performance of matching and sorting (n=866): time 0.06475/0.6433, allocations: 56.47 MB / 0.8603 GB, free: 93.33 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002155/0.6435, allocations: 1.816 MB / 0.8621 GB, free: 91.1 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006115/0.6497, allocations: 6.328 MB / 0.8683 GB, free: 84.9 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.001509/0.6512, allocations: 99.83 kB / 0.8684 GB, free: 84.8 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001456/0.6526, allocations: 3.272 MB / 0.8716 GB, free: 81.82 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.002941/0.6556, allocations: 2.942 MB / 0.8745 GB, free: 79.31 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002475/0.658, allocations: 1.894 MB / 0.8763 GB, free: 77.4 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 3.838e-05/0.6581, allocations: 305.1 kB / 0.8766 GB, free: 77.1 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004751/0.6628, allocations: 4.149 MB / 0.8807 GB, free: 72.95 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005675/0.6685, allocations: 7.929 MB / 0.8884 GB, free: 63.58 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1583/0.8268, allocations: 51.45 MB / 0.9386 GB, free: 11.98 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.392e-05/0.8269, allocations: 24 kB / 0.9387 GB, free: 11.95 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1248) (initialization): time 0.01739/0.8443, allocations: 12.59 MB / 0.951 GB, free: 15.31 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 5.317e-05/0.8443, allocations: 43.94 kB / 0.951 GB, free: 15.27 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01317/0.8575, allocations: 9.42 MB / 0.9602 GB, free: 5.805 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02411/0.8816, allocations: 4.175 MB / 0.9643 GB, free: 1.652 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006399/0.888, allocations: 2.539 MB / 0.9668 GB, free: 15.11 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008581/0.8966, allocations: 12.1 MB / 0.9786 GB, free: 2.391 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004945/0.9015, allocations: 444.7 kB / 0.979 GB, free: 1.961 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001351/0.9029, allocations: 0.5777 MB / 0.9796 GB, free: 1.383 MB / 0.6824 GB Warning: Assuming fixed start value for the following 4 variables: hex.shell.h_liq:VARIABLE(start = hex.shell.h_liq_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of liquid phase\" type: Real hex.shell.h_vap:VARIABLE(start = hex.shell.h_vap_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of vapour phase\" type: Real hex.shell.p_vap:VARIABLE(min = 0.0 start = hex.shell.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Vapour pressure\" 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.009389/0.9123, allocations: 5.835 MB / 0.9853 GB, free: 11.54 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007412/0.9197, allocations: 7.894 MB / 0.993 GB, free: 2.172 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.4092/1.329, allocations: 51.34 MB / 1.043 GB, free: 252.6 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.475e-05/1.329, allocations: 26.88 kB / 1.043 GB, free: 252.6 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1248) (initialization_lambda0): time 0.01984/1.349, allocations: 12.49 MB / 1.055 GB, free: 249.8 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 5.301e-05/1.349, allocations: 39.91 kB / 1.055 GB, free: 249.8 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01458/1.363, allocations: 9.325 MB / 1.064 GB, free: 246.3 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02383/1.387, allocations: 4.04 MB / 1.068 GB, free: 246.1 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006243/1.393, allocations: 2.518 MB / 1.071 GB, free: 245.9 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006634/1.4, allocations: 11.43 MB / 1.082 GB, free: 236.2 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005033/1.405, allocations: 450.3 kB / 1.082 GB, free: 235.9 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001494/1.407, allocations: 0.5791 MB / 1.083 GB, free: 235.8 MB / 0.7449 GB Warning: Assuming fixed start value for the following 4 variables: hex.shell.h_liq:VARIABLE(start = hex.shell.h_liq_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of liquid phase\" type: Real hex.shell.h_vap:VARIABLE(start = hex.shell.h_vap_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of vapour phase\" type: Real hex.shell.p_vap:VARIABLE(min = 0.0 start = hex.shell.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Vapour pressure\" 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: 370 * 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 (1214): * Single equations (assignments): 1206 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 3 * 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): 2 systems {(4,3,87.5%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,20)} Notification: Performance of prepare postOptimizeDAE: time 0.002308/1.409, allocations: 0.7436 MB / 1.084 GB, free: 235.2 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002003/1.411, allocations: 0.7932 MB / 1.085 GB, free: 235.2 MB / 0.7449 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 1325 equation(s) and 1265 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01364/1.425, allocations: 11.15 MB / 1.095 GB, free: 229.4 MB / 0.7449 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.037010341882706] Failed to read output from testmodel.py, exit status != 0: 1.5485330568626523 1.554431167 1.344576867 Calling exit ...