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.01278/0.01278, allocations: 1.45 MB / 20.8 MB, free: 3.598 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.01004/0.01004, allocations: 78.78 kB / 24.45 MB, free: 7.562 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.001842/0.001842, allocations: 159.1 kB / 28.2 MB, free: 4.668 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.51/1.51, allocations: 177.2 MB / 209 MB, free: 2.801 MB / 186.7 MB " [Timeout remaining time 178] 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 1.134/1.134, allocations: 102.5 MB / 368.3 MB, free: 1.273 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 0.5.2 (/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.1.|headerIn.pipeFlow.p.1.|headerIn.pipeWall.U.1.|headerIn.pipeWall.U.2.|headerIn.pipeWall.U.3.|headerOut.pipeFlow.h.1.|headerOut.pipeWall.U.1.|headerOut.pipeWall.U.2.|headerOut.pipeWall.U.3.|hex.shell.h_liq|hex.shell.h_vap|hex.shell.p_vap|hex.shell.volume_vap|hex.tubes.h|hex.wall.U.1.|hex.wall.U.2.|hex.wall.U.3.",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.1.|headerIn.pipeFlow.p.1.|headerIn.pipeWall.U.1.|headerIn.pipeWall.U.2.|headerIn.pipeWall.U.3.|headerOut.pipeFlow.h.1.|headerOut.pipeWall.U.1.|headerOut.pipeWall.U.2.|headerOut.pipeWall.U.3.|hex.shell.h_liq|hex.shell.h_vap|hex.shell.p_vap|hex.shell.volume_vap|hex.tubes.h|hex.wall.U.1.|hex.wall.U.2.|hex.wall.U.3.",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 4.739e-06/4.739e-06, allocations: 3.984 kB / 468.3 MB, free: 13.47 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.212e-05/3.686e-05, allocations: 6.312 kB / 468.3 MB, free: 13.46 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.4669/0.4669, allocations: 80.39 MB / 0.5359 GB, free: 65.52 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.05129/0.5182, allocations: 30.95 MB / 0.5661 GB, free: 44.28 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01277/0.531, allocations: 218.9 kB / 0.5663 GB, free: 44.18 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.01395/0.5449, allocations: 4.298 MB / 0.5705 GB, free: 42.17 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.02317/0.5681, allocations: 7.503 MB / 0.5778 GB, free: 37.06 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.018/0.5861, allocations: 7.079 MB / 0.5847 GB, free: 31.55 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.03275/0.6188, allocations: 21.07 MB / 0.6053 GB, free: 14.06 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01282/0.6317, allocations: 6.251 MB / 0.6114 GB, free: 7.73 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02903/0.6607, allocations: 11.08 MB / 0.6222 GB, free: 12.62 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01965/0.6803, allocations: 7.743 MB / 0.6298 GB, free: 4.871 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.006413/0.6867, allocations: 1.328 MB / 0.6311 GB, free: 3.543 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.108/0.7948, allocations: 18.76 MB / 0.6494 GB, free: 2.762 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.009728/0.8045, allocations: 4.638 MB / 0.6539 GB, free: 14.11 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.01487/0.8193, allocations: 4.278 MB / 0.6581 GB, free: 9.824 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.04195/0.8613, allocations: 20.71 MB / 0.6783 GB, free: 5.059 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.8613, allocations: 0 / 0.6783 GB, free: 5.059 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.104e-06/0.8613, allocations: 2.656 kB / 0.6783 GB, free: 5.059 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0007214/0.862, allocations: 0 / 0.6783 GB, free: 5.059 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.05074/0.9128, allocations: 14.48 MB / 0.6925 GB, free: 6.52 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 7.004e-05/0.9128, allocations: 8.031 kB / 0.6925 GB, free: 6.512 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01318/0.926, allocations: 2.001 MB / 0.6944 GB, free: 4.504 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02495/0.951, allocations: 9.056 MB / 0.7033 GB, free: 11.38 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008415/0.9518, allocations: 468.1 kB / 0.7037 GB, free: 10.92 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003585/0.9554, allocations: 0.6482 MB / 0.7044 GB, free: 10.27 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05008/1.005, allocations: 18.89 MB / 0.7228 GB, free: 5.207 MB / 0.5887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003651/1.006, allocations: 59.44 kB / 0.7229 GB, free: 5.148 MB / 0.5887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002789/1.009, allocations: 303.9 kB / 0.7232 GB, free: 4.852 MB / 0.5887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001411/1.01, allocations: 0.7207 MB / 0.7239 GB, free: 4.129 MB / 0.5887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04181/1.052, allocations: 13.51 MB / 0.737 GB, free: 6.625 MB / 0.6043 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.3512/1.403, allocations: 58.92 MB / 0.7946 GB, free: 142.2 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03664/1.44, allocations: 11.36 MB / 0.8057 GB, free: 137.8 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01026/1.45, allocations: 4.368 MB / 0.81 GB, free: 135.8 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001938/1.452, allocations: 413.8 kB / 0.8103 GB, free: 135.7 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02431/1.476, allocations: 8.687 MB / 0.8188 GB, free: 131.6 MB / 0.6043 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008775/1.485, allocations: 1.208 MB / 0.82 GB, free: 131.2 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=1095): time 5.532e-05/1.485, allocations: 2.625 kB / 0.82 GB, free: 131.2 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1097): time 0.1635/1.649, allocations: 80.62 MB / 0.8987 GB, free: 56.4 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004172/1.649, allocations: 2.102 MB / 0.9008 GB, free: 53.8 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01309/1.662, allocations: 8.409 MB / 0.909 GB, free: 45.56 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.002459/1.665, allocations: 129.7 kB / 0.9091 GB, free: 45.43 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.003259/1.668, allocations: 4.27 MB / 0.9133 GB, free: 41.57 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.005203/1.673, allocations: 3.747 MB / 0.917 GB, free: 38.1 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006132/1.679, allocations: 2.468 MB / 0.9194 GB, free: 35.61 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 5.002e-05/1.679, allocations: 309.1 kB / 0.9197 GB, free: 35.31 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01035/1.69, allocations: 5.913 MB / 0.9254 GB, free: 29.38 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01544/1.705, allocations: 10.52 MB / 0.9357 GB, free: 17.07 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6145/2.319, allocations: 59.55 MB / 0.9939 GB, free: 199.3 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001735/2.32, allocations: 29 kB / 0.9939 GB, free: 199.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1595) (initialization): time 0.04728/2.367, allocations: 17.7 MB / 1.011 GB, free: 192.6 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001603/2.367, allocations: 47.16 kB / 1.011 GB, free: 192.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03611/2.403, allocations: 13.58 MB / 1.024 GB, free: 187.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05207/2.455, allocations: 4.96 MB / 1.029 GB, free: 187 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0152/2.47, allocations: 3.189 MB / 1.032 GB, free: 186.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01338/2.484, allocations: 14.09 MB / 1.046 GB, free: 175 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01209/2.496, allocations: 0.5584 MB / 1.047 GB, free: 174.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003423/2.499, allocations: 0.721 MB / 1.047 GB, free: 174.3 MB / 0.6355 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.mechanicalEquilibrium.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.mechanicalEquilibrium.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.01963/2.519, allocations: 8.292 MB / 1.056 GB, free: 167.1 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01536/2.534, allocations: 10.44 MB / 1.066 GB, free: 155.7 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3243/2.859, allocations: 59.04 MB / 1.123 GB, free: 95.56 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001206/2.859, allocations: 28 kB / 1.123 GB, free: 95.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1595) (initialization_lambda0): time 0.03855/2.897, allocations: 17.54 MB / 1.141 GB, free: 78.42 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.793e-05/2.897, allocations: 51.94 kB / 1.141 GB, free: 78.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02794/2.925, allocations: 13.4 MB / 1.154 GB, free: 64.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05015/2.976, allocations: 4.877 MB / 1.158 GB, free: 59.99 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0122/2.988, allocations: 3.099 MB / 1.161 GB, free: 56.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0114/2.999, allocations: 12.18 MB / 1.173 GB, free: 44.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01029/3.009, allocations: 0.567 MB / 1.174 GB, free: 43.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002762/3.012, allocations: 0.7183 MB / 1.175 GB, free: 42.88 MB / 0.6355 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.mechanicalEquilibrium.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.mechanicalEquilibrium.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.004935/3.017, allocations: 0.9051 MB / 1.176 GB, free: 42.04 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006451/3.024, allocations: 1.189 MB / 1.177 GB, free: 40.96 MB / 0.6355 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.02805/3.052, allocations: 13.64 MB / 1.19 GB, free: 27.87 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 7.043109550024383]