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_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.01249/0.01249, allocations: 1.348 MB / 20.45 MB, free: 1.262 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.001645/0.001645, allocations: 78.22 kB / 24.02 MB, free: 2.605 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.002145/0.002145, allocations: 156 kB / 27.71 MB, free: 3.859 MB / 19.63 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.493/1.493, allocations: 177.2 MB / 208.4 MB, free: 7.672 MB / 190.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.096/1.096, allocations: 102.5 MB / 367.7 MB, free: 4.559 MB / 334.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_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.1.|hex.wall.U.2.|hex.wall.U.3.",fileNamePrefix="ClaRa_dev_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.1.|hex.wall.U.2.|hex.wall.U.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple_shutoff") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 0.5365 GB, free: 7.113 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.999e-05/3.189e-05, allocations: 10.22 kB / 0.5365 GB, free: 7.102 MB / 446.1 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.1853/0.1853, allocations: 70.24 MB / 0.6051 GB, free: 3.336 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.04755/0.2328, allocations: 25.52 MB / 0.63 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008071/0.2409, allocations: 142.9 kB / 0.6301 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.009974/0.2509, allocations: 2.965 MB / 0.633 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01742/0.2683, allocations: 4.967 MB / 0.6379 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.015/0.2833, allocations: 4.95 MB / 0.6427 GB, free: 12.66 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.02407/0.3074, allocations: 13.41 MB / 0.6558 GB, free: 15.21 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009447/0.3168, allocations: 4.066 MB / 0.6598 GB, free: 11.07 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02303/0.3399, allocations: 7.133 MB / 0.6667 GB, free: 3.926 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01608/0.3559, allocations: 4.673 MB / 0.6713 GB, free: 15.24 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.006263/0.3622, allocations: 0.8867 MB / 0.6722 GB, free: 14.36 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01779/0.38, allocations: 3.134 MB / 0.6752 GB, free: 11.21 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.006748/0.3867, allocations: 2.776 MB / 0.6779 GB, free: 8.43 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.00997/0.3967, allocations: 2.821 MB / 0.6807 GB, free: 5.602 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.4074/0.8042, allocations: 14.43 MB / 0.6948 GB, free: 50.17 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.8042, allocations: 0 / 0.6948 GB, free: 50.17 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.854e-06/0.8042, allocations: 3.969 kB / 0.6948 GB, free: 50.17 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0006282/0.8048, allocations: 0 / 0.6948 GB, free: 50.17 MB / 0.5763 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.03921/0.844, allocations: 9.977 MB / 0.7045 GB, free: 46.43 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.8441, allocations: 9.625 kB / 0.7045 GB, free: 46.43 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006838/0.8509, allocations: 1.049 MB / 0.7056 GB, free: 45.94 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0188/0.8697, allocations: 6.469 MB / 0.7119 GB, free: 44.71 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00087/0.8706, allocations: 434.4 kB / 0.7123 GB, free: 44.57 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003086/0.8737, allocations: 422.4 kB / 0.7127 GB, free: 44.57 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03666/0.9103, allocations: 12.58 MB / 0.725 GB, free: 39.5 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003605/0.9107, allocations: 47.88 kB / 0.725 GB, free: 39.5 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003191/0.9139, allocations: 211.4 kB / 0.7252 GB, free: 39.5 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006481/0.9145, allocations: 351.3 kB / 0.7256 GB, free: 39.49 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02888/0.9434, allocations: 8.905 MB / 0.7342 GB, free: 37.55 MB / 0.5763 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.07238/1.016, allocations: 39.45 MB / 0.7728 GB, free: 3.848 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02303/1.039, allocations: 7.338 MB / 0.7799 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008471/1.047, allocations: 2.835 MB / 0.7827 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002258/1.05, allocations: 395.8 kB / 0.7831 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02154/1.071, allocations: 5.938 MB / 0.7889 GB, free: 4.277 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=794): time 1.694e-05/1.071, allocations: 0 / 0.7889 GB, free: 4.277 MB / 0.5919 GB Notification: Performance of matching and sorting (n=797): time 0.1348/1.206, allocations: 48.3 MB / 0.8361 GB, free: 3.738 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001022/1.207, allocations: 1.629 MB / 0.8377 GB, free: 1.738 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01132/1.218, allocations: 5.598 MB / 0.8431 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.002248/1.221, allocations: 97.7 kB / 0.8432 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.003569/1.224, allocations: 2.849 MB / 0.846 GB, free: 9.18 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.006484/1.231, allocations: 2.699 MB / 0.8486 GB, free: 6.52 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004921/1.235, allocations: 1.66 MB / 0.8503 GB, free: 4.848 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001934/1.236, allocations: 303.8 kB / 0.8505 GB, free: 4.551 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008795/1.244, allocations: 3.735 MB / 0.8542 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01392/1.258, allocations: 6.848 MB / 0.8609 GB, free: 8.805 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3831/1.641, allocations: 50.64 MB / 0.9103 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.925e-05/1.642, allocations: 16 kB / 0.9103 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.03789/1.679, allocations: 11.29 MB / 0.9214 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001129/1.68, allocations: 32 kB / 0.9214 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02935/1.709, allocations: 8.872 MB / 0.9301 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0466/1.756, allocations: 3.945 MB / 0.9339 GB, free: 14.45 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01104/1.767, allocations: 2.173 MB / 0.936 GB, free: 12.4 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01431/1.781, allocations: 12.07 MB / 0.9478 GB, free: 15.72 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009404/1.79, allocations: 412.3 kB / 0.9482 GB, free: 15.32 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003117/1.793, allocations: 0.5074 MB / 0.9487 GB, free: 14.81 MB / 0.7638 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.02334/1.817, allocations: 5.225 MB / 0.9538 GB, free: 9.586 MB / 0.7638 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01986/1.837, allocations: 6.786 MB / 0.9605 GB, free: 1.648 MB / 0.7638 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.683/2.52, allocations: 48.38 MB / 1.008 GB, free: 261.1 MB / 0.7638 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.297e-05/2.52, allocations: 20 kB / 1.008 GB, free: 261.1 MB / 0.7638 GB Notification: Performance of matching and sorting (n=1091) (initialization_lambda0): time 0.03527/2.555, allocations: 10.97 MB / 1.018 GB, free: 250.4 MB / 0.7638 GB Notification: Performance of prepare postOptimizeDAE: time 0.000119/2.555, allocations: 35.98 kB / 1.018 GB, free: 250.4 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02505/2.58, allocations: 8.487 MB / 1.027 GB, free: 241.8 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002295/2.582, allocations: 0.7094 MB / 1.027 GB, free: 241.1 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009366/2.592, allocations: 2.172 MB / 1.03 GB, free: 238.9 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009957/2.602, allocations: 12.96 MB / 1.042 GB, free: 225.3 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009955/2.612, allocations: 409.7 kB / 1.043 GB, free: 224.9 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002858/2.615, allocations: 0.4958 MB / 1.043 GB, free: 224.4 MB / 0.7638 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 ($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,valve_shell1.pressureLoss.normIsValid) * 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): 2 systems {(1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(4,5), (1,1), (1,6), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.005144/2.62, allocations: 0.6723 MB / 1.044 GB, free: 223.8 MB / 0.7638 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004438/2.624, allocations: 0.7073 MB / 1.044 GB, free: 223.5 MB / 0.7638 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 1214 equation(s) and 1163 variable(s). Error: ($cse465, $cse466, $cse467, $cse468, $cse469, $cse470, $cse471, $cse472, $cse473, $cse474, $cse475, $cse476) = TILMedia.Internals.VLEFluid.AdditionalObjectFunctions.ObjectFunctions.VLEProperties_phxi(hex.shell.fluidIn[1].p, -1.0, {}, massFlowSource_h.fluidOut.vleFluidPointer) has size 12 but 5 variables (hex.shell.h_vap, hex.shell.drho_vapdt, hex.shell.p_vap, hex.shell.vap.drhodh_pxi, hex.shell.vap.drhodp_hxi) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02447/2.649, allocations: 9.823 MB / 1.054 GB, free: 214.2 MB / 0.7638 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.645443968474865] Failed to read output from testmodel.py, exit status != 0: 2.829273000359535 2.840349852 2.033247917 Calling exit ...