Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.MechanicalSeparation.Check.TestBalanceTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.0044/0.0044, allocations: 0 / 0, free: 0 / 0 " [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.0003104/0.0003104, allocations: 0 / 0, free: 0 / 0 " [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.0002895/0.0002895, allocations: 0 / 0, free: 0 / 0 " [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.1646/0.1646, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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.0781/0.0781, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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: simulate(ClaRa.Components.MechanicalSeparation.Check.TestBalanceTank,startTime=0,stopTime=30000,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="Time|balanceTank_L3_1.volume.h_gas|balanceTank_L3_1.volume.h_liq|balanceTank_L3_1.volume.p|balanceTank_L3_1.volume.volume_gas|balanceTank_L3_1.volume.xi_gas.[0-9,]+.|balanceTank_L3_1.wall.U.[0-9,]+.",fileNamePrefix="ClaRa_ClaRa.Components.MechanicalSeparation.Check.TestBalanceTank",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(ClaRa.Components.MechanicalSeparation.Check.TestBalanceTank,startTime=0,stopTime=30000,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="Time|balanceTank_L3_1.volume.h_gas|balanceTank_L3_1.volume.h_liq|balanceTank_L3_1.volume.p|balanceTank_L3_1.volume.volume_gas|balanceTank_L3_1.volume.xi_gas.[0-9,]+.|balanceTank_L3_1.wall.U.[0-9,]+.",fileNamePrefix="ClaRa_ClaRa.Components.MechanicalSeparation.Check.TestBalanceTank",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 1040] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 3.447e-05/3.663e-05, allocations: 0 / 0, free: 0 / 0 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.MechanicalSeparation.Check.TestBalanceTank): time 0.03059/0.03063, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.03193/0.06256, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.00239/0.06495, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.004643/0.06959, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.006199/0.07579, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0111/0.08689, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.00729/0.09418, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.003115/0.0973, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.508/0.6053, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.005985/0.6113, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.001571/0.6128, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.008466/0.6213, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.005647/0.627, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.007614/0.6346, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.02064/0.6552, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.001626/0.6568, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.894e-06/0.6568, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 4.2e-05/0.6569, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1235 * Number of variables: 1235 Notification: Performance of Generate backend data structure: time 0.01214/0.669, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.000297/0.6693, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001246/0.6706, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.006284/0.6769, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001844/0.677, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005823/0.6776, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.00942/0.687, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 0.0001623/0.6872, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004738/0.6877, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004633/0.6881, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009691/0.6978, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02255/0.7204, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.007167/0.7276, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.002049/0.7296, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0006181/0.7302, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007712/0.7379, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=704): time 1.7e-05/0.738, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=705): time 0.02716/0.7651, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002447/0.7654, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005298/0.7707, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.001386/0.772, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.001115/0.7732, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.001456/0.7746, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.00253/0.7771, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 1.904e-05/0.7772, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.003384/0.7805, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.004324/0.7849, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.01107/0.7959, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.088e-05/0.796, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=923) (initialization): time 0.01131/0.8073, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 6.48e-05/0.8074, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008038/0.8154, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.002272/0.8177, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006483/0.8242, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005658/0.8298, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003133/0.8329, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008717/0.8338, allocations: 0 / 0, free: 0 / 0 Warning: Assuming fixed start value for the following 12 variables: balanceTank_L3_1.volume.h_liq:VARIABLE(start = balanceTank_L3_1.volume.h_liq_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of liquid phase\" type: Real balanceTank_L3_1.volume.h_gas:VARIABLE(start = balanceTank_L3_1.volume.h_gas_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of vapour phase\" type: Real balanceTank_L3_1.volume.p:VARIABLE(min = 0.0 start = balanceTank_L3_1.volume.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real balanceTank_L3_1.volume.xi_gas[1]:VARIABLE(min = 0.0 max = 1.0 start = balanceTank_L3_1.volume.xi_start[1] unit = \"kg/kg\" fixed = true nominal = 1.0 ) \"Gas mass fractions\" type: Real [9] balanceTank_L3_1.volume.xi_gas[2]:VARIABLE(min = 0.0 max = 1.0 start = balanceTank_L3_1.volume.xi_start[2] unit = \"kg/kg\" fixed = true nominal = 1.0 ) \"Gas mass fractions\" type: Real [9] balanceTank_L3_1.volume.xi_gas[3]:VARIABLE(min = 0.0 max = 1.0 start = balanceTank_L3_1.volume.xi_start[3] unit = \"kg/kg\" fixed = true nominal = 1.0 ) \"Gas mass fractions\" type: Real [9] balanceTank_L3_1.volume.xi_gas[4]:VARIABLE(min = 0.0 max = 1.0 start = balanceTank_L3_1.volume.xi_start[4] unit = \"kg/kg\" fixed = true nominal = 1.0 ) \"Gas mass fractions\" type: Real [9] balanceTank_L3_1.volume.xi_gas[5]:VARIABLE(min = 0.0 max = 1.0 start = balanceTank_L3_1.volume.xi_start[5] unit = \"kg/kg\" fixed = true nominal = 1.0 ) \"Gas mass fractions\" type: Real [9] balanceTank_L3_1.volume.xi_gas[6]:VARIABLE(min = 0.0 max = 1.0 start = balanceTank_L3_1.volume.xi_start[6] unit = \"kg/kg\" fixed = true nominal = 1.0 ) \"Gas mass fractions\" type: Real [9] balanceTank_L3_1.volume.xi_gas[7]:VARIABLE(min = 0.0 max = 1.0 start = balanceTank_L3_1.volume.xi_start[7] unit = \"kg/kg\" fixed = true nominal = 1.0 ) \"Gas mass fractions\" type: Real [9] balanceTank_L3_1.volume.xi_gas[8]:VARIABLE(min = 0.0 max = 1.0 start = balanceTank_L3_1.volume.xi_start[8] unit = \"kg/kg\" fixed = true nominal = 1.0 ) \"Gas mass fractions\" type: Real [9] balanceTank_L3_1.volume.xi_gas[9]:VARIABLE(min = 0.0 max = 1.0 start = balanceTank_L3_1.volume.xi_start[9] unit = \"kg/kg\" fixed = true nominal = 1.0 ) \"Gas mass fractions\" type: Real [9] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005071/0.8389, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004415/0.8433, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009587/0.8529, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.035e-05/0.8529, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=923) (initialization_lambda0): time 0.009622/0.8626, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 5.463e-05/0.8626, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006921/0.8695, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.001265/0.8708, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005993/0.8768, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004893/0.8817, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003797/0.8855, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001123/0.8866, allocations: 0 / 0, free: 0 / 0 Warning: Assuming fixed start value for the following 12 variables: balanceTank_L3_1.volume.h_liq:VARIABLE(start = balanceTank_L3_1.volume.h_liq_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of liquid phase\" type: Real balanceTank_L3_1.volume.h_gas:VARIABLE(start = balanceTank_L3_1.volume.h_gas_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of vapour phase\" type: Real balanceTank_L3_1.volume.p:VARIABLE(min = 0.0 start = balanceTank_L3_1.volume.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real balanceTank_L3_1.volume.xi_gas[1]:VARIABLE(min = 0.0 max = 1.0 start = balanceTank_L3_1.volume.xi_start[1] unit = \"kg/kg\" fixed = true nominal = 1.0 ) \"Gas mass fractions\" type: Real [9] balanceTank_L3_1.volume.xi_gas[2]:VARIABLE(min = 0.0 max = 1.0 start = balanceTank_L3_1.volume.xi_start[2] unit = \"kg/kg\" fixed = true nominal = 1.0 ) \"Gas mass fractions\" type: Real [9] balanceTank_L3_1.volume.xi_gas[3]:VARIABLE(min = 0.0 max = 1.0 start = balanceTank_L3_1.volume.xi_start[3] unit = \"kg/kg\" fixed = true nominal = 1.0 ) \"Gas mass fractions\" type: Real [9] balanceTank_L3_1.volume.xi_gas[4]:VARIABLE(min = 0.0 max = 1.0 start = balanceTank_L3_1.volume.xi_start[4] unit = \"kg/kg\" fixed = true nominal = 1.0 ) \"Gas mass fractions\" type: Real [9] balanceTank_L3_1.volume.xi_gas[5]:VARIABLE(min = 0.0 max = 1.0 start = balanceTank_L3_1.volume.xi_start[5] unit = \"kg/kg\" fixed = true nominal = 1.0 ) \"Gas mass fractions\" type: Real [9] balanceTank_L3_1.volume.xi_gas[6]:VARIABLE(min = 0.0 max = 1.0 start = balanceTank_L3_1.volume.xi_start[6] unit = \"kg/kg\" fixed = true nominal = 1.0 ) \"Gas mass fractions\" type: Real [9] balanceTank_L3_1.volume.xi_gas[7]:VARIABLE(min = 0.0 max = 1.0 start = balanceTank_L3_1.volume.xi_start[7] unit = \"kg/kg\" fixed = true nominal = 1.0 ) \"Gas mass fractions\" type: Real [9] balanceTank_L3_1.volume.xi_gas[8]:VARIABLE(min = 0.0 max = 1.0 start = balanceTank_L3_1.volume.xi_start[8] unit = \"kg/kg\" fixed = true nominal = 1.0 ) \"Gas mass fractions\" type: Real [9] balanceTank_L3_1.volume.xi_gas[9]:VARIABLE(min = 0.0 max = 1.0 start = balanceTank_L3_1.volume.xi_start[9] unit = \"kg/kg\" fixed = true nominal = 1.0 ) \"Gas mass fractions\" type: Real [9] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 192 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.ramp2.count,$PRE.ramp2.T_start,ramp2.count,ramp2.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (902): * Single equations (assignments): 895 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 2 * 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): 2 systems {(4,12,81.2%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002893/0.8895, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001268/0.8908, allocations: 0 / 0, free: 0 / 0 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 881 equation(s) and 854 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:65:5-70:23:writable] Error: (massFlowSource_h1.fluidOut.VLE.d_l, massFlowSource_h1.fluidOut.VLE.h_l, massFlowSource_h1.fluidOut.VLE.p_l, massFlowSource_h1.fluidOut.VLE.s_l, massFlowSource_h1.fluidOut.VLE.T_l, _, massFlowSource_h1.fluidOut.VLE.d_v, massFlowSource_h1.fluidOut.VLE.h_v, massFlowSource_h1.fluidOut.VLE.p_v, massFlowSource_h1.fluidOut.VLE.s_v, massFlowSource_h1.fluidOut.VLE.T_v, _) = ($cse71, $cse72, $cse73, $cse74, $cse75, $cse76, $cse77, $cse78, $cse79, $cse80, $cse81, $cse82) has size 10 but 2 variables (massFlowSource_h2.fluidOut.s, massFlowSource_h2.eye_int[1].s) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009086/0.8999, allocations: 0 / 0, free: 0 / 0 Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 1039] [Calling sys.exit(0), Time elapsed: 1.639042804017663]