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.01357/0.01357, allocations: 1.745 MB / 21.38 MB, free: 480 kB / 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.001584/0.001584, allocations: 96.42 kB / 24.96 MB, free: 2.059 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.002015/0.002015, allocations: 210.5 kB / 28.68 MB, free: 3.348 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.521/1.521, allocations: 230.6 MB / 262.9 MB, free: 5.844 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.134/1.134, allocations: 130.7 MB / 450.4 MB, free: 6.418 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.06648/0.06648, allocations: 20.6 MB / 0.6362 GB, free: 5.109 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.2532, allocations: 81.9 MB / 0.7162 GB, free: 3.109 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.5616/0.8148, allocations: 66.51 MB / 0.7812 GB, free: 7.016 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.06323/0.8781, allocations: 31.2 MB / 0.8117 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01411/0.8922, allocations: 215.3 kB / 0.8119 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01472/0.9069, allocations: 4.305 MB / 0.8161 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.02693/0.9338, allocations: 7.328 MB / 0.8232 GB, free: 5.352 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01942/0.9532, allocations: 7.027 MB / 0.8301 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0371/0.9903, allocations: 20.61 MB / 0.8502 GB, free: 9.734 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01125/1.002, allocations: 5.617 MB / 0.8557 GB, free: 4.035 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01824/1.02, allocations: 8.137 MB / 0.8636 GB, free: 11.88 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01979/1.04, allocations: 8.717 MB / 0.8722 GB, free: 3.129 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.00815/1.048, allocations: 1.307 MB / 0.8734 GB, free: 1.824 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01353/1.061, allocations: 3.307 MB / 0.8767 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.01004/1.071, allocations: 4.439 MB / 0.881 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.01876/1.09, allocations: 5.097 MB / 0.886 GB, free: 4.945 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.04118/1.131, allocations: 20.37 MB / 0.9059 GB, free: 0.5039 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/1.131, allocations: 0 / 0.9059 GB, free: 0.5039 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.815e-06/1.131, allocations: 4 kB / 0.9059 GB, free: 0.5 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0007888/1.132, allocations: 2.656 kB / 0.9059 GB, free: 0.5 MB / 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.0504/1.182, allocations: 14.59 MB / 0.9201 GB, free: 1.848 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 5.855e-05/1.183, allocations: 12.03 kB / 0.9201 GB, free: 1.836 MB / 0.6857 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000296/1.183, allocations: 180.1 kB / 0.9203 GB, free: 1.656 MB / 0.6857 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004993/1.188, allocations: 1.091 MB / 0.9214 GB, free: 0.5547 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008622/1.196, allocations: 1.52 MB / 0.9229 GB, free: 15.03 MB / 0.7013 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02422/1.221, allocations: 8.639 MB / 0.9313 GB, free: 6.324 MB / 0.7013 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007353/1.221, allocations: 474.6 kB / 0.9317 GB, free: 5.859 MB / 0.7013 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003268/1.225, allocations: 0.604 MB / 0.9323 GB, free: 5.258 MB / 0.7013 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04968/1.274, allocations: 18.79 MB / 0.9507 GB, free: 300 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002056/1.275, allocations: 66.03 kB / 0.9508 GB, free: 236 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001536/1.276, allocations: 307.9 kB / 0.951 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009815/1.277, allocations: 0.7245 MB / 0.9518 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0403/1.317, allocations: 13.42 MB / 0.9649 GB, free: 1.781 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.1071/1.425, allocations: 59.56 MB / 1.023 GB, free: 4.625 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03359/1.458, allocations: 11.22 MB / 1.034 GB, free: 9.203 MB / 0.8107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0108/1.469, allocations: 4.31 MB / 1.038 GB, free: 4.816 MB / 0.8107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002052/1.471, allocations: 395.3 kB / 1.039 GB, free: 4.43 MB / 0.8107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02566/1.497, allocations: 8.606 MB / 1.047 GB, free: 11.54 MB / 0.8263 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005576/1.502, allocations: 1.156 MB / 1.048 GB, free: 10.38 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=1095): time 2.823e-05/1.502, allocations: 0 / 1.048 GB, free: 10.38 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1097): time 0.4531/1.955, allocations: 79.52 MB / 1.126 GB, free: 301.3 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004102/1.956, allocations: 2.113 MB / 1.128 GB, free: 298.7 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01247/1.968, allocations: 8.468 MB / 1.136 GB, free: 291.7 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 0.002611/1.971, allocations: 131.5 kB / 1.136 GB, free: 291.6 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.002784/1.974, allocations: 4.284 MB / 1.14 GB, free: 288.1 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.004846/1.978, allocations: 3.789 MB / 1.144 GB, free: 285.2 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005429/1.984, allocations: 2.497 MB / 1.147 GB, free: 282.9 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 4.234e-05/1.984, allocations: 301.1 kB / 1.147 GB, free: 282.6 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008849/1.993, allocations: 5.85 MB / 1.153 GB, free: 276.7 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01265/2.005, allocations: 10.47 MB / 1.163 GB, free: 264.4 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3211/2.326, allocations: 59.13 MB / 1.22 GB, free: 204.6 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001242/2.327, allocations: 34.62 kB / 1.221 GB, free: 204.6 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1595) (initialization): time 0.0379/2.364, allocations: 17.2 MB / 1.237 GB, free: 187.2 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001386/2.365, allocations: 48.62 kB / 1.237 GB, free: 187.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0293/2.394, allocations: 13.45 MB / 1.251 GB, free: 173.7 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0488/2.443, allocations: 4.669 MB / 1.255 GB, free: 169 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01307/2.456, allocations: 3.177 MB / 1.258 GB, free: 165.8 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01187/2.468, allocations: 14.07 MB / 1.272 GB, free: 151 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01108/2.479, allocations: 0.5554 MB / 1.272 GB, free: 150.5 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003226/2.482, allocations: 0.726 MB / 1.273 GB, free: 149.7 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.01778/2.5, allocations: 8.232 MB / 1.281 GB, free: 141.5 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01356/2.513, allocations: 10.38 MB / 1.291 GB, free: 129.3 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3201/2.833, allocations: 58.83 MB / 1.349 GB, free: 69.06 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.000159/2.834, allocations: 29.2 kB / 1.349 GB, free: 69.03 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1595) (initialization_lambda0): time 0.04205/2.876, allocations: 17.02 MB / 1.365 GB, free: 51.91 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001474/2.876, allocations: 48.97 kB / 1.365 GB, free: 51.86 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03221/2.908, allocations: 13.26 MB / 1.378 GB, free: 38.5 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04782/2.956, allocations: 4.551 MB / 1.383 GB, free: 33.95 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01227/2.968, allocations: 3.107 MB / 1.386 GB, free: 30.84 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01136/2.979, allocations: 13.23 MB / 1.399 GB, free: 16.82 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01131/2.991, allocations: 0.5633 MB / 1.399 GB, free: 16.25 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003162/2.994, allocations: 0.7144 MB / 1.4 GB, free: 15.54 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.006133/3, allocations: 0.8955 MB / 1.401 GB, free: 14.7 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006161/3.006, allocations: 1.039 MB / 1.402 GB, free: 13.66 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.4234/3.43, allocations: 13.58 MB / 1.415 GB, free: 325 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 796] [Calling sys.exit(0), Time elapsed: 7.550054208026268] Failed to read output from testmodel.py, exit status != 0: 3.6059541860595345 3.62007245 2.483766776 Calling exit ...