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.01563/0.01563, allocations: 1.744 MB / 21.38 MB, free: 464 kB / 14.72 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.001867/0.001867, allocations: 106.9 kB / 24.97 MB, free: 2.035 MB / 14.72 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.002029/0.002029, allocations: 210.3 kB / 28.68 MB, free: 3.324 MB / 19.63 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.413/1.413, allocations: 230.6 MB / 262.9 MB, free: 5.812 MB / 206.1 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.034/1.034, allocations: 130.7 MB / 450.4 MB, free: 6.375 MB / 350.1 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 0.3.1 (/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: SMArtInt 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: ClaRa 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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.06671/0.06671, allocations: 20.62 MB / 0.6367 GB, free: 4.566 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.2458, allocations: 81.9 MB / 0.7167 GB, free: 2.57 MB / 0.5294 GB 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.5346/0.7804, allocations: 48.33 MB / 0.7639 GB, free: 19.12 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.0261/0.8065, allocations: 17.88 MB / 0.7814 GB, free: 6.605 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005354/0.8118, allocations: 102.5 kB / 0.7815 GB, free: 6.555 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.005603/0.8174, allocations: 1.677 MB / 0.7831 GB, free: 5.75 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.007674/0.8251, allocations: 2.104 MB / 0.7851 GB, free: 4.438 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.006969/0.8321, allocations: 2.667 MB / 0.7878 GB, free: 3 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.009757/0.8418, allocations: 5.649 MB / 0.7933 GB, free: 15.7 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003538/0.8454, allocations: 1.514 MB / 0.7947 GB, free: 14.62 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00529/0.8507, allocations: 2.356 MB / 0.797 GB, free: 13.27 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005251/0.8559, allocations: 2.434 MB / 0.7994 GB, free: 11.73 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.0009757/0.8569, allocations: 360.2 kB / 0.7998 GB, free: 11.73 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004324/0.8612, allocations: 1.353 MB / 0.8011 GB, free: 11.16 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.001406/0.8626, allocations: 1.165 MB / 0.8022 GB, free: 10.28 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.002852/0.8655, allocations: 1.613 MB / 0.8038 GB, free: 9.246 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01012/0.8756, allocations: 6.315 MB / 0.81 GB, free: 3.008 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.8756, allocations: 0 / 0.81 GB, free: 3.008 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.184e-06/0.8756, allocations: 0 / 0.81 GB, free: 3.008 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0001723/0.8758, allocations: 4 kB / 0.81 GB, free: 3.004 MB / 0.5763 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.008015/0.8838, allocations: 4.649 MB / 0.8145 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.8838, allocations: 14.62 kB / 0.8145 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001647/0.8855, allocations: 0.5835 MB / 0.8151 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006414/0.8919, allocations: 3.64 MB / 0.8187 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001444/0.892, allocations: 172 kB / 0.8188 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003017/0.8923, allocations: 220.4 kB / 0.819 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01145/0.9038, allocations: 5.869 MB / 0.8248 GB, free: 2.746 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.062e-05/0.9039, allocations: 38.31 kB / 0.8248 GB, free: 2.711 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002444/0.9041, allocations: 120 kB / 0.8249 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.752e-05/0.9042, allocations: 90.58 kB / 0.825 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009189/0.9134, allocations: 3.482 MB / 0.8284 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02343/0.9368, allocations: 24.97 MB / 0.8528 GB, free: 5.105 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008648/0.9455, allocations: 2.81 MB / 0.8555 GB, free: 2.16 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001723/0.9472, allocations: 0.8198 MB / 0.8563 GB, free: 1.293 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003121/0.9475, allocations: 113.1 kB / 0.8564 GB, free: 1.18 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.41e-05/0.9476, allocations: 67.75 kB / 0.8565 GB, free: 1.105 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=427): time 5.55e-06/0.9476, allocations: 2.656 kB / 0.8565 GB, free: 1.105 MB / 0.6232 GB Notification: Performance of matching and sorting (n=427): time 0.01688/0.9644, allocations: 5.538 MB / 0.8619 GB, free: 11.55 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003371/0.9648, allocations: 0.6097 MB / 0.8625 GB, free: 10.8 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004954/0.9697, allocations: 3.094 MB / 0.8655 GB, free: 7.715 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0003826/0.9701, allocations: 49.7 kB / 0.8656 GB, free: 7.66 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.001356/0.9715, allocations: 1.684 MB / 0.8672 GB, free: 5.961 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.001533/0.973, allocations: 1.452 MB / 0.8686 GB, free: 4.496 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001463/0.9745, allocations: 0.9701 MB / 0.8696 GB, free: 3.52 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.9746, allocations: 305.1 kB / 0.8699 GB, free: 3.219 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002514/0.9771, allocations: 1.295 MB / 0.8711 GB, free: 1.914 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004109/0.9812, allocations: 3.182 MB / 0.8742 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01123/0.9925, allocations: 6.224 MB / 0.8803 GB, free: 6.91 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.555e-05/0.9925, allocations: 16 kB / 0.8803 GB, free: 6.895 MB / 0.6544 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.009998/1.002, allocations: 4.799 MB / 0.885 GB, free: 2.098 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.069e-05/1.003, allocations: 28 kB / 0.8851 GB, free: 2.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005776/1.008, allocations: 2.959 MB / 0.8879 GB, free: 15.07 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003021/1.009, allocations: 119.5 kB / 0.8881 GB, free: 14.95 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003544/1.012, allocations: 1.248 MB / 0.8893 GB, free: 13.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/1.014, allocations: 1.417 MB / 0.8907 GB, free: 12.19 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002859/1.016, allocations: 0.5078 MB / 0.8912 GB, free: 11.68 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005203/1.017, allocations: 330.4 kB / 0.8915 GB, free: 11.36 MB / 0.67 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.004204/1.021, allocations: 1.977 MB / 0.8934 GB, free: 9.383 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004047/1.025, allocations: 3.174 MB / 0.8965 GB, free: 5.348 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01103/1.036, allocations: 6.183 MB / 0.9025 GB, free: 14.42 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.415e-05/1.036, allocations: 16 kB / 0.9026 GB, free: 14.41 MB / 0.6857 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.01001/1.046, allocations: 4.78 MB / 0.9072 GB, free: 9.621 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 4.327e-05/1.046, allocations: 31.98 kB / 0.9073 GB, free: 9.59 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005689/1.052, allocations: 2.931 MB / 0.9101 GB, free: 6.613 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002534/1.052, allocations: 112.8 kB / 0.9102 GB, free: 6.5 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003505/1.056, allocations: 1.258 MB / 0.9114 GB, free: 5.242 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001273/1.057, allocations: 1.417 MB / 0.9128 GB, free: 3.734 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002706/1.06, allocations: 417.1 kB / 0.9132 GB, free: 3.324 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005032/1.06, allocations: 323.8 kB / 0.9135 GB, free: 3.008 MB / 0.6857 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.001288/1.062, allocations: 497.4 kB / 0.914 GB, free: 2.516 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001362/1.063, allocations: 413.1 kB / 0.9144 GB, free: 2.109 MB / 0.6857 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.008712/1.072, allocations: 4.834 MB / 0.9191 GB, free: 13.58 MB / 0.7013 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.923870392027311] Failed to read output from testmodel.py, exit status != 0: 1.2583542049396783 1.272488643 0.393762459 Calling exit ...