Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.00945/0.00945, allocations: 1.771 MB / 20.62 MB, free: 3.863 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.08324/0.08324, allocations: 25.61 MB / 49.71 MB, free: 2.762 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.00105/0.00105, allocations: 110.1 kB / 60.65 MB, free: 2.926 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.001202/0.001202, allocations: 221.2 kB / 71.73 MB, free: 6.461 MB / 44.04 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.002/1.002, allocations: 230.6 MB / 313.3 MB, free: 11.76 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/package.mo): time 0.8361/0.8361, allocations: 130.8 MB / 0.4964 GB, free: 2.355 MB / 362.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-main/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_dev_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_dev_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.002657/0.002657, allocations: 159.5 kB / 0.6902 GB, free: 46.75 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1352, allocations: 89.27 MB / 0.7773 GB, free: 3.047 MB / 0.5418 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers): time 0.02548/0.1607, allocations: 33.55 MB / 0.8101 GB, free: 1.355 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.04073/0.2014, allocations: 31.21 MB / 0.8406 GB, free: 2.062 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009224/0.2107, allocations: 214.4 kB / 0.8408 GB, free: 1.852 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.009913/0.2206, allocations: 4.283 MB / 0.845 GB, free: 13.55 MB / 0.6199 GB Notification: Performance of NFTyping.typeBindings: time 0.01685/0.2374, allocations: 7.294 MB / 0.8521 GB, free: 6.223 MB / 0.6199 GB Notification: Performance of NFTyping.typeClassSections: time 0.01428/0.2517, allocations: 7.002 MB / 0.8589 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.02254/0.2742, allocations: 20.59 MB / 0.879 GB, free: 10.59 MB / 0.6512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008706/0.2829, allocations: 5.916 MB / 0.8848 GB, free: 4.59 MB / 0.6512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01255/0.2955, allocations: 8.134 MB / 0.8928 GB, free: 12.43 MB / 0.6668 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01129/0.3068, allocations: 8.398 MB / 0.901 GB, free: 4 MB / 0.6668 GB Notification: Performance of NFPackage.collectConstants: time 0.003638/0.3104, allocations: 1.305 MB / 0.9022 GB, free: 2.695 MB / 0.6668 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3522/0.6626, allocations: 3.24 MB / 0.9054 GB, free: 26.29 MB / 0.6668 GB Notification: Performance of NFScalarize.scalarize: time 0.006217/0.6688, allocations: 4.427 MB / 0.9097 GB, free: 26.29 MB / 0.6668 GB Notification: Performance of NFVerifyModel.verify: time 0.008877/0.6777, allocations: 5.1 MB / 0.9147 GB, free: 26.17 MB / 0.6668 GB Notification: Performance of NFConvertDAE.convert: time 0.02679/0.7045, allocations: 20.36 MB / 0.9346 GB, free: 23.59 MB / 0.6668 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.7045, allocations: 0.7812 kB / 0.9346 GB, free: 23.59 MB / 0.6668 GB Notification: Performance of FrontEnd: time 2.644e-06/0.7045, allocations: 0 / 0.9346 GB, free: 23.59 MB / 0.6668 GB Notification: Performance of Transformations before backend: time 0.0007914/0.7053, allocations: 1.281 kB / 0.9346 GB, free: 23.59 MB / 0.6668 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.02882/0.7341, allocations: 14.6 MB / 0.9488 GB, free: 18.33 MB / 0.6668 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.7342, allocations: 9.562 kB / 0.9488 GB, free: 18.33 MB / 0.6668 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001127/0.7353, allocations: 1.086 MB / 0.9499 GB, free: 18.23 MB / 0.6668 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002943/0.7382, allocations: 1.519 MB / 0.9514 GB, free: 17.52 MB / 0.6668 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01134/0.7496, allocations: 8.65 MB / 0.9598 GB, free: 15.82 MB / 0.6668 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002251/0.7498, allocations: 469.9 kB / 0.9603 GB, free: 15.8 MB / 0.6668 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007147/0.7505, allocations: 0.6014 MB / 0.9609 GB, free: 15.79 MB / 0.6668 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02168/0.7722, allocations: 18.8 MB / 0.9792 GB, free: 3.246 MB / 0.6668 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.74e-05/0.7723, allocations: 63.52 kB / 0.9793 GB, free: 3.246 MB / 0.6668 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006111/0.7729, allocations: 310.5 kB / 0.9796 GB, free: 3.059 MB / 0.6668 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004542/0.7734, allocations: 0.7185 MB / 0.9803 GB, free: 2.848 MB / 0.6668 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0201/0.7935, allocations: 13.38 MB / 0.9934 GB, free: 12.34 MB / 0.6824 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.06706/0.8605, allocations: 59.56 MB / 1.052 GB, free: 5.027 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01907/0.8796, allocations: 11.23 MB / 1.062 GB, free: 9.617 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006568/0.8861, allocations: 4.301 MB / 1.067 GB, free: 5.23 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001112/0.8873, allocations: 386.7 kB / 1.067 GB, free: 4.855 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01517/0.9024, allocations: 8.614 MB / 1.075 GB, free: 11.99 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004373/0.9068, allocations: 1.152 MB / 1.077 GB, free: 10.84 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=1095): time 1.681e-05/0.9068, allocations: 0 / 1.077 GB, free: 10.84 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1097): time 0.1011/1.008, allocations: 79.53 MB / 1.154 GB, free: 10.95 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006697/1.009, allocations: 2.108 MB / 1.156 GB, free: 8.355 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01259/1.021, allocations: 8.642 MB / 1.165 GB, free: 15.75 MB / 0.8543 GB Notification: Performance of collectPreVariables (initialization): time 0.002574/1.024, allocations: 121.7 kB / 1.165 GB, free: 15.62 MB / 0.8543 GB Notification: Performance of collectInitialEqns (initialization): time 0.002901/1.027, allocations: 4.29 MB / 1.169 GB, free: 11.34 MB / 0.8543 GB Notification: Performance of collectInitialBindings (initialization): time 0.004475/1.031, allocations: 3.791 MB / 1.173 GB, free: 7.609 MB / 0.8543 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003457/1.035, allocations: 2.488 MB / 1.175 GB, free: 5.105 MB / 0.8543 GB Notification: Performance of setup shared object (initialization): time 7.462e-05/1.035, allocations: 305.1 kB / 1.175 GB, free: 4.805 MB / 0.8543 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007485/1.042, allocations: 5.851 MB / 1.181 GB, free: 14.93 MB / 0.8699 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009642/1.052, allocations: 10.46 MB / 1.191 GB, free: 2.73 MB / 0.8699 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5027/1.554, allocations: 59.13 MB / 1.249 GB, free: 333.3 MB / 0.9168 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.708e-05/1.555, allocations: 31.44 kB / 1.249 GB, free: 333.3 MB / 0.9168 GB Notification: Performance of matching and sorting (n=1595) (initialization): time 0.02901/1.584, allocations: 17.2 MB / 1.266 GB, free: 327.5 MB / 0.9168 GB Notification: Performance of prepare postOptimizeDAE: time 4.802e-05/1.584, allocations: 51.16 kB / 1.266 GB, free: 327.5 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01613/1.6, allocations: 13.46 MB / 1.279 GB, free: 322.4 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02285/1.623, allocations: 4.676 MB / 1.284 GB, free: 321.9 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008371/1.631, allocations: 3.174 MB / 1.287 GB, free: 319.9 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007572/1.638, allocations: 14.08 MB / 1.301 GB, free: 305.9 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008133/1.647, allocations: 0.5528 MB / 1.301 GB, free: 305.4 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001634/1.648, allocations: 0.7172 MB / 1.302 GB, free: 304.8 MB / 0.9168 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.01158/1.66, allocations: 8.24 MB / 1.31 GB, free: 297.7 MB / 0.9168 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007996/1.668, allocations: 10.38 MB / 1.32 GB, free: 286.6 MB / 0.9168 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1534/1.821, allocations: 58.82 MB / 1.377 GB, free: 227.5 MB / 0.9168 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.532e-05/1.821, allocations: 28 kB / 1.377 GB, free: 227.4 MB / 0.9168 GB Notification: Performance of matching and sorting (n=1595) (initialization_lambda0): time 0.02443/1.846, allocations: 17.01 MB / 1.394 GB, free: 210.9 MB / 0.9168 GB Notification: Performance of prepare postOptimizeDAE: time 4.515e-05/1.846, allocations: 60 kB / 1.394 GB, free: 210.8 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0163/1.862, allocations: 13.26 MB / 1.407 GB, free: 197.4 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02201/1.884, allocations: 4.55 MB / 1.412 GB, free: 192.9 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008313/1.892, allocations: 3.1 MB / 1.415 GB, free: 189.8 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006873/1.899, allocations: 13.23 MB / 1.427 GB, free: 175.8 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009014/1.908, allocations: 0.5731 MB / 1.428 GB, free: 175.2 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002017/1.91, allocations: 0.7199 MB / 1.429 GB, free: 174.5 MB / 0.9168 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.003112/1.913, allocations: 0.9049 MB / 1.43 GB, free: 173.7 MB / 0.9168 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002249/1.916, allocations: 1.034 MB / 1.431 GB, free: 173.2 MB / 0.9168 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.01584/1.932, allocations: 13.63 MB / 1.444 GB, free: 159.7 MB / 0.9168 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.137325449846685]