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.006321/0.006321, allocations: 1.358 MB / 20.45 MB, free: 4.098 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.07814/0.07814, allocations: 18.24 MB / 42.19 MB, free: 5.18 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.0009648/0.0009648, allocations: 91.94 kB / 53.07 MB, free: 6.504 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.001171/0.001171, allocations: 156.9 kB / 64.04 MB, free: 10.2 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.9091/0.9091, allocations: 177.2 MB / 252.1 MB, free: 11.78 MB / 218.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.4811/0.4811, allocations: 102.6 MB / 418.7 MB, free: 5.32 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-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: Performance of FrontEnd - loaded program: time 2.775e-06/2.775e-06, allocations: 0 / 0.603 GB, free: 352 kB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.065e-05/3.342e-05, allocations: 3.484 kB / 0.603 GB, free: 348 kB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers): time 0.02485/0.02488, allocations: 33.53 MB / 0.6358 GB, free: 14.68 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.3043/0.3292, allocations: 30.88 MB / 0.6659 GB, free: 15.65 MB / 0.5418 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007726/0.3369, allocations: 219.6 kB / 0.6661 GB, free: 15.65 MB / 0.5418 GB Notification: Performance of NFTyping.typeComponents: time 0.008733/0.3456, allocations: 4.296 MB / 0.6703 GB, free: 15.61 MB / 0.5418 GB Notification: Performance of NFTyping.typeBindings: time 0.01406/0.3597, allocations: 7.506 MB / 0.6777 GB, free: 14.27 MB / 0.5418 GB Notification: Performance of NFTyping.typeClassSections: time 0.01235/0.372, allocations: 7.079 MB / 0.6846 GB, free: 14.02 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.02702/0.3991, allocations: 21.07 MB / 0.7052 GB, free: 9.18 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009363/0.4084, allocations: 5.954 MB / 0.711 GB, free: 5.262 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02095/0.4294, allocations: 11.02 MB / 0.7217 GB, free: 14.93 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01489/0.4443, allocations: 7.648 MB / 0.7292 GB, free: 11.28 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.004193/0.4485, allocations: 1.306 MB / 0.7305 GB, free: 11.28 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00954/0.458, allocations: 3.304 MB / 0.7337 GB, free: 10.35 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.005152/0.4632, allocations: 4.602 MB / 0.7382 GB, free: 6.949 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.008488/0.4716, allocations: 4.245 MB / 0.7423 GB, free: 2.84 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.02279/0.4944, allocations: 20.51 MB / 0.7624 GB, free: 15.18 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.4944, allocations: 0 / 0.7624 GB, free: 15.18 MB / 0.5887 GB Notification: Performance of FrontEnd: time 1.804e-06/0.4944, allocations: 0 / 0.7624 GB, free: 15.18 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 0.0006836/0.4951, allocations: 0 / 0.7624 GB, free: 15.18 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.02631/0.5214, allocations: 14.47 MB / 0.7765 GB, free: 0.7461 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.5215, allocations: 12.03 kB / 0.7765 GB, free: 0.7344 MB / 0.5887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001364/0.5228, allocations: 1.082 MB / 0.7776 GB, free: 15.67 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003095/0.5259, allocations: 1.521 MB / 0.7791 GB, free: 14.14 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01216/0.5381, allocations: 8.653 MB / 0.7875 GB, free: 5.812 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002543/0.5384, allocations: 474.3 kB / 0.788 GB, free: 5.367 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007396/0.5391, allocations: 0.6015 MB / 0.7885 GB, free: 4.785 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0227/0.5618, allocations: 18.79 MB / 0.8069 GB, free: 68 kB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001248/0.5619, allocations: 64 kB / 0.807 GB, free: 40 kB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006982/0.5626, allocations: 304.8 kB / 0.8072 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005767/0.5632, allocations: 0.7244 MB / 0.808 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02146/0.5847, allocations: 13.36 MB / 0.821 GB, free: 1.984 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.05796/0.6426, allocations: 59.4 MB / 0.879 GB, free: 5.609 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01881/0.6614, allocations: 11.24 MB / 0.89 GB, free: 10.19 MB / 0.7137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006081/0.6675, allocations: 4.313 MB / 0.8942 GB, free: 5.797 MB / 0.7137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008832/0.6684, allocations: 381.1 kB / 0.8946 GB, free: 5.43 MB / 0.7137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01343/0.6818, allocations: 8.61 MB / 0.903 GB, free: 12.57 MB / 0.7293 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003516/0.6853, allocations: 1.148 MB / 0.9041 GB, free: 11.41 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=1095): time 2.071e-05/0.6854, allocations: 0 / 0.9041 GB, free: 11.41 MB / 0.7293 GB Notification: Performance of matching and sorting (n=1097): time 0.3552/1.041, allocations: 79.53 MB / 0.9818 GB, free: 233.5 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003943/1.041, allocations: 2.108 MB / 0.9838 GB, free: 231 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01276/1.054, allocations: 8.638 MB / 0.9922 GB, free: 227.9 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.002094/1.056, allocations: 128.6 kB / 0.9924 GB, free: 227.8 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.002587/1.058, allocations: 4.257 MB / 0.9965 GB, free: 224.9 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.003427/1.062, allocations: 3.748 MB / 1 GB, free: 222.4 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003504/1.065, allocations: 2.46 MB / 1.003 GB, free: 221.4 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 4.119e-05/1.065, allocations: 303.4 kB / 1.003 GB, free: 221.1 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007132/1.073, allocations: 5.855 MB / 1.009 GB, free: 218.7 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008501/1.081, allocations: 10.47 MB / 1.019 GB, free: 210.7 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1649/1.246, allocations: 59.14 MB / 1.077 GB, free: 160.8 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-05/1.246, allocations: 28 kB / 1.077 GB, free: 160.8 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1595) (initialization): time 0.02302/1.269, allocations: 17.22 MB / 1.093 GB, free: 143.4 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 5.14e-05/1.269, allocations: 48 kB / 1.093 GB, free: 143.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01593/1.285, allocations: 13.46 MB / 1.107 GB, free: 129.8 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02381/1.309, allocations: 4.676 MB / 1.111 GB, free: 125.2 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008558/1.317, allocations: 3.179 MB / 1.114 GB, free: 122 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007255/1.325, allocations: 14.05 MB / 1.128 GB, free: 107.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0072/1.332, allocations: 0.5596 MB / 1.129 GB, free: 106.6 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001672/1.334, allocations: 0.7222 MB / 1.129 GB, free: 105.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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01148/1.345, allocations: 8.234 MB / 1.137 GB, free: 97.66 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008173/1.353, allocations: 10.39 MB / 1.147 GB, free: 85.48 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1767/1.53, allocations: 58.82 MB / 1.205 GB, free: 25.18 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.854e-05/1.53, allocations: 30.52 kB / 1.205 GB, free: 25.16 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1595) (initialization_lambda0): time 0.02583/1.556, allocations: 17.01 MB / 1.222 GB, free: 8.035 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 5.253e-05/1.556, allocations: 48 kB / 1.222 GB, free: 7.988 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2773/1.833, allocations: 13.26 MB / 1.235 GB, free: 241.9 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02458/1.858, allocations: 4.549 MB / 1.239 GB, free: 241.6 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008965/1.867, allocations: 3.104 MB / 1.242 GB, free: 241.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007488/1.874, allocations: 13.22 MB / 1.255 GB, free: 230.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006913/1.881, allocations: 0.5587 MB / 1.255 GB, free: 230.1 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001375/1.882, allocations: 0.7154 MB / 1.256 GB, free: 230 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.002312/1.885, allocations: 0.9082 MB / 1.257 GB, free: 229.3 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001858/1.887, allocations: 1.021 MB / 1.258 GB, free: 229.3 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.01461/1.901, allocations: 13.64 MB / 1.271 GB, free: 224.6 MB / 0.7605 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.622521311044693]