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.009032/0.009032, allocations: 1.446 MB / 20.54 MB, free: 4.008 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.0009464/0.0009464, allocations: 91.45 kB / 24.16 MB, free: 396 kB / 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.001246/0.001246, allocations: 164.1 kB / 27.85 MB, free: 5.496 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 0.8841/0.8841, allocations: 177.2 MB / 208.6 MB, free: 2.949 MB / 186.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.6991/0.6991, allocations: 102.5 MB / 367.9 MB, free: 1.5 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 0.5.2 (/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: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 0.5362 GB, free: 39.86 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.612e-05/1.792e-05, allocations: 5.438 kB / 0.5362 GB, free: 39.86 MB / 490.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.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers): time 0.1275/0.1276, allocations: 80.2 MB / 0.6145 GB, free: 12.13 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.04279/0.1703, allocations: 30.88 MB / 0.6447 GB, free: 13.16 MB / 0.5418 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006771/0.1771, allocations: 218.4 kB / 0.6449 GB, free: 12.95 MB / 0.5418 GB Notification: Performance of NFTyping.typeComponents: time 0.006862/0.184, allocations: 4.297 MB / 0.6491 GB, free: 8.625 MB / 0.5418 GB Notification: Performance of NFTyping.typeBindings: time 0.01284/0.1968, allocations: 7.512 MB / 0.6564 GB, free: 1.07 MB / 0.5418 GB Notification: Performance of NFTyping.typeClassSections: time 0.0115/0.2083, allocations: 7.076 MB / 0.6633 GB, free: 9.98 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.02355/0.2319, allocations: 21.06 MB / 0.6839 GB, free: 4.848 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009374/0.2412, allocations: 5.95 MB / 0.6897 GB, free: 14.81 MB / 0.5887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02186/0.2631, allocations: 11.01 MB / 0.7005 GB, free: 3.777 MB / 0.5887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01322/0.2763, allocations: 7.652 MB / 0.7079 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 0.004284/0.2806, allocations: 1.301 MB / 0.7092 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01064/0.2912, allocations: 3.307 MB / 0.7124 GB, free: 7.492 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 0.004672/0.2959, allocations: 4.596 MB / 0.7169 GB, free: 2.883 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 0.01008/0.306, allocations: 4.236 MB / 0.7211 GB, free: 14.64 MB / 0.6199 GB Notification: Performance of NFConvertDAE.convert: time 0.02464/0.3306, allocations: 20.52 MB / 0.7411 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.3306, allocations: 4 kB / 0.7411 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.234e-06/0.3306, allocations: 0 / 0.7411 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0005283/0.3312, allocations: 0 / 0.7411 GB, free: 10.06 MB / 0.6355 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.02549/0.3567, allocations: 14.47 MB / 0.7552 GB, free: 11.46 MB / 0.6512 GB Notification: Performance of prepare preOptimizeDAE: time 5.789e-05/0.3567, allocations: 8.031 kB / 0.7553 GB, free: 11.45 MB / 0.6512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001089/0.3578, allocations: 1.087 MB / 0.7563 GB, free: 10.36 MB / 0.6512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00301/0.3608, allocations: 1.511 MB / 0.7578 GB, free: 8.836 MB / 0.6512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01308/0.3739, allocations: 8.657 MB / 0.7662 GB, free: 88 kB / 0.6512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.2892/0.6631, allocations: 470.7 kB / 0.7667 GB, free: 172.7 MB / 0.6512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002837/0.6659, allocations: 0.595 MB / 0.7673 GB, free: 172.7 MB / 0.6512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02199/0.6879, allocations: 18.79 MB / 0.7856 GB, free: 161 MB / 0.6512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001099/0.688, allocations: 64.38 kB / 0.7857 GB, free: 160.9 MB / 0.6512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006039/0.6886, allocations: 303.5 kB / 0.786 GB, free: 160.7 MB / 0.6512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006495/0.6893, allocations: 0.7209 MB / 0.7867 GB, free: 160.5 MB / 0.6512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02067/0.7099, allocations: 13.37 MB / 0.7997 GB, free: 153.7 MB / 0.6512 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.0444/0.7543, allocations: 59.41 MB / 0.8578 GB, free: 101.3 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01531/0.7696, allocations: 11.22 MB / 0.8687 GB, free: 89.89 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005013/0.7747, allocations: 4.315 MB / 0.8729 GB, free: 85.49 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008513/0.7755, allocations: 382 kB / 0.8733 GB, free: 85.12 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01107/0.7866, allocations: 8.607 MB / 0.8817 GB, free: 76.24 MB / 0.6512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003471/0.7901, allocations: 1.153 MB / 0.8828 GB, free: 75.31 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=1095): time 1.596e-05/0.7901, allocations: 0 / 0.8828 GB, free: 75.31 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1097): time 0.07412/0.8642, allocations: 79.53 MB / 0.9605 GB, free: 11.51 MB / 0.6668 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007483/0.8649, allocations: 2.112 MB / 0.9626 GB, free: 8.91 MB / 0.6668 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01013/0.8751, allocations: 8.639 MB / 0.971 GB, free: 460 kB / 0.6668 GB Notification: Performance of collectPreVariables (initialization): time 0.001784/0.8768, allocations: 125.7 kB / 0.9711 GB, free: 328 kB / 0.6668 GB Notification: Performance of collectInitialEqns (initialization): time 0.003118/0.88, allocations: 4.257 MB / 0.9753 GB, free: 12.46 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 0.002981/0.8829, allocations: 3.743 MB / 0.9789 GB, free: 9.059 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003003/0.8859, allocations: 2.464 MB / 0.9813 GB, free: 6.578 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 7.474e-05/0.886, allocations: 301.1 kB / 0.9816 GB, free: 6.281 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006892/0.8929, allocations: 5.855 MB / 0.9873 GB, free: 420 kB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009162/0.9021, allocations: 10.47 MB / 0.9976 GB, free: 4.152 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4684/1.37, allocations: 59.12 MB / 1.055 GB, free: 246.2 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.404e-05/1.371, allocations: 28.08 kB / 1.055 GB, free: 246.2 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1595) (initialization): time 0.02534/1.396, allocations: 17.21 MB / 1.072 GB, free: 239.6 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 7.523e-05/1.396, allocations: 47.44 kB / 1.072 GB, free: 239.6 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01787/1.414, allocations: 13.46 MB / 1.085 GB, free: 234.5 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02301/1.437, allocations: 4.671 MB / 1.09 GB, free: 233.9 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008062/1.445, allocations: 3.18 MB / 1.093 GB, free: 233 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007264/1.452, allocations: 14.06 MB / 1.107 GB, free: 220.4 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006464/1.459, allocations: 0.5563 MB / 1.107 GB, free: 220.1 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001133/1.46, allocations: 0.7193 MB / 1.108 GB, free: 219.9 MB / 0.7449 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.01007/1.47, allocations: 8.232 MB / 1.116 GB, free: 213.9 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006629/1.476, allocations: 10.39 MB / 1.126 GB, free: 201.7 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1548/1.631, allocations: 58.82 MB / 1.184 GB, free: 142.2 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.493e-05/1.631, allocations: 28 kB / 1.184 GB, free: 142.1 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1595) (initialization_lambda0): time 0.02148/1.653, allocations: 17.02 MB / 1.2 GB, free: 125.5 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 3.954e-05/1.653, allocations: 55.97 kB / 1.2 GB, free: 125.5 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01404/1.667, allocations: 13.25 MB / 1.213 GB, free: 112.1 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02254/1.689, allocations: 4.545 MB / 1.218 GB, free: 107.6 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006554/1.696, allocations: 3.108 MB / 1.221 GB, free: 104.5 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006337/1.702, allocations: 13.23 MB / 1.234 GB, free: 90.53 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005972/1.708, allocations: 0.5645 MB / 1.234 GB, free: 89.96 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008061/1.709, allocations: 0.7105 MB / 1.235 GB, free: 89.25 MB / 0.7449 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.002381/1.711, allocations: 0.9122 MB / 1.236 GB, free: 88.4 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00156/1.713, allocations: 1.033 MB / 1.237 GB, free: 87.64 MB / 0.7449 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.01362/1.727, allocations: 13.62 MB / 1.25 GB, free: 74.42 MB / 0.7449 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.78744840528816] Failed to read output from testmodel.py, exit status != 0: 2.1245354749262333 2.133437192 1.800799031 Calling exit ...