Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_BU_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.01002/0.01002, allocations: 1.345 MB / 21.03 MB, free: 0.5938 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.001298/0.001298, allocations: 83.75 kB / 24.58 MB, free: 1.871 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.001546/0.001546, allocations: 164.4 kB / 28.25 MB, free: 3.133 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.456/1.456, allocations: 177.2 MB / 209 MB, free: 7.633 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 0.988/0.988, allocations: 102.5 MB / 368.3 MB, free: 4.133 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_BU_simple,tolerance=1e-05,outputFormat="mat",numberOfIntervals=50010,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_BU_simple") translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_BU_simple,tolerance=1e-05,outputFormat="mat",numberOfIntervals=50010,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_BU_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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). 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.06728/0.06728, allocations: 20.96 MB / 0.5569 GB, free: 4.887 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.2183, allocations: 81.87 MB / 0.6369 GB, free: 2.891 MB / 0.5294 GB 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_BU_simple): time 0.1572/0.3755, allocations: 50.02 MB / 0.6857 GB, free: 0.8477 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.3613/0.7368, allocations: 26.37 MB / 0.7115 GB, free: 9.691 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006563/0.7433, allocations: 154.1 kB / 0.7116 GB, free: 9.621 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.008272/0.7516, allocations: 2.945 MB / 0.7145 GB, free: 8.238 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0144/0.766, allocations: 5.022 MB / 0.7194 GB, free: 5.242 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01289/0.7789, allocations: 5.074 MB / 0.7243 GB, free: 1.918 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02207/0.801, allocations: 13.97 MB / 0.738 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009713/0.8107, allocations: 4.385 MB / 0.7423 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01311/0.8238, allocations: 5.617 MB / 0.7478 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01226/0.836, allocations: 5.627 MB / 0.7533 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003801/0.8398, allocations: 0.9764 MB / 0.7542 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01076/0.8506, allocations: 3.189 MB / 0.7573 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.006139/0.8567, allocations: 3.09 MB / 0.7603 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.009854/0.8666, allocations: 3.828 MB / 0.7641 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0285/0.8951, allocations: 15.81 MB / 0.7795 GB, free: 7.566 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.8951, allocations: 0 / 0.7795 GB, free: 7.566 MB / 0.6232 GB Notification: Performance of FrontEnd: time 1.844e-06/0.8951, allocations: 0 / 0.7795 GB, free: 7.566 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0004744/0.8956, allocations: 2.656 kB / 0.7795 GB, free: 7.566 MB / 0.6232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1685 * Number of variables: 1685 Notification: Performance of Generate backend data structure: time 0.03402/0.9296, allocations: 11.25 MB / 0.7905 GB, free: 12.28 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.9296, allocations: 12.03 kB / 0.7905 GB, free: 12.27 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005561/0.9352, allocations: 1.126 MB / 0.7916 GB, free: 11.14 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02055/0.9558, allocations: 7.665 MB / 0.7991 GB, free: 3.441 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006021/0.9564, allocations: 454.3 kB / 0.7995 GB, free: 2.973 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001733/0.9581, allocations: 439.9 kB / 0.8 GB, free: 2.543 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03148/0.9896, allocations: 13.6 MB / 0.8132 GB, free: 3.297 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002163/0.9898, allocations: 47.56 kB / 0.8133 GB, free: 3.25 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001616/0.9914, allocations: 220 kB / 0.8135 GB, free: 3.035 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006128/0.992, allocations: 419.1 kB / 0.8139 GB, free: 2.625 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02826/1.02, allocations: 9.7 MB / 0.8234 GB, free: 8.934 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.06438/1.085, allocations: 42.6 MB / 0.865 GB, free: 13.15 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02316/1.108, allocations: 7.972 MB / 0.8728 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007094/1.115, allocations: 3.079 MB / 0.8758 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001806/1.117, allocations: 406.3 kB / 0.8762 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01905/1.136, allocations: 6.325 MB / 0.8823 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003308/1.139, allocations: 0.5485 MB / 0.8829 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=833): time 1.748e-05/1.139, allocations: 0 / 0.8829 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=834): time 0.1119/1.251, allocations: 52.78 MB / 0.9344 GB, free: 5.379 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009854/1.252, allocations: 1.759 MB / 0.9361 GB, free: 3.207 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01271/1.265, allocations: 6.811 MB / 0.9428 GB, free: 12.42 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001453/1.266, allocations: 101.7 kB / 0.9429 GB, free: 12.32 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.003214/1.269, allocations: 3.206 MB / 0.946 GB, free: 9.086 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.00384/1.273, allocations: 2.873 MB / 0.9488 GB, free: 6.188 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003355/1.277, allocations: 1.811 MB / 0.9506 GB, free: 4.363 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001328/1.277, allocations: 303.8 kB / 0.9509 GB, free: 4.066 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008032/1.285, allocations: 4.039 MB / 0.9548 GB, free: 16 kB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01185/1.297, allocations: 7.597 MB / 0.9622 GB, free: 7.055 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6774/1.974, allocations: 52.03 MB / 1.013 GB, free: 355.9 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.243e-05/1.974, allocations: 21.62 kB / 1.013 GB, free: 355.9 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1178) (initialization): time 0.02644/2, allocations: 12.33 MB / 1.025 GB, free: 351.4 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.427e-05/2.001, allocations: 46.8 kB / 1.025 GB, free: 351.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01779/2.018, allocations: 9.464 MB / 1.034 GB, free: 347.9 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04472/2.063, allocations: 3.901 MB / 1.038 GB, free: 347.3 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008907/2.072, allocations: 2.393 MB / 1.041 GB, free: 346.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01026/2.082, allocations: 13.21 MB / 1.053 GB, free: 332.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007445/2.09, allocations: 0.5055 MB / 1.054 GB, free: 331.9 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001247/2.091, allocations: 0.5465 MB / 1.054 GB, free: 331.4 MB / 0.8419 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.008951/2.1, allocations: 5.702 MB / 1.06 GB, free: 325.7 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0071/2.107, allocations: 7.532 MB / 1.067 GB, free: 316.8 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3154/2.422, allocations: 49.78 MB / 1.116 GB, free: 266.1 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.165e-05/2.422, allocations: 20 kB / 1.116 GB, free: 266.1 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1178) (initialization_lambda0): time 0.0206/2.443, allocations: 11.95 MB / 1.128 GB, free: 254.5 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.892e-05/2.443, allocations: 36 kB / 1.128 GB, free: 254.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01464/2.458, allocations: 9.05 MB / 1.137 GB, free: 245.3 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001742/2.459, allocations: 0.6697 MB / 1.137 GB, free: 244.7 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007805/2.467, allocations: 2.391 MB / 1.14 GB, free: 242.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01018/2.477, allocations: 14.08 MB / 1.153 GB, free: 227.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006962/2.484, allocations: 0.5081 MB / 1.154 GB, free: 227 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00103/2.485, allocations: 0.5348 MB / 1.154 GB, free: 226.4 MB / 0.8419 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: 330 * 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 (1154): * Single equations (assignments): 1145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 5 * 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): 3 systems {(4,3,87.5%), (1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.001958/2.487, allocations: 0.7296 MB / 1.155 GB, free: 225.7 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001755/2.489, allocations: 0.7806 MB / 1.156 GB, free: 225.3 MB / 0.8419 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 1268 equation(s) and 1214 variable(s). Error: ($cse509, $cse510, $cse511, $cse512, $cse513, $cse514, $cse515, $cse516, $cse517, $cse518, $cse519, $cse520) = TILMedia.Internals.VLEFluid.AdditionalObjectFunctions.ObjectFunctions.VLEProperties_phxi(massFlowSource_h1.steam_a.p, -1.0, {}, massFlowSource_h1.fluidOut.vleFluidPointer) has size 12 but 3 variables (hex.shell.Q_flow[2], hex.shell.heattransfer.Q_flow_tot, hex.shell.summary.outline.Q_flow[2]) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01493/2.504, allocations: 10.67 MB / 1.166 GB, free: 215 MB / 0.8419 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.065772513975389] Failed to read output from testmodel.py, exit status != 0: 2.632010709028691 2.641791972 1.744121205 Calling exit ...