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.008656/0.008656, allocations: 1.781 MB / 22.36 MB, free: 2.117 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.001024/0.001024, allocations: 81.8 kB / 26.19 MB, free: 6.078 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.001191/0.001191, allocations: 169.5 kB / 30.12 MB, free: 2.184 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 1.01/1.01, allocations: 177.2 MB / 211.1 MB, free: 3.445 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.6549/0.6549, allocations: 102.5 MB / 370.6 MB, free: 160 kB / 330.7 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.815e-06/2.815e-06, allocations: 2.969 kB / 471.3 MB, free: 18.82 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.708e-05/2.99e-05, allocations: 3.984 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.1408/0.1408, allocations: 86.86 MB / 0.545 GB, free: 0.6445 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.04653/0.1874, allocations: 31.77 MB / 0.5761 GB, free: 0.7891 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01024/0.1976, allocations: 214.4 kB / 0.5763 GB, free: 0.5781 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.01135/0.209, allocations: 4.305 MB / 0.5805 GB, free: 12.25 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.02219/0.2311, allocations: 7.547 MB / 0.5878 GB, free: 4.66 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.01575/0.2469, allocations: 7.092 MB / 0.5948 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.02795/0.2748, allocations: 21.03 MB / 0.6153 GB, free: 8.465 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0124/0.2872, allocations: 6.262 MB / 0.6214 GB, free: 2.117 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3979/0.6852, allocations: 56.56 MB / 0.6767 GB, free: 28.41 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01261/0.6978, allocations: 7.609 MB / 0.6841 GB, free: 28.41 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.004903/0.7027, allocations: 1.262 MB / 0.6853 GB, free: 28.41 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009162/0.7118, allocations: 3.244 MB / 0.6885 GB, free: 28.41 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.004305/0.7161, allocations: 4.511 MB / 0.6929 GB, free: 28.41 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.009268/0.7254, allocations: 4.165 MB / 0.697 GB, free: 28.41 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.0168/0.7422, allocations: 12.62 MB / 0.7093 GB, free: 27.31 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.7422, allocations: 0 / 0.7093 GB, free: 27.31 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7422, allocations: 0 / 0.7093 GB, free: 27.31 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0003682/0.7426, allocations: 0 / 0.7093 GB, free: 27.31 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.01931/0.7619, allocations: 15.25 MB / 0.7242 GB, free: 21.37 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.7619, allocations: 10.41 kB / 0.7242 GB, free: 21.37 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003004/0.7649, allocations: 1.854 MB / 0.726 GB, free: 20.6 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008039/0.773, allocations: 6.836 MB / 0.7327 GB, free: 17.97 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002398/0.7732, allocations: 468.4 kB / 0.7331 GB, free: 17.95 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007592/0.774, allocations: 0.6467 MB / 0.7338 GB, free: 17.94 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01334/0.7873, allocations: 14.56 MB / 0.748 GB, free: 6.023 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001065/0.7874, allocations: 62.62 kB / 0.748 GB, free: 6.023 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005544/0.788, allocations: 299.4 kB / 0.7483 GB, free: 5.848 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004486/0.7884, allocations: 0.7144 MB / 0.749 GB, free: 5.637 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01021/0.7986, allocations: 6.031 MB / 0.7549 GB, free: 3.746 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.05269/0.8513, allocations: 71.57 MB / 0.8248 GB, free: 15.07 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0136/0.8649, allocations: 6.745 MB / 0.8314 GB, free: 8.137 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002921/0.8678, allocations: 1.629 MB / 0.833 GB, free: 6.414 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007917/0.8686, allocations: 410.6 kB / 0.8334 GB, free: 6.016 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00972/0.8783, allocations: 5.449 MB / 0.8387 GB, free: 0.6094 MB / 0.6199 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004806/0.8832, allocations: 1.179 MB / 0.8398 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1095): time 2.07e-05/0.8832, allocations: 0 / 0.8398 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1097): time 0.05558/0.9388, allocations: 18.36 MB / 0.8578 GB, free: 13.19 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001082/0.9398, allocations: 2.596 MB / 0.8603 GB, free: 10 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008682/0.9485, allocations: 7.112 MB / 0.8672 GB, free: 4.086 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.002004/0.9505, allocations: 133.7 kB / 0.8674 GB, free: 3.949 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.003223/0.9537, allocations: 4.58 MB / 0.8718 GB, free: 15.67 MB / 0.6668 GB Notification: Performance of collectInitialBindings (initialization): time 0.004556/0.9583, allocations: 3.873 MB / 0.8756 GB, free: 12.02 MB / 0.6668 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003618/0.9619, allocations: 2.682 MB / 0.8782 GB, free: 9.57 MB / 0.6668 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.962, allocations: 479.4 kB / 0.8787 GB, free: 9.102 MB / 0.6668 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003685/0.9657, allocations: 2.062 MB / 0.8807 GB, free: 7.016 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.296/1.262, allocations: 8.83 MB / 0.8893 GB, free: 167.3 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01432/1.276, allocations: 11.64 MB / 0.9007 GB, free: 161.7 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.876e-05/1.276, allocations: 28.94 kB / 0.9007 GB, free: 161.7 MB / 0.6668 GB Notification: Performance of matching and sorting (n=1595) (initialization): time 0.01509/1.291, allocations: 9.833 MB / 0.9103 GB, free: 161.3 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 4.826e-05/1.291, allocations: 44.97 kB / 0.9104 GB, free: 161.3 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01032/1.302, allocations: 6.293 MB / 0.9165 GB, free: 160.9 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02483/1.326, allocations: 4.316 MB / 0.9207 GB, free: 160.8 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008451/1.335, allocations: 3.076 MB / 0.9237 GB, free: 160.8 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006246/1.341, allocations: 15.67 MB / 0.939 GB, free: 146.4 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006618/1.348, allocations: 457 kB / 0.9395 GB, free: 146.4 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009622/1.349, allocations: 0.6232 MB / 0.9401 GB, free: 146.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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005774/1.354, allocations: 2.308 MB / 0.9423 GB, free: 146.2 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006073/1.36, allocations: 8.81 MB / 0.9509 GB, free: 138.1 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01373/1.374, allocations: 11.56 MB / 0.9622 GB, free: 132.5 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.274e-05/1.374, allocations: 30.41 kB / 0.9623 GB, free: 132.5 MB / 0.6668 GB Notification: Performance of matching and sorting (n=1595) (initialization_lambda0): time 0.01512/1.389, allocations: 9.789 MB / 0.9718 GB, free: 132.1 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 4.259e-05/1.389, allocations: 46.97 kB / 0.9719 GB, free: 132.1 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009363/1.399, allocations: 6.228 MB / 0.978 GB, free: 131.1 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02351/1.422, allocations: 4.266 MB / 0.9821 GB, free: 128.3 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007965/1.43, allocations: 2.983 MB / 0.985 GB, free: 126.1 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005599/1.436, allocations: 12.98 MB / 0.9977 GB, free: 113.3 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007709/1.444, allocations: 467.4 kB / 0.9982 GB, free: 113.1 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001055/1.445, allocations: 0.6159 MB / 0.9988 GB, free: 112.6 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.003295/1.448, allocations: 1.001 MB / 0.9997 GB, free: 112.1 MB / 0.6668 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002332/1.45, allocations: 1.187 MB / 1.001 GB, free: 111.2 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.01178/1.462, allocations: 10.74 MB / 1.011 GB, free: 103 MB / 0.6668 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.307194801978767]