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.0138/0.0138, allocations: 1.784 MB / 21.57 MB, free: 2.902 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.001207/0.001207, allocations: 82.8 kB / 25.4 MB, free: 7 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.001342/0.001342, allocations: 158.3 kB / 29.33 MB, free: 3.137 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.9334/0.9334, allocations: 177.1 MB / 210.3 MB, free: 3.461 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.612/0.612, allocations: 102.5 MB / 369.9 MB, free: 248 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.854e-06/1.854e-06, allocations: 0 / 470.5 MB, free: 18.85 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.549e-05/2.734e-05, allocations: 4.188 kB / 470.5 MB, free: 18.85 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.1329/0.1329, allocations: 66.24 MB / 0.5241 GB, free: 5.406 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.02531/0.1582, allocations: 18.18 MB / 0.5419 GB, free: 3.168 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00348/0.1617, allocations: 99.25 kB / 0.542 GB, free: 3.07 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004312/0.166, allocations: 1.685 MB / 0.5436 GB, free: 1.375 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.005838/0.1718, allocations: 2.189 MB / 0.5458 GB, free: 15.17 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.006766/0.1786, allocations: 2.716 MB / 0.5484 GB, free: 12.45 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.007333/0.1859, allocations: 5.812 MB / 0.5541 GB, free: 6.617 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002654/0.1886, allocations: 1.743 MB / 0.5558 GB, free: 4.832 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1078/0.2964, allocations: 48.58 MB / 0.6032 GB, free: 5.418 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003164/0.2996, allocations: 1.814 MB / 0.605 GB, free: 3.598 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0008824/0.3005, allocations: 304 kB / 0.6053 GB, free: 3.301 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003226/0.3037, allocations: 1.259 MB / 0.6065 GB, free: 2.039 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001343/0.305, allocations: 1.05 MB / 0.6075 GB, free: 0.9844 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.00324/0.3083, allocations: 1.184 MB / 0.6087 GB, free: 15.79 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.007374/0.3157, allocations: 4.039 MB / 0.6126 GB, free: 11.74 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.3157, allocations: 4 kB / 0.6126 GB, free: 11.74 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3157, allocations: 0 / 0.6126 GB, free: 11.74 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.0001171/0.3158, allocations: 0 / 0.6126 GB, free: 11.74 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.005402/0.3212, allocations: 4.612 MB / 0.6171 GB, free: 7.051 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 6.725e-05/0.3213, allocations: 8.031 kB / 0.6172 GB, free: 7.043 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008589/0.3221, allocations: 0.6501 MB / 0.6178 GB, free: 6.391 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003323/0.3254, allocations: 2.515 MB / 0.6202 GB, free: 3.793 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/0.3255, allocations: 168.9 kB / 0.6204 GB, free: 3.625 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000219/0.3258, allocations: 240.3 kB / 0.6206 GB, free: 3.391 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005972/0.3317, allocations: 5.686 MB / 0.6262 GB, free: 12.37 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.435e-05/0.3318, allocations: 35.81 kB / 0.6262 GB, free: 12.34 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001579/0.3319, allocations: 120.1 kB / 0.6263 GB, free: 12.22 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.314e-05/0.332, allocations: 83.98 kB / 0.6264 GB, free: 12.14 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003839/0.3358, allocations: 2.38 MB / 0.6287 GB, free: 9.734 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2927/0.6285, allocations: 35.32 MB / 0.6632 GB, free: 84.71 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003784/0.6323, allocations: 2.101 MB / 0.6653 GB, free: 84.18 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005336/0.6329, allocations: 486.2 kB / 0.6658 GB, free: 83.99 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002787/0.6331, allocations: 195.5 kB / 0.6659 GB, free: 83.99 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.113e-05/0.6332, allocations: 70.89 kB / 0.666 GB, free: 83.94 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=427): time 6.432e-06/0.6332, allocations: 2.688 kB / 0.666 GB, free: 83.94 MB / 0.5574 GB Notification: Performance of matching and sorting (n=427): time 0.008323/0.6415, allocations: 4.294 MB / 0.6702 GB, free: 83.8 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000146/0.6417, allocations: 0.7647 MB / 0.6709 GB, free: 82.89 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003078/0.6448, allocations: 2.926 MB / 0.6738 GB, free: 82.51 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0002549/0.645, allocations: 55.98 kB / 0.6739 GB, free: 82.48 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008767/0.6459, allocations: 1.859 MB / 0.6757 GB, free: 81.8 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008816/0.6468, allocations: 1.48 MB / 0.6771 GB, free: 81 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001053/0.6478, allocations: 1.047 MB / 0.6781 GB, free: 80.89 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 4.811e-05/0.6479, allocations: 476.8 kB / 0.6786 GB, free: 80.42 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008102/0.6487, allocations: 0.5505 MB / 0.6791 GB, free: 80.38 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00185/0.6505, allocations: 3.418 MB / 0.6825 GB, free: 76.79 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003308/0.6538, allocations: 4.33 MB / 0.6867 GB, free: 73.71 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.668e-05/0.6539, allocations: 20.02 kB / 0.6867 GB, free: 73.7 MB / 0.5574 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.004679/0.6585, allocations: 3.504 MB / 0.6901 GB, free: 73.37 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.643e-05/0.6586, allocations: 31.66 kB / 0.6902 GB, free: 73.37 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002059/0.6606, allocations: 1.785 MB / 0.6919 GB, free: 73.25 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002379/0.6609, allocations: 114.4 kB / 0.692 GB, free: 73.24 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002064/0.6629, allocations: 1.252 MB / 0.6932 GB, free: 73.24 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008847/0.6638, allocations: 1.831 MB / 0.695 GB, free: 71.55 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002421/0.6663, allocations: 0.5025 MB / 0.6955 GB, free: 71.39 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003873/0.6666, allocations: 286.4 kB / 0.6958 GB, free: 71.39 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.001828/0.6685, allocations: 0.7157 MB / 0.6965 GB, free: 71.25 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002288/0.6708, allocations: 3.416 MB / 0.6998 GB, free: 67.66 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004198/0.675, allocations: 4.312 MB / 0.704 GB, free: 64.56 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.136e-05/0.675, allocations: 16.38 kB / 0.7041 GB, free: 64.56 MB / 0.5574 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.005843/0.6808, allocations: 3.508 MB / 0.7075 GB, free: 64.01 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 4.635e-05/0.6809, allocations: 28.59 kB / 0.7075 GB, free: 64.01 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00244/0.6833, allocations: 1.773 MB / 0.7092 GB, free: 63.59 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002082/0.6835, allocations: 111.9 kB / 0.7093 GB, free: 63.57 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002012/0.6855, allocations: 1.249 MB / 0.7106 GB, free: 63.37 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007442/0.6863, allocations: 1.842 MB / 0.7124 GB, free: 61.64 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002028/0.6883, allocations: 422.4 kB / 0.7128 GB, free: 61.43 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003012/0.6886, allocations: 286.7 kB / 0.713 GB, free: 61.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: 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.00133/0.6899, allocations: 0.5732 MB / 0.7136 GB, free: 61.07 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00093/0.6909, allocations: 463.5 kB / 0.714 GB, free: 60.84 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.004721/0.6956, allocations: 4.407 MB / 0.7183 GB, free: 59.27 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.50774445803836]