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.008547/0.008547, allocations: 1.791 MB / 21.89 MB, free: 2.637 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.0007675/0.0007675, allocations: 89.34 kB / 25.62 MB, free: 6.512 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.0008674/0.0008674, allocations: 164.9 kB / 29.46 MB, free: 3.027 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.8829/0.8829, allocations: 177.1 MB / 210.3 MB, free: 1.77 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.7146/0.7146, allocations: 102.5 MB / 369.8 MB, free: 0.9023 MB / 330.8 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.734e-06/1.734e-06, allocations: 0 / 469.9 MB, free: 12.94 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.736e-05/2.91e-05, allocations: 6.25 kB / 469.9 MB, free: 12.93 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.3479/0.3479, allocations: 87.99 MB / 0.5448 GB, free: 61.18 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.03544/0.3833, allocations: 31.86 MB / 0.5759 GB, free: 39.23 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006628/0.3899, allocations: 218.8 kB / 0.5761 GB, free: 39.13 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.006906/0.3969, allocations: 4.304 MB / 0.5804 GB, free: 37.12 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0114/0.4083, allocations: 7.507 MB / 0.5877 GB, free: 31.17 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.009795/0.4181, allocations: 7.083 MB / 0.5946 GB, free: 25.67 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01453/0.4326, allocations: 21.07 MB / 0.6152 GB, free: 5.75 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005926/0.4385, allocations: 6.262 MB / 0.6213 GB, free: 15.41 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0117/0.4502, allocations: 11.02 MB / 0.632 GB, free: 4.367 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007988/0.4582, allocations: 7.675 MB / 0.6395 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.00172/0.4599, allocations: 1.309 MB / 0.6408 GB, free: 11.37 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004846/0.4648, allocations: 3.295 MB / 0.644 GB, free: 8.07 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.00295/0.4677, allocations: 4.634 MB / 0.6486 GB, free: 3.426 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.003664/0.4714, allocations: 4.244 MB / 0.6527 GB, free: 15.17 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.01244/0.4838, allocations: 12.7 MB / 0.6651 GB, free: 2.434 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4838, allocations: 2.688 kB / 0.6651 GB, free: 2.434 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4838, allocations: 0 / 0.6651 GB, free: 2.434 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.0001763/0.484, allocations: 0 / 0.6651 GB, free: 2.434 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.01615/0.5001, allocations: 15.44 MB / 0.6802 GB, free: 2.91 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.5002, allocations: 14.69 kB / 0.6802 GB, free: 2.898 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002967/0.5031, allocations: 1.998 MB / 0.6822 GB, free: 0.8945 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008596/0.5117, allocations: 8.044 MB / 0.69 GB, free: 8.797 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002463/0.512, allocations: 472 kB / 0.6905 GB, free: 8.332 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007108/0.5127, allocations: 0.6366 MB / 0.6911 GB, free: 7.695 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01696/0.5297, allocations: 15.1 MB / 0.7058 GB, free: 5.855 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001132/0.5298, allocations: 67.42 kB / 0.7059 GB, free: 5.789 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005515/0.5303, allocations: 300.6 kB / 0.7062 GB, free: 5.496 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005292/0.5308, allocations: 0.7194 MB / 0.7069 GB, free: 4.777 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01331/0.5442, allocations: 6.804 MB / 0.7135 GB, free: 13.99 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.2113/0.7555, allocations: 71.58 MB / 0.7834 GB, free: 130.8 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01333/0.7688, allocations: 7.239 MB / 0.7905 GB, free: 129.7 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002846/0.7717, allocations: 1.896 MB / 0.7923 GB, free: 129.3 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000847/0.7725, allocations: 414.9 kB / 0.7927 GB, free: 129.3 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01112/0.7836, allocations: 5.732 MB / 0.7983 GB, free: 128.4 MB / 0.6043 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002806/0.7864, allocations: 1.103 MB / 0.7994 GB, free: 128.4 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=1095): time 2.216e-05/0.7865, allocations: 3.172 kB / 0.7994 GB, free: 128.4 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1097): time 0.06263/0.8491, allocations: 65.86 MB / 0.8637 GB, free: 81.16 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002163/0.8493, allocations: 2.104 MB / 0.8658 GB, free: 78.59 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006182/0.8555, allocations: 7.32 MB / 0.8729 GB, free: 72.61 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.0007632/0.8563, allocations: 121.7 kB / 0.8731 GB, free: 72.48 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.001938/0.8582, allocations: 4.519 MB / 0.8775 GB, free: 68.75 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.002086/0.8603, allocations: 3.849 MB / 0.8812 GB, free: 65.35 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002327/0.8626, allocations: 2.601 MB / 0.8838 GB, free: 62.73 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 3.04e-05/0.8626, allocations: 476.8 kB / 0.8842 GB, free: 62.26 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003365/0.866, allocations: 2.277 MB / 0.8864 GB, free: 59.96 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004999/0.871, allocations: 8.341 MB / 0.8946 GB, free: 49.32 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01208/0.8831, allocations: 12.19 MB / 0.9065 GB, free: 35.32 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.569e-05/0.8831, allocations: 28 kB / 0.9065 GB, free: 35.3 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1595) (initialization): time 0.01441/0.8975, allocations: 10.38 MB / 0.9167 GB, free: 24.89 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 4.62e-05/0.8976, allocations: 50.7 kB / 0.9167 GB, free: 24.84 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009749/0.9073, allocations: 6.767 MB / 0.9233 GB, free: 17.99 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02537/0.9327, allocations: 4.468 MB / 0.9277 GB, free: 13.69 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006392/0.9391, allocations: 3.12 MB / 0.9307 GB, free: 10.57 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006942/0.946, allocations: 15.84 MB / 0.9462 GB, free: 9.941 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005689/0.9517, allocations: 0.506 MB / 0.9467 GB, free: 9.441 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00128/0.953, allocations: 0.7222 MB / 0.9474 GB, free: 8.719 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.00616/0.9592, allocations: 2.507 MB / 0.9498 GB, free: 6.207 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006617/0.9658, allocations: 8.321 MB / 0.958 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01434/0.9801, allocations: 12.11 MB / 0.9698 GB, free: 13.59 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.101e-05/0.9802, allocations: 28 kB / 0.9698 GB, free: 13.56 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1595) (initialization_lambda0): time 0.01685/0.997, allocations: 10.33 MB / 0.9799 GB, free: 3.199 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 5.105e-05/0.9971, allocations: 53.86 kB / 0.98 GB, free: 3.148 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1885/1.186, allocations: 6.689 MB / 0.9865 GB, free: 210 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02525/1.211, allocations: 4.375 MB / 0.9908 GB, free: 209.9 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0071/1.218, allocations: 3.04 MB / 0.9937 GB, free: 209.9 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005745/1.224, allocations: 14.74 MB / 1.008 GB, free: 196.2 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005651/1.229, allocations: 0.5049 MB / 1.009 GB, free: 196.2 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001211/1.23, allocations: 0.7183 MB / 1.009 GB, free: 196.2 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.002414/1.233, allocations: 0.9838 MB / 1.01 GB, free: 195.7 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002399/1.235, allocations: 1.186 MB / 1.011 GB, free: 195.7 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.01462/1.25, allocations: 11.06 MB / 1.022 GB, free: 194.8 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.716268175980076]