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.008321/0.008321, allocations: 1.794 MB / 21.35 MB, free: 3.191 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.000818/0.000818, allocations: 89.59 kB / 25.15 MB, free: 6.316 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.0008418/0.0008418, allocations: 163.5 kB / 29.05 MB, free: 3.352 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.934/0.934, allocations: 177.1 MB / 210 MB, free: 3.605 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.6466/0.6466, allocations: 102.5 MB / 369.5 MB, free: 408 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.573e-06/1.573e-06, allocations: 0 / 470 MB, free: 18.94 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.246e-05/2.404e-05, allocations: 4.297 kB / 470 MB, free: 18.93 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.1747/0.1747, allocations: 88.21 MB / 0.5451 GB, free: 15.64 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.04228/0.217, allocations: 31.92 MB / 0.5763 GB, free: 15.62 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01035/0.2274, allocations: 214.4 kB / 0.5765 GB, free: 15.41 MB / 0.4949 GB Notification: Performance of NFTyping.typeComponents: time 0.009541/0.2369, allocations: 4.297 MB / 0.5807 GB, free: 11.09 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.01592/0.2528, allocations: 7.52 MB / 0.588 GB, free: 3.535 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.01317/0.266, allocations: 7.073 MB / 0.5949 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.02608/0.2921, allocations: 21.08 MB / 0.6155 GB, free: 7.309 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009235/0.3013, allocations: 6.254 MB / 0.6216 GB, free: 0.9688 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02113/0.3225, allocations: 11.02 MB / 0.6324 GB, free: 5.93 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01386/0.3363, allocations: 7.68 MB / 0.6399 GB, free: 14.23 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.004716/0.341, allocations: 1.305 MB / 0.6412 GB, free: 12.93 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01051/0.3515, allocations: 3.298 MB / 0.6444 GB, free: 9.625 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.005893/0.3574, allocations: 4.627 MB / 0.6489 GB, free: 4.984 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.006796/0.3642, allocations: 4.259 MB / 0.6531 GB, free: 0.7148 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.3132/0.6775, allocations: 12.68 MB / 0.6654 GB, free: 52.71 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.6775, allocations: 5.688 kB / 0.6654 GB, free: 52.71 MB / 0.5574 GB Notification: Performance of FrontEnd: time 1.462e-06/0.6775, allocations: 1.859 kB / 0.6654 GB, free: 52.71 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 0.0006098/0.6781, allocations: 0 / 0.6654 GB, free: 52.71 MB / 0.5574 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.02307/0.7011, allocations: 15.44 MB / 0.6805 GB, free: 47.38 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.7012, allocations: 8.625 kB / 0.6805 GB, free: 47.38 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003676/0.7049, allocations: 1.996 MB / 0.6825 GB, free: 46.67 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01098/0.7158, allocations: 8.052 MB / 0.6903 GB, free: 45.02 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003589/0.7162, allocations: 472.2 kB / 0.6908 GB, free: 45.01 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008722/0.7171, allocations: 0.6422 MB / 0.6914 GB, free: 45 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01912/0.7362, allocations: 15.11 MB / 0.7062 GB, free: 35.75 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002557/0.7365, allocations: 60.81 kB / 0.7062 GB, free: 35.75 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006716/0.7371, allocations: 301 kB / 0.7065 GB, free: 35.75 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007841/0.7379, allocations: 0.7188 MB / 0.7072 GB, free: 35.74 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0145/0.7524, allocations: 6.81 MB / 0.7139 GB, free: 35.66 MB / 0.5574 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.05304/0.8054, allocations: 71.56 MB / 0.7838 GB, free: 8.188 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01416/0.8196, allocations: 7.259 MB / 0.7909 GB, free: 4.777 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003394/0.823, allocations: 1.894 MB / 0.7927 GB, free: 3.906 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008356/0.8238, allocations: 417.9 kB / 0.7931 GB, free: 3.77 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01026/0.8341, allocations: 5.725 MB / 0.7987 GB, free: 0.6562 MB / 0.5887 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004913/0.839, allocations: 1.105 MB / 0.7998 GB, free: 15.85 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=1095): time 3.944e-05/0.839, allocations: 0 / 0.7998 GB, free: 15.85 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1097): time 0.078/0.917, allocations: 65.85 MB / 0.8641 GB, free: 6.16 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000605/0.9176, allocations: 2.103 MB / 0.8661 GB, free: 3.574 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008251/0.9259, allocations: 7.326 MB / 0.8733 GB, free: 12.27 MB / 0.6668 GB Notification: Performance of collectPreVariables (initialization): time 0.001879/0.9278, allocations: 125.7 kB / 0.8734 GB, free: 12.14 MB / 0.6668 GB Notification: Performance of collectInitialEqns (initialization): time 0.00289/0.9307, allocations: 4.514 MB / 0.8778 GB, free: 7.637 MB / 0.6668 GB Notification: Performance of collectInitialBindings (initialization): time 0.003734/0.9344, allocations: 3.849 MB / 0.8816 GB, free: 3.844 MB / 0.6668 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002951/0.9374, allocations: 2.601 MB / 0.8841 GB, free: 1.223 MB / 0.6668 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.9375, allocations: 480.8 kB / 0.8846 GB, free: 0.75 MB / 0.6668 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003709/0.9412, allocations: 2.275 MB / 0.8868 GB, free: 14.45 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006369/0.9475, allocations: 8.343 MB / 0.8949 GB, free: 3.812 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2896/1.237, allocations: 12.19 MB / 0.9068 GB, free: 180.2 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.22e-05/1.237, allocations: 27.91 kB / 0.9069 GB, free: 180.2 MB / 0.6824 GB Notification: Performance of matching and sorting (n=1595) (initialization): time 0.01623/1.253, allocations: 10.39 MB / 0.917 GB, free: 179.8 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 5.237e-05/1.253, allocations: 47.31 kB / 0.9171 GB, free: 179.8 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01167/1.265, allocations: 6.753 MB / 0.9237 GB, free: 179.4 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02411/1.289, allocations: 4.475 MB / 0.928 GB, free: 179.3 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007987/1.297, allocations: 3.113 MB / 0.9311 GB, free: 179.3 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006207/1.303, allocations: 15.84 MB / 0.9465 GB, free: 164.7 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006423/1.31, allocations: 0.5091 MB / 0.947 GB, free: 164.7 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00109/1.311, allocations: 0.7179 MB / 0.9477 GB, free: 164.7 MB / 0.6824 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.006103/1.317, allocations: 2.51 MB / 0.9502 GB, free: 164.6 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005313/1.322, allocations: 8.322 MB / 0.9583 GB, free: 157.3 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01344/1.336, allocations: 12.1 MB / 0.9701 GB, free: 151.6 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.675e-05/1.336, allocations: 27.72 kB / 0.9702 GB, free: 151.6 MB / 0.6824 GB Notification: Performance of matching and sorting (n=1595) (initialization_lambda0): time 0.01598/1.352, allocations: 10.34 MB / 0.9803 GB, free: 151.2 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 4.109e-05/1.352, allocations: 48.41 kB / 0.9803 GB, free: 151.2 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01024/1.362, allocations: 6.697 MB / 0.9868 GB, free: 147.1 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02614/1.388, allocations: 4.381 MB / 0.9911 GB, free: 143.1 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009604/1.398, allocations: 3.041 MB / 0.9941 GB, free: 140.3 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006794/1.405, allocations: 14.73 MB / 1.008 GB, free: 125.4 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008145/1.413, allocations: 0.5182 MB / 1.009 GB, free: 125.1 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001459/1.414, allocations: 0.7089 MB / 1.01 GB, free: 124.5 MB / 0.6824 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.003036/1.417, allocations: 0.998 MB / 1.011 GB, free: 124 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002682/1.42, allocations: 1.18 MB / 1.012 GB, free: 123.5 MB / 0.6824 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.01242/1.432, allocations: 11.06 MB / 1.023 GB, free: 115.2 MB / 0.6824 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.149506836663932]