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.01202/0.01202, allocations: 1.761 MB / 20.59 MB, free: 1.285 MB / 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.001377/0.001377, allocations: 109.6 kB / 24.19 MB, free: 2.688 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.001661/0.001661, allocations: 206.7 kB / 27.92 MB, free: 4.027 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.504/1.504, allocations: 230.6 MB / 262.1 MB, free: 6.004 MB / 206.1 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.09/1.09, allocations: 130.7 MB / 449.7 MB, free: 6.621 MB / 350.1 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.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_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: 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.03395/0.03395, allocations: 20.78 MB / 0.6362 GB, free: 4.68 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.2096, allocations: 81.9 MB / 0.7162 GB, free: 2.684 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.5266/0.7362, allocations: 50.59 MB / 0.7656 GB, free: 16.85 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02627/0.7625, allocations: 18.6 MB / 0.7838 GB, free: 3.566 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004993/0.7675, allocations: 99.94 kB / 0.7839 GB, free: 3.52 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.007223/0.7747, allocations: 1.714 MB / 0.7856 GB, free: 2.684 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.007959/0.7826, allocations: 2.11 MB / 0.7876 GB, free: 1.359 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.007317/0.79, allocations: 2.66 MB / 0.7902 GB, free: 15.97 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01146/0.8014, allocations: 5.645 MB / 0.7957 GB, free: 12.67 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0034/0.8048, allocations: 1.516 MB / 0.7972 GB, free: 11.59 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005361/0.8102, allocations: 2.343 MB / 0.7995 GB, free: 10.26 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005625/0.8158, allocations: 2.442 MB / 0.8019 GB, free: 8.707 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.001683/0.8175, allocations: 359.8 kB / 0.8022 GB, free: 8.707 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005759/0.8232, allocations: 1.778 MB / 0.804 GB, free: 7.852 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.002277/0.8255, allocations: 1.161 MB / 0.8051 GB, free: 6.977 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.004738/0.8303, allocations: 2.113 MB / 0.8072 GB, free: 5.438 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01285/0.8431, allocations: 6.374 MB / 0.8134 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.8431, allocations: 2.656 kB / 0.8134 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.817e-06/0.8431, allocations: 4 kB / 0.8134 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002402/0.8434, allocations: 0 / 0.8134 GB, free: 15.22 MB / 0.5919 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.01129/0.8547, allocations: 4.654 MB / 0.8179 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.8547, allocations: 12.02 kB / 0.8179 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00217/0.8569, allocations: 0.5796 MB / 0.8185 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008359/0.8652, allocations: 3.643 MB / 0.8221 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001962/0.8654, allocations: 164.9 kB / 0.8222 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000581/0.866, allocations: 219 kB / 0.8224 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0131/0.8791, allocations: 5.245 MB / 0.8276 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001139/0.8792, allocations: 42.62 kB / 0.8276 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004416/0.8797, allocations: 116 kB / 0.8277 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001034/0.8798, allocations: 83.98 kB / 0.8278 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01035/0.8901, allocations: 3.485 MB / 0.8312 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02725/0.9174, allocations: 26.35 MB / 0.8569 GB, free: 0.7969 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00894/0.9263, allocations: 2.816 MB / 0.8597 GB, free: 13.85 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001955/0.9283, allocations: 0.8286 MB / 0.8605 GB, free: 12.98 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003972/0.9287, allocations: 127.7 kB / 0.8606 GB, free: 12.86 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.117e-05/0.9287, allocations: 70.44 kB / 0.8607 GB, free: 12.78 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=427): time 5.27e-06/0.9288, allocations: 0 / 0.8607 GB, free: 12.78 MB / 0.6388 GB Notification: Performance of matching and sorting (n=427): time 0.01858/0.9473, allocations: 5.564 MB / 0.8661 GB, free: 7.195 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000376/0.9477, allocations: 0.6098 MB / 0.8667 GB, free: 6.445 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007021/0.9547, allocations: 3.306 MB / 0.8699 GB, free: 3.117 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0004954/0.9552, allocations: 53.7 kB / 0.87 GB, free: 3.059 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.001676/0.9569, allocations: 1.662 MB / 0.8716 GB, free: 1.383 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.001884/0.9588, allocations: 1.464 MB / 0.873 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002238/0.961, allocations: 0.9675 MB / 0.874 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.9612, allocations: 303.8 kB / 0.8743 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002963/0.9641, allocations: 1.295 MB / 0.8755 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00459/0.9687, allocations: 3.007 MB / 0.8785 GB, free: 9.555 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01239/0.9811, allocations: 6.213 MB / 0.8845 GB, free: 2.648 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.748e-05/0.9812, allocations: 19.75 kB / 0.8845 GB, free: 2.633 MB / 0.6544 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.0113/0.9925, allocations: 4.817 MB / 0.8893 GB, free: 13.81 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.127e-05/0.9925, allocations: 32 kB / 0.8893 GB, free: 13.78 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007351/0.9999, allocations: 2.945 MB / 0.8922 GB, free: 10.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005299/1, allocations: 116.8 kB / 0.8923 GB, free: 10.68 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004582/1.005, allocations: 1.26 MB / 0.8935 GB, free: 9.422 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002076/1.007, allocations: 1.435 MB / 0.8949 GB, free: 7.887 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004377/1.011, allocations: 0.5312 MB / 0.8954 GB, free: 7.352 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001009/1.012, allocations: 327.8 kB / 0.8957 GB, free: 7.031 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.005343/1.018, allocations: 1.975 MB / 0.8977 GB, free: 5.055 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004697/1.023, allocations: 3.002 MB / 0.9006 GB, free: 1.285 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01242/1.035, allocations: 6.186 MB / 0.9066 GB, free: 10.39 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.523e-05/1.035, allocations: 16 kB / 0.9067 GB, free: 10.38 MB / 0.6857 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.01169/1.047, allocations: 4.796 MB / 0.9113 GB, free: 5.578 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 5.942e-05/1.047, allocations: 31.98 kB / 0.9114 GB, free: 5.547 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006867/1.054, allocations: 2.942 MB / 0.9142 GB, free: 2.566 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003455/1.054, allocations: 112.8 kB / 0.9143 GB, free: 2.453 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004044/1.058, allocations: 1.248 MB / 0.9156 GB, free: 1.203 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001527/1.06, allocations: 1.448 MB / 0.917 GB, free: 15.65 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003117/1.063, allocations: 413.2 kB / 0.9174 GB, free: 15.25 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007869/1.063, allocations: 322.4 kB / 0.9177 GB, free: 14.93 MB / 0.7013 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.001441/1.065, allocations: 0.4909 MB / 0.9182 GB, free: 14.44 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001756/1.067, allocations: 436.9 kB / 0.9186 GB, free: 14.01 MB / 0.7013 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.01066/1.077, allocations: 4.85 MB / 0.9233 GB, free: 9.434 MB / 0.7013 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.0903610228560865] Failed to read output from testmodel.py, exit status != 0: 1.2798308620695025 1.297446086 0.450634409 Calling exit ...