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 0.5.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo): time 0.00976/0.00976, allocations: 1.763 MB / 20.61 MB, free: 3.867 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo): time 0.1302/0.1302, allocations: 25.61 MB / 49.71 MB, free: 2.77 MB / 33.03 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.0009417/0.0009417, allocations: 110.1 kB / 60.65 MB, free: 2.91 MB / 44.04 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.001305/0.001305, allocations: 220.5 kB / 71.73 MB, free: 14.46 MB / 58.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.021/1.021, allocations: 230.6 MB / 313.3 MB, free: 5.18 MB / 218.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.6406/0.6406, allocations: 130.7 MB / 0.4963 GB, free: 2.516 MB / 378.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 TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo) Using package SMArtInt with version 0.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") 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_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="me_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: 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: 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: Performance of FrontEnd - loaded program: time 0.002599/0.002599, allocations: 151.8 kB / 0.6901 GB, free: 1.445 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4565/0.4591, allocations: 89.28 MB / 0.7772 GB, free: 7.648 MB / 0.5418 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers): time 0.02979/0.4889, allocations: 33.56 MB / 0.81 GB, free: 14.46 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.04827/0.5371, allocations: 31.21 MB / 0.8405 GB, free: 0.7695 MB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01163/0.5488, allocations: 214.4 kB / 0.8407 GB, free: 0.5586 MB / 0.5887 GB Notification: Performance of NFTyping.typeComponents: time 0.01148/0.5602, allocations: 4.287 MB / 0.8449 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.02128/0.5815, allocations: 7.292 MB / 0.852 GB, free: 4.926 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.01572/0.5972, allocations: 7.019 MB / 0.8589 GB, free: 13.91 MB / 0.6199 GB Notification: Performance of NFFlatten.flatten: time 0.02379/0.621, allocations: 20.58 MB / 0.879 GB, free: 9.277 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009303/0.6303, allocations: 5.916 MB / 0.8847 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01438/0.6447, allocations: 8.126 MB / 0.8927 GB, free: 11.12 MB / 0.6512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01262/0.6573, allocations: 8.4 MB / 0.9009 GB, free: 2.688 MB / 0.6512 GB Notification: Performance of NFPackage.collectConstants: time 0.004515/0.6618, allocations: 1.305 MB / 0.9021 GB, free: 1.383 MB / 0.6512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008769/0.6706, allocations: 3.249 MB / 0.9053 GB, free: 14.14 MB / 0.6668 GB Notification: Performance of NFScalarize.scalarize: time 0.00626/0.6769, allocations: 4.435 MB / 0.9097 GB, free: 9.688 MB / 0.6668 GB Notification: Performance of NFVerifyModel.verify: time 0.01045/0.6873, allocations: 5.101 MB / 0.9146 GB, free: 4.562 MB / 0.6668 GB Notification: Performance of NFConvertDAE.convert: time 0.02692/0.7142, allocations: 20.35 MB / 0.9345 GB, free: 144 kB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.7142, allocations: 0 / 0.9345 GB, free: 144 kB / 0.6824 GB Notification: Performance of FrontEnd: time 2.184e-06/0.7142, allocations: 4 kB / 0.9345 GB, free: 140 kB / 0.6824 GB Notification: Performance of Transformations before backend: time 0.0006428/0.7149, allocations: 0 / 0.9345 GB, free: 140 kB / 0.6824 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.03177/0.7467, allocations: 14.6 MB / 0.9488 GB, free: 1.41 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.7467, allocations: 12.03 kB / 0.9488 GB, free: 1.398 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003526/0.7502, allocations: 1.079 MB / 0.9498 GB, free: 316 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004849/0.7551, allocations: 1.511 MB / 0.9513 GB, free: 14.79 MB / 0.7137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01571/0.7708, allocations: 8.668 MB / 0.9598 GB, free: 6.012 MB / 0.7137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000374/0.7712, allocations: 468.1 kB / 0.9602 GB, free: 5.551 MB / 0.7137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001746/0.7729, allocations: 0.5975 MB / 0.9608 GB, free: 4.953 MB / 0.7137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02733/0.8002, allocations: 18.79 MB / 0.9792 GB, free: 15.98 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001469/0.8004, allocations: 63.38 kB / 0.9792 GB, free: 15.91 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001173/0.8016, allocations: 307.7 kB / 0.9795 GB, free: 15.62 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000632/0.8022, allocations: 0.7206 MB / 0.9802 GB, free: 14.9 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02586/0.8281, allocations: 13.37 MB / 0.9933 GB, free: 1.504 MB / 0.7449 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.4357/1.264, allocations: 59.56 MB / 1.051 GB, free: 186.8 MB / 0.7918 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02112/1.285, allocations: 11.23 MB / 1.062 GB, free: 184 MB / 0.7918 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007456/1.292, allocations: 4.306 MB / 1.067 GB, free: 181.9 MB / 0.7918 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001246/1.294, allocations: 388.5 kB / 1.067 GB, free: 181.8 MB / 0.7918 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0174/1.311, allocations: 8.608 MB / 1.075 GB, free: 176.7 MB / 0.7918 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005207/1.316, allocations: 1.146 MB / 1.076 GB, free: 176.4 MB / 0.7918 GB Notification: Performance of pre-optimization done (n=1095): time 3.627e-05/1.316, allocations: 1.219 kB / 1.077 GB, free: 176.4 MB / 0.7918 GB Notification: Performance of matching and sorting (n=1097): time 0.1008/1.417, allocations: 79.54 MB / 1.154 GB, free: 106.5 MB / 0.7918 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000275/1.417, allocations: 2.105 MB / 1.156 GB, free: 103.9 MB / 0.7918 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.011/1.428, allocations: 8.634 MB / 1.165 GB, free: 95.49 MB / 0.7918 GB Notification: Performance of collectPreVariables (initialization): time 0.002057/1.43, allocations: 129.7 kB / 1.165 GB, free: 95.36 MB / 0.7918 GB Notification: Performance of collectInitialEqns (initialization): time 0.002926/1.433, allocations: 4.28 MB / 1.169 GB, free: 91.47 MB / 0.7918 GB Notification: Performance of collectInitialBindings (initialization): time 0.004119/1.437, allocations: 3.801 MB / 1.173 GB, free: 88.21 MB / 0.7918 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00557/1.443, allocations: 2.484 MB / 1.175 GB, free: 85.71 MB / 0.7918 GB Notification: Performance of setup shared object (initialization): time 3.299e-05/1.443, allocations: 301.1 kB / 1.175 GB, free: 85.41 MB / 0.7918 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00754/1.45, allocations: 5.856 MB / 1.181 GB, free: 79.54 MB / 0.7918 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01063/1.461, allocations: 10.46 MB / 1.191 GB, free: 67.34 MB / 0.7918 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1533/1.614, allocations: 59.13 MB / 1.249 GB, free: 6.914 MB / 0.7918 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.673e-05/1.614, allocations: 28 kB / 1.249 GB, free: 6.887 MB / 0.7918 GB Notification: Performance of matching and sorting (n=1595) (initialization): time 0.02744/1.642, allocations: 17.21 MB / 1.266 GB, free: 5.566 MB / 0.8074 GB Notification: Performance of prepare postOptimizeDAE: time 5.53e-05/1.642, allocations: 48.03 kB / 1.266 GB, free: 5.52 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02057/1.663, allocations: 13.45 MB / 1.279 GB, free: 7.965 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02321/1.686, allocations: 4.679 MB / 1.284 GB, free: 3.289 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008558/1.694, allocations: 3.171 MB / 1.287 GB, free: 116 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01145/1.706, allocations: 14.07 MB / 1.3 GB, free: 1.266 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007138/1.713, allocations: 0.5567 MB / 1.301 GB, free: 0.7148 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001912/1.715, allocations: 0.7222 MB / 1.302 GB, free: 15.99 MB / 0.8543 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.01257/1.727, allocations: 8.234 MB / 1.31 GB, free: 7.75 MB / 0.8543 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009737/1.737, allocations: 10.39 MB / 1.32 GB, free: 11.57 MB / 0.8699 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1695/1.907, allocations: 58.81 MB / 1.377 GB, free: 15.27 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.385e-05/1.907, allocations: 31.98 kB / 1.377 GB, free: 15.24 MB / 0.9324 GB Notification: Performance of matching and sorting (n=1595) (initialization_lambda0): time 0.4138/2.32, allocations: 17.01 MB / 1.394 GB, free: 343.6 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 9.179e-05/2.321, allocations: 47.66 kB / 1.394 GB, free: 343.6 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02631/2.347, allocations: 13.26 MB / 1.407 GB, free: 341.3 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02311/2.37, allocations: 4.546 MB / 1.411 GB, free: 341 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00866/2.379, allocations: 3.105 MB / 1.414 GB, free: 340.9 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00815/2.387, allocations: 13.22 MB / 1.427 GB, free: 329.8 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008756/2.396, allocations: 0.5666 MB / 1.428 GB, free: 329.5 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002933/2.398, allocations: 0.7129 MB / 1.429 GB, free: 329.4 MB / 0.9324 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.004491/2.403, allocations: 0.9204 MB / 1.43 GB, free: 328.8 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003072/2.406, allocations: 1.024 MB / 1.431 GB, free: 328.8 MB / 0.9324 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 1.9.0-ClaRa/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.02135/2.427, allocations: 13.64 MB / 1.444 GB, free: 322 MB / 0.9324 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.491553775034845]