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.01544/0.01544, 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.001763/0.001763, allocations: 99.84 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.002152/0.002152, allocations: 213.1 kB / 27.9 MB, free: 3.738 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.42/1.42, allocations: 230.6 MB / 262.1 MB, free: 5.832 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.042/1.042, allocations: 130.7 MB / 449.6 MB, free: 6.398 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.06403/0.06403, allocations: 20.99 MB / 0.6363 GB, free: 4.211 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.2304, allocations: 81.91 MB / 0.7163 GB, free: 2.207 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.5033/0.7338, allocations: 48.35 MB / 0.7635 GB, free: 18.82 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02611/0.7599, allocations: 17.9 MB / 0.781 GB, free: 6.293 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005178/0.765, allocations: 103.9 kB / 0.7811 GB, free: 6.242 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.005379/0.7704, allocations: 1.667 MB / 0.7827 GB, free: 5.445 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.007517/0.7779, allocations: 2.101 MB / 0.7848 GB, free: 4.137 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.006872/0.7848, allocations: 2.683 MB / 0.7874 GB, free: 2.664 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.009426/0.7942, allocations: 5.643 MB / 0.7929 GB, free: 15.36 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003104/0.7973, allocations: 1.655 MB / 0.7945 GB, free: 14.15 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006803/0.8041, allocations: 2.35 MB / 0.7968 GB, free: 12.81 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006363/0.8105, allocations: 2.297 MB / 0.7991 GB, free: 11.4 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.0009678/0.8115, allocations: 360.8 kB / 0.7994 GB, free: 11.4 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004612/0.8161, allocations: 1.329 MB / 0.8007 GB, free: 10.86 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.001423/0.8175, allocations: 1.159 MB / 0.8018 GB, free: 9.98 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.003277/0.8208, allocations: 1.619 MB / 0.8034 GB, free: 8.918 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01131/0.8321, allocations: 6.31 MB / 0.8096 GB, free: 2.586 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.8321, allocations: 0 / 0.8096 GB, free: 2.586 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.174e-06/0.8321, allocations: 0 / 0.8096 GB, free: 2.586 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0002005/0.8323, allocations: 0 / 0.8096 GB, free: 2.586 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.008566/0.8409, allocations: 4.649 MB / 0.8141 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.8409, allocations: 8.031 kB / 0.8141 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001637/0.8426, allocations: 0.5873 MB / 0.8147 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007213/0.8498, allocations: 3.652 MB / 0.8183 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001516/0.8499, allocations: 168.9 kB / 0.8184 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003008/0.8502, allocations: 219.2 kB / 0.8186 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01111/0.8613, allocations: 5.868 MB / 0.8244 GB, free: 2.32 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.57e-05/0.8614, allocations: 39.62 kB / 0.8244 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002473/0.8617, allocations: 116 kB / 0.8245 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.367e-05/0.8617, allocations: 83.98 kB / 0.8246 GB, free: 2.086 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008874/0.8706, allocations: 3.468 MB / 0.828 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02429/0.8949, allocations: 24.97 MB / 0.8524 GB, free: 4.699 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008731/0.9036, allocations: 2.797 MB / 0.8551 GB, free: 1.762 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001934/0.9056, allocations: 0.8302 MB / 0.8559 GB, free: 0.8867 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003987/0.906, allocations: 109.1 kB / 0.856 GB, free: 0.7773 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.534e-05/0.906, allocations: 63.81 kB / 0.8561 GB, free: 0.707 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=427): time 5.961e-06/0.9061, allocations: 0 / 0.8561 GB, free: 0.707 MB / 0.6232 GB Notification: Performance of matching and sorting (n=427): time 0.01812/0.9242, allocations: 5.537 MB / 0.8615 GB, free: 11.15 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003615/0.9245, allocations: 0.6098 MB / 0.8621 GB, free: 10.4 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006615/0.9311, allocations: 3.167 MB / 0.8652 GB, free: 7.242 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0005473/0.9317, allocations: 56.47 kB / 0.8652 GB, free: 7.184 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.001702/0.9334, allocations: 1.683 MB / 0.8669 GB, free: 5.484 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.001948/0.9353, allocations: 1.46 MB / 0.8683 GB, free: 4.012 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002569/0.9379, allocations: 0.9675 MB / 0.8693 GB, free: 3.035 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.938, allocations: 301.1 kB / 0.8695 GB, free: 2.738 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002974/0.941, allocations: 1.299 MB / 0.8708 GB, free: 1.43 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004694/0.9457, allocations: 3.189 MB / 0.8739 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01193/0.9576, allocations: 6.234 MB / 0.88 GB, free: 6.422 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.629e-05/0.9577, allocations: 16 kB / 0.88 GB, free: 6.406 MB / 0.6544 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.0109/0.9686, allocations: 4.796 MB / 0.8847 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.685e-05/0.9687, allocations: 28 kB / 0.8847 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006251/0.9749, allocations: 2.953 MB / 0.8876 GB, free: 14.58 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003629/0.9753, allocations: 112.8 kB / 0.8877 GB, free: 14.47 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003734/0.979, allocations: 1.258 MB / 0.889 GB, free: 13.21 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00151/0.9805, allocations: 1.411 MB / 0.8903 GB, free: 11.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003082/0.9836, allocations: 0.5079 MB / 0.8908 GB, free: 11.19 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007575/0.9844, allocations: 326.5 kB / 0.8911 GB, free: 10.88 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.004707/0.9891, allocations: 1.973 MB / 0.8931 GB, free: 8.895 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004483/0.9936, allocations: 3.17 MB / 0.8962 GB, free: 4.863 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01142/1.005, allocations: 6.192 MB / 0.9022 GB, free: 13.93 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.197e-05/1.005, allocations: 16 kB / 0.9022 GB, free: 13.91 MB / 0.6857 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.01073/1.016, allocations: 4.779 MB / 0.9069 GB, free: 9.129 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 6.014e-05/1.016, allocations: 29.88 kB / 0.9069 GB, free: 9.102 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006121/1.022, allocations: 2.939 MB / 0.9098 GB, free: 6.121 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003352/1.022, allocations: 115.5 kB / 0.9099 GB, free: 6.008 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003712/1.026, allocations: 1.252 MB / 0.9111 GB, free: 4.754 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/1.027, allocations: 1.41 MB / 0.9125 GB, free: 3.25 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00304/1.03, allocations: 421.1 kB / 0.9129 GB, free: 2.836 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000753/1.031, allocations: 326.5 kB / 0.9132 GB, free: 2.52 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.001438/1.033, allocations: 0.4891 MB / 0.9137 GB, free: 2.023 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001715/1.034, allocations: 415.8 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.00971/1.044, allocations: 4.892 MB / 0.9189 GB, free: 13.04 MB / 0.7013 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.878700875211507] Failed to read output from testmodel.py, exit status != 0: 1.2323117842897773 1.24822443 0.412826769 Calling exit ...