Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.008416/0.008416, allocations: 1.795 MB / 21.89 MB, free: 2.633 MB / 18.57 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.0008113/0.0008113, allocations: 85.09 kB / 25.61 MB, free: 6.957 MB / 18.57 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.0008645/0.0008645, allocations: 167.9 kB / 29.46 MB, free: 3.16 MB / 18.57 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 0.9437/0.9437, allocations: 177.1 MB / 210.3 MB, free: 1.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 0.7654/0.7654, allocations: 102.4 MB / 369.8 MB, free: 0.8984 MB / 330.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="PI.I.y|PI.resetValueI|PI.resetValueID|PI.resetValueP|PI.smoothPIDInput.y_aux|PI.smoothPIDOutput.y_aux|PI.smoothPIDOutput1.y_aux|Time|headerIn.pipeFlow.h.[0-9,]+.|headerIn.pipeFlow.p.[0-9,]+.|headerIn.pipeWall.U.[0-9,]+.|headerOut.pipeFlow.h.[0-9,]+.|headerOut.pipeWall.U.[0-9,]+.|hex.shell.h_liq|hex.shell.h_vap|hex.shell.p_vap|hex.shell.volume_vap|hex.tubes.h|hex.wall.U.[0-9,]+.",fileNamePrefix="ClaRa_dev_ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers") translateModel(ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="PI.I.y|PI.resetValueI|PI.resetValueID|PI.resetValueP|PI.smoothPIDInput.y_aux|PI.smoothPIDOutput.y_aux|PI.smoothPIDOutput1.y_aux|Time|headerIn.pipeFlow.h.[0-9,]+.|headerIn.pipeFlow.p.[0-9,]+.|headerIn.pipeWall.U.[0-9,]+.|headerOut.pipeFlow.h.[0-9,]+.|headerOut.pipeWall.U.[0-9,]+.|hex.shell.h_liq|hex.shell.h_vap|hex.shell.p_vap|hex.shell.volume_vap|hex.tubes.h|hex.wall.U.[0-9,]+.",fileNamePrefix="ClaRa_dev_ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 469.9 MB, free: 12.92 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.633e-05/3.844e-05, allocations: 2.312 kB / 469.9 MB, free: 12.91 MB / 442.8 MB 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.3475/0.3476, allocations: 87.99 MB / 0.5448 GB, free: 61.21 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.04366/0.3912, allocations: 31.87 MB / 0.5759 GB, free: 39.25 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009314/0.4005, allocations: 214.4 kB / 0.5761 GB, free: 39.16 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.01007/0.4106, allocations: 4.309 MB / 0.5803 GB, free: 37.14 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01641/0.427, allocations: 7.505 MB / 0.5877 GB, free: 31.23 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01342/0.4404, allocations: 7.073 MB / 0.5946 GB, free: 25.73 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.02097/0.4614, allocations: 21.08 MB / 0.6152 GB, free: 5.715 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008374/0.4698, allocations: 6.259 MB / 0.6213 GB, free: 15.37 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01947/0.4892, allocations: 11.02 MB / 0.632 GB, free: 4.324 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01259/0.5018, allocations: 7.672 MB / 0.6395 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.004116/0.506, allocations: 1.305 MB / 0.6408 GB, free: 11.33 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008951/0.5149, allocations: 3.297 MB / 0.644 GB, free: 8.035 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.005151/0.5201, allocations: 4.631 MB / 0.6485 GB, free: 3.391 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.009639/0.5297, allocations: 4.252 MB / 0.6527 GB, free: 15.12 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.02498/0.5547, allocations: 12.69 MB / 0.6651 GB, free: 2.402 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.5547, allocations: 0 / 0.6651 GB, free: 2.402 MB / 0.5262 GB Notification: Performance of FrontEnd: time 2.264e-06/0.5547, allocations: 0 / 0.6651 GB, free: 2.402 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.0009462/0.5556, allocations: 3.938 kB / 0.6651 GB, free: 2.398 MB / 0.5262 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.03226/0.5879, allocations: 15.45 MB / 0.6802 GB, free: 2.867 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 6.635e-05/0.588, allocations: 8.031 kB / 0.6802 GB, free: 2.859 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004361/0.5923, allocations: 1.996 MB / 0.6821 GB, free: 0.8594 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01192/0.6042, allocations: 8.04 MB / 0.69 GB, free: 8.762 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002883/0.6045, allocations: 468.1 kB / 0.6904 GB, free: 8.301 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009392/0.6055, allocations: 0.6365 MB / 0.6911 GB, free: 7.664 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01893/0.6244, allocations: 15.11 MB / 0.7058 GB, free: 5.82 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001348/0.6245, allocations: 64.17 kB / 0.7059 GB, free: 5.758 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006059/0.6251, allocations: 307.9 kB / 0.7062 GB, free: 5.457 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005671/0.6257, allocations: 0.7168 MB / 0.7069 GB, free: 4.738 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01399/0.6397, allocations: 6.803 MB / 0.7135 GB, free: 13.96 MB / 0.5887 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.2812/0.9209, allocations: 71.58 MB / 0.7834 GB, free: 131 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01508/0.936, allocations: 7.242 MB / 0.7905 GB, free: 129.8 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003895/0.9399, allocations: 1.892 MB / 0.7923 GB, free: 129.5 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008955/0.9408, allocations: 423.1 kB / 0.7927 GB, free: 129.4 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01175/0.9526, allocations: 5.729 MB / 0.7983 GB, free: 128.6 MB / 0.6043 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003451/0.956, allocations: 1.106 MB / 0.7994 GB, free: 128.6 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=1095): time 2.695e-05/0.956, allocations: 0 / 0.7994 GB, free: 128.6 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1097): time 0.07398/1.03, allocations: 65.85 MB / 0.8637 GB, free: 81.12 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003434/1.03, allocations: 2.103 MB / 0.8658 GB, free: 78.54 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007589/1.038, allocations: 7.319 MB / 0.8729 GB, free: 72.56 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.001391/1.039, allocations: 123.9 kB / 0.873 GB, free: 72.44 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.002126/1.041, allocations: 4.522 MB / 0.8775 GB, free: 68.71 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.002659/1.044, allocations: 3.853 MB / 0.8812 GB, free: 65.29 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00228/1.046, allocations: 2.602 MB / 0.8838 GB, free: 62.66 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 3.489e-05/1.046, allocations: 476.8 kB / 0.8842 GB, free: 62.2 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003444/1.05, allocations: 2.28 MB / 0.8864 GB, free: 59.9 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004955/1.055, allocations: 8.34 MB / 0.8946 GB, free: 49.25 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01252/1.067, allocations: 12.18 MB / 0.9065 GB, free: 35.27 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.731e-05/1.067, allocations: 28 kB / 0.9065 GB, free: 35.24 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1595) (initialization): time 0.015/1.082, allocations: 10.38 MB / 0.9166 GB, free: 24.83 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 4.534e-05/1.082, allocations: 50.66 kB / 0.9167 GB, free: 24.79 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009763/1.092, allocations: 6.761 MB / 0.9233 GB, free: 17.94 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02437/1.117, allocations: 4.467 MB / 0.9277 GB, free: 13.64 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007063/1.124, allocations: 3.116 MB / 0.9307 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006533/1.13, allocations: 15.85 MB / 0.9462 GB, free: 9.887 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007321/1.137, allocations: 0.508 MB / 0.9467 GB, free: 9.383 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009682/1.138, allocations: 0.7209 MB / 0.9474 GB, free: 8.664 MB / 0.6199 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.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.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.006342/1.145, allocations: 2.512 MB / 0.9498 GB, free: 6.148 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006793/1.152, allocations: 8.311 MB / 0.9579 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01507/1.167, allocations: 12.11 MB / 0.9698 GB, free: 13.54 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.014e-05/1.167, allocations: 31.28 kB / 0.9698 GB, free: 13.51 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1595) (initialization_lambda0): time 0.01756/1.184, allocations: 10.34 MB / 0.9799 GB, free: 3.141 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 4.588e-05/1.184, allocations: 50.66 kB / 0.9799 GB, free: 3.094 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2241/1.408, allocations: 6.686 MB / 0.9865 GB, free: 210.1 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03248/1.441, allocations: 4.376 MB / 0.9907 GB, free: 210.1 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007363/1.448, allocations: 3.046 MB / 0.9937 GB, free: 210 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005808/1.454, allocations: 14.73 MB / 1.008 GB, free: 196.3 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005947/1.46, allocations: 0.5136 MB / 1.009 GB, free: 196.3 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001311/1.461, allocations: 0.7113 MB / 1.009 GB, free: 196.3 MB / 0.6512 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.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.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.002624/1.464, allocations: 0.9947 MB / 1.01 GB, free: 195.9 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002649/1.467, allocations: 1.189 MB / 1.011 GB, free: 195.9 MB / 0.6512 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.0173/1.484, allocations: 11.05 MB / 1.022 GB, free: 195 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.074399394914508]