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.02461/0.02461, allocations: 1.796 MB / 21.15 MB, free: 3.246 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.002389/0.002389, allocations: 80.77 kB / 24.89 MB, free: 6.305 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.002722/0.002722, allocations: 160.8 kB / 28.74 MB, free: 3.508 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 1.512/1.512, allocations: 177.2 MB / 209.6 MB, free: 2.395 MB / 186.7 MB " [Timeout remaining time 178] 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 1.13/1.13, allocations: 102.5 MB / 369.1 MB, free: 0.8984 MB / 330.8 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.1.|hex.wall.U.2.|hex.wall.U.3.",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.1.|hex.wall.U.2.|hex.wall.U.3.",fileNamePrefix="ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_BU_simple") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 469.2 MB, free: 12.98 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.092e-05/3.294e-05, allocations: 2.312 kB / 469.2 MB, free: 12.98 MB / 442.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.4676/0.4676, allocations: 74.6 MB / 0.531 GB, free: 68.55 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.04087/0.5085, allocations: 27.06 MB / 0.5574 GB, free: 50.56 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006909/0.5154, allocations: 151.5 kB / 0.5576 GB, free: 50.49 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.008602/0.524, allocations: 2.976 MB / 0.5605 GB, free: 49.07 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01624/0.5403, allocations: 5.152 MB / 0.5655 GB, free: 45.93 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01344/0.5537, allocations: 5.11 MB / 0.5705 GB, free: 43.19 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.02144/0.5752, allocations: 14.31 MB / 0.5845 GB, free: 34.8 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007817/0.583, allocations: 4.638 MB / 0.589 GB, free: 31.29 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01742/0.6004, allocations: 7.64 MB / 0.5965 GB, free: 23.69 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009518/0.6099, allocations: 5.069 MB / 0.6014 GB, free: 18.61 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.003484/0.6134, allocations: 0.9753 MB / 0.6024 GB, free: 17.64 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01051/0.6239, allocations: 3.227 MB / 0.6055 GB, free: 14.41 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.004754/0.6287, allocations: 3.173 MB / 0.6086 GB, free: 11.23 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.008546/0.6372, allocations: 3.18 MB / 0.6117 GB, free: 8.039 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02725/0.6645, allocations: 15.96 MB / 0.6273 GB, free: 8.039 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.6645, allocations: 0 / 0.6273 GB, free: 8.039 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.725e-06/0.6645, allocations: 0 / 0.6273 GB, free: 8.039 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0004673/0.6649, allocations: 0 / 0.6273 GB, free: 8.039 MB / 0.4949 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.03662/0.7015, allocations: 13.56 MB / 0.6406 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.7016, allocations: 12.02 kB / 0.6406 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005376/0.707, allocations: 1.473 MB / 0.642 GB, free: 8.938 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01918/0.7262, allocations: 7.07 MB / 0.6489 GB, free: 1.82 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006027/0.7268, allocations: 459.5 kB / 0.6494 GB, free: 1.344 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00217/0.7289, allocations: 473 kB / 0.6498 GB, free: 0.8828 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.032/0.7609, allocations: 14.01 MB / 0.6635 GB, free: 0.8164 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001435/0.7611, allocations: 47.56 kB / 0.6635 GB, free: 0.7695 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009134/0.762, allocations: 220 kB / 0.6637 GB, free: 0.5547 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000574/0.7626, allocations: 423 kB / 0.6641 GB, free: 144 kB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02633/0.7889, allocations: 8.126 MB / 0.6721 GB, free: 8.016 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.08994/0.8788, allocations: 64.37 MB / 0.7349 GB, free: 5.414 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2472/1.126, allocations: 7.237 MB / 0.742 GB, free: 183.5 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006883/1.133, allocations: 2.466 MB / 0.7444 GB, free: 183.2 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001909/1.135, allocations: 417.3 kB / 0.7448 GB, free: 183.2 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01669/1.152, allocations: 6.466 MB / 0.7511 GB, free: 182.6 MB / 0.6043 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003404/1.155, allocations: 0.5502 MB / 0.7517 GB, free: 182.6 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=833): time 1.833e-05/1.155, allocations: 0 / 0.7517 GB, free: 182.6 MB / 0.6043 GB Notification: Performance of matching and sorting (n=834): time 0.09208/1.247, allocations: 50.8 MB / 0.8013 GB, free: 154.3 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003345/1.247, allocations: 1.762 MB / 0.803 GB, free: 152.1 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01089/1.258, allocations: 8.046 MB / 0.8109 GB, free: 145.2 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.001543/1.26, allocations: 106.7 kB / 0.811 GB, free: 145.1 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.002596/1.262, allocations: 3.778 MB / 0.8146 GB, free: 141.8 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.003367/1.266, allocations: 3.154 MB / 0.8177 GB, free: 139.1 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003052/1.269, allocations: 2.272 MB / 0.8199 GB, free: 137.2 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.284e-05/1.269, allocations: 480.7 kB / 0.8204 GB, free: 136.7 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005147/1.274, allocations: 3.404 MB / 0.8237 GB, free: 133.7 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00703/1.281, allocations: 8.382 MB / 0.8319 GB, free: 124.2 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01748/1.299, allocations: 14.55 MB / 0.8461 GB, free: 109.1 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.045e-05/1.299, allocations: 20.66 kB / 0.8461 GB, free: 109 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1178) (initialization): time 0.0203/1.319, allocations: 11.4 MB / 0.8573 GB, free: 97.66 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 5.064e-05/1.319, allocations: 37.09 kB / 0.8573 GB, free: 97.62 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01576/1.335, allocations: 8.135 MB / 0.8653 GB, free: 89.46 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04545/1.38, allocations: 4.009 MB / 0.8692 GB, free: 85.61 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009285/1.389, allocations: 2.344 MB / 0.8715 GB, free: 83.27 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01025/1.4, allocations: 16.51 MB / 0.8876 GB, free: 65.9 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007966/1.408, allocations: 415.5 kB / 0.888 GB, free: 65.5 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001917/1.41, allocations: 0.5539 MB / 0.8885 GB, free: 64.95 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.009474/1.419, allocations: 4.468 MB / 0.8929 GB, free: 60.49 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008655/1.428, allocations: 8.321 MB / 0.901 GB, free: 50.38 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02294/1.451, allocations: 14.36 MB / 0.915 GB, free: 34.68 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.968e-05/1.451, allocations: 20 kB / 0.9151 GB, free: 34.66 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1178) (initialization_lambda0): time 0.02696/1.478, allocations: 11.03 MB / 0.9258 GB, free: 23.63 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 8.908e-05/1.478, allocations: 45.17 kB / 0.9259 GB, free: 23.59 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01853/1.496, allocations: 7.707 MB / 0.9334 GB, free: 15.83 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002974/1.499, allocations: 0.6812 MB / 0.9341 GB, free: 15.16 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009569/1.509, allocations: 2.341 MB / 0.9364 GB, free: 12.82 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01398/1.523, allocations: 17.66 MB / 0.9536 GB, free: 10.21 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008649/1.532, allocations: 426 kB / 0.954 GB, free: 9.812 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002369/1.534, allocations: 0.5426 MB / 0.9545 GB, free: 9.27 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: 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.004602/1.538, allocations: 0.8009 MB / 0.9553 GB, free: 8.469 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005306/1.544, allocations: 0.9009 MB / 0.9562 GB, free: 7.562 MB / 0.6199 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.02956/1.573, allocations: 10.38 MB / 0.9663 GB, free: 13.69 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.512110488023609]