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.01224/0.01224, 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.0008199/0.0008199, allocations: 80.77 kB / 25.15 MB, free: 6.945 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.0009049/0.0009049, allocations: 170.9 kB / 29.07 MB, free: 3.516 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.8757/0.8757, allocations: 177.2 MB / 210 MB, free: 2.387 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.7169/0.7169, allocations: 102.5 MB / 369.5 MB, free: 0.8984 MB / 330.8 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.293e-06/1.293e-06, allocations: 0 / 470 MB, free: 12.57 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.923e-05/2.052e-05, allocations: 6.25 kB / 470 MB, free: 12.57 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.Valves.Check.TestThreeWayValves): time 0.3024/0.3025, allocations: 66.73 MB / 0.5241 GB, free: 74.05 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.01745/0.3199, allocations: 18.26 MB / 0.5419 GB, free: 62.57 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00171/0.3216, allocations: 97.12 kB / 0.542 GB, free: 62.52 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.002355/0.324, allocations: 1.683 MB / 0.5437 GB, free: 61.7 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.002515/0.3265, allocations: 2.189 MB / 0.5458 GB, free: 60.31 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.003616/0.3301, allocations: 2.72 MB / 0.5485 GB, free: 58.9 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.005451/0.3356, allocations: 5.804 MB / 0.5541 GB, free: 56 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002002/0.3376, allocations: 1.741 MB / 0.5558 GB, free: 54.88 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1171/0.4547, allocations: 48.57 MB / 0.6033 GB, free: 20.09 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003619/0.4583, allocations: 1.811 MB / 0.605 GB, free: 18.27 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0006311/0.4589, allocations: 304 kB / 0.6053 GB, free: 17.97 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002613/0.4615, allocations: 1.264 MB / 0.6066 GB, free: 16.71 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0006492/0.4622, allocations: 1.05 MB / 0.6076 GB, free: 15.66 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001341/0.4635, allocations: 1.192 MB / 0.6087 GB, free: 14.46 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.004009/0.4675, allocations: 4.036 MB / 0.6127 GB, free: 10.41 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.4675, allocations: 0 / 0.6127 GB, free: 10.41 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.073e-06/0.4675, allocations: 2.656 kB / 0.6127 GB, free: 10.41 MB / 490.8 MB Notification: Performance of Transformations before backend: time 8.997e-05/0.4676, allocations: 0 / 0.6127 GB, free: 10.41 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.003899/0.4715, allocations: 4.565 MB / 0.6172 GB, free: 5.777 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.4716, allocations: 8.031 kB / 0.6172 GB, free: 5.77 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005843/0.4722, allocations: 0.6423 MB / 0.6178 GB, free: 5.125 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002317/0.4745, allocations: 2.557 MB / 0.6203 GB, free: 2.504 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.277e-05/0.4746, allocations: 168.9 kB / 0.6204 GB, free: 2.336 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00018/0.4747, allocations: 224.4 kB / 0.6207 GB, free: 2.117 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005845/0.4806, allocations: 5.869 MB / 0.6264 GB, free: 10.92 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.226e-05/0.4806, allocations: 39.81 kB / 0.6264 GB, free: 10.88 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001621/0.4808, allocations: 120.1 kB / 0.6265 GB, free: 10.76 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-05/0.4809, allocations: 83.98 kB / 0.6266 GB, free: 10.68 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004564/0.4854, allocations: 2.622 MB / 0.6292 GB, free: 8.062 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01519/0.5006, allocations: 35.82 MB / 0.6642 GB, free: 3 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004147/0.5048, allocations: 2.218 MB / 0.6663 GB, free: 0.5977 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006773/0.5054, allocations: 0.5526 MB / 0.6669 GB, free: 15.98 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003792/0.5058, allocations: 121.1 kB / 0.667 GB, free: 15.86 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.923e-05/0.5059, allocations: 70.58 kB / 0.667 GB, free: 15.78 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=427): time 3.146e-06/0.5059, allocations: 2.625 kB / 0.6671 GB, free: 15.78 MB / 0.5418 GB Notification: Performance of matching and sorting (n=427): time 0.008815/0.5147, allocations: 4.576 MB / 0.6715 GB, free: 11.18 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002145/0.5149, allocations: 0.7604 MB / 0.6723 GB, free: 10.23 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002626/0.5175, allocations: 2.96 MB / 0.6752 GB, free: 7.281 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0001403/0.5177, allocations: 53.7 kB / 0.6752 GB, free: 7.223 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009333/0.5186, allocations: 1.805 MB / 0.677 GB, free: 5.402 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008148/0.5194, allocations: 1.468 MB / 0.6784 GB, free: 3.922 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009015/0.5203, allocations: 1.024 MB / 0.6794 GB, free: 2.887 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 9.987e-05/0.5204, allocations: 476.8 kB / 0.6799 GB, free: 2.418 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001107/0.5215, allocations: 0.6733 MB / 0.6805 GB, free: 1.734 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002366/0.5239, allocations: 3.525 MB / 0.684 GB, free: 13 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00439/0.5283, allocations: 4.589 MB / 0.6884 GB, free: 7.363 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-05/0.5283, allocations: 16 kB / 0.6885 GB, free: 7.348 MB / 0.5574 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.00473/0.533, allocations: 3.794 MB / 0.6922 GB, free: 3.543 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/0.5331, allocations: 38.53 kB / 0.6922 GB, free: 3.508 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002737/0.5358, allocations: 1.964 MB / 0.6941 GB, free: 1.492 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000217/0.536, allocations: 115.1 kB / 0.6942 GB, free: 1.379 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001973/0.538, allocations: 1.256 MB / 0.6954 GB, free: 124 kB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008818/0.5389, allocations: 1.865 MB / 0.6973 GB, free: 14.14 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/0.5402, allocations: 0.4962 MB / 0.6978 GB, free: 13.64 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002835/0.5404, allocations: 331.8 kB / 0.6981 GB, free: 13.32 MB / 0.573 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.001505/0.5419, allocations: 0.8376 MB / 0.6989 GB, free: 12.47 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002264/0.5442, allocations: 3.514 MB / 0.7023 GB, free: 7.738 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004302/0.5485, allocations: 4.588 MB / 0.7068 GB, free: 2.109 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.03e-05/0.5485, allocations: 16 kB / 0.7068 GB, free: 2.094 MB / 0.573 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.004732/0.5533, allocations: 3.774 MB / 0.7105 GB, free: 14.31 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.5533, allocations: 31.98 kB / 0.7105 GB, free: 14.28 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002822/0.5561, allocations: 1.962 MB / 0.7124 GB, free: 12.27 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001546/0.5563, allocations: 115.7 kB / 0.7126 GB, free: 12.15 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001995/0.5583, allocations: 1.248 MB / 0.7138 GB, free: 10.9 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009204/0.5592, allocations: 1.847 MB / 0.7156 GB, free: 8.926 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/0.5604, allocations: 421.1 kB / 0.716 GB, free: 8.512 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002782/0.5607, allocations: 328.5 kB / 0.7163 GB, free: 8.191 MB / 0.5887 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.0007298/0.5614, allocations: 0.5753 MB / 0.7169 GB, free: 7.609 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006527/0.5621, allocations: 477 kB / 0.7173 GB, free: 7.141 MB / 0.5887 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.004635/0.5667, allocations: 4.499 MB / 0.7217 GB, free: 2.691 MB / 0.5887 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.1993982163257897]