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.01231/0.01231, allocations: 1.754 MB / 20.61 MB, free: 1.004 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.00151/0.00151, allocations: 104.5 kB / 24.18 MB, free: 2.438 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.00195/0.00195, allocations: 209.5 kB / 27.9 MB, free: 3.742 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.466/1.466, allocations: 230.6 MB / 262.1 MB, free: 5.82 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.074/1.074, allocations: 130.8 MB / 449.7 MB, free: 6.402 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.06559/0.06559, allocations: 20.98 MB / 0.6363 GB, free: 4.211 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.235, allocations: 81.91 MB / 0.7163 GB, free: 2.191 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.503/0.738, allocations: 48.36 MB / 0.7636 GB, free: 18.81 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02511/0.7631, allocations: 17.89 MB / 0.781 GB, free: 6.293 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005114/0.7682, allocations: 103.3 kB / 0.7811 GB, free: 6.242 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.007133/0.7754, allocations: 1.672 MB / 0.7828 GB, free: 5.441 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.01083/0.7862, allocations: 2.105 MB / 0.7848 GB, free: 4.129 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.007621/0.7938, allocations: 2.679 MB / 0.7874 GB, free: 2.68 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.00952/0.8034, allocations: 5.643 MB / 0.7929 GB, free: 15.38 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003707/0.8071, allocations: 1.657 MB / 0.7946 GB, free: 14.16 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005445/0.8125, allocations: 2.346 MB / 0.7969 GB, free: 12.83 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00511/0.8176, allocations: 2.298 MB / 0.7991 GB, free: 11.42 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.001423/0.819, allocations: 366.4 kB / 0.7994 GB, free: 11.41 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004871/0.8239, allocations: 1.33 MB / 0.8007 GB, free: 10.88 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.00212/0.826, allocations: 1.161 MB / 0.8019 GB, free: 9.996 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.003955/0.83, allocations: 1.621 MB / 0.8035 GB, free: 8.91 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01103/0.841, allocations: 6.304 MB / 0.8096 GB, free: 2.582 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.841, allocations: 0 / 0.8096 GB, free: 2.582 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.543e-06/0.841, allocations: 2.656 kB / 0.8096 GB, free: 2.582 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0002158/0.8412, allocations: 0 / 0.8096 GB, free: 2.582 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.01257/0.8538, allocations: 4.65 MB / 0.8142 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.8539, allocations: 8.031 kB / 0.8142 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002963/0.8568, allocations: 0.5835 MB / 0.8147 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009044/0.8659, allocations: 3.65 MB / 0.8183 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002254/0.8661, allocations: 168.9 kB / 0.8185 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005936/0.8667, allocations: 216.4 kB / 0.8187 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01264/0.8793, allocations: 5.869 MB / 0.8244 GB, free: 2.316 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001405/0.8795, allocations: 38.38 kB / 0.8244 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005444/0.88, allocations: 116 kB / 0.8246 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001164/0.8801, allocations: 91.11 kB / 0.8246 GB, free: 2.082 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009672/0.8898, allocations: 3.463 MB / 0.828 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02501/0.9148, allocations: 24.98 MB / 0.8524 GB, free: 4.695 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008929/0.9237, allocations: 2.802 MB / 0.8551 GB, free: 1.758 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002005/0.9257, allocations: 0.8283 MB / 0.856 GB, free: 0.8828 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003994/0.9261, allocations: 111.8 kB / 0.8561 GB, free: 0.7734 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.463e-05/0.9262, allocations: 67.75 kB / 0.8561 GB, free: 0.6992 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=427): time 5.16e-06/0.9262, allocations: 0 / 0.8561 GB, free: 0.6992 MB / 0.6232 GB Notification: Performance of matching and sorting (n=427): time 0.01774/0.944, allocations: 5.538 MB / 0.8615 GB, free: 11.14 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003586/0.9443, allocations: 0.6098 MB / 0.8621 GB, free: 10.39 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006424/0.9507, allocations: 3.167 MB / 0.8652 GB, free: 7.234 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0004848/0.9512, allocations: 53.7 kB / 0.8653 GB, free: 7.176 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.001681/0.9529, allocations: 1.682 MB / 0.8669 GB, free: 5.48 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.001904/0.9548, allocations: 1.456 MB / 0.8683 GB, free: 4.012 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002367/0.9572, allocations: 0.9714 MB / 0.8693 GB, free: 3.031 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.9573, allocations: 305.1 kB / 0.8696 GB, free: 2.73 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002904/0.9602, allocations: 1.295 MB / 0.8708 GB, free: 1.426 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004603/0.9648, allocations: 3.182 MB / 0.874 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01213/0.9769, allocations: 6.232 MB / 0.88 GB, free: 6.418 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.657e-05/0.977, allocations: 16 kB / 0.8801 GB, free: 6.402 MB / 0.6544 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.01138/0.9884, allocations: 4.792 MB / 0.8847 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.737e-05/0.9884, allocations: 28 kB / 0.8848 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006412/0.9949, allocations: 2.963 MB / 0.8877 GB, free: 14.57 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003972/0.9953, allocations: 112.8 kB / 0.8878 GB, free: 14.46 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003825/0.9991, allocations: 1.256 MB / 0.889 GB, free: 13.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001679/1.001, allocations: 1.41 MB / 0.8904 GB, free: 11.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004056/1.005, allocations: 0.5117 MB / 0.8909 GB, free: 11.18 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009189/1.006, allocations: 326.5 kB / 0.8912 GB, free: 10.87 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.005393/1.011, allocations: 1.98 MB / 0.8931 GB, free: 8.887 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00532/1.016, allocations: 3.177 MB / 0.8962 GB, free: 4.852 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01216/1.029, allocations: 6.178 MB / 0.9022 GB, free: 13.93 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.81e-05/1.029, allocations: 16 kB / 0.9023 GB, free: 13.91 MB / 0.6857 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.009906/1.039, allocations: 4.784 MB / 0.9069 GB, free: 9.125 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 4.43e-05/1.039, allocations: 28 kB / 0.907 GB, free: 9.098 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005783/1.044, allocations: 2.94 MB / 0.9098 GB, free: 6.117 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002677/1.045, allocations: 108.8 kB / 0.9099 GB, free: 6.008 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003428/1.048, allocations: 1.252 MB / 0.9112 GB, free: 4.754 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0013/1.049, allocations: 1.411 MB / 0.9125 GB, free: 3.246 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002735/1.052, allocations: 423.1 kB / 0.9129 GB, free: 2.832 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005611/1.053, allocations: 329.2 kB / 0.9133 GB, free: 2.516 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.001225/1.054, allocations: 494.8 kB / 0.9137 GB, free: 2.023 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001546/1.055, allocations: 413.1 kB / 0.9141 GB, free: 1.617 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.008816/1.064, allocations: 4.896 MB / 0.9189 GB, free: 13.02 MB / 0.7013 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.921190159395337] Failed to read output from testmodel.py, exit status != 0: 1.2522179912775755 1.266846972 0.42254636599999995 Calling exit ...