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.01247/0.01247, allocations: 1.771 MB / 18.83 MB, free: 4.332 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.001439/0.001439, allocations: 99.7 kB / 22.07 MB, free: 1.09 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.002007/0.002007, allocations: 206.7 kB / 25.45 MB, free: 2.797 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.486/1.486, allocations: 230.6 MB / 259.2 MB, free: 13.1 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.139/1.139, allocations: 130.6 MB / 446.3 MB, free: 14.66 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="cs",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="cs",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.3879/0.3879, allocations: 46.14 MB / 0.6552 GB, free: 30.27 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.5666, allocations: 89.06 MB / 0.7422 GB, free: 2.652 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers): time 0.0459/0.6125, allocations: 38.87 MB / 0.7801 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.05703/0.6695, allocations: 32.05 MB / 0.8114 GB, free: 11.48 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01128/0.6808, allocations: 222.4 kB / 0.8116 GB, free: 11.27 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.01261/0.6934, allocations: 4.407 MB / 0.8159 GB, free: 6.836 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.02853/0.722, allocations: 7.145 MB / 0.8229 GB, free: 15.66 MB / 0.6388 GB Notification: Performance of NFTyping.typeClassSections: time 0.01951/0.7415, allocations: 6.87 MB / 0.8296 GB, free: 8.789 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 0.03307/0.7745, allocations: 20.53 MB / 0.8497 GB, free: 4.203 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01224/0.7868, allocations: 5.897 MB / 0.8554 GB, free: 14.22 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01905/0.8058, allocations: 8.099 MB / 0.8633 GB, free: 6.098 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.532/1.338, allocations: 8.678 MB / 0.8718 GB, free: 26.22 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.006634/1.344, allocations: 1.304 MB / 0.8731 GB, free: 26.22 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01296/1.357, allocations: 3.933 MB / 0.8769 GB, free: 26.22 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.01232/1.37, allocations: 4.433 MB / 0.8813 GB, free: 26.22 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.02223/1.392, allocations: 6.529 MB / 0.8876 GB, free: 25.63 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.03859/1.431, allocations: 20.38 MB / 0.9075 GB, free: 23.05 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/1.431, allocations: 0 / 0.9075 GB, free: 23.05 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.713e-06/1.431, allocations: 3.25 kB / 0.9075 GB, free: 23.05 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0009164/1.431, allocations: 0 / 0.9075 GB, free: 23.05 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.0615/1.493, allocations: 12.97 MB / 0.9202 GB, free: 17.81 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 6.783e-05/1.493, allocations: 14.53 kB / 0.9202 GB, free: 17.81 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000514/1.494, allocations: 181.2 kB / 0.9204 GB, free: 17.8 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007218/1.501, allocations: 1.088 MB / 0.9215 GB, free: 17.7 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01174/1.512, allocations: 1.519 MB / 0.9229 GB, free: 16.95 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.029/1.541, allocations: 8.872 MB / 0.9316 GB, free: 13.74 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008678/1.542, allocations: 468.9 kB / 0.9321 GB, free: 13.73 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004637/1.547, allocations: 0.5944 MB / 0.9326 GB, free: 13.72 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05113/1.598, allocations: 16.25 MB / 0.9485 GB, free: 3.078 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005262/1.599, allocations: 61.78 kB / 0.9486 GB, free: 3.078 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004514/1.603, allocations: 303.2 kB / 0.9489 GB, free: 2.898 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001179/1.604, allocations: 0.7158 MB / 0.9496 GB, free: 2.688 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04024/1.645, allocations: 13.43 MB / 0.9627 GB, free: 12.2 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.1177/1.762, allocations: 64.16 MB / 1.025 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03367/1.796, allocations: 11.56 MB / 1.037 GB, free: 8.699 MB / 0.7482 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01079/1.807, allocations: 4.308 MB / 1.041 GB, free: 4.316 MB / 0.7482 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002985/1.81, allocations: 1.986 MB / 1.043 GB, free: 1.996 MB / 0.7482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.027/1.837, allocations: 8.618 MB / 1.051 GB, free: 9.148 MB / 0.7638 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008374/1.845, allocations: 1.155 MB / 1.052 GB, free: 7.992 MB / 0.7638 GB Notification: Performance of pre-optimization done (n=1095): time 4.299e-05/1.845, allocations: 0 / 1.052 GB, free: 7.992 MB / 0.7638 GB Notification: Performance of matching and sorting (n=1097): time 0.233/2.078, allocations: 80.05 MB / 1.13 GB, free: 7.527 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001236/2.079, allocations: 2.114 MB / 1.133 GB, free: 4.938 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01825/2.098, allocations: 8.468 MB / 1.141 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.002882/2.101, allocations: 129.5 kB / 1.141 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.00564/2.106, allocations: 4.285 MB / 1.145 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.006742/2.113, allocations: 3.788 MB / 1.149 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009855/2.123, allocations: 2.494 MB / 1.151 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001489/2.123, allocations: 307.6 kB / 1.152 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01375/2.137, allocations: 5.846 MB / 1.157 GB, free: 11.7 MB / 0.8732 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02048/2.157, allocations: 9.362 MB / 1.166 GB, free: 0.9648 MB / 0.8732 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7728/2.93, allocations: 59.11 MB / 1.224 GB, free: 313.9 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001113/2.93, allocations: 27.62 kB / 1.224 GB, free: 313.9 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1595) (initialization): time 0.04127/2.971, allocations: 17.2 MB / 1.241 GB, free: 308.8 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 7.524e-05/2.971, allocations: 47.03 kB / 1.241 GB, free: 308.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02701/2.998, allocations: 13.46 MB / 1.254 GB, free: 303.8 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04592/3.044, allocations: 4.666 MB / 1.259 GB, free: 303.3 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01275/3.057, allocations: 3.182 MB / 1.262 GB, free: 303.2 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01149/3.069, allocations: 14.74 MB / 1.276 GB, free: 289.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01123/3.08, allocations: 0.5586 MB / 1.277 GB, free: 289.4 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002873/3.083, allocations: 0.7183 MB / 1.277 GB, free: 288.6 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.01633/3.099, allocations: 8.23 MB / 1.285 GB, free: 280.4 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01237/3.111, allocations: 9.277 MB / 1.295 GB, free: 269.6 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3117/3.423, allocations: 58.81 MB / 1.352 GB, free: 209.4 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001165/3.423, allocations: 28 kB / 1.352 GB, free: 209.4 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1595) (initialization_lambda0): time 0.04127/3.465, allocations: 17.02 MB / 1.369 GB, free: 192.8 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.919e-05/3.465, allocations: 48.94 kB / 1.369 GB, free: 192.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03104/3.496, allocations: 13.26 MB / 1.382 GB, free: 179.4 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04534/3.541, allocations: 4.547 MB / 1.386 GB, free: 174.8 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01228/3.553, allocations: 3.112 MB / 1.389 GB, free: 171.7 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01094/3.564, allocations: 14.01 MB / 1.403 GB, free: 156.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01294/3.577, allocations: 0.5674 MB / 1.403 GB, free: 156.2 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003394/3.58, allocations: 0.7144 MB / 1.404 GB, free: 155.5 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.005287/3.586, allocations: 0.901 MB / 1.405 GB, free: 154.7 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004182/3.59, allocations: 1.035 MB / 1.406 GB, free: 154.1 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.02874/3.619, allocations: 13.58 MB / 1.419 GB, free: 140.9 MB / 0.9044 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 796] [Calling sys.exit(0), Time elapsed: 7.28522735502338] Failed to read output from testmodel.py, exit status != 0: 3.6272280879784375 3.6372557899999998 2.202763774 Calling exit ...