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.01377/0.01377, allocations: 1.757 MB / 20.59 MB, free: 1.277 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.001593/0.001593, allocations: 106.5 kB / 24.19 MB, free: 2.656 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.002095/0.002095, allocations: 209 kB / 27.92 MB, free: 4 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.603/1.603, allocations: 230.6 MB / 262.1 MB, free: 6.219 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.151/1.151, allocations: 130.7 MB / 449.7 MB, free: 6.562 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.03355/0.03355, allocations: 20.78 MB / 0.6358 GB, free: 5.152 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.2303, allocations: 81.91 MB / 0.7157 GB, free: 3.137 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.6404/0.8707, allocations: 71.88 MB / 0.7859 GB, free: 1.453 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.075/0.9457, allocations: 32.38 MB / 0.8176 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01551/0.9612, allocations: 214.6 kB / 0.8178 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01595/0.9771, allocations: 4.489 MB / 0.8222 GB, free: 5.547 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.02959/1.007, allocations: 7.31 MB / 0.8293 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.02297/1.03, allocations: 7.03 MB / 0.8362 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.03818/1.068, allocations: 20.62 MB / 0.8563 GB, free: 3.148 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01465/1.083, allocations: 5.628 MB / 0.8618 GB, free: 13.44 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02062/1.103, allocations: 8.095 MB / 0.8697 GB, free: 5.316 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01977/1.123, allocations: 8.733 MB / 0.8782 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.007096/1.13, allocations: 1.305 MB / 0.8795 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01572/1.146, allocations: 4.186 MB / 0.8836 GB, free: 7.074 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.01003/1.156, allocations: 4.435 MB / 0.8879 GB, free: 2.625 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.01817/1.174, allocations: 6.531 MB / 0.8943 GB, free: 12.06 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.04478/1.219, allocations: 20.46 MB / 0.9143 GB, free: 7.535 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/1.219, allocations: 0 / 0.9143 GB, free: 7.535 MB / 0.6857 GB Notification: Performance of FrontEnd: time 2.164e-06/1.219, allocations: 0 / 0.9143 GB, free: 7.535 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 0.0007804/1.22, allocations: 0 / 0.9143 GB, free: 7.535 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.05101/1.271, allocations: 14.61 MB / 0.9285 GB, free: 8.871 MB / 0.7013 GB Notification: Performance of prepare preOptimizeDAE: time 5.771e-05/1.271, allocations: 8.031 kB / 0.9285 GB, free: 8.863 MB / 0.7013 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004657/1.275, allocations: 1.079 MB / 0.9296 GB, free: 7.773 MB / 0.7013 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008001/1.283, allocations: 1.52 MB / 0.9311 GB, free: 6.25 MB / 0.7013 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02604/1.309, allocations: 8.64 MB / 0.9395 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000721/1.31, allocations: 474.9 kB / 0.94 GB, free: 13.08 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002988/1.313, allocations: 0.5936 MB / 0.9406 GB, free: 12.48 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04405/1.357, allocations: 16.25 MB / 0.9564 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003382/1.357, allocations: 59.44 kB / 0.9565 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002652/1.36, allocations: 307.8 kB / 0.9568 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001218/1.361, allocations: 0.7194 MB / 0.9575 GB, free: 9.738 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03937/1.401, allocations: 13.43 MB / 0.9706 GB, free: 12.31 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.1161/1.517, allocations: 63.75 MB / 1.033 GB, free: 10.76 MB / 0.8107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03409/1.551, allocations: 11.26 MB / 1.044 GB, free: 15.31 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01059/1.561, allocations: 4.301 MB / 1.048 GB, free: 10.93 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00205/1.563, allocations: 429.7 kB / 1.048 GB, free: 10.52 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02634/1.59, allocations: 8.619 MB / 1.057 GB, free: 1.645 MB / 0.8263 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006648/1.596, allocations: 1.148 MB / 1.058 GB, free: 0.4922 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=1095): time 4.306e-05/1.596, allocations: 3.938 kB / 1.058 GB, free: 500 kB / 0.8263 GB Notification: Performance of matching and sorting (n=1097): time 0.5524/2.149, allocations: 79.53 MB / 1.136 GB, free: 293.1 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007945/2.15, allocations: 2.104 MB / 1.138 GB, free: 290.5 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01486/2.165, allocations: 8.469 MB / 1.146 GB, free: 282.9 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 0.00235/2.167, allocations: 125.7 kB / 1.146 GB, free: 282.8 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.00287/2.17, allocations: 4.285 MB / 1.15 GB, free: 278.9 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.004352/2.174, allocations: 3.803 MB / 1.154 GB, free: 275.7 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003826/2.178, allocations: 2.484 MB / 1.156 GB, free: 273.2 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 5.574e-05/2.178, allocations: 301.1 kB / 1.157 GB, free: 272.9 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008709/2.187, allocations: 5.854 MB / 1.162 GB, free: 267 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01172/2.198, allocations: 9.354 MB / 1.172 GB, free: 256.3 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3153/2.514, allocations: 59.11 MB / 1.229 GB, free: 196.5 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001378/2.514, allocations: 28 kB / 1.229 GB, free: 196.4 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1595) (initialization): time 0.04535/2.559, allocations: 17.21 MB / 1.246 GB, free: 179.1 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001432/2.559, allocations: 48 kB / 1.246 GB, free: 179.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03242/2.592, allocations: 13.46 MB / 1.259 GB, free: 165.5 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04864/2.64, allocations: 4.672 MB / 1.264 GB, free: 160.9 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01488/2.655, allocations: 3.177 MB / 1.267 GB, free: 157.7 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01431/2.67, allocations: 14.14 MB / 1.281 GB, free: 142.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0119/2.682, allocations: 0.5563 MB / 1.281 GB, free: 142.3 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003467/2.685, allocations: 0.726 MB / 1.282 GB, free: 141.5 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.02015/2.705, allocations: 8.23 MB / 1.29 GB, free: 133.3 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01613/2.721, allocations: 9.28 MB / 1.299 GB, free: 122.5 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3168/3.038, allocations: 58.8 MB / 1.357 GB, free: 62.27 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001354/3.038, allocations: 31.94 kB / 1.357 GB, free: 62.24 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1595) (initialization_lambda0): time 0.04426/3.082, allocations: 17.02 MB / 1.373 GB, free: 45.11 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001316/3.083, allocations: 48.62 kB / 1.373 GB, free: 45.06 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03228/3.115, allocations: 13.26 MB / 1.386 GB, free: 31.7 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04866/3.164, allocations: 4.549 MB / 1.391 GB, free: 27.16 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01187/3.175, allocations: 3.097 MB / 1.394 GB, free: 24.05 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01159/3.187, allocations: 13.29 MB / 1.407 GB, free: 9.965 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.3586/3.546, allocations: 0.5606 MB / 1.407 GB, free: 317.8 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004872/3.55, allocations: 0.7151 MB / 1.408 GB, free: 317.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: 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.005845/3.556, allocations: 0.8976 MB / 1.409 GB, free: 317.6 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004592/3.561, allocations: 1.033 MB / 1.41 GB, free: 317.6 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.02959/3.59, allocations: 13.58 MB / 1.423 GB, free: 316.9 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 796] [Calling sys.exit(0), Time elapsed: 7.897999014006928] Failed to read output from testmodel.py, exit status != 0: 3.7866999679245055 3.802979802 2.580492021 Calling exit ...