Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers.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.01054/0.01054, allocations: 1.769 MB / 18.12 MB, free: 4.906 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.001351/0.001351, allocations: 103.7 kB / 21.36 MB, free: 1.684 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.001675/0.001675, allocations: 211.8 kB / 24.75 MB, free: 3.691 MB / 14.72 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.561/1.561, allocations: 230.6 MB / 258.5 MB, free: 13.12 MB / 206.1 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.161/1.161, allocations: 130.6 MB / 445.6 MB, free: 14.69 MB / 350.1 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 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Pipes_Check_TwoPhaseFlow_Test_HEXvle2vle_L3_2ph_CH_simple_headers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Pipes_Check_TwoPhaseFlow_Test_HEXvle2vle_L3_2ph_CH_simple_headers",fmuType="me",version="2.0",platforms={"static"}) [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: Automatically loaded package TILMedia 1.9.0 ClaRa due to uses annotation from ClaRa. 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. 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.4116/0.4116, allocations: 46.15 MB / 0.6545 GB, free: 30.31 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.5972, allocations: 89.05 MB / 0.7415 GB, free: 2.715 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers): time 0.04283/0.6401, allocations: 38.88 MB / 0.7794 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.06036/0.7004, allocations: 32.04 MB / 0.8107 GB, free: 11.55 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01064/0.7111, allocations: 222.4 kB / 0.8109 GB, free: 11.33 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.01181/0.7229, allocations: 4.419 MB / 0.8153 GB, free: 6.887 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.02/0.7429, allocations: 7.146 MB / 0.8222 GB, free: 15.7 MB / 0.6388 GB Notification: Performance of NFTyping.typeClassSections: time 0.01773/0.7606, allocations: 6.858 MB / 0.8289 GB, free: 8.848 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 0.0344/0.795, allocations: 20.54 MB / 0.849 GB, free: 4.254 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01169/0.8067, allocations: 5.893 MB / 0.8547 GB, free: 14.28 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01886/0.8255, allocations: 8.095 MB / 0.8627 GB, free: 6.156 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4876/1.313, allocations: 8.682 MB / 0.8711 GB, free: 26.28 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.007309/1.32, allocations: 1.304 MB / 0.8724 GB, free: 26.28 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01337/1.334, allocations: 3.932 MB / 0.8762 GB, free: 26.28 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.01029/1.344, allocations: 4.436 MB / 0.8806 GB, free: 26.28 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.02069/1.365, allocations: 6.526 MB / 0.8869 GB, free: 25.69 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.04128/1.406, allocations: 20.38 MB / 0.9068 GB, free: 23.11 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/1.406, allocations: 0.5312 kB / 0.9068 GB, free: 23.11 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.665e-06/1.406, allocations: 0.625 kB / 0.9068 GB, free: 23.11 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0009317/1.407, allocations: 0 / 0.9068 GB, free: 23.11 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2308 * Number of variables: 2308 Notification: Performance of Generate backend data structure: time 0.05409/1.461, allocations: 12.98 MB / 0.9195 GB, free: 17.87 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.894e-05/1.461, allocations: 13.31 kB / 0.9195 GB, free: 17.87 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006232/1.467, allocations: 1.08 MB / 0.9206 GB, free: 17.77 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01084/1.478, allocations: 1.51 MB / 0.9221 GB, free: 17.02 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02661/1.505, allocations: 8.88 MB / 0.9307 GB, free: 13.81 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007959/1.506, allocations: 474.1 kB / 0.9312 GB, free: 13.79 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004367/1.51, allocations: 0.5892 MB / 0.9318 GB, free: 13.79 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04817/1.558, allocations: 16.25 MB / 0.9476 GB, free: 3.184 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002976/1.558, allocations: 60.06 kB / 0.9477 GB, free: 3.184 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003841/1.562, allocations: 303 kB / 0.948 GB, free: 3.004 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009768/1.563, allocations: 0.719 MB / 0.9487 GB, free: 2.793 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03878/1.602, allocations: 13.42 MB / 0.9618 GB, free: 12.3 MB / 0.6857 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.119/1.721, allocations: 64.17 MB / 1.024 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03329/1.754, allocations: 11.56 MB / 1.036 GB, free: 8.91 MB / 0.7482 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01106/1.765, allocations: 4.313 MB / 1.04 GB, free: 4.527 MB / 0.7482 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002955/1.768, allocations: 1.987 MB / 1.042 GB, free: 2.207 MB / 0.7482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02738/1.796, allocations: 8.614 MB / 1.05 GB, free: 9.363 MB / 0.7638 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00805/1.804, allocations: 1.158 MB / 1.051 GB, free: 8.203 MB / 0.7638 GB Notification: Performance of pre-optimization done (n=1095): time 3.195e-05/1.804, allocations: 0 / 1.051 GB, free: 8.203 MB / 0.7638 GB Notification: Performance of matching and sorting (n=1097): time 0.1684/1.972, allocations: 80.06 MB / 1.13 GB, free: 7.734 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00125/1.973, allocations: 2.103 MB / 1.132 GB, free: 5.148 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0175/1.991, allocations: 8.466 MB / 1.14 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.002994/1.994, allocations: 129.7 kB / 1.14 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.004809/1.999, allocations: 4.285 MB / 1.144 GB, free: 8.324 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.006862/2.006, allocations: 3.794 MB / 1.148 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006079/2.012, allocations: 2.488 MB / 1.15 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001353/2.012, allocations: 307.3 kB / 1.151 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01178/2.024, allocations: 5.847 MB / 1.156 GB, free: 11.91 MB / 0.8732 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01842/2.042, allocations: 9.362 MB / 1.166 GB, free: 1.18 MB / 0.8732 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.8601/2.902, allocations: 59.11 MB / 1.223 GB, free: 313.8 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001359/2.902, allocations: 28.34 kB / 1.223 GB, free: 313.8 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1595) (initialization): time 0.04743/2.95, allocations: 17.21 MB / 1.24 GB, free: 308.8 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.041e-05/2.95, allocations: 48.62 kB / 1.24 GB, free: 308.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03165/2.981, allocations: 13.45 MB / 1.253 GB, free: 303.7 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04721/3.029, allocations: 4.666 MB / 1.258 GB, free: 303.2 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01459/3.043, allocations: 3.182 MB / 1.261 GB, free: 303.1 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01277/3.056, allocations: 14.75 MB / 1.275 GB, free: 290.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01393/3.07, allocations: 0.5585 MB / 1.276 GB, free: 289.7 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004018/3.074, allocations: 0.7189 MB / 1.277 GB, free: 289 MB / 0.9044 GB Warning: Assuming fixed start value for the following 5 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 headerOut.pipeFlow.h[1]:VARIABLE(start = headerOut.pipeFlow.mechanicalEquilibrium.h_start[1] unit = \"J/kg\" fixed = true nominal = 1000.0 stateSelect=StateSelect.prefer protected = true ) \"Cell enthalpy\" type: Real [1] headerIn.pipeFlow.h[1]:VARIABLE(start = headerIn.pipeFlow.mechanicalEquilibrium.h_start[1] unit = \"J/kg\" fixed = true nominal = 1000.0 stateSelect=StateSelect.prefer protected = true ) \"Cell enthalpy\" type: Real [1] headerIn.pipeFlow.p[1]:VARIABLE(min = 0.0 start = headerIn.pipeFlow.p_start_internal[1] unit = \"Pa\" fixed = true nominal = 1e5 protected = true ) \"Cell pressure\" type: Real [1] PI.switch_OnOff.u2:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02142/3.095, allocations: 8.23 MB / 1.285 GB, free: 280.8 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01548/3.111, allocations: 9.271 MB / 1.294 GB, free: 270 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3159/3.427, allocations: 58.81 MB / 1.351 GB, free: 209.8 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.128e-05/3.427, allocations: 28 kB / 1.351 GB, free: 209.7 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1595) (initialization_lambda0): time 0.04216/3.469, allocations: 17.02 MB / 1.368 GB, free: 193.1 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.732e-05/3.469, allocations: 58.03 kB / 1.368 GB, free: 193.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02876/3.498, allocations: 13.25 MB / 1.381 GB, free: 179.7 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04524/3.543, allocations: 4.554 MB / 1.385 GB, free: 175.2 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01246/3.555, allocations: 3.104 MB / 1.388 GB, free: 172.1 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01093/3.566, allocations: 14.02 MB / 1.402 GB, free: 157.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01265/3.579, allocations: 0.5562 MB / 1.402 GB, free: 156.6 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003371/3.582, allocations: 0.7144 MB / 1.403 GB, free: 155.9 MB / 0.9044 GB Warning: Assuming fixed start value for the following 5 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 headerOut.pipeFlow.h[1]:VARIABLE(start = headerOut.pipeFlow.mechanicalEquilibrium.h_start[1] unit = \"J/kg\" fixed = true nominal = 1000.0 stateSelect=StateSelect.prefer protected = true ) \"Cell enthalpy\" type: Real [1] headerIn.pipeFlow.h[1]:VARIABLE(start = headerIn.pipeFlow.mechanicalEquilibrium.h_start[1] unit = \"J/kg\" fixed = true nominal = 1000.0 stateSelect=StateSelect.prefer protected = true ) \"Cell enthalpy\" type: Real [1] headerIn.pipeFlow.p[1]:VARIABLE(min = 0.0 start = headerIn.pipeFlow.p_start_internal[1] unit = \"Pa\" fixed = true nominal = 1e5 protected = true ) \"Cell pressure\" type: Real [1] 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: 446 * Number of states: 0 () * Number of discrete variables: 7 ($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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1558): * Single equations (assignments): 1548 * 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): 4 systems {(1,2,100.0%), (4,3,87.5%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (7,17)} Notification: Performance of prepare postOptimizeDAE: time 0.004974/3.587, allocations: 0.9039 MB / 1.404 GB, free: 155.1 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003705/3.591, allocations: 1.029 MB / 1.405 GB, free: 154.5 MB / 0.9044 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 1633 equation(s) and 1564 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (headerIn.pipeFlow.summary.fluid.steamQuality[1], headerIn.pipeFlow.fluid[1].cp, headerIn.pipeFlow.fluid[1].cv, headerIn.pipeFlow.fluid[1].beta, headerIn.pipeFlow.fluid[1].kappa, headerIn.pipeFlow.fluid[1].drhodp_hxi, headerIn.pipeFlow.fluid[1].drhodh_pxi, _, headerIn.pipeFlow.fluid[1].w, headerIn.pipeFlow.fluid[1].gamma) = ($cse578, $cse579, $cse580, $cse581, $cse582, $cse583, $cse584, $cse585, $cse586, $cse587) has size 9 but 5 variables ($cse292, $cse293, $cse294, $cse296, hex.shell.m_flow_cond) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02642/3.618, allocations: 13.59 MB / 1.418 GB, free: 141.3 MB / 0.9044 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 796] [Calling sys.exit(0), Time elapsed: 7.407525551010622] Failed to read output from testmodel.py, exit status != 0: 3.6264467379951384 3.64293596 2.231712284 Calling exit ...