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.0104/0.0104, allocations: 1.753 MB / 21.38 MB, free: 0.582 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.001285/0.001285, allocations: 107.1 kB / 24.98 MB, free: 2.184 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.00167/0.00167, allocations: 206 kB / 28.71 MB, free: 3.457 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.504/1.504, allocations: 230.6 MB / 262.9 MB, free: 6.234 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.086/1.086, allocations: 130.7 MB / 450.5 MB, free: 6.605 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="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="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: 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.03534/0.03534, allocations: 20.6 MB / 0.6363 GB, free: 5.336 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2394, allocations: 81.91 MB / 0.7163 GB, free: 3.34 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.5649/0.8043, allocations: 71.89 MB / 0.7865 GB, free: 1.746 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.06714/0.8714, allocations: 32.38 MB / 0.8182 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01576/0.8872, allocations: 219 kB / 0.8184 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01443/0.9016, allocations: 4.485 MB / 0.8227 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0244/0.926, allocations: 7.31 MB / 0.8299 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01909/0.9451, allocations: 7.027 MB / 0.8367 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.03511/0.9802, allocations: 20.63 MB / 0.8569 GB, free: 3.434 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01221/0.9924, allocations: 5.624 MB / 0.8624 GB, free: 13.73 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01924/1.012, allocations: 8.107 MB / 0.8703 GB, free: 5.594 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01811/1.03, allocations: 8.73 MB / 0.8788 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.006266/1.036, allocations: 1.305 MB / 0.8801 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01551/1.052, allocations: 4.177 MB / 0.8842 GB, free: 7.359 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.009301/1.061, allocations: 4.436 MB / 0.8885 GB, free: 2.91 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.01687/1.078, allocations: 6.535 MB / 0.8949 GB, free: 12.34 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.03899/1.117, allocations: 20.46 MB / 0.9149 GB, free: 7.809 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/1.117, allocations: 0 / 0.9149 GB, free: 7.809 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.613e-06/1.117, allocations: 0 / 0.9149 GB, free: 7.809 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 0.0007285/1.117, allocations: 2.656 kB / 0.9149 GB, free: 7.809 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.04574/1.163, allocations: 14.6 MB / 0.9291 GB, free: 9.152 MB / 0.7013 GB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/1.163, allocations: 8.031 kB / 0.9291 GB, free: 9.145 MB / 0.7013 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002426/1.163, allocations: 186.8 kB / 0.9293 GB, free: 8.961 MB / 0.7013 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00415/1.168, allocations: 1.091 MB / 0.9304 GB, free: 7.859 MB / 0.7013 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008168/1.176, allocations: 1.522 MB / 0.9319 GB, free: 6.336 MB / 0.7013 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02191/1.198, allocations: 8.636 MB / 0.9403 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006025/1.198, allocations: 476 kB / 0.9407 GB, free: 13.17 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002914/1.201, allocations: 0.5936 MB / 0.9413 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04303/1.244, allocations: 16.25 MB / 0.9572 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002098/1.244, allocations: 59.44 kB / 0.9573 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001514/1.246, allocations: 310.5 kB / 0.9576 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009379/1.247, allocations: 0.7129 MB / 0.9582 GB, free: 9.828 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04154/1.288, allocations: 13.43 MB / 0.9714 GB, free: 12.41 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.1087/1.397, allocations: 63.74 MB / 1.034 GB, free: 10.85 MB / 0.8107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03344/1.431, allocations: 11.27 MB / 1.045 GB, free: 15.4 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0107/1.441, allocations: 4.305 MB / 1.049 GB, free: 11.02 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002096/1.443, allocations: 432.4 kB / 1.049 GB, free: 10.6 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02697/1.47, allocations: 8.616 MB / 1.058 GB, free: 1.734 MB / 0.8263 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006504/1.477, allocations: 1.148 MB / 1.059 GB, free: 0.582 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=1095): time 3.442e-05/1.477, allocations: 0 / 1.059 GB, free: 0.582 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1097): time 0.4808/1.958, allocations: 79.52 MB / 1.136 GB, free: 296.3 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004323/1.958, allocations: 2.115 MB / 1.138 GB, free: 293.7 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01217/1.97, allocations: 8.465 MB / 1.147 GB, free: 286.4 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 0.002299/1.973, allocations: 129.7 kB / 1.147 GB, free: 286.3 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.002711/1.975, allocations: 4.284 MB / 1.151 GB, free: 282.2 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.005077/1.98, allocations: 3.794 MB / 1.155 GB, free: 278.5 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004838/1.985, allocations: 2.491 MB / 1.157 GB, free: 276 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 6.106e-05/1.985, allocations: 301.1 kB / 1.157 GB, free: 275.7 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009235/1.995, allocations: 5.846 MB / 1.163 GB, free: 269.8 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01103/2.006, allocations: 9.356 MB / 1.172 GB, free: 259.1 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3168/2.322, allocations: 59.13 MB / 1.23 GB, free: 199.3 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001684/2.323, allocations: 28 kB / 1.23 GB, free: 199.3 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1595) (initialization): time 0.0429/2.366, allocations: 17.2 MB / 1.247 GB, free: 182 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001164/2.366, allocations: 48 kB / 1.247 GB, free: 181.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02933/2.395, allocations: 13.45 MB / 1.26 GB, free: 168.4 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0484/2.443, allocations: 4.669 MB / 1.265 GB, free: 163.7 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01257/2.456, allocations: 3.179 MB / 1.268 GB, free: 160.5 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01291/2.469, allocations: 14.14 MB / 1.282 GB, free: 145.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01095/2.48, allocations: 0.5549 MB / 1.282 GB, free: 145.1 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003402/2.483, allocations: 0.7182 MB / 1.283 GB, free: 144.4 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.0203/2.504, allocations: 8.231 MB / 1.291 GB, free: 136.2 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01378/2.517, allocations: 9.279 MB / 1.3 GB, free: 125.4 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3204/2.838, allocations: 58.82 MB / 1.357 GB, free: 65.11 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001219/2.838, allocations: 28 kB / 1.357 GB, free: 65.08 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1595) (initialization_lambda0): time 0.04126/2.879, allocations: 17 MB / 1.374 GB, free: 47.96 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001197/2.879, allocations: 48.16 kB / 1.374 GB, free: 47.91 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03121/2.91, allocations: 13.27 MB / 1.387 GB, free: 34.55 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04673/2.957, allocations: 4.552 MB / 1.391 GB, free: 30 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01195/2.969, allocations: 3.104 MB / 1.394 GB, free: 26.89 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01113/2.98, allocations: 13.29 MB / 1.407 GB, free: 12.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01077/2.991, allocations: 0.5632 MB / 1.408 GB, free: 12.24 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003046/2.994, allocations: 0.7066 MB / 1.409 GB, free: 11.53 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.005954/3, allocations: 0.9073 MB / 1.41 GB, free: 10.62 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.3688/3.369, allocations: 1.03 MB / 1.411 GB, free: 326.8 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.03441/3.403, allocations: 13.57 MB / 1.424 GB, free: 326.1 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 796] [Calling sys.exit(0), Time elapsed: 7.461642091046087] Failed to read output from testmodel.py, exit status != 0: 3.5819878190523013 3.594556357 2.472807606 Calling exit ...