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.008826/0.008826, allocations: 1.798 MB / 21.36 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.000823/0.000823, allocations: 82.84 kB / 25.15 MB, free: 6.953 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.0008609/0.0008609, allocations: 174.9 kB / 29.07 MB, free: 3.52 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.8609/0.8609, allocations: 177.1 MB / 210 MB, free: 2.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.7188/0.7188, allocations: 102.5 MB / 369.5 MB, free: 0.8594 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 2.064e-06/2.064e-06, allocations: 0 / 470 MB, free: 12.61 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.379e-05/3.586e-05, allocations: 6.312 kB / 470 MB, free: 12.61 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.3271/0.3271, allocations: 88.19 MB / 0.5451 GB, free: 61.14 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.04547/0.3726, allocations: 31.92 MB / 0.5763 GB, free: 39.18 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009536/0.3822, allocations: 217.9 kB / 0.5765 GB, free: 39.07 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.009926/0.3921, allocations: 4.309 MB / 0.5807 GB, free: 36.84 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01921/0.4113, allocations: 7.538 MB / 0.5881 GB, free: 30.84 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01399/0.4253, allocations: 7.081 MB / 0.595 GB, free: 25.34 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0221/0.4474, allocations: 21.06 MB / 0.6155 GB, free: 4.891 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01107/0.4584, allocations: 6.263 MB / 0.6217 GB, free: 14.54 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1328/0.5912, allocations: 56.56 MB / 0.6769 GB, free: 8.395 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01313/0.6043, allocations: 7.621 MB / 0.6843 GB, free: 0.7578 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.004529/0.6089, allocations: 1.262 MB / 0.6856 GB, free: 15.49 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0102/0.6191, allocations: 3.251 MB / 0.6887 GB, free: 12.24 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.006975/0.626, allocations: 4.513 MB / 0.6931 GB, free: 7.719 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.009643/0.6357, allocations: 4.17 MB / 0.6972 GB, free: 3.539 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.02164/0.6573, allocations: 12.61 MB / 0.7095 GB, free: 6.887 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.6573, allocations: 4 kB / 0.7095 GB, free: 6.883 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6573, allocations: 0 / 0.7095 GB, free: 6.883 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0005357/0.6579, allocations: 0 / 0.7095 GB, free: 6.883 MB / 0.573 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.02455/0.6824, allocations: 15.2 MB / 0.7244 GB, free: 7.586 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.6825, allocations: 14.69 kB / 0.7244 GB, free: 7.574 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00399/0.6865, allocations: 1.861 MB / 0.7262 GB, free: 5.707 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01159/0.698, allocations: 7.059 MB / 0.7331 GB, free: 14.57 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004181/0.6985, allocations: 476 kB / 0.7336 GB, free: 14.1 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001759/0.7002, allocations: 0.6508 MB / 0.7342 GB, free: 13.45 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2661/0.9663, allocations: 15.17 MB / 0.749 GB, free: 129.4 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002148/0.9665, allocations: 60.06 kB / 0.7491 GB, free: 129.4 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001203/0.9677, allocations: 305.1 kB / 0.7494 GB, free: 129.4 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000664/0.9684, allocations: 0.7166 MB / 0.7501 GB, free: 129.4 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01605/0.9845, allocations: 6.864 MB / 0.7568 GB, free: 129.3 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.05703/1.041, allocations: 71.82 MB / 0.8269 GB, free: 77.2 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01555/1.057, allocations: 7.346 MB / 0.8341 GB, free: 76.06 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004379/1.061, allocations: 1.923 MB / 0.836 GB, free: 75.68 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001131/1.063, allocations: 423.5 kB / 0.8364 GB, free: 75.65 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01308/1.076, allocations: 5.767 MB / 0.842 GB, free: 72.71 MB / 0.6043 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005002/1.081, allocations: 1.176 MB / 0.8431 GB, free: 72.03 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=1095): time 4.611e-05/1.081, allocations: 0 / 0.8431 GB, free: 72.03 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1097): time 0.07547/1.156, allocations: 66.09 MB / 0.9077 GB, free: 6.23 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002969/1.156, allocations: 2.591 MB / 0.9102 GB, free: 3.035 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008786/1.165, allocations: 7.263 MB / 0.9173 GB, free: 11.93 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 0.002132/1.167, allocations: 129.7 kB / 0.9174 GB, free: 11.8 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.00331/1.171, allocations: 4.529 MB / 0.9219 GB, free: 7.617 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 0.005158/1.176, allocations: 3.838 MB / 0.9256 GB, free: 3.832 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004675/1.18, allocations: 2.629 MB / 0.9282 GB, free: 1.184 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 0.0001414/1.181, allocations: 480.7 kB / 0.9286 GB, free: 0.7109 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006047/1.187, allocations: 2.297 MB / 0.9309 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00888/1.196, allocations: 9.017 MB / 0.9397 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01976/1.215, allocations: 12.25 MB / 0.9516 GB, free: 5.199 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.437e-05/1.215, allocations: 28 kB / 0.9517 GB, free: 5.172 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1595) (initialization): time 0.02321/1.239, allocations: 10.45 MB / 0.9619 GB, free: 11.34 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 9.285e-05/1.239, allocations: 46.66 kB / 0.9619 GB, free: 11.29 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02412/1.263, allocations: 6.82 MB / 0.9686 GB, free: 4.434 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02707/1.29, allocations: 4.529 MB / 0.973 GB, free: 104 kB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008282/1.298, allocations: 3.129 MB / 0.976 GB, free: 13.16 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2668/1.565, allocations: 15.86 MB / 0.9915 GB, free: 190.1 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006813/1.572, allocations: 0.518 MB / 0.992 GB, free: 190.1 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002308/1.574, allocations: 0.7209 MB / 0.9927 GB, free: 190.1 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.008335/1.582, allocations: 2.539 MB / 0.9952 GB, free: 189.9 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008213/1.591, allocations: 8.995 MB / 1.004 GB, free: 181.8 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.021/1.612, allocations: 12.18 MB / 1.016 GB, free: 176.2 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001348/1.612, allocations: 28.31 kB / 1.016 GB, free: 176.2 MB / 0.6824 GB Notification: Performance of matching and sorting (n=1595) (initialization_lambda0): time 0.02465/1.636, allocations: 10.39 MB / 1.026 GB, free: 175.8 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 6.601e-05/1.636, allocations: 45.97 kB / 1.026 GB, free: 175.8 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01733/1.654, allocations: 6.741 MB / 1.033 GB, free: 175.4 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02352/1.677, allocations: 4.481 MB / 1.037 GB, free: 175.3 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008246/1.686, allocations: 3.033 MB / 1.04 GB, free: 174.5 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006505/1.692, allocations: 13.17 MB / 1.053 GB, free: 161.6 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007273/1.699, allocations: 0.5281 MB / 1.053 GB, free: 161.4 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002199/1.702, allocations: 0.7185 MB / 1.054 GB, free: 160.9 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.003044/1.705, allocations: 1.003 MB / 1.055 GB, free: 160.4 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00277/1.707, allocations: 1.178 MB / 1.056 GB, free: 159.9 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 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.01283/1.72, allocations: 11.09 MB / 1.067 GB, free: 154.6 MB / 0.6824 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.212827385868877]