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.01191/0.01191, 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.004053/0.004053, allocations: 86.8 kB / 25.15 MB, free: 7.469 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.001166/0.001166, allocations: 161.8 kB / 29.06 MB, free: 3.664 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.9441/0.9441, allocations: 177.1 MB / 210 MB, free: 3.598 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.619/0.619, allocations: 102.4 MB / 369.5 MB, free: 392 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.252e-06/1.252e-06, allocations: 0 / 469.9 MB, free: 18.96 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.506e-05/1.631e-05, allocations: 3.656 kB / 469.9 MB, free: 18.96 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.1106/0.1106, allocations: 66.73 MB / 0.5241 GB, free: 5.215 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.01847/0.1291, allocations: 18.26 MB / 0.5419 GB, free: 2.902 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001556/0.1306, allocations: 99.25 kB / 0.542 GB, free: 2.805 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.002602/0.1332, allocations: 1.689 MB / 0.5437 GB, free: 1.105 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.002727/0.136, allocations: 2.173 MB / 0.5458 GB, free: 14.92 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.003739/0.1397, allocations: 2.716 MB / 0.5484 GB, free: 12.2 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.004503/0.1442, allocations: 5.814 MB / 0.5541 GB, free: 6.363 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00142/0.1456, allocations: 1.747 MB / 0.5558 GB, free: 4.574 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002373/0.148, allocations: 3.18 MB / 0.5589 GB, free: 1.387 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001591/0.1496, allocations: 1.963 MB / 0.5608 GB, free: 15.42 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0003197/0.1499, allocations: 360 kB / 0.5612 GB, free: 15.07 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002021/0.1519, allocations: 1.345 MB / 0.5625 GB, free: 13.72 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0006582/0.1526, allocations: 1.183 MB / 0.5637 GB, free: 12.54 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0009166/0.1535, allocations: 1.293 MB / 0.5649 GB, free: 11.24 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.00349/0.157, allocations: 4.203 MB / 0.569 GB, free: 7.02 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.157, allocations: 0 / 0.569 GB, free: 7.02 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.934e-06/0.157, allocations: 0 / 0.569 GB, free: 7.02 MB / 490.8 MB Notification: Performance of Transformations before backend: time 2.765e-05/0.157, allocations: 0 / 0.569 GB, free: 7.02 MB / 490.8 MB 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.004168/0.1612, allocations: 4.831 MB / 0.5737 GB, free: 2.113 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.1612, allocations: 8.031 kB / 0.5737 GB, free: 2.105 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000996/0.1622, allocations: 0.767 MB / 0.5745 GB, free: 1.336 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003511/0.1657, allocations: 3.405 MB / 0.5778 GB, free: 13.85 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.577e-05/0.1658, allocations: 168.9 kB / 0.578 GB, free: 13.68 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001955/0.166, allocations: 224.4 kB / 0.5782 GB, free: 13.46 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005917/0.1719, allocations: 5.85 MB / 0.5839 GB, free: 6.285 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.157e-05/0.172, allocations: 35.81 kB / 0.5839 GB, free: 6.25 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001409/0.1721, allocations: 124.1 kB / 0.5841 GB, free: 6.129 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.752e-05/0.1722, allocations: 80 kB / 0.5841 GB, free: 6.051 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004159/0.1764, allocations: 2.61 MB / 0.5867 GB, free: 3.422 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01412/0.1905, allocations: 35.81 MB / 0.6217 GB, free: 14.36 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004071/0.1945, allocations: 2.22 MB / 0.6238 GB, free: 11.95 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006692/0.1952, allocations: 0.5448 MB / 0.6244 GB, free: 11.33 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001924/0.1954, allocations: 125.1 kB / 0.6245 GB, free: 11.21 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/0.1955, allocations: 66.58 kB / 0.6245 GB, free: 11.14 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=427): time 3.607e-06/0.1955, allocations: 0 / 0.6245 GB, free: 11.14 MB / 0.5418 GB Notification: Performance of matching and sorting (n=427): time 0.008636/0.2041, allocations: 4.558 MB / 0.629 GB, free: 6.547 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002186/0.2043, allocations: 0.6059 MB / 0.6296 GB, free: 5.797 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002805/0.2071, allocations: 3.023 MB / 0.6325 GB, free: 2.781 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0001141/0.2072, allocations: 49.7 kB / 0.6326 GB, free: 2.727 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009318/0.2082, allocations: 1.811 MB / 0.6343 GB, free: 0.8984 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008034/0.209, allocations: 1.456 MB / 0.6358 GB, free: 15.43 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009188/0.2099, allocations: 1.02 MB / 0.6368 GB, free: 14.39 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.21, allocations: 476.8 kB / 0.6372 GB, free: 13.93 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001091/0.2111, allocations: 0.6737 MB / 0.6379 GB, free: 13.24 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002412/0.2135, allocations: 3.31 MB / 0.6411 GB, free: 8.777 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004655/0.2181, allocations: 4.577 MB / 0.6456 GB, free: 3.086 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-05/0.2182, allocations: 16 kB / 0.6456 GB, free: 3.07 MB / 0.5574 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.2276/0.4458, allocations: 3.78 MB / 0.6493 GB, free: 105.9 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.578e-05/0.4458, allocations: 31.42 kB / 0.6493 GB, free: 105.9 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002923/0.4488, allocations: 1.963 MB / 0.6512 GB, free: 105.7 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002406/0.449, allocations: 115.6 kB / 0.6513 GB, free: 105.7 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001833/0.4508, allocations: 1.249 MB / 0.6526 GB, free: 105.7 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006845/0.4515, allocations: 1.849 MB / 0.6544 GB, free: 104 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/0.4531, allocations: 0.4993 MB / 0.6549 GB, free: 104 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002782/0.4534, allocations: 327.4 kB / 0.6552 GB, free: 104 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.001612/0.455, allocations: 0.837 MB / 0.656 GB, free: 103.9 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001685/0.4567, allocations: 3.315 MB / 0.6592 GB, free: 100.6 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003869/0.4606, allocations: 4.564 MB / 0.6637 GB, free: 97.48 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.159e-05/0.4606, allocations: 17.5 kB / 0.6637 GB, free: 97.48 MB / 0.5574 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.005048/0.4657, allocations: 3.776 MB / 0.6674 GB, free: 97.36 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/0.4657, allocations: 29.91 kB / 0.6674 GB, free: 97.36 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002636/0.4683, allocations: 1.948 MB / 0.6693 GB, free: 97.25 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001676/0.4685, allocations: 114.3 kB / 0.6694 GB, free: 97.24 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0018/0.4703, allocations: 1.249 MB / 0.6706 GB, free: 97.24 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006264/0.4709, allocations: 1.862 MB / 0.6725 GB, free: 95.52 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/0.4723, allocations: 414 kB / 0.6729 GB, free: 95.52 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000279/0.4726, allocations: 326.7 kB / 0.6732 GB, free: 95.52 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.0007985/0.4734, allocations: 0.5696 MB / 0.6737 GB, free: 95.26 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006334/0.4741, allocations: 467.4 kB / 0.6742 GB, free: 95.04 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.004538/0.4786, allocations: 4.496 MB / 0.6786 GB, free: 94.61 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.1511335629038513]