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.00891/0.00891, allocations: 1.777 MB / 22.36 MB, free: 2.117 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.001003/0.001003, allocations: 81.2 kB / 26.19 MB, free: 6.078 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.001173/0.001173, allocations: 169.9 kB / 30.12 MB, free: 2.184 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.8586/0.8586, allocations: 177.1 MB / 211.1 MB, free: 2.266 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.6968/0.6968, allocations: 102.5 MB / 370.6 MB, free: 0.7695 MB / 330.8 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.232e-06/1.232e-06, allocations: 0 / 471.2 MB, free: 12.34 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.237e-05/1.361e-05, allocations: 2.312 kB / 471.2 MB, free: 12.34 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.2839/0.2839, allocations: 66.24 MB / 0.5249 GB, free: 74.24 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.01741/0.3013, allocations: 18.18 MB / 0.5426 GB, free: 62.76 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002162/0.3035, allocations: 100.6 kB / 0.5427 GB, free: 62.71 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.002469/0.306, allocations: 1.68 MB / 0.5444 GB, free: 61.89 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.002812/0.3088, allocations: 2.192 MB / 0.5465 GB, free: 60.5 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.003868/0.3127, allocations: 2.721 MB / 0.5492 GB, free: 59.09 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.005151/0.3178, allocations: 5.797 MB / 0.5548 GB, free: 56.19 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002224/0.32, allocations: 1.736 MB / 0.5565 GB, free: 55.07 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1132/0.4332, allocations: 48.59 MB / 0.604 GB, free: 20.25 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002825/0.436, allocations: 1.817 MB / 0.6057 GB, free: 18.43 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0005346/0.4365, allocations: 304 kB / 0.606 GB, free: 18.13 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002093/0.4386, allocations: 1.247 MB / 0.6073 GB, free: 16.88 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0004816/0.4391, allocations: 1.054 MB / 0.6083 GB, free: 15.82 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001046/0.4402, allocations: 1.192 MB / 0.6095 GB, free: 14.63 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.003556/0.4437, allocations: 4.038 MB / 0.6134 GB, free: 10.58 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.4437, allocations: 0 / 0.6134 GB, free: 10.58 MB / 490.8 MB Notification: Performance of FrontEnd: time 7.71e-07/0.4437, allocations: 0 / 0.6134 GB, free: 10.58 MB / 490.8 MB Notification: Performance of Transformations before backend: time 8.747e-05/0.4438, allocations: 0 / 0.6134 GB, free: 10.58 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.00341/0.4472, allocations: 4.606 MB / 0.6179 GB, free: 5.906 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.4473, allocations: 12.02 kB / 0.6179 GB, free: 5.895 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004944/0.4478, allocations: 0.6423 MB / 0.6185 GB, free: 5.25 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001999/0.4498, allocations: 2.523 MB / 0.621 GB, free: 2.66 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.991e-05/0.4498, allocations: 171.5 kB / 0.6212 GB, free: 2.492 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001597/0.45, allocations: 228.4 kB / 0.6214 GB, free: 2.27 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00498/0.455, allocations: 5.694 MB / 0.6269 GB, free: 11.24 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.422e-05/0.455, allocations: 39.81 kB / 0.627 GB, free: 11.2 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001614/0.4552, allocations: 126.8 kB / 0.6271 GB, free: 11.08 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.158e-05/0.4552, allocations: 83.98 kB / 0.6272 GB, free: 11 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003821/0.459, allocations: 2.369 MB / 0.6295 GB, free: 8.637 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0135/0.4725, allocations: 35.34 MB / 0.664 GB, free: 4.066 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003657/0.4762, allocations: 2.089 MB / 0.666 GB, free: 1.793 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004752/0.4767, allocations: 481.9 kB / 0.6665 GB, free: 1.254 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001724/0.4769, allocations: 125.1 kB / 0.6666 GB, free: 1.133 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.465e-05/0.4769, allocations: 74.58 kB / 0.6667 GB, free: 1.051 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=427): time 4.819e-06/0.4769, allocations: 2.656 kB / 0.6667 GB, free: 1.051 MB / 0.5262 GB Notification: Performance of matching and sorting (n=427): time 0.008149/0.4851, allocations: 4.31 MB / 0.6709 GB, free: 12.71 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002188/0.4853, allocations: 0.7565 MB / 0.6716 GB, free: 11.77 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002486/0.4878, allocations: 2.931 MB / 0.6745 GB, free: 8.848 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0001584/0.4879, allocations: 53.7 kB / 0.6746 GB, free: 8.789 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009892/0.4889, allocations: 1.857 MB / 0.6764 GB, free: 6.914 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.000885/0.4898, allocations: 1.482 MB / 0.6778 GB, free: 5.422 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009307/0.4907, allocations: 1.047 MB / 0.6788 GB, free: 4.363 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 9.567e-05/0.4908, allocations: 476.8 kB / 0.6793 GB, free: 3.895 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007746/0.4916, allocations: 0.5484 MB / 0.6798 GB, free: 3.336 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002039/0.4936, allocations: 3.426 MB / 0.6832 GB, free: 14.7 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004056/0.4977, allocations: 4.314 MB / 0.6874 GB, free: 9.336 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.599e-05/0.4977, allocations: 17.25 kB / 0.6874 GB, free: 9.32 MB / 0.5574 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.004493/0.5022, allocations: 3.512 MB / 0.6908 GB, free: 5.797 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.272e-05/0.5022, allocations: 32 kB / 0.6909 GB, free: 5.766 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002259/0.5045, allocations: 1.787 MB / 0.6926 GB, free: 3.93 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000219/0.5047, allocations: 114.3 kB / 0.6927 GB, free: 3.816 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00206/0.5068, allocations: 1.252 MB / 0.6939 GB, free: 2.562 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009478/0.5077, allocations: 1.834 MB / 0.6957 GB, free: 0.6211 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001658/0.5094, allocations: 0.5001 MB / 0.6962 GB, free: 120 kB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002974/0.5097, allocations: 287.8 kB / 0.6965 GB, free: 15.84 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.001455/0.5111, allocations: 0.7174 MB / 0.6972 GB, free: 15.11 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002042/0.5132, allocations: 3.416 MB / 0.7005 GB, free: 10.48 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00352/0.5167, allocations: 4.317 MB / 0.7047 GB, free: 5.117 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.902e-05/0.5167, allocations: 16 kB / 0.7048 GB, free: 5.102 MB / 0.573 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.00437/0.5211, allocations: 3.497 MB / 0.7082 GB, free: 1.598 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.5211, allocations: 28 kB / 0.7082 GB, free: 1.57 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002194/0.5233, allocations: 1.773 MB / 0.7099 GB, free: 15.75 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001666/0.5235, allocations: 122.2 kB / 0.71 GB, free: 15.62 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001963/0.5254, allocations: 1.252 MB / 0.7113 GB, free: 14.37 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001054/0.5265, allocations: 1.825 MB / 0.7131 GB, free: 12.43 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/0.528, allocations: 421.1 kB / 0.7135 GB, free: 12.02 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002773/0.5283, allocations: 287.8 kB / 0.7137 GB, free: 11.73 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.0008619/0.5292, allocations: 0.5795 MB / 0.7143 GB, free: 11.15 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008186/0.53, allocations: 461 kB / 0.7147 GB, free: 10.7 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.004728/0.5347, allocations: 4.407 MB / 0.719 GB, free: 6.34 MB / 0.5887 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.145846283994615]