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_shutoff.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.008103/0.008103, allocations: 1.784 MB / 21.57 MB, free: 2.91 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.0009398/0.0009398, allocations: 87.3 kB / 25.4 MB, free: 7.148 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.001107/0.001107, allocations: 162.3 kB / 29.34 MB, free: 3.266 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.9704/0.9704, allocations: 177.1 MB / 210.3 MB, free: 3.441 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.6654/0.6654, allocations: 102.5 MB / 369.9 MB, free: 256 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_shutoff,tolerance=1e-05,outputFormat="mat",numberOfIntervals=50011,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.level_abs_|hex.shell.p_liq|hex.shell.volume_vap|hex.tubes.h|hex.tubes.p|hex.wall.U.[0-9,]+.",fileNamePrefix="ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple_shutoff") translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple_shutoff,tolerance=1e-05,outputFormat="mat",numberOfIntervals=50011,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.level_abs_|hex.shell.p_liq|hex.shell.volume_vap|hex.tubes.h|hex.tubes.p|hex.wall.U.[0-9,]+.",fileNamePrefix="ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple_shutoff") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 3.938 kB / 470.5 MB, free: 18.86 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.098e-05/2.271e-05, allocations: 3.859 kB / 470.5 MB, free: 18.86 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_shutoff): time 0.1349/0.1349, allocations: 75.38 MB / 0.5331 GB, free: 12.19 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.0396/0.1745, allocations: 26.46 MB / 0.5589 GB, free: 1.66 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005962/0.1805, allocations: 142.9 kB / 0.559 GB, free: 1.52 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.007584/0.1881, allocations: 2.969 MB / 0.5619 GB, free: 14.54 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01483/0.2029, allocations: 4.975 MB / 0.5668 GB, free: 9.531 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.009732/0.2126, allocations: 4.95 MB / 0.5716 GB, free: 4.57 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01645/0.2291, allocations: 13.4 MB / 0.5847 GB, free: 7.125 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006505/0.2356, allocations: 4.256 MB / 0.5889 GB, free: 2.805 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3923/0.6278, allocations: 52.47 MB / 0.6401 GB, free: 72.6 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008553/0.6364, allocations: 4.594 MB / 0.6446 GB, free: 72.6 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.00332/0.6397, allocations: 0.847 MB / 0.6454 GB, free: 72.6 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00835/0.6481, allocations: 3.089 MB / 0.6484 GB, free: 72.6 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.004463/0.6525, allocations: 2.691 MB / 0.6511 GB, free: 72.6 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.006534/0.6591, allocations: 2.768 MB / 0.6538 GB, free: 72.6 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01702/0.6761, allocations: 9.341 MB / 0.6629 GB, free: 71.89 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.6761, allocations: 0 / 0.6629 GB, free: 71.89 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.983e-06/0.6761, allocations: 0 / 0.6629 GB, free: 71.89 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0006007/0.6767, allocations: 5.25 kB / 0.6629 GB, free: 71.89 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: 1569 * Number of variables: 1569 Notification: Performance of Generate backend data structure: time 0.01926/0.6959, allocations: 10.52 MB / 0.6732 GB, free: 67.99 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.696, allocations: 10.72 kB / 0.6732 GB, free: 67.99 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002727/0.6987, allocations: 1.307 MB / 0.6745 GB, free: 67.49 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009452/0.7082, allocations: 4.893 MB / 0.6792 GB, free: 66.33 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004724/0.7086, allocations: 435.9 kB / 0.6797 GB, free: 66.2 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001622/0.7103, allocations: 453 kB / 0.6801 GB, free: 66.19 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0157/0.726, allocations: 10.17 MB / 0.69 GB, free: 59.23 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002315/0.7262, allocations: 40.12 kB / 0.6901 GB, free: 59.23 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006059/0.7268, allocations: 210.3 kB / 0.6903 GB, free: 59.23 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004041/0.7272, allocations: 351.2 kB / 0.6906 GB, free: 59.18 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01096/0.7382, allocations: 4.371 MB / 0.6949 GB, free: 57.89 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.0381/0.7763, allocations: 48.39 MB / 0.7421 GB, free: 15.93 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009314/0.7856, allocations: 4.955 MB / 0.747 GB, free: 13.69 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002012/0.7876, allocations: 1.255 MB / 0.7482 GB, free: 13.14 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007875/0.7884, allocations: 0.5234 MB / 0.7487 GB, free: 13.04 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006445/0.7948, allocations: 4.043 MB / 0.7526 GB, free: 11.14 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=794): time 1.241e-05/0.7948, allocations: 2.5 kB / 0.7526 GB, free: 11.14 MB / 0.5418 GB Notification: Performance of matching and sorting (n=797): time 0.03438/0.8292, allocations: 14.51 MB / 0.7668 GB, free: 2.125 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003131/0.8295, allocations: 1.941 MB / 0.7687 GB, free: 15.74 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005697/0.8352, allocations: 4.837 MB / 0.7734 GB, free: 11.68 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.001339/0.8366, allocations: 97.7 kB / 0.7735 GB, free: 11.58 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.002037/0.8386, allocations: 3.08 MB / 0.7765 GB, free: 8.699 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.003635/0.8422, allocations: 2.796 MB / 0.7793 GB, free: 6.07 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003089/0.8453, allocations: 1.811 MB / 0.781 GB, free: 4.418 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.8455, allocations: 476.8 kB / 0.7815 GB, free: 3.949 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002074/0.8476, allocations: 1.288 MB / 0.7827 GB, free: 2.648 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004273/0.8518, allocations: 5.762 MB / 0.7884 GB, free: 11.45 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009882/0.8617, allocations: 7.49 MB / 0.7957 GB, free: 3.238 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.044e-05/0.8618, allocations: 16 kB / 0.7957 GB, free: 3.223 MB / 0.573 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.01198/0.8738, allocations: 6.828 MB / 0.8024 GB, free: 12.81 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 5.153e-05/0.8738, allocations: 35.98 kB / 0.8024 GB, free: 12.77 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007399/0.8812, allocations: 4.584 MB / 0.8069 GB, free: 8.195 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03126/0.9125, allocations: 5.692 MB / 0.8124 GB, free: 2.801 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00587/0.9183, allocations: 2.116 MB / 0.8145 GB, free: 0.8086 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00859/0.9269, allocations: 14.77 MB / 0.8289 GB, free: 1.418 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006912/0.9338, allocations: 345.4 kB / 0.8293 GB, free: 1.086 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001828/0.9357, allocations: 451.6 kB / 0.8297 GB, free: 0.6445 MB / 0.6043 GB Warning: Assuming fixed start value for the following 6 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 hex.tubes.p:VARIABLE(min = 0.0 start = hex.tubes.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real 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.004885/0.9406, allocations: 1.491 MB / 0.8311 GB, free: 15.16 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004184/0.9447, allocations: 5.725 MB / 0.8367 GB, free: 7.984 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009499/0.9542, allocations: 7.41 MB / 0.844 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.011e-05/0.9543, allocations: 20 kB / 0.844 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1091) (initialization_lambda0): time 0.01154/0.9659, allocations: 6.628 MB / 0.8505 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.557e-05/0.9659, allocations: 35.98 kB / 0.8505 GB, free: 9.582 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006828/0.9727, allocations: 4.355 MB / 0.8547 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01273/0.9855, allocations: 2.221 MB / 0.8569 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006951/0.9924, allocations: 2.119 MB / 0.859 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009187/1.002, allocations: 14.71 MB / 0.8733 GB, free: 1.773 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005869/1.007, allocations: 357.7 kB / 0.8737 GB, free: 1.43 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001978/1.009, allocations: 447.6 kB / 0.8741 GB, free: 0.9922 MB / 0.6512 GB Warning: Assuming fixed start value for the following 6 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 hex.tubes.p:VARIABLE(min = 0.0 start = hex.tubes.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real 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: 280 * Number of states: 0 () * Number of discrete variables: 8 (valve_shell1.pressureLoss.normIsValid,$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): 1053 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 6 * 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): 4 systems {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 {(1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(4,5), (1,1), (1,1), (1,6), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.002316/1.012, allocations: 0.7696 MB / 0.8749 GB, free: 360 kB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.2663/1.278, allocations: 0.8297 MB / 0.8757 GB, free: 177.2 MB / 0.6512 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 1203 equation(s) and 1152 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01184/1.29, allocations: 7.955 MB / 0.8834 GB, free: 176.8 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.139029281679541]