Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.007712/0.007712, allocations: 1.795 MB / 21.35 MB, free: 3.195 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.0006809/0.0006809, allocations: 82.02 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.0008102/0.0008102, allocations: 168.4 kB / 29.06 MB, free: 3.668 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.922/0.922, allocations: 177.2 MB / 210 MB, free: 3.609 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.5806/0.5806, allocations: 102.5 MB / 369.5 MB, free: 380 kB / 330.7 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.Valves.Check.TestThreeWayValves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|threeWayValveVLE_L2_1.h|threeWayValveVLE_L2_1.p",fileNamePrefix="ClaRa_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_ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 470 MB, free: 18.97 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.864e-05/3.055e-05, allocations: 3.016 kB / 470 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.1195/0.1195, allocations: 66.73 MB / 0.5241 GB, free: 5.215 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.02374/0.1433, allocations: 18.25 MB / 0.5419 GB, free: 2.906 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003474/0.1468, allocations: 103.2 kB / 0.542 GB, free: 2.805 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004331/0.1511, allocations: 1.693 MB / 0.5437 GB, free: 1.102 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.006066/0.1571, allocations: 2.185 MB / 0.5458 GB, free: 14.9 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.005283/0.1624, allocations: 2.716 MB / 0.5485 GB, free: 12.18 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.007682/0.1701, allocations: 5.808 MB / 0.5542 GB, free: 6.355 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0028/0.1729, allocations: 1.747 MB / 0.5559 GB, free: 4.566 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1347/0.3076, allocations: 48.58 MB / 0.6033 GB, free: 5.137 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003421/0.3111, allocations: 1.814 MB / 0.6051 GB, free: 3.316 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.001058/0.3121, allocations: 300 kB / 0.6054 GB, free: 3.023 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003118/0.3152, allocations: 1.259 MB / 0.6066 GB, free: 1.762 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0009251/0.3162, allocations: 1.043 MB / 0.6076 GB, free: 0.7148 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.00213/0.3183, allocations: 1.188 MB / 0.6088 GB, free: 15.52 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.008753/0.3271, allocations: 4.039 MB / 0.6127 GB, free: 11.47 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 1.151e-05/0.3271, allocations: 0 / 0.6127 GB, free: 11.47 MB / 0.5262 GB Notification: Performance of FrontEnd: time 3.386e-06/0.3271, allocations: 0 / 0.6127 GB, free: 11.47 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.0002989/0.3274, allocations: 0 / 0.6127 GB, free: 11.47 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.007326/0.3347, allocations: 4.566 MB / 0.6172 GB, free: 6.828 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.3347, allocations: 8.031 kB / 0.6172 GB, free: 6.82 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007196/0.3355, allocations: 0.6501 MB / 0.6178 GB, free: 6.168 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003063/0.3385, allocations: 2.539 MB / 0.6203 GB, free: 3.547 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.796e-05/0.3386, allocations: 168.9 kB / 0.6205 GB, free: 3.379 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001932/0.3388, allocations: 228.3 kB / 0.6207 GB, free: 3.156 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006398/0.3452, allocations: 5.878 MB / 0.6264 GB, free: 11.95 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.963e-05/0.3453, allocations: 39.81 kB / 0.6265 GB, free: 11.91 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001761/0.3454, allocations: 120.1 kB / 0.6266 GB, free: 11.79 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.665e-05/0.3455, allocations: 83.98 kB / 0.6266 GB, free: 11.71 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004711/0.3502, allocations: 2.606 MB / 0.6292 GB, free: 9.082 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2516/0.6018, allocations: 35.82 MB / 0.6642 GB, free: 83.74 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004249/0.6061, allocations: 2.223 MB / 0.6663 GB, free: 83.21 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007427/0.6068, allocations: 0.5547 MB / 0.6669 GB, free: 83.02 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001878/0.607, allocations: 121.4 kB / 0.667 GB, free: 83.02 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.18e-05/0.6071, allocations: 72.97 kB / 0.6671 GB, free: 82.97 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=427): time 4.518e-06/0.6071, allocations: 3.094 kB / 0.6671 GB, free: 82.97 MB / 0.5574 GB Notification: Performance of matching and sorting (n=427): time 0.009079/0.6161, allocations: 4.56 MB / 0.6715 GB, free: 82.83 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001326/0.6163, allocations: 0.7615 MB / 0.6723 GB, free: 81.92 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003171/0.6195, allocations: 2.953 MB / 0.6752 GB, free: 81.54 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.000348/0.6198, allocations: 55.11 kB / 0.6752 GB, free: 81.51 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008452/0.6206, allocations: 1.81 MB / 0.677 GB, free: 80.83 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.001109/0.6218, allocations: 1.467 MB / 0.6784 GB, free: 80.03 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001346/0.6231, allocations: 1.023 MB / 0.6794 GB, free: 79.92 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 7.428e-05/0.6232, allocations: 485.7 kB / 0.6799 GB, free: 79.45 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/0.6245, allocations: 0.6766 MB / 0.6805 GB, free: 79.41 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002406/0.6269, allocations: 3.52 MB / 0.684 GB, free: 75.82 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004635/0.6315, allocations: 4.591 MB / 0.6885 GB, free: 72.74 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-05/0.6315, allocations: 16.19 kB / 0.6885 GB, free: 72.74 MB / 0.5574 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.005821/0.6374, allocations: 3.794 MB / 0.6922 GB, free: 72.41 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 4.48e-05/0.6374, allocations: 29.56 kB / 0.6922 GB, free: 72.41 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003109/0.6405, allocations: 1.977 MB / 0.6941 GB, free: 72.29 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003919/0.6409, allocations: 114.6 kB / 0.6942 GB, free: 72.28 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00229/0.6432, allocations: 1.253 MB / 0.6955 GB, free: 72.28 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009485/0.6441, allocations: 1.85 MB / 0.6973 GB, free: 70.56 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002069/0.6462, allocations: 0.5036 MB / 0.6978 GB, free: 70.4 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004019/0.6466, allocations: 328.2 kB / 0.6981 GB, free: 70.4 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.002039/0.6487, allocations: 0.8425 MB / 0.6989 GB, free: 70.26 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002294/0.6509, allocations: 3.52 MB / 0.7023 GB, free: 66.67 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004922/0.6559, allocations: 4.566 MB / 0.7068 GB, free: 63.59 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.864e-05/0.6559, allocations: 21.03 kB / 0.7068 GB, free: 63.59 MB / 0.5574 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.006379/0.6623, allocations: 3.787 MB / 0.7105 GB, free: 62.87 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 4.209e-05/0.6623, allocations: 29.81 kB / 0.7105 GB, free: 62.87 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003026/0.6654, allocations: 1.97 MB / 0.7125 GB, free: 62.45 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001991/0.6656, allocations: 106.6 kB / 0.7126 GB, free: 62.43 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002007/0.6676, allocations: 1.251 MB / 0.7138 GB, free: 62.23 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007654/0.6683, allocations: 1.859 MB / 0.7156 GB, free: 60.46 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001939/0.6703, allocations: 414 kB / 0.716 GB, free: 60.26 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003455/0.6706, allocations: 329 kB / 0.7163 GB, free: 60.21 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.001305/0.6719, allocations: 0.5689 MB / 0.7169 GB, free: 59.91 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001116/0.673, allocations: 476.4 kB / 0.7173 GB, free: 59.66 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.004972/0.678, allocations: 4.492 MB / 0.7217 GB, free: 57.79 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.3076215339824557]