Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.008715/0.008715, allocations: 1.798 MB / 21.35 MB, free: 3.188 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.0009636/0.0009636, allocations: 91.08 kB / 25.15 MB, free: 7.465 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.0009521/0.0009521, allocations: 161.2 kB / 29.06 MB, free: 3.656 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.9938/0.9938, allocations: 177.2 MB / 210 MB, free: 3.594 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.6523/0.6523, allocations: 102.5 MB / 369.5 MB, free: 384 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_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.[0-9,]+.",fileNamePrefix="ClaRa_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.[0-9,]+.",fileNamePrefix="ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_BU_simple") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.505e-06/2.505e-06, allocations: 3.281 kB / 470 MB, free: 19 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.502e-05/2.752e-05, allocations: 6.734 kB / 470 MB, free: 19 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_BU_simple): time 0.1302/0.1302, allocations: 77.06 MB / 0.5342 GB, free: 10.8 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03761/0.1678, allocations: 27.2 MB / 0.5608 GB, free: 15.53 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006595/0.1744, allocations: 146.9 kB / 0.5609 GB, free: 15.38 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.008041/0.1825, allocations: 2.972 MB / 0.5638 GB, free: 12.4 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01403/0.1965, allocations: 5.154 MB / 0.5689 GB, free: 7.215 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01206/0.2086, allocations: 5.129 MB / 0.5739 GB, free: 2.074 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01819/0.2268, allocations: 14.31 MB / 0.5879 GB, free: 3.715 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007552/0.2343, allocations: 4.632 MB / 0.5924 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0174/0.2517, allocations: 7.636 MB / 0.5998 GB, free: 7.367 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009018/0.2607, allocations: 5.068 MB / 0.6048 GB, free: 2.285 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.00295/0.2637, allocations: 0.9766 MB / 0.6057 GB, free: 1.309 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007645/0.2713, allocations: 3.219 MB / 0.6089 GB, free: 14.09 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.004062/0.2754, allocations: 3.178 MB / 0.612 GB, free: 10.9 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.005827/0.2812, allocations: 3.176 MB / 0.6151 GB, free: 7.715 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.02304/0.3042, allocations: 10.19 MB / 0.625 GB, free: 13.49 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3043, allocations: 4 kB / 0.625 GB, free: 13.48 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.734e-06/0.3043, allocations: 0 / 0.625 GB, free: 13.48 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.000416/0.3047, allocations: 0 / 0.625 GB, free: 13.48 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: 1685 * Number of variables: 1685 Notification: Performance of Generate backend data structure: time 0.0213/0.326, allocations: 11.71 MB / 0.6365 GB, free: 1.664 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.326, allocations: 8.031 kB / 0.6365 GB, free: 1.656 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003394/0.3294, allocations: 1.471 MB / 0.6379 GB, free: 184 kB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01161/0.341, allocations: 6.855 MB / 0.6446 GB, free: 9.234 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003998/0.3414, allocations: 455.6 kB / 0.6451 GB, free: 8.762 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009046/0.3423, allocations: 471.9 kB / 0.6455 GB, free: 8.301 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2716/0.6139, allocations: 11.35 MB / 0.6566 GB, free: 79.21 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001087/0.614, allocations: 43.5 kB / 0.6566 GB, free: 79.21 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005275/0.6146, allocations: 219.2 kB / 0.6568 GB, free: 79.21 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002944/0.6149, allocations: 417.1 kB / 0.6572 GB, free: 79.2 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01357/0.6284, allocations: 5.217 MB / 0.6623 GB, free: 79.14 MB / 0.5574 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.04311/0.6716, allocations: 52.88 MB / 0.714 GB, free: 40.52 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01185/0.6834, allocations: 5.452 MB / 0.7193 GB, free: 39.63 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003812/0.6872, allocations: 1.524 MB / 0.7208 GB, free: 39.32 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00114/0.6884, allocations: 419.4 kB / 0.7212 GB, free: 39.3 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01036/0.6987, allocations: 4.451 MB / 0.7255 GB, free: 38.68 MB / 0.5574 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002638/0.7014, allocations: 0.555 MB / 0.7261 GB, free: 38.48 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=833): time 2.792e-05/0.7014, allocations: 0 / 0.7261 GB, free: 38.48 MB / 0.5574 GB Notification: Performance of matching and sorting (n=834): time 0.0667/0.7681, allocations: 44.03 MB / 0.7691 GB, free: 12.77 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003592/0.7684, allocations: 1.757 MB / 0.7708 GB, free: 10.67 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008025/0.7765, allocations: 5.723 MB / 0.7764 GB, free: 7.805 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.001697/0.7782, allocations: 97.45 kB / 0.7765 GB, free: 7.723 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.002088/0.7803, allocations: 3.397 MB / 0.7798 GB, free: 5.066 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.003386/0.7836, allocations: 2.906 MB / 0.7826 GB, free: 2.652 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002222/0.7859, allocations: 1.902 MB / 0.7845 GB, free: 1.555 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 4.666e-05/0.7859, allocations: 480.7 kB / 0.7849 GB, free: 1.082 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002843/0.7888, allocations: 1.691 MB / 0.7866 GB, free: 0.5312 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005714/0.7945, allocations: 6.309 MB / 0.7928 GB, free: 9.254 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0126/0.8071, allocations: 9.033 MB / 0.8016 GB, free: 15.18 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.775e-05/0.8071, allocations: 24 kB / 0.8016 GB, free: 15.15 MB / 0.5887 GB Notification: Performance of matching and sorting (n=1178) (initialization): time 0.01628/0.8234, allocations: 7.906 MB / 0.8093 GB, free: 7.734 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 7.296e-05/0.8235, allocations: 38.3 kB / 0.8094 GB, free: 7.699 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01066/0.8342, allocations: 5.116 MB / 0.8144 GB, free: 2.59 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02537/0.8595, allocations: 3.902 MB / 0.8182 GB, free: 14.87 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00796/0.8675, allocations: 2.335 MB / 0.8204 GB, free: 12.67 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01061/0.8781, allocations: 15.5 MB / 0.8356 GB, free: 12.41 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006535/0.8846, allocations: 419.5 kB / 0.836 GB, free: 12.01 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001673/0.8863, allocations: 0.5491 MB / 0.8365 GB, free: 11.46 MB / 0.6199 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.006169/0.8925, allocations: 1.881 MB / 0.8384 GB, free: 9.574 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006633/0.8991, allocations: 6.274 MB / 0.8445 GB, free: 1.551 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01389/0.913, allocations: 8.955 MB / 0.8532 GB, free: 7.551 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.229e-05/0.913, allocations: 22.66 kB / 0.8532 GB, free: 7.531 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1178) (initialization_lambda0): time 0.01519/0.9282, allocations: 7.608 MB / 0.8607 GB, free: 400 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.119e-05/0.9283, allocations: 43.5 kB / 0.8607 GB, free: 360 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009023/0.9373, allocations: 4.757 MB / 0.8654 GB, free: 11.57 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001757/0.9391, allocations: 0.599 MB / 0.866 GB, free: 10.98 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006594/0.9457, allocations: 2.329 MB / 0.8682 GB, free: 8.793 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009559/0.9552, allocations: 16.65 MB / 0.8845 GB, free: 7.301 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006397/0.9616, allocations: 413.8 kB / 0.8849 GB, free: 6.898 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001837/0.9634, allocations: 0.5387 MB / 0.8854 GB, free: 6.359 MB / 0.6668 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.002721/0.9662, allocations: 0.8141 MB / 0.8862 GB, free: 5.691 MB / 0.6668 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003452/0.9696, allocations: 0.8931 MB / 0.8871 GB, free: 4.793 MB / 0.6668 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.2839/1.253, allocations: 9.031 MB / 0.8959 GB, free: 172.4 MB / 0.6668 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.092623514123261]