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.01317/0.01317, allocations: 1.761 MB / 20.59 MB, free: 1.285 MB / 14.72 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.001464/0.001464, allocations: 111.5 kB / 24.19 MB, free: 2.688 MB / 14.72 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.001968/0.001968, allocations: 207.9 kB / 27.92 MB, free: 4.027 MB / 19.63 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.49/1.49, allocations: 230.6 MB / 262.1 MB, free: 6.008 MB / 206.1 MB " [Timeout remaining time 178] 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 1.076/1.076, allocations: 130.7 MB / 449.7 MB, free: 6.57 MB / 350.1 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.3.1 (/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: 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: 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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.03269/0.03269, allocations: 20.78 MB / 0.6358 GB, free: 5.121 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.2108, allocations: 81.9 MB / 0.7157 GB, free: 3.121 MB / 0.5294 GB 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.5108/0.7216, allocations: 71.89 MB / 0.786 GB, free: 1.598 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.06157/0.7832, allocations: 32.37 MB / 0.8176 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01546/0.7986, allocations: 218.6 kB / 0.8178 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01389/0.8125, allocations: 4.489 MB / 0.8222 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.02283/0.8353, allocations: 7.308 MB / 0.8293 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01862/0.854, allocations: 7.024 MB / 0.8362 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.035/0.889, allocations: 20.62 MB / 0.8563 GB, free: 3.273 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01457/0.9035, allocations: 5.628 MB / 0.8618 GB, free: 13.57 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02134/0.9249, allocations: 8.103 MB / 0.8697 GB, free: 5.438 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02096/0.9458, allocations: 8.73 MB / 0.8782 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.006916/0.9527, allocations: 1.305 MB / 0.8795 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01321/0.966, allocations: 4.184 MB / 0.8836 GB, free: 7.203 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.008404/0.9744, allocations: 4.439 MB / 0.8879 GB, free: 2.75 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.01597/0.9903, allocations: 6.531 MB / 0.8943 GB, free: 12.19 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.03943/1.03, allocations: 20.46 MB / 0.9143 GB, free: 7.66 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/1.03, allocations: 0 / 0.9143 GB, free: 7.66 MB / 0.6857 GB Notification: Performance of FrontEnd: time 2.164e-06/1.03, allocations: 0 / 0.9143 GB, free: 7.66 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 0.0007059/1.03, allocations: 4 kB / 0.9143 GB, free: 7.656 MB / 0.6857 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.04721/1.078, allocations: 14.6 MB / 0.9285 GB, free: 8.996 MB / 0.7013 GB Notification: Performance of prepare preOptimizeDAE: time 6.028e-05/1.078, allocations: 16.02 kB / 0.9286 GB, free: 8.98 MB / 0.7013 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004111/1.082, allocations: 1.081 MB / 0.9296 GB, free: 7.891 MB / 0.7013 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007492/1.089, allocations: 1.52 MB / 0.9311 GB, free: 6.367 MB / 0.7013 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02548/1.115, allocations: 8.639 MB / 0.9395 GB, free: 13.66 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007046/1.116, allocations: 468.1 kB / 0.94 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00364/1.119, allocations: 0.6014 MB / 0.9406 GB, free: 12.6 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04131/1.16, allocations: 16.24 MB / 0.9564 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001954/1.161, allocations: 59.44 kB / 0.9565 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00143/1.162, allocations: 307.8 kB / 0.9568 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009176/1.163, allocations: 0.7293 MB / 0.9575 GB, free: 9.848 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03625/1.199, allocations: 13.42 MB / 0.9706 GB, free: 12.43 MB / 0.7482 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.1001/1.299, allocations: 63.75 MB / 1.033 GB, free: 10.88 MB / 0.8107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03265/1.332, allocations: 11.24 MB / 1.044 GB, free: 15.45 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.012/1.344, allocations: 4.313 MB / 1.048 GB, free: 11.05 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001751/1.346, allocations: 424.5 kB / 1.048 GB, free: 10.64 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02364/1.369, allocations: 8.624 MB / 1.057 GB, free: 1.766 MB / 0.8263 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004594/1.374, allocations: 1.15 MB / 1.058 GB, free: 0.6133 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=1095): time 1.903e-05/1.374, allocations: 0 / 1.058 GB, free: 0.6133 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1097): time 0.5008/1.875, allocations: 79.53 MB / 1.136 GB, free: 293.4 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004247/1.875, allocations: 2.112 MB / 1.138 GB, free: 290.8 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0142/1.889, allocations: 8.466 MB / 1.146 GB, free: 283.2 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 0.002401/1.892, allocations: 129.7 kB / 1.146 GB, free: 283.1 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.003677/1.896, allocations: 4.28 MB / 1.15 GB, free: 279.2 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.004729/1.9, allocations: 3.796 MB / 1.154 GB, free: 276 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006742/1.907, allocations: 2.491 MB / 1.156 GB, free: 273.4 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 4.886e-05/1.907, allocations: 301.1 kB / 1.157 GB, free: 273.2 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009608/1.917, allocations: 5.852 MB / 1.162 GB, free: 267.3 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01264/1.929, allocations: 9.349 MB / 1.172 GB, free: 256.6 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3045/2.234, allocations: 59.13 MB / 1.229 GB, free: 196.8 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.886e-05/2.234, allocations: 28 kB / 1.229 GB, free: 196.7 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1595) (initialization): time 0.03655/2.27, allocations: 17.21 MB / 1.246 GB, free: 179.4 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 7.384e-05/2.271, allocations: 44 kB / 1.246 GB, free: 179.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0256/2.296, allocations: 13.46 MB / 1.259 GB, free: 165.8 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04599/2.342, allocations: 4.671 MB / 1.264 GB, free: 161.2 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0124/2.355, allocations: 3.177 MB / 1.267 GB, free: 158 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0115/2.366, allocations: 14.13 MB / 1.281 GB, free: 143.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01118/2.377, allocations: 0.5572 MB / 1.281 GB, free: 142.6 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003091/2.38, allocations: 0.7221 MB / 1.282 GB, free: 141.8 MB / 0.8263 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.01741/2.398, allocations: 8.237 MB / 1.29 GB, free: 133.6 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01283/2.411, allocations: 9.272 MB / 1.299 GB, free: 122.8 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3004/2.711, allocations: 58.81 MB / 1.357 GB, free: 62.57 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.792e-05/2.711, allocations: 28 kB / 1.357 GB, free: 62.54 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1595) (initialization_lambda0): time 0.03369/2.745, allocations: 17.02 MB / 1.373 GB, free: 45.41 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.984e-05/2.745, allocations: 46.34 kB / 1.373 GB, free: 45.37 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02429/2.769, allocations: 13.26 MB / 1.386 GB, free: 32.01 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0479/2.817, allocations: 4.557 MB / 1.391 GB, free: 27.46 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0112/2.828, allocations: 3.096 MB / 1.394 GB, free: 24.36 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01035/2.839, allocations: 13.29 MB / 1.407 GB, free: 10.27 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.3239/3.162, allocations: 0.5569 MB / 1.407 GB, free: 319.3 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003311/3.166, allocations: 0.7145 MB / 1.408 GB, free: 319.3 MB / 0.8263 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.003703/3.169, allocations: 0.903 MB / 1.409 GB, free: 319.1 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003024/3.172, allocations: 1.039 MB / 1.41 GB, free: 319.1 MB / 0.8263 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.02709/3.2, allocations: 13.57 MB / 1.423 GB, free: 318.4 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 7.135724510997534] Failed to read output from testmodel.py, exit status != 0: 3.360672329999943 3.370750844 2.338251671 Calling exit ...