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.01204/0.01204, allocations: 1.454 MB / 20.8 MB, free: 3.617 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.007289/0.007289, allocations: 80.64 kB / 24.44 MB, free: 7.531 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.001507/0.001507, allocations: 160.8 kB / 28.2 MB, free: 4.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 1.502/1.502, allocations: 177.2 MB / 209 MB, free: 2.785 MB / 186.7 MB " [Timeout remaining time 178] 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 1.172/1.172, allocations: 102.5 MB / 368.4 MB, free: 1.316 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 0.5.2 (/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 2.014e-06/2.014e-06, allocations: 0 / 468.3 MB, free: 13.53 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.51e-05/3.711e-05, allocations: 4.703 kB / 468.3 MB, free: 13.52 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.4094/0.4095, allocations: 62.2 MB / 0.5181 GB, free: 72.07 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.02127/0.4307, allocations: 17.63 MB / 0.5353 GB, free: 65.3 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003129/0.4339, allocations: 104.1 kB / 0.5354 GB, free: 65.25 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004412/0.4383, allocations: 1.677 MB / 0.537 GB, free: 64.48 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.005484/0.4438, allocations: 2.168 MB / 0.5392 GB, free: 63.1 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.005437/0.4492, allocations: 2.709 MB / 0.5418 GB, free: 61.7 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.006834/0.456, allocations: 5.812 MB / 0.5475 GB, free: 58.79 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00254/0.4586, allocations: 1.739 MB / 0.5492 GB, free: 57.67 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006195/0.4648, allocations: 3.175 MB / 0.5523 GB, free: 56.31 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004499/0.4693, allocations: 1.988 MB / 0.5542 GB, free: 55.64 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.001024/0.4703, allocations: 364.1 kB / 0.5546 GB, free: 55.64 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.09421/0.5645, allocations: 16.77 MB / 0.5709 GB, free: 46.39 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.002565/0.5671, allocations: 1.193 MB / 0.5721 GB, free: 45.69 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.005181/0.5723, allocations: 1.292 MB / 0.5734 GB, free: 45.08 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01186/0.5841, allocations: 6.206 MB / 0.5794 GB, free: 41.47 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.5841, allocations: 0 / 0.5794 GB, free: 41.47 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.625e-06/0.5841, allocations: 3.938 kB / 0.5794 GB, free: 41.46 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0002853/0.5844, allocations: 0 / 0.5794 GB, free: 41.46 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.01251/0.5969, allocations: 4.604 MB / 0.5839 GB, free: 37.55 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.597, allocations: 8.031 kB / 0.5839 GB, free: 37.54 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002876/0.5998, allocations: 0.7657 MB / 0.5847 GB, free: 36.78 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007535/0.6074, allocations: 3.807 MB / 0.5884 GB, free: 32.92 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002156/0.6076, allocations: 174.3 kB / 0.5886 GB, free: 32.75 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007043/0.6083, allocations: 228.4 kB / 0.5888 GB, free: 32.53 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01244/0.6207, allocations: 5.874 MB / 0.5945 GB, free: 25.63 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001783/0.6209, allocations: 39.81 kB / 0.5946 GB, free: 25.59 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007446/0.6217, allocations: 120.1 kB / 0.5947 GB, free: 25.47 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001834/0.6218, allocations: 80 kB / 0.5948 GB, free: 25.39 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009661/0.6315, allocations: 3.493 MB / 0.5982 GB, free: 21.9 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02272/0.6542, allocations: 24.99 MB / 0.6226 GB, free: 11.97 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01007/0.6643, allocations: 2.825 MB / 0.6253 GB, free: 9.016 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002446/0.6667, allocations: 0.8432 MB / 0.6261 GB, free: 8.121 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004753/0.6672, allocations: 113.1 kB / 0.6263 GB, free: 8.012 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001022/0.6673, allocations: 75.73 kB / 0.6263 GB, free: 7.93 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=427): time 5.41e-06/0.6673, allocations: 0 / 0.6263 GB, free: 7.93 MB / 0.4949 GB Notification: Performance of matching and sorting (n=427): time 0.02104/0.6884, allocations: 5.806 MB / 0.632 GB, free: 2.098 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005015/0.6889, allocations: 0.6098 MB / 0.6326 GB, free: 1.344 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008734/0.6976, allocations: 3.167 MB / 0.6357 GB, free: 14.19 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007511/0.6984, allocations: 53.81 kB / 0.6357 GB, free: 14.13 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00217/0.7005, allocations: 1.676 MB / 0.6374 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002533/0.7031, allocations: 1.44 MB / 0.6388 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003518/0.7066, allocations: 0.9597 MB / 0.6397 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.7067, allocations: 301.1 kB / 0.64 GB, free: 9.719 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003646/0.7104, allocations: 1.305 MB / 0.6413 GB, free: 8.406 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005899/0.7163, allocations: 3.19 MB / 0.6444 GB, free: 4.359 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01453/0.7308, allocations: 6.281 MB / 0.6505 GB, free: 13.33 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.325e-05/0.7309, allocations: 19.94 kB / 0.6505 GB, free: 13.31 MB / 0.5262 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.01442/0.7453, allocations: 4.959 MB / 0.6554 GB, free: 8.34 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 9.372e-05/0.7454, allocations: 28 kB / 0.6554 GB, free: 8.312 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007727/0.7532, allocations: 2.972 MB / 0.6583 GB, free: 5.293 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004918/0.7537, allocations: 119.5 kB / 0.6584 GB, free: 5.176 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004368/0.758, allocations: 1.256 MB / 0.6597 GB, free: 3.918 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001832/0.7599, allocations: 1.418 MB / 0.661 GB, free: 2.398 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004173/0.764, allocations: 0.504 MB / 0.6615 GB, free: 1.891 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001128/0.7652, allocations: 326.5 kB / 0.6618 GB, free: 1.574 MB / 0.5262 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.00593/0.7711, allocations: 1.988 MB / 0.6638 GB, free: 15.58 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005562/0.7766, allocations: 3.174 MB / 0.6669 GB, free: 11.55 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01382/0.7905, allocations: 6.24 MB / 0.673 GB, free: 4.555 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.043e-05/0.7905, allocations: 16 kB / 0.673 GB, free: 4.539 MB / 0.5418 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.01306/0.8036, allocations: 4.943 MB / 0.6778 GB, free: 15.59 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 7.264e-05/0.8037, allocations: 28 kB / 0.6778 GB, free: 15.56 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007048/0.8107, allocations: 2.956 MB / 0.6807 GB, free: 12.56 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003876/0.8111, allocations: 120.8 kB / 0.6809 GB, free: 12.44 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004184/0.8153, allocations: 1.254 MB / 0.6821 GB, free: 11.19 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001604/0.8169, allocations: 1.418 MB / 0.6835 GB, free: 9.668 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003358/0.8203, allocations: 419.8 kB / 0.6839 GB, free: 9.258 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008262/0.8211, allocations: 323.8 kB / 0.6842 GB, free: 8.941 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.001607/0.8227, allocations: 0.4904 MB / 0.6847 GB, free: 8.445 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002072/0.8248, allocations: 465 kB / 0.6851 GB, free: 7.988 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.01067/0.8354, allocations: 4.901 MB / 0.6899 GB, free: 3.344 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.845020781038329]