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.008322/0.008322, allocations: 1.781 MB / 22.36 MB, free: 2.113 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.0007656/0.0007656, allocations: 81.81 kB / 26.19 MB, free: 6.219 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.0008608/0.0008608, allocations: 174.9 kB / 30.13 MB, free: 2.324 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.9221/0.9221, allocations: 177.2 MB / 211.1 MB, free: 3.426 MB / 186.7 MB " [Timeout remaining time 179] 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 0.5961/0.5961, allocations: 102.5 MB / 370.6 MB, free: 188 kB / 330.7 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 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_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_ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 471.3 MB, free: 18.82 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.944e-05/2.068e-05, allocations: 3.297 kB / 471.3 MB, free: 18.82 MB / 410.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.1261/0.1261, allocations: 86.86 MB / 0.545 GB, free: 0.6172 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03859/0.1647, allocations: 31.78 MB / 0.5761 GB, free: 0.75 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006946/0.1716, allocations: 214.4 kB / 0.5763 GB, free: 0.5391 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.007649/0.1793, allocations: 4.301 MB / 0.5805 GB, free: 12.21 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.01312/0.1924, allocations: 7.539 MB / 0.5878 GB, free: 4.633 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.01174/0.2041, allocations: 7.092 MB / 0.5948 GB, free: 13.53 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.02368/0.2278, allocations: 21.04 MB / 0.6153 GB, free: 8.426 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008641/0.2365, allocations: 6.258 MB / 0.6214 GB, free: 2.082 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.335/0.5715, allocations: 56.56 MB / 0.6767 GB, free: 28.37 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009976/0.5815, allocations: 7.612 MB / 0.6841 GB, free: 28.36 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.003467/0.5849, allocations: 1.261 MB / 0.6853 GB, free: 28.36 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00716/0.5921, allocations: 3.248 MB / 0.6885 GB, free: 28.36 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.004405/0.5965, allocations: 4.507 MB / 0.6929 GB, free: 28.36 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.008741/0.6052, allocations: 4.173 MB / 0.697 GB, free: 28.36 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01692/0.6221, allocations: 12.62 MB / 0.7093 GB, free: 27.25 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.6221, allocations: 0 / 0.7093 GB, free: 27.25 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.074e-06/0.6221, allocations: 2.656 kB / 0.7093 GB, free: 27.25 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0003383/0.6225, allocations: 0 / 0.7093 GB, free: 27.25 MB / 0.5418 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.01757/0.6401, allocations: 15.24 MB / 0.7242 GB, free: 21.31 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.6401, allocations: 12.58 kB / 0.7242 GB, free: 21.31 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002792/0.6429, allocations: 1.852 MB / 0.726 GB, free: 20.55 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007485/0.6504, allocations: 6.832 MB / 0.7327 GB, free: 17.92 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002363/0.6506, allocations: 474.3 kB / 0.7331 GB, free: 17.9 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007413/0.6513, allocations: 0.643 MB / 0.7338 GB, free: 17.89 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01357/0.6649, allocations: 14.56 MB / 0.748 GB, free: 5.934 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001149/0.665, allocations: 61.72 kB / 0.748 GB, free: 5.934 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005956/0.6656, allocations: 304.6 kB / 0.7483 GB, free: 5.75 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004304/0.666, allocations: 0.7153 MB / 0.749 GB, free: 5.539 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01015/0.6762, allocations: 6.026 MB / 0.7549 GB, free: 3.652 MB / 0.5418 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.04969/0.7259, allocations: 71.57 MB / 0.8248 GB, free: 15.01 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01285/0.7387, allocations: 6.736 MB / 0.8314 GB, free: 8.078 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002749/0.7415, allocations: 1.634 MB / 0.833 GB, free: 6.352 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008072/0.7423, allocations: 410.6 kB / 0.8334 GB, free: 5.953 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009052/0.7513, allocations: 5.452 MB / 0.8387 GB, free: 0.5469 MB / 0.6199 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003465/0.7548, allocations: 1.179 MB / 0.8399 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1095): time 9.798e-06/0.7548, allocations: 0 / 0.8399 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1097): time 0.04806/0.8029, allocations: 18.36 MB / 0.8578 GB, free: 13.13 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006997/0.8036, allocations: 2.592 MB / 0.8603 GB, free: 9.941 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007099/0.8107, allocations: 7.121 MB / 0.8673 GB, free: 4.02 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.001374/0.8121, allocations: 125.7 kB / 0.8674 GB, free: 3.891 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.002998/0.8151, allocations: 4.576 MB / 0.8719 GB, free: 15.61 MB / 0.6668 GB Notification: Performance of collectInitialBindings (initialization): time 0.003326/0.8184, allocations: 3.879 MB / 0.8756 GB, free: 11.96 MB / 0.6668 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002952/0.8213, allocations: 2.677 MB / 0.8783 GB, free: 9.512 MB / 0.6668 GB Notification: Performance of setup shared object (initialization): time 9.426e-05/0.8214, allocations: 487.4 kB / 0.8787 GB, free: 9.035 MB / 0.6668 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003172/0.8246, allocations: 2.055 MB / 0.8807 GB, free: 6.957 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2177/1.042, allocations: 8.838 MB / 0.8894 GB, free: 167.1 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01451/1.057, allocations: 11.63 MB / 0.9007 GB, free: 161.5 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-05/1.057, allocations: 31.78 kB / 0.9007 GB, free: 161.5 MB / 0.6668 GB Notification: Performance of matching and sorting (n=1595) (initialization): time 0.01445/1.071, allocations: 9.828 MB / 0.9103 GB, free: 161.1 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 4.541e-05/1.071, allocations: 46.81 kB / 0.9104 GB, free: 161.1 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01041/1.082, allocations: 6.292 MB / 0.9165 GB, free: 160.7 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02409/1.106, allocations: 4.317 MB / 0.9207 GB, free: 160.6 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006668/1.112, allocations: 3.072 MB / 0.9237 GB, free: 160.6 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005536/1.118, allocations: 15.68 MB / 0.9391 GB, free: 146.2 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004878/1.123, allocations: 460.5 kB / 0.9395 GB, free: 146.2 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008174/1.124, allocations: 0.6314 MB / 0.9401 GB, free: 146.2 MB / 0.6668 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.005332/1.129, allocations: 2.295 MB / 0.9424 GB, free: 146 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005298/1.134, allocations: 8.814 MB / 0.951 GB, free: 137.9 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01159/1.146, allocations: 11.56 MB / 0.9623 GB, free: 132.3 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.806e-05/1.146, allocations: 28.28 kB / 0.9623 GB, free: 132.3 MB / 0.6668 GB Notification: Performance of matching and sorting (n=1595) (initialization_lambda0): time 0.01424/1.16, allocations: 9.788 MB / 0.9718 GB, free: 131.9 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 4.203e-05/1.16, allocations: 49.78 kB / 0.9719 GB, free: 131.9 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009231/1.17, allocations: 6.227 MB / 0.978 GB, free: 130.9 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02334/1.193, allocations: 4.268 MB / 0.9821 GB, free: 128.1 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007019/1.2, allocations: 2.988 MB / 0.9851 GB, free: 125.9 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0048/1.205, allocations: 12.98 MB / 0.9977 GB, free: 113.2 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006018/1.211, allocations: 467.4 kB / 0.9982 GB, free: 113 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009809/1.212, allocations: 0.6153 MB / 0.9988 GB, free: 112.4 MB / 0.6668 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.002569/1.214, allocations: 1.002 MB / 0.9998 GB, free: 112 MB / 0.6668 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002116/1.216, allocations: 1.183 MB / 1.001 GB, free: 111 MB / 0.6668 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 1632 equation(s) and 1563 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) = ($cse577, $cse578, $cse579, $cse580, $cse581, $cse582, $cse583, $cse584, $cse585, $cse586) has size 9 but 5 variables ($cse291, $cse292, $cse293, $cse295, hex.shell.m_flow_cond) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0114/1.228, allocations: 10.74 MB / 1.011 GB, free: 102.8 MB / 0.6668 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.8118851450271904]