Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves.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.009593/0.009593, allocations: 1.784 MB / 21.57 MB, free: 2.895 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.00135/0.00135, allocations: 90.86 kB / 25.41 MB, free: 6.488 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.001148/0.001148, allocations: 165.5 kB / 29.34 MB, free: 2.957 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.9953/0.9953, allocations: 177.2 MB / 210.3 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.6447/0.6447, allocations: 102.4 MB / 369.9 MB, free: 200 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.Valves.Check.TestThreeWayValves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|threeWayValveVLE_L2_1.h|threeWayValveVLE_L2_1.p",fileNamePrefix="ClaRa_dev_ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves") translateModel(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|threeWayValveVLE_L2_1.h|threeWayValveVLE_L2_1.p",fileNamePrefix="ClaRa_dev_ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 470.4 MB, free: 18.8 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.183e-05/1.302e-05, allocations: 4.906 kB / 470.4 MB, free: 18.8 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.Valves.Check.TestThreeWayValves): time 0.1251/0.1251, allocations: 66.24 MB / 0.5241 GB, free: 5.352 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.03144/0.1566, allocations: 18.19 MB / 0.5419 GB, free: 3.109 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004943/0.1615, allocations: 99.25 kB / 0.542 GB, free: 3.012 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.009384/0.1709, allocations: 1.689 MB / 0.5436 GB, free: 1.312 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.009395/0.1803, allocations: 2.196 MB / 0.5458 GB, free: 15.1 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0163/0.1966, allocations: 2.712 MB / 0.5484 GB, free: 12.38 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.01177/0.2084, allocations: 5.806 MB / 0.5541 GB, free: 6.559 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001932/0.2103, allocations: 1.747 MB / 0.5558 GB, free: 4.77 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1111/0.3214, allocations: 48.57 MB / 0.6032 GB, free: 5.375 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002305/0.3237, allocations: 1.818 MB / 0.605 GB, free: 3.551 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0003018/0.324, allocations: 300 kB / 0.6053 GB, free: 3.258 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001989/0.326, allocations: 1.255 MB / 0.6065 GB, free: 2 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0005767/0.3265, allocations: 1.043 MB / 0.6075 GB, free: 0.9531 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001141/0.3277, allocations: 1.192 MB / 0.6087 GB, free: 15.75 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.00333/0.331, allocations: 4.039 MB / 0.6126 GB, free: 11.7 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.331, allocations: 0 / 0.6126 GB, free: 11.7 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.212e-06/0.331, allocations: 4 kB / 0.6126 GB, free: 11.7 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 2.412e-05/0.331, allocations: 0 / 0.6126 GB, free: 11.7 MB / 0.5262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 845 * Number of variables: 845 Notification: Performance of Generate backend data structure: time 0.003496/0.3345, allocations: 4.616 MB / 0.6171 GB, free: 7.008 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.3346, allocations: 8.031 kB / 0.6172 GB, free: 7 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004763/0.335, allocations: 0.6461 MB / 0.6178 GB, free: 6.352 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00238/0.3374, allocations: 2.516 MB / 0.6202 GB, free: 3.754 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.046e-05/0.3375, allocations: 172.9 kB / 0.6204 GB, free: 3.582 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001826/0.3377, allocations: 228.3 kB / 0.6206 GB, free: 3.359 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005209/0.3429, allocations: 5.69 MB / 0.6262 GB, free: 12.34 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.682e-05/0.3429, allocations: 39.81 kB / 0.6262 GB, free: 12.3 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001311/0.3431, allocations: 120.1 kB / 0.6263 GB, free: 12.18 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.968e-05/0.3431, allocations: 80 kB / 0.6264 GB, free: 12.1 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003615/0.3467, allocations: 2.376 MB / 0.6287 GB, free: 9.703 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2429/0.5896, allocations: 35.33 MB / 0.6632 GB, free: 84.71 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003417/0.5931, allocations: 2.102 MB / 0.6653 GB, free: 84.17 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004282/0.5935, allocations: 483.4 kB / 0.6657 GB, free: 83.99 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002088/0.5937, allocations: 195.1 kB / 0.6659 GB, free: 83.98 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.5937, allocations: 74.73 kB / 0.666 GB, free: 83.93 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=427): time 3.727e-06/0.5937, allocations: 0 / 0.666 GB, free: 83.93 MB / 0.5574 GB Notification: Performance of matching and sorting (n=427): time 0.007289/0.601, allocations: 4.296 MB / 0.6702 GB, free: 83.79 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.6011, allocations: 0.7588 MB / 0.6709 GB, free: 82.89 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002061/0.6032, allocations: 2.933 MB / 0.6738 GB, free: 82.51 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0001212/0.6033, allocations: 53.42 kB / 0.6738 GB, free: 82.48 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006871/0.604, allocations: 1.864 MB / 0.6757 GB, free: 81.8 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006022/0.6046, allocations: 1.475 MB / 0.6771 GB, free: 81 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008443/0.6054, allocations: 1.047 MB / 0.6781 GB, free: 80.89 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 3.698e-05/0.6055, allocations: 476.8 kB / 0.6786 GB, free: 80.42 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006853/0.6062, allocations: 0.5535 MB / 0.6791 GB, free: 80.38 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001458/0.6076, allocations: 3.419 MB / 0.6825 GB, free: 76.79 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002971/0.6106, allocations: 4.322 MB / 0.6867 GB, free: 73.7 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.817e-05/0.6106, allocations: 19.59 kB / 0.6867 GB, free: 73.7 MB / 0.5574 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.003855/0.6145, allocations: 3.507 MB / 0.6901 GB, free: 73.36 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.261e-05/0.6145, allocations: 27.66 kB / 0.6902 GB, free: 73.36 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002034/0.6165, allocations: 1.786 MB / 0.6919 GB, free: 73.25 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001816/0.6167, allocations: 112.1 kB / 0.692 GB, free: 73.24 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001873/0.6186, allocations: 1.253 MB / 0.6932 GB, free: 73.24 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006294/0.6192, allocations: 1.838 MB / 0.695 GB, free: 71.54 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/0.6204, allocations: 0.505 MB / 0.6955 GB, free: 71.38 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002606/0.6207, allocations: 284 kB / 0.6958 GB, free: 71.38 MB / 0.5574 GB Warning: Assuming fixed start value for the following 2 variables: threeWayValveVLE_L2_1.h:VARIABLE(start = threeWayValveVLE_L2_1.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) type: Real threeWayValveVLE_L2_1.p:VARIABLE(min = 0.0 start = threeWayValveVLE_L2_1.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001187/0.6219, allocations: 0.7163 MB / 0.6965 GB, free: 71.24 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001412/0.6233, allocations: 3.419 MB / 0.6998 GB, free: 67.65 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002963/0.6263, allocations: 4.309 MB / 0.704 GB, free: 64.56 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.187e-05/0.6263, allocations: 16.22 kB / 0.7041 GB, free: 64.56 MB / 0.5574 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.003812/0.6301, allocations: 3.503 MB / 0.7075 GB, free: 63.99 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/0.6301, allocations: 28.12 kB / 0.7075 GB, free: 63.99 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002099/0.6322, allocations: 1.78 MB / 0.7092 GB, free: 63.57 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001543/0.6324, allocations: 112.3 kB / 0.7093 GB, free: 63.55 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001859/0.6342, allocations: 1.253 MB / 0.7106 GB, free: 63.35 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005198/0.6348, allocations: 1.832 MB / 0.7124 GB, free: 61.62 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/0.6358, allocations: 428.2 kB / 0.7128 GB, free: 61.41 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002482/0.6361, allocations: 286.6 kB / 0.713 GB, free: 61.36 MB / 0.5574 GB Warning: Assuming fixed start value for the following 2 variables: threeWayValveVLE_L2_1.h:VARIABLE(start = threeWayValveVLE_L2_1.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) type: Real threeWayValveVLE_L2_1.p:VARIABLE(min = 0.0 start = threeWayValveVLE_L2_1.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 253 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (660): * Single equations (assignments): 659 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006768/0.6368, allocations: 0.5786 MB / 0.7136 GB, free: 61.05 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005426/0.6373, allocations: 459.1 kB / 0.714 GB, free: 60.81 MB / 0.5574 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 525 equation(s) and 506 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:65:5-70:23:writable] Error: (pressureSink_ph1.fluidOut.VLE.d_l, pressureSink_ph1.fluidOut.VLE.h_l, pressureSink_ph1.fluidOut.VLE.p_l, pressureSink_ph1.fluidOut.VLE.s_l, pressureSink_ph1.fluidOut.VLE.T_l, _, pressureSink_ph1.fluidOut.VLE.d_v, pressureSink_ph1.fluidOut.VLE.h_v, pressureSink_ph1.fluidOut.VLE.p_v, pressureSink_ph1.fluidOut.VLE.s_v, pressureSink_ph1.fluidOut.VLE.T_v, _) = ($cse154, $cse155, $cse156, $cse157, $cse158, $cse159, $cse160, $cse161, $cse162, $cse163, $cse164, $cse165) has size 10 but 2 variables (massFlowSource_h.fluidOut.s, massFlowSource_h.eye_int[1].s) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00392/0.6412, allocations: 4.403 MB / 0.7183 GB, free: 59.25 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.336676905862987]