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.02123/0.02123, allocations: 1.796 MB / 21.15 MB, free: 3.246 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.002005/0.002005, allocations: 81.3 kB / 24.88 MB, free: 6.832 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.002401/0.002401, allocations: 174.2 kB / 28.74 MB, free: 3.66 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.528/1.528, allocations: 177.2 MB / 209.6 MB, free: 2.355 MB / 186.7 MB " [Timeout remaining time 178] 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 1.172/1.172, allocations: 102.5 MB / 369.1 MB, free: 0.8438 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.633e-06/1.633e-06, allocations: 0 / 469.1 MB, free: 12.95 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.318e-05/3.482e-05, allocations: 2.312 kB / 469.1 MB, free: 12.95 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.4984/0.4984, allocations: 64.31 MB / 0.5209 GB, free: 71.89 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.02444/0.5228, allocations: 18.13 MB / 0.5387 GB, free: 63.18 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004559/0.5274, allocations: 104.8 kB / 0.5388 GB, free: 63.12 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.005083/0.5325, allocations: 1.677 MB / 0.5404 GB, free: 62.31 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.007248/0.5397, allocations: 2.174 MB / 0.5425 GB, free: 60.93 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00705/0.5468, allocations: 2.719 MB / 0.5452 GB, free: 59.52 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01003/0.5568, allocations: 5.805 MB / 0.5508 GB, free: 56.62 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003518/0.5603, allocations: 1.736 MB / 0.5525 GB, free: 55.5 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008571/0.5689, allocations: 3.173 MB / 0.5556 GB, free: 54.14 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00588/0.5748, allocations: 1.97 MB / 0.5576 GB, free: 53.48 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.001785/0.5766, allocations: 360.1 kB / 0.5579 GB, free: 53.48 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005644/0.5822, allocations: 1.338 MB / 0.5592 GB, free: 53.15 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.002096/0.5843, allocations: 1.19 MB / 0.5604 GB, free: 52.45 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.004323/0.5886, allocations: 1.297 MB / 0.5616 GB, free: 51.84 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01162/0.6003, allocations: 6.211 MB / 0.5677 GB, free: 48.84 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.6003, allocations: 1.844 kB / 0.5677 GB, free: 48.84 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.024e-06/0.6003, allocations: 0 / 0.5677 GB, free: 48.84 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0002381/0.6005, allocations: 0 / 0.5677 GB, free: 48.84 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.01088/0.6114, allocations: 5.181 MB / 0.5728 GB, free: 45.14 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.6114, allocations: 9 kB / 0.5728 GB, free: 45.14 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002041/0.6135, allocations: 0.7634 MB / 0.5735 GB, free: 44.75 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006813/0.6203, allocations: 3.412 MB / 0.5768 GB, free: 42.48 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/0.6204, allocations: 168.9 kB / 0.577 GB, free: 42.41 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002644/0.6207, allocations: 227.4 kB / 0.5772 GB, free: 42.34 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009804/0.6305, allocations: 6.813 MB / 0.5839 GB, free: 34.91 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.736e-05/0.6305, allocations: 39.81 kB / 0.5839 GB, free: 34.88 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001979/0.6307, allocations: 124.1 kB / 0.584 GB, free: 34.75 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.32e-05/0.6308, allocations: 83.98 kB / 0.5841 GB, free: 34.67 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007381/0.6382, allocations: 3.412 MB / 0.5874 GB, free: 31.25 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02584/0.664, allocations: 37.58 MB / 0.6241 GB, free: 8.414 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00963/0.6736, allocations: 2.917 MB / 0.627 GB, free: 5.312 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002233/0.6759, allocations: 0.8395 MB / 0.6278 GB, free: 4.41 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004759/0.6764, allocations: 117.1 kB / 0.6279 GB, free: 4.297 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003969/0.6768, allocations: 81.22 kB / 0.628 GB, free: 4.211 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=427): time 5.1e-06/0.6768, allocations: 0 / 0.628 GB, free: 4.211 MB / 0.4949 GB Notification: Performance of matching and sorting (n=427): time 0.0202/0.697, allocations: 5.826 MB / 0.6337 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004977/0.6975, allocations: 0.6098 MB / 0.6343 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01018/0.7076, allocations: 3.984 MB / 0.6382 GB, free: 9.629 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006926/0.7083, allocations: 53.7 kB / 0.6382 GB, free: 9.57 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002614/0.7109, allocations: 1.971 MB / 0.6402 GB, free: 7.582 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002651/0.7136, allocations: 1.573 MB / 0.6417 GB, free: 5.996 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003636/0.7172, allocations: 1.184 MB / 0.6428 GB, free: 4.801 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000531/0.7178, allocations: 483.3 kB / 0.6433 GB, free: 4.328 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003423/0.7212, allocations: 1.275 MB / 0.6446 GB, free: 3.043 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006634/0.7278, allocations: 4.084 MB / 0.6485 GB, free: 13.8 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01252/0.7403, allocations: 6.365 MB / 0.6548 GB, free: 6.414 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001008/0.7404, allocations: 16 kB / 0.6548 GB, free: 6.398 MB / 0.5262 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.01425/0.7547, allocations: 4.987 MB / 0.6596 GB, free: 1.41 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 8.048e-05/0.7548, allocations: 30.03 kB / 0.6597 GB, free: 1.383 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008166/0.7629, allocations: 2.896 MB / 0.6625 GB, free: 14.44 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005409/0.7635, allocations: 127 kB / 0.6626 GB, free: 14.32 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004471/0.7679, allocations: 1.248 MB / 0.6638 GB, free: 13.07 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002116/0.7701, allocations: 1.92 MB / 0.6657 GB, free: 11.03 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004262/0.7743, allocations: 0.4962 MB / 0.6662 GB, free: 10.53 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001119/0.7754, allocations: 331.8 kB / 0.6665 GB, free: 10.2 MB / 0.5418 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.005791/0.7812, allocations: 1.789 MB / 0.6683 GB, free: 8.41 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006797/0.788, allocations: 4.073 MB / 0.6722 GB, free: 3.184 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01206/0.8001, allocations: 6.339 MB / 0.6784 GB, free: 11.82 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.201e-05/0.8002, allocations: 16 kB / 0.6784 GB, free: 11.8 MB / 0.5574 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.01397/0.8142, allocations: 4.954 MB / 0.6833 GB, free: 6.848 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 7.696e-05/0.8142, allocations: 34.66 kB / 0.6833 GB, free: 6.816 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007385/0.8216, allocations: 2.88 MB / 0.6861 GB, free: 3.895 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004434/0.8221, allocations: 123.6 kB / 0.6862 GB, free: 3.77 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004301/0.8264, allocations: 1.251 MB / 0.6875 GB, free: 2.52 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002103/0.8285, allocations: 1.911 MB / 0.6893 GB, free: 500 kB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004249/0.8327, allocations: 419.8 kB / 0.6897 GB, free: 80 kB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00115/0.8339, allocations: 323.8 kB / 0.69 GB, free: 15.76 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: 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.002184/0.836, allocations: 0.5792 MB / 0.6906 GB, free: 15.18 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00269/0.8387, allocations: 466.6 kB / 0.6911 GB, free: 14.72 MB / 0.573 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.01157/0.8503, allocations: 4.791 MB / 0.6957 GB, free: 10.2 MB / 0.573 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.0174475440289825]