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.01331/0.01331, allocations: 1.754 MB / 20.61 MB, free: 1.004 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: 102.5 kB / 24.18 MB, free: 2.438 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.001708/0.001708, allocations: 213.5 kB / 27.9 MB, free: 3.742 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.554/1.554, allocations: 230.6 MB / 262.1 MB, free: 5.828 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.106/1.106, allocations: 130.7 MB / 449.7 MB, free: 6.398 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.07165/0.07165, allocations: 20.99 MB / 0.6359 GB, free: 4.691 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.2577, allocations: 81.91 MB / 0.7159 GB, free: 2.68 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.6008/0.8585, allocations: 66.55 MB / 0.7808 GB, free: 6.531 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.06545/0.9239, allocations: 31.22 MB / 0.8113 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0166/0.9405, allocations: 215.2 kB / 0.8115 GB, free: 15 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01382/0.9543, allocations: 4.27 MB / 0.8157 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.02394/0.9783, allocations: 7.3 MB / 0.8228 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.02014/0.9984, allocations: 7.002 MB / 0.8297 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.03448/1.033, allocations: 20.59 MB / 0.8498 GB, free: 9.145 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0127/1.046, allocations: 5.924 MB / 0.8556 GB, free: 3.137 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01947/1.065, allocations: 8.122 MB / 0.8635 GB, free: 10.99 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01818/1.083, allocations: 8.399 MB / 0.8717 GB, free: 2.562 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.006374/1.09, allocations: 1.305 MB / 0.873 GB, free: 1.258 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01371/1.103, allocations: 3.252 MB / 0.8762 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.009242/1.113, allocations: 4.432 MB / 0.8805 GB, free: 9.566 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.01485/1.127, allocations: 5.101 MB / 0.8855 GB, free: 4.441 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.04373/1.171, allocations: 20.35 MB / 0.9053 GB, free: 20 kB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 9.158e-06/1.171, allocations: 0 / 0.9053 GB, free: 20 kB / 0.67 GB Notification: Performance of FrontEnd: time 3.006e-06/1.171, allocations: 0 / 0.9053 GB, free: 20 kB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0008467/1.172, allocations: 0 / 0.9053 GB, free: 20 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.05387/1.226, allocations: 14.59 MB / 0.9196 GB, free: 1.367 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 6.371e-05/1.226, allocations: 12.03 kB / 0.9196 GB, free: 1.355 MB / 0.6857 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004678/1.231, allocations: 1.083 MB / 0.9207 GB, free: 268 kB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008205/1.239, allocations: 1.52 MB / 0.9221 GB, free: 14.74 MB / 0.7013 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02534/1.264, allocations: 8.658 MB / 0.9306 GB, free: 6.02 MB / 0.7013 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008676/1.265, allocations: 468 kB / 0.931 GB, free: 5.559 MB / 0.7013 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003622/1.269, allocations: 0.6052 MB / 0.9316 GB, free: 4.953 MB / 0.7013 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04891/1.318, allocations: 18.79 MB / 0.95 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000439/1.318, allocations: 63.38 kB / 0.95 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00343/1.321, allocations: 311.8 kB / 0.9503 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001425/1.323, allocations: 0.7128 MB / 0.951 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04021/1.363, allocations: 13.38 MB / 0.9641 GB, free: 1.531 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.1095/1.473, allocations: 59.56 MB / 1.022 GB, free: 4.363 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03361/1.506, allocations: 11.21 MB / 1.033 GB, free: 8.945 MB / 0.8107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01128/1.517, allocations: 4.311 MB / 1.037 GB, free: 4.551 MB / 0.8107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001903/1.519, allocations: 386 kB / 1.038 GB, free: 4.176 MB / 0.8107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02579/1.545, allocations: 8.613 MB / 1.046 GB, free: 11.29 MB / 0.8263 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006716/1.552, allocations: 1.148 MB / 1.047 GB, free: 10.14 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=1095): time 4.76e-05/1.552, allocations: 0 / 1.047 GB, free: 10.14 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1097): time 0.5046/2.057, allocations: 79.54 MB / 1.125 GB, free: 303.4 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004562/2.057, allocations: 2.1 MB / 1.127 GB, free: 300.8 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01378/2.071, allocations: 8.636 MB / 1.135 GB, free: 293.7 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 0.002611/2.073, allocations: 129.3 kB / 1.136 GB, free: 293.6 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.003561/2.077, allocations: 4.284 MB / 1.14 GB, free: 289.8 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.005503/2.082, allocations: 3.793 MB / 1.143 GB, free: 286.4 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008217/2.091, allocations: 2.491 MB / 1.146 GB, free: 284.4 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 8.348e-05/2.091, allocations: 305.1 kB / 1.146 GB, free: 284.1 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01066/2.101, allocations: 5.855 MB / 1.152 GB, free: 278.2 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01497/2.116, allocations: 10.47 MB / 1.162 GB, free: 266 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.308/2.424, allocations: 59.13 MB / 1.22 GB, free: 206.1 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.999e-05/2.424, allocations: 28 kB / 1.22 GB, free: 206.1 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1595) (initialization): time 0.0343/2.459, allocations: 17.2 MB / 1.237 GB, free: 188.8 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 8.026e-05/2.459, allocations: 44.78 kB / 1.237 GB, free: 188.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03662/2.495, allocations: 13.46 MB / 1.25 GB, free: 175.2 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04391/2.539, allocations: 4.667 MB / 1.254 GB, free: 170.5 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01336/2.553, allocations: 3.184 MB / 1.258 GB, free: 167.3 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01274/2.565, allocations: 14.07 MB / 1.271 GB, free: 152.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0133/2.579, allocations: 0.5607 MB / 1.272 GB, free: 152 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00356/2.582, allocations: 0.7222 MB / 1.273 GB, free: 151.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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02396/2.606, allocations: 8.231 MB / 1.281 GB, free: 143 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01751/2.624, allocations: 10.39 MB / 1.291 GB, free: 130.8 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3062/2.93, allocations: 58.82 MB / 1.348 GB, free: 70.59 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.057e-05/2.93, allocations: 28 kB / 1.348 GB, free: 70.57 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1595) (initialization_lambda0): time 0.03815/2.968, allocations: 17.02 MB / 1.365 GB, free: 53.44 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 6.843e-05/2.968, allocations: 48 kB / 1.365 GB, free: 53.39 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02794/2.996, allocations: 13.26 MB / 1.378 GB, free: 40.04 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04369/3.04, allocations: 4.552 MB / 1.382 GB, free: 35.49 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01189/3.052, allocations: 3.1 MB / 1.385 GB, free: 32.38 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01091/3.063, allocations: 13.23 MB / 1.398 GB, free: 18.36 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01061/3.073, allocations: 0.5607 MB / 1.399 GB, free: 17.8 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002876/3.076, allocations: 0.7144 MB / 1.399 GB, free: 17.08 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.004197/3.08, allocations: 0.9091 MB / 1.4 GB, free: 16.17 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003285/3.084, allocations: 1.028 MB / 1.401 GB, free: 15.13 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.413/3.497, allocations: 13.63 MB / 1.415 GB, free: 325.4 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 796] [Calling sys.exit(0), Time elapsed: 7.579858114942908] Failed to read output from testmodel.py, exit status != 0: 3.6675609359517694 3.677282604 2.503337666 Calling exit ...