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.009822/0.009822, allocations: 1.345 MB / 21.03 MB, free: 0.6016 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.00121/0.00121, allocations: 79.64 kB / 24.58 MB, free: 1.867 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.001465/0.001465, allocations: 164 kB / 28.25 MB, free: 3.141 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.424/1.424, allocations: 177.2 MB / 209 MB, free: 7.629 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.9869/0.9869, allocations: 102.5 MB / 368.3 MB, free: 4.121 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: 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.06872/0.06872, allocations: 20.96 MB / 0.5569 GB, free: 4.895 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.2202, allocations: 81.88 MB / 0.6369 GB, free: 2.879 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_CH_simple_shutoff): time 0.1509/0.3712, allocations: 49.16 MB / 0.6849 GB, free: 1.703 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.3603/0.7315, allocations: 25.78 MB / 0.7101 GB, free: 10.74 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006045/0.7375, allocations: 144.3 kB / 0.7102 GB, free: 10.68 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.00814/0.7457, allocations: 2.934 MB / 0.7131 GB, free: 9.328 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01383/0.7595, allocations: 4.832 MB / 0.7178 GB, free: 6.492 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0128/0.7723, allocations: 4.904 MB / 0.7226 GB, free: 3.512 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02002/0.7923, allocations: 13.1 MB / 0.7354 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007611/0.7999, allocations: 4.039 MB / 0.7393 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01258/0.8125, allocations: 5.242 MB / 0.7444 GB, free: 5.832 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01163/0.8241, allocations: 5.221 MB / 0.7495 GB, free: 2.582 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.00316/0.8273, allocations: 0.8848 MB / 0.7504 GB, free: 2.582 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0102/0.8375, allocations: 3.101 MB / 0.7534 GB, free: 1.309 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.005122/0.8426, allocations: 2.704 MB / 0.756 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.009478/0.8521, allocations: 3.426 MB / 0.7594 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.03142/0.8835, allocations: 14.35 MB / 0.7734 GB, free: 13.89 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.8835, allocations: 0 / 0.7734 GB, free: 13.89 MB / 0.6232 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8835, allocations: 4 kB / 0.7734 GB, free: 13.88 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0005287/0.884, allocations: 3.938 kB / 0.7734 GB, free: 13.88 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: 1569 * Number of variables: 1569 Notification: Performance of Generate backend data structure: time 0.0262/0.9102, allocations: 10.07 MB / 0.7832 GB, free: 3.746 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.9103, allocations: 14.72 kB / 0.7833 GB, free: 3.734 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003416/0.9137, allocations: 1.042 MB / 0.7843 GB, free: 2.688 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01304/0.9267, allocations: 6.479 MB / 0.7906 GB, free: 12.14 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004459/0.9272, allocations: 431.2 kB / 0.791 GB, free: 11.7 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007998/0.928, allocations: 430.6 kB / 0.7914 GB, free: 11.28 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02549/0.9535, allocations: 12.57 MB / 0.8037 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000117/0.9536, allocations: 47.56 kB / 0.8038 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005875/0.9542, allocations: 204 kB / 0.8039 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004168/0.9546, allocations: 350.6 kB / 0.8043 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02292/0.9775, allocations: 8.912 MB / 0.813 GB, free: 3.672 MB / 0.6544 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.05335/1.031, allocations: 39.55 MB / 0.8516 GB, free: 11.01 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02068/1.052, allocations: 7.36 MB / 0.8588 GB, free: 3.516 MB / 0.7013 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00603/1.058, allocations: 2.835 MB / 0.8616 GB, free: 0.6055 MB / 0.7013 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001637/1.059, allocations: 386.2 kB / 0.8619 GB, free: 240 kB / 0.7013 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01699/1.076, allocations: 5.937 MB / 0.8677 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=794): time 1.517e-05/1.076, allocations: 2.656 kB / 0.8677 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of matching and sorting (n=797): time 0.09815/1.174, allocations: 48.31 MB / 0.9149 GB, free: 9.527 MB / 0.7638 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000894/1.175, allocations: 1.633 MB / 0.9165 GB, free: 7.512 MB / 0.7638 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008782/1.184, allocations: 5.589 MB / 0.922 GB, free: 1.91 MB / 0.7638 GB Notification: Performance of collectPreVariables (initialization): time 0.001258/1.185, allocations: 100.4 kB / 0.9221 GB, free: 1.809 MB / 0.7638 GB Notification: Performance of collectInitialEqns (initialization): time 0.00268/1.188, allocations: 2.861 MB / 0.9249 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.003248/1.191, allocations: 2.734 MB / 0.9275 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002786/1.194, allocations: 1.68 MB / 0.9292 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001288/1.194, allocations: 301.1 kB / 0.9295 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00684/1.201, allocations: 3.736 MB / 0.9331 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009564/1.211, allocations: 6.849 MB / 0.9398 GB, free: 14.39 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3798/1.59, allocations: 50.63 MB / 0.9892 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.396e-05/1.59, allocations: 20 kB / 0.9892 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.3014/1.892, allocations: 11.28 MB / 1 GB, free: 362.9 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.622e-05/1.892, allocations: 30.94 kB / 1 GB, free: 362.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02291/1.915, allocations: 8.876 MB / 1.009 GB, free: 362 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04713/1.962, allocations: 3.936 MB / 1.013 GB, free: 361.8 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009045/1.971, allocations: 2.18 MB / 1.015 GB, free: 361.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009257/1.98, allocations: 12.09 MB / 1.027 GB, free: 351.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008088/1.988, allocations: 411.3 kB / 1.027 GB, free: 350.9 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001984/1.99, allocations: 0.5008 MB / 1.028 GB, free: 350.9 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.01088/2.001, allocations: 5.232 MB / 1.033 GB, free: 348.5 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007668/2.009, allocations: 6.787 MB / 1.039 GB, free: 343.2 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3158/2.325, allocations: 48.38 MB / 1.087 GB, free: 299.7 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.75e-05/2.325, allocations: 20 kB / 1.087 GB, free: 299.7 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1091) (initialization_lambda0): time 0.01969/2.344, allocations: 10.97 MB / 1.097 GB, free: 289 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.765e-05/2.344, allocations: 32 kB / 1.097 GB, free: 289 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01341/2.358, allocations: 8.497 MB / 1.106 GB, free: 280.4 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001911/2.36, allocations: 0.7109 MB / 1.106 GB, free: 279.7 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007323/2.367, allocations: 2.172 MB / 1.108 GB, free: 277.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008634/2.376, allocations: 12.96 MB / 1.121 GB, free: 263.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00664/2.382, allocations: 418.3 kB / 1.122 GB, free: 263.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001032/2.383, allocations: 0.4958 MB / 1.122 GB, free: 263 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: 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.002368/2.386, allocations: 0.6795 MB / 1.123 GB, free: 262.4 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001928/2.388, allocations: 0.7057 MB / 1.123 GB, free: 262.1 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 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.01456/2.402, allocations: 9.83 MB / 1.133 GB, free: 252.8 MB / 0.8419 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 5.968305720947683] Failed to read output from testmodel.py, exit status != 0: 2.5428765040123835 2.55238359 1.666319657 Calling exit ...