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.01698/0.01698, allocations: 1.796 MB / 21.15 MB, free: 3.246 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.001697/0.001697, allocations: 80.39 kB / 24.89 MB, free: 6.801 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.002057/0.002057, allocations: 162.7 kB / 28.74 MB, free: 3.645 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.515/1.515, allocations: 177.1 MB / 209.6 MB, free: 2.406 MB / 186.7 MB " [Timeout remaining time 178] 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 1.134/1.134, allocations: 102.5 MB / 369.1 MB, free: 0.8867 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.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_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_ClaRa.Components.VolumesValvesFittings.Pipes.Check.TwoPhaseFlow.Test_HEXvle2vle_L3_2ph_CH_simple_headers") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 469.2 MB, free: 12.98 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.469e-05/3.66e-05, allocations: 6.25 kB / 469.2 MB, free: 12.98 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.4632/0.4633, allocations: 85.68 MB / 0.5419 GB, free: 62.18 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.0564/0.5197, allocations: 31.81 MB / 0.5729 GB, free: 40.17 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01539/0.5351, allocations: 219.5 kB / 0.5731 GB, free: 40.07 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.01406/0.5491, allocations: 4.306 MB / 0.5773 GB, free: 38.06 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.02458/0.5737, allocations: 7.503 MB / 0.5847 GB, free: 32.7 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01994/0.5936, allocations: 7.072 MB / 0.5916 GB, free: 27.2 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.02732/0.621, allocations: 21.09 MB / 0.6122 GB, free: 7.848 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01337/0.6343, allocations: 6.258 MB / 0.6183 GB, free: 1.516 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03242/0.6667, allocations: 11.02 MB / 0.629 GB, free: 6.477 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01924/0.686, allocations: 7.674 MB / 0.6365 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.005669/0.6916, allocations: 1.305 MB / 0.6378 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01361/0.7053, allocations: 3.302 MB / 0.641 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.009941/0.7152, allocations: 4.627 MB / 0.6455 GB, free: 5.539 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0164/0.7316, allocations: 4.25 MB / 0.6497 GB, free: 1.281 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.04435/0.7759, allocations: 20.58 MB / 0.6698 GB, free: 12.64 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.776, allocations: 2.688 kB / 0.6698 GB, free: 12.64 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.615e-06/0.776, allocations: 0 / 0.6698 GB, free: 12.64 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.000772/0.7767, allocations: 0 / 0.6698 GB, free: 12.64 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.04849/0.8252, allocations: 18 MB / 0.6874 GB, free: 10.56 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.8253, allocations: 10.69 kB / 0.6874 GB, free: 10.55 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007921/0.8332, allocations: 2.005 MB / 0.6893 GB, free: 8.543 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02464/0.8578, allocations: 8.175 MB / 0.6973 GB, free: 316 kB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001125/0.859, allocations: 476 kB / 0.6978 GB, free: 15.84 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006031/0.865, allocations: 0.6443 MB / 0.6984 GB, free: 15.2 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05111/0.9161, allocations: 18.69 MB / 0.7166 GB, free: 9.773 MB / 0.5887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002548/0.9164, allocations: 59.44 kB / 0.7167 GB, free: 9.715 MB / 0.5887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00217/0.9185, allocations: 299.9 kB / 0.717 GB, free: 9.422 MB / 0.5887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001115/0.9196, allocations: 0.7206 MB / 0.7177 GB, free: 8.699 MB / 0.5887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03668/0.9563, allocations: 10.54 MB / 0.728 GB, free: 14.16 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.3288/1.285, allocations: 87.61 MB / 0.8135 GB, free: 117.5 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03135/1.317, allocations: 9.393 MB / 0.8227 GB, free: 114.2 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009044/1.326, allocations: 2.995 MB / 0.8256 GB, free: 113 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002512/1.328, allocations: 422.2 kB / 0.826 GB, free: 112.9 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0244/1.352, allocations: 8.271 MB / 0.8341 GB, free: 110 MB / 0.6043 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006608/1.359, allocations: 1.105 MB / 0.8352 GB, free: 109.7 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=1095): time 5.9e-05/1.359, allocations: 1.688 kB / 0.8352 GB, free: 109.7 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1097): time 0.1467/1.506, allocations: 74.06 MB / 0.9075 GB, free: 41.68 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004127/1.506, allocations: 2.113 MB / 0.9096 GB, free: 39.07 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01608/1.522, allocations: 10.5 MB / 0.9199 GB, free: 28.58 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.002647/1.525, allocations: 125.7 kB / 0.92 GB, free: 28.45 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.004578/1.53, allocations: 5.038 MB / 0.9249 GB, free: 23.43 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.005754/1.535, allocations: 4.197 MB / 0.929 GB, free: 19.29 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008434/1.544, allocations: 3.097 MB / 0.932 GB, free: 16.17 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 9.515e-05/1.544, allocations: 476.8 kB / 0.9325 GB, free: 15.7 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008678/1.553, allocations: 4.413 MB / 0.9368 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01517/1.568, allocations: 11 MB / 0.9475 GB, free: 13.92 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04526/1.613, allocations: 19.1 MB / 0.9662 GB, free: 8.984 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001881/1.613, allocations: 28 kB / 0.9662 GB, free: 8.957 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1595) (initialization): time 0.3424/1.955, allocations: 14.73 MB / 0.9806 GB, free: 193.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.775e-05/1.956, allocations: 49.03 kB / 0.9806 GB, free: 193.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02756/1.983, allocations: 10.46 MB / 0.9908 GB, free: 192.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05087/2.034, allocations: 4.587 MB / 0.9953 GB, free: 192.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01385/2.048, allocations: 3.12 MB / 0.9984 GB, free: 192.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01231/2.06, allocations: 16.77 MB / 1.015 GB, free: 177.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01136/2.072, allocations: 0.5036 MB / 1.015 GB, free: 177.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003533/2.075, allocations: 0.7186 MB / 1.016 GB, free: 177.8 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.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.01903/2.094, allocations: 5.887 MB / 1.022 GB, free: 177.6 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01525/2.109, allocations: 10.95 MB / 1.032 GB, free: 168.6 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03749/2.147, allocations: 18.96 MB / 1.051 GB, free: 155.2 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0002401/2.147, allocations: 28.98 kB / 1.051 GB, free: 155.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1595) (initialization_lambda0): time 0.04182/2.189, allocations: 14.63 MB / 1.065 GB, free: 142.6 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001924/2.189, allocations: 48 kB / 1.065 GB, free: 142.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03031/2.219, allocations: 10.34 MB / 1.075 GB, free: 132.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0479/2.267, allocations: 4.493 MB / 1.08 GB, free: 127.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01199/2.279, allocations: 3.037 MB / 1.083 GB, free: 124.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01084/2.29, allocations: 15.68 MB / 1.098 GB, free: 108.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01184/2.302, allocations: 0.5142 MB / 1.099 GB, free: 107.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003405/2.305, allocations: 0.7105 MB / 1.099 GB, free: 107 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.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.006829/2.312, allocations: 0.9922 MB / 1.1 GB, free: 106.1 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006882/2.319, allocations: 1.18 MB / 1.101 GB, free: 105.5 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 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.02933/2.348, allocations: 12.45 MB / 1.113 GB, free: 93.7 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.416402566013858]