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.01076/0.01076, allocations: 1.757 MB / 20.6 MB, free: 0.8828 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.001487/0.001487, allocations: 104.2 kB / 24.18 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.001926/0.001926, allocations: 217.9 kB / 27.9 MB, free: 3.504 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.513/1.513, allocations: 230.6 MB / 262.1 MB, free: 5.863 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.085/1.085, allocations: 130.7 MB / 449.6 MB, free: 6.441 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.06529/0.06529, allocations: 20.99 MB / 0.6359 GB, free: 4.73 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.2447, allocations: 81.91 MB / 0.7158 GB, free: 2.719 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.59/0.8347, allocations: 66.55 MB / 0.7808 GB, free: 6.848 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.06263/0.8973, allocations: 31.22 MB / 0.8113 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01306/0.9104, allocations: 220.8 kB / 0.8115 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01649/0.9269, allocations: 4.269 MB / 0.8157 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.02506/0.952, allocations: 7.291 MB / 0.8228 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01928/0.9712, allocations: 7.013 MB / 0.8297 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.03706/1.008, allocations: 20.59 MB / 0.8498 GB, free: 9.477 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01464/1.023, allocations: 5.916 MB / 0.8556 GB, free: 3.477 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01994/1.043, allocations: 8.127 MB / 0.8635 GB, free: 11.32 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01897/1.062, allocations: 8.394 MB / 0.8717 GB, free: 2.902 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.006225/1.068, allocations: 1.305 MB / 0.873 GB, free: 1.598 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01295/1.081, allocations: 3.255 MB / 0.8761 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.009479/1.091, allocations: 4.432 MB / 0.8805 GB, free: 9.906 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.01589/1.106, allocations: 5.101 MB / 0.8855 GB, free: 4.781 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.04171/1.148, allocations: 20.35 MB / 0.9053 GB, free: 368 kB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/1.148, allocations: 0 / 0.9053 GB, free: 368 kB / 0.67 GB Notification: Performance of FrontEnd: time 2.395e-06/1.148, allocations: 0 / 0.9053 GB, free: 368 kB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0007854/1.149, allocations: 0 / 0.9053 GB, free: 368 kB / 0.67 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.05203/1.201, allocations: 14.6 MB / 0.9196 GB, free: 1.699 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 5.602e-05/1.201, allocations: 8.031 kB / 0.9196 GB, free: 1.691 MB / 0.6857 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004993/1.206, allocations: 1.083 MB / 0.9207 GB, free: 0.5977 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008286/1.214, allocations: 1.524 MB / 0.9221 GB, free: 15.07 MB / 0.7013 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02515/1.239, allocations: 8.654 MB / 0.9306 GB, free: 6.352 MB / 0.7013 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007864/1.24, allocations: 474.8 kB / 0.931 GB, free: 5.887 MB / 0.7013 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003482/1.244, allocations: 0.6 MB / 0.9316 GB, free: 5.289 MB / 0.7013 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0482/1.292, allocations: 18.79 MB / 0.95 GB, free: 328 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004212/1.292, allocations: 62.06 kB / 0.95 GB, free: 268 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002965/1.295, allocations: 307.9 kB / 0.9503 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001271/1.297, allocations: 0.7206 MB / 0.951 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0389/1.335, allocations: 13.37 MB / 0.9641 GB, free: 1.867 MB / 0.7325 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.1088/1.444, allocations: 59.56 MB / 1.022 GB, free: 4.707 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03347/1.478, allocations: 11.22 MB / 1.033 GB, free: 9.285 MB / 0.8107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01064/1.488, allocations: 4.314 MB / 1.037 GB, free: 4.891 MB / 0.8107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002032/1.49, allocations: 391.2 kB / 1.038 GB, free: 4.508 MB / 0.8107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02634/1.517, allocations: 8.61 MB / 1.046 GB, free: 11.63 MB / 0.8263 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006261/1.523, allocations: 1.144 MB / 1.047 GB, free: 10.48 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=1095): time 3.052e-05/1.523, allocations: 3.938 kB / 1.047 GB, free: 10.48 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1097): time 0.4744/1.997, allocations: 79.53 MB / 1.125 GB, free: 301.3 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004028/1.998, allocations: 2.11 MB / 1.127 GB, free: 298.7 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01248/2.01, allocations: 8.635 MB / 1.135 GB, free: 291.6 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 0.002627/2.013, allocations: 130.6 kB / 1.136 GB, free: 291.4 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.003043/2.016, allocations: 4.281 MB / 1.14 GB, free: 287.9 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.005071/2.021, allocations: 3.79 MB / 1.143 GB, free: 285 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005424/2.026, allocations: 2.494 MB / 1.146 GB, free: 282.7 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 5.497e-05/2.026, allocations: 304.6 kB / 1.146 GB, free: 282.4 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009166/2.036, allocations: 5.844 MB / 1.152 GB, free: 276.6 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01262/2.048, allocations: 10.47 MB / 1.162 GB, free: 264.3 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3049/2.353, allocations: 59.13 MB / 1.22 GB, free: 204.5 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.307e-05/2.353, allocations: 32 kB / 1.22 GB, free: 204.4 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1595) (initialization): time 0.03864/2.392, allocations: 17.2 MB / 1.237 GB, free: 187.1 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 7.272e-05/2.392, allocations: 48 kB / 1.237 GB, free: 187.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03001/2.422, allocations: 13.45 MB / 1.25 GB, free: 173.5 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04417/2.466, allocations: 4.664 MB / 1.254 GB, free: 168.9 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01271/2.479, allocations: 3.181 MB / 1.258 GB, free: 165.7 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01161/2.49, allocations: 14.07 MB / 1.271 GB, free: 150.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01097/2.501, allocations: 0.5555 MB / 1.272 GB, free: 150.3 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003348/2.505, allocations: 0.7221 MB / 1.273 GB, free: 149.6 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.01826/2.523, allocations: 8.235 MB / 1.281 GB, free: 141.4 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01351/2.537, allocations: 10.39 MB / 1.291 GB, free: 129.2 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2976/2.834, allocations: 58.82 MB / 1.348 GB, free: 68.94 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.31e-05/2.834, allocations: 28 kB / 1.348 GB, free: 68.91 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1595) (initialization_lambda0): time 0.03375/2.868, allocations: 17.02 MB / 1.365 GB, free: 51.78 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 6.029e-05/2.868, allocations: 46.19 kB / 1.365 GB, free: 51.74 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02512/2.893, allocations: 13.26 MB / 1.378 GB, free: 38.38 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04325/2.936, allocations: 4.552 MB / 1.382 GB, free: 33.83 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01129/2.948, allocations: 3.114 MB / 1.385 GB, free: 30.71 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01034/2.958, allocations: 13.22 MB / 1.398 GB, free: 16.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01087/2.969, allocations: 0.5633 MB / 1.399 GB, free: 16.13 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002697/2.972, allocations: 0.7144 MB / 1.399 GB, free: 15.42 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.003974/2.976, allocations: 0.9036 MB / 1.4 GB, free: 14.57 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003332/2.979, allocations: 1.032 MB / 1.401 GB, free: 13.54 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.4081/3.387, allocations: 13.63 MB / 1.415 GB, free: 324.5 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 796] [Calling sys.exit(0), Time elapsed: 7.379889620933682] Failed to read output from testmodel.py, exit status != 0: 3.568460199981928 3.578826095 2.427895935 Calling exit ...