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.009273/0.009273, allocations: 1.354 MB / 20.45 MB, free: 4.102 MB / 18.57 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.07654/0.07654, allocations: 18.25 MB / 42.2 MB, free: 5.164 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.0009231/0.0009231, allocations: 84.83 kB / 53.06 MB, free: 6.5 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.001107/0.001107, allocations: 161.5 kB / 64.04 MB, free: 10.19 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 0.8974/0.8974, allocations: 177.2 MB / 252.1 MB, free: 11.77 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.4965/0.4965, allocations: 102.5 MB / 418.6 MB, free: 5.195 MB / 362.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: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.6029 GB, free: 236 kB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.235e-05/2.379e-05, allocations: 3.484 kB / 0.6029 GB, free: 232 kB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers): time 0.02388/0.0239, allocations: 33.53 MB / 0.6357 GB, free: 14.56 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.3029/0.3268, allocations: 30.88 MB / 0.6658 GB, free: 15.7 MB / 0.5418 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00733/0.3341, allocations: 213.8 kB / 0.666 GB, free: 15.7 MB / 0.5418 GB Notification: Performance of NFTyping.typeComponents: time 0.007216/0.3414, allocations: 4.303 MB / 0.6702 GB, free: 15.66 MB / 0.5418 GB Notification: Performance of NFTyping.typeBindings: time 0.01242/0.3538, allocations: 7.506 MB / 0.6776 GB, free: 14.3 MB / 0.5418 GB Notification: Performance of NFTyping.typeClassSections: time 0.01177/0.3656, allocations: 7.079 MB / 0.6845 GB, free: 14.06 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.02215/0.3877, allocations: 21.07 MB / 0.7051 GB, free: 9.141 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009794/0.3975, allocations: 5.956 MB / 0.7109 GB, free: 5.211 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01919/0.4167, allocations: 11.01 MB / 0.7216 GB, free: 14.89 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01243/0.4291, allocations: 7.655 MB / 0.7291 GB, free: 11.23 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.003617/0.4327, allocations: 1.304 MB / 0.7304 GB, free: 11.23 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009997/0.4427, allocations: 3.306 MB / 0.7336 GB, free: 10.3 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.004847/0.4476, allocations: 4.604 MB / 0.7381 GB, free: 6.887 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.008887/0.4565, allocations: 4.234 MB / 0.7422 GB, free: 2.789 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.0219/0.4784, allocations: 20.53 MB / 0.7623 GB, free: 15.12 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.4784, allocations: 2.812 kB / 0.7623 GB, free: 15.12 MB / 0.5887 GB Notification: Performance of FrontEnd: time 2.385e-06/0.4784, allocations: 0 / 0.7623 GB, free: 15.12 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 0.0004764/0.4789, allocations: 0 / 0.7623 GB, free: 15.12 MB / 0.5887 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.02079/0.4996, allocations: 14.46 MB / 0.7764 GB, free: 0.6875 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.4997, allocations: 8.031 kB / 0.7764 GB, free: 0.6797 MB / 0.5887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001173/0.5009, allocations: 1.09 MB / 0.7775 GB, free: 15.6 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002919/0.5038, allocations: 1.515 MB / 0.779 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01149/0.5153, allocations: 8.656 MB / 0.7874 GB, free: 5.75 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002472/0.5155, allocations: 470.1 kB / 0.7879 GB, free: 5.309 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006973/0.5162, allocations: 0.6003 MB / 0.7885 GB, free: 4.73 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0215/0.5377, allocations: 18.79 MB / 0.8068 GB, free: 8 kB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001193/0.5378, allocations: 70.95 kB / 0.8069 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005793/0.5384, allocations: 297.7 kB / 0.8072 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005377/0.539, allocations: 0.7206 MB / 0.8079 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01988/0.5588, allocations: 13.37 MB / 0.8209 GB, free: 1.922 MB / 0.6355 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.04951/0.6083, allocations: 59.4 MB / 0.8789 GB, free: 5.539 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01799/0.6263, allocations: 11.23 MB / 0.8899 GB, free: 10.12 MB / 0.7137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006189/0.6325, allocations: 4.308 MB / 0.8941 GB, free: 5.738 MB / 0.7137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009735/0.6335, allocations: 382.3 kB / 0.8945 GB, free: 5.367 MB / 0.7137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01453/0.648, allocations: 8.613 MB / 0.9029 GB, free: 12.5 MB / 0.7293 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004056/0.6521, allocations: 1.144 MB / 0.904 GB, free: 11.35 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=1095): time 2.554e-05/0.6521, allocations: 3.375 kB / 0.904 GB, free: 11.35 MB / 0.7293 GB Notification: Performance of matching and sorting (n=1097): time 0.344/0.9961, allocations: 79.53 MB / 0.9817 GB, free: 233.4 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003585/0.9965, allocations: 2.105 MB / 0.9837 GB, free: 230.8 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0107/1.007, allocations: 8.639 MB / 0.9922 GB, free: 227.8 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.00181/1.009, allocations: 127.9 kB / 0.9923 GB, free: 227.7 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.002303/1.011, allocations: 4.26 MB / 0.9964 GB, free: 224.7 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.002949/1.014, allocations: 3.743 MB / 1 GB, free: 222.2 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003148/1.017, allocations: 2.464 MB / 1.002 GB, free: 221.3 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 3.25e-05/1.017, allocations: 304.1 kB / 1.003 GB, free: 221 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006776/1.024, allocations: 5.85 MB / 1.009 GB, free: 218.5 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008868/1.033, allocations: 10.47 MB / 1.019 GB, free: 210.5 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1587/1.192, allocations: 59.13 MB / 1.076 GB, free: 160.6 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.965e-05/1.192, allocations: 31.94 kB / 1.077 GB, free: 160.6 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1595) (initialization): time 0.02078/1.213, allocations: 17.21 MB / 1.093 GB, free: 143.3 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 5.287e-05/1.213, allocations: 46.38 kB / 1.093 GB, free: 143.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01368/1.226, allocations: 13.45 MB / 1.106 GB, free: 129.7 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0233/1.25, allocations: 4.683 MB / 1.111 GB, free: 125 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007903/1.258, allocations: 3.187 MB / 1.114 GB, free: 121.8 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007005/1.265, allocations: 14.05 MB / 1.128 GB, free: 107 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00675/1.271, allocations: 0.5602 MB / 1.128 GB, free: 106.5 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001314/1.273, allocations: 0.7183 MB / 1.129 GB, free: 105.7 MB / 0.7605 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.0103/1.283, allocations: 8.244 MB / 1.137 GB, free: 97.49 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007352/1.29, allocations: 10.38 MB / 1.147 GB, free: 85.31 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1631/1.453, allocations: 58.82 MB / 1.205 GB, free: 25.02 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.139e-05/1.453, allocations: 28 kB / 1.205 GB, free: 24.99 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1595) (initialization_lambda0): time 0.02032/1.474, allocations: 17.02 MB / 1.221 GB, free: 7.859 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.767e-05/1.474, allocations: 46.34 kB / 1.221 GB, free: 7.816 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2825/1.756, allocations: 13.26 MB / 1.234 GB, free: 241.8 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02433/1.781, allocations: 4.548 MB / 1.239 GB, free: 241.5 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00931/1.79, allocations: 3.103 MB / 1.242 GB, free: 241.4 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00759/1.797, allocations: 13.21 MB / 1.255 GB, free: 230.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007631/1.805, allocations: 0.5653 MB / 1.255 GB, free: 230 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001533/1.807, allocations: 0.7174 MB / 1.256 GB, free: 229.9 MB / 0.7605 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.002812/1.809, allocations: 0.8987 MB / 1.257 GB, free: 229.2 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002075/1.812, allocations: 1.029 MB / 1.258 GB, free: 229.2 MB / 0.7605 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.01492/1.826, allocations: 13.63 MB / 1.271 GB, free: 224.7 MB / 0.7605 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.604025619104505]