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.01015/0.01015, allocations: 1.337 MB / 21.02 MB, free: 0.6094 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.001237/0.001237, allocations: 84.16 kB / 24.58 MB, free: 1.879 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.001513/0.001513, allocations: 164.8 kB / 28.25 MB, free: 3.141 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.434/1.434, allocations: 177.2 MB / 209 MB, free: 7.652 MB / 190.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.002/1.002, allocations: 102.5 MB / 368.3 MB, free: 4.16 MB / 334.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.06896/0.06896, allocations: 20.95 MB / 0.5569 GB, free: 4.945 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.2237, allocations: 81.88 MB / 0.6368 GB, free: 2.93 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.1521/0.3758, allocations: 40.94 MB / 0.6768 GB, free: 10.02 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.337/0.7128, allocations: 17.9 MB / 0.6943 GB, free: 17.93 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002576/0.7154, allocations: 101.1 kB / 0.6944 GB, free: 17.93 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0039/0.7193, allocations: 1.665 MB / 0.696 GB, free: 17.77 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.005175/0.7244, allocations: 2.107 MB / 0.6981 GB, free: 17.11 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.006004/0.7304, allocations: 2.669 MB / 0.7007 GB, free: 16.24 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.008183/0.7386, allocations: 5.647 MB / 0.7062 GB, free: 13.8 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002424/0.7411, allocations: 1.648 MB / 0.7078 GB, free: 13.04 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003682/0.7447, allocations: 2.347 MB / 0.7101 GB, free: 12.07 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003503/0.7482, allocations: 2.303 MB / 0.7124 GB, free: 11.22 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.0005621/0.7488, allocations: 359.3 kB / 0.7127 GB, free: 11.22 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003093/0.7519, allocations: 1.326 MB / 0.714 GB, free: 10.98 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0008976/0.7528, allocations: 1.163 MB / 0.7151 GB, free: 10.34 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.001553/0.7543, allocations: 1.621 MB / 0.7167 GB, free: 9.426 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.006469/0.7608, allocations: 6.315 MB / 0.7229 GB, free: 5.688 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.7608, allocations: 1.188 kB / 0.7229 GB, free: 5.688 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7608, allocations: 0 / 0.7229 GB, free: 5.688 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 9.699e-05/0.7609, allocations: 0 / 0.7229 GB, free: 5.688 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.00668/0.7676, allocations: 4.649 MB / 0.7274 GB, free: 2.402 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.7676, allocations: 9.312 kB / 0.7274 GB, free: 2.402 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001582/0.7692, allocations: 0.586 MB / 0.728 GB, free: 2.074 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005977/0.7752, allocations: 3.639 MB / 0.7316 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001447/0.7753, allocations: 168.9 kB / 0.7317 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002962/0.7756, allocations: 217.7 kB / 0.7319 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01131/0.7869, allocations: 5.875 MB / 0.7377 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.747e-05/0.787, allocations: 39.41 kB / 0.7377 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002324/0.7873, allocations: 120.2 kB / 0.7378 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.582e-05/0.7873, allocations: 79.75 kB / 0.7379 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008772/0.7961, allocations: 3.467 MB / 0.7413 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02289/0.819, allocations: 24.97 MB / 0.7657 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008025/0.827, allocations: 2.807 MB / 0.7684 GB, free: 15.3 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001605/0.8286, allocations: 0.8306 MB / 0.7692 GB, free: 14.49 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002895/0.8289, allocations: 116.7 kB / 0.7693 GB, free: 14.38 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.1e-05/0.829, allocations: 67.81 kB / 0.7694 GB, free: 14.3 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=427): time 4.459e-06/0.829, allocations: 0 / 0.7694 GB, free: 14.3 MB / 0.6232 GB Notification: Performance of matching and sorting (n=427): time 0.01728/0.8463, allocations: 5.544 MB / 0.7748 GB, free: 8.742 MB / 0.6232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003535/0.8466, allocations: 0.6098 MB / 0.7754 GB, free: 7.992 MB / 0.6232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005388/0.852, allocations: 3.171 MB / 0.7785 GB, free: 4.832 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.000245/0.8522, allocations: 53.7 kB / 0.7786 GB, free: 4.773 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001397/0.8536, allocations: 1.678 MB / 0.7802 GB, free: 3.098 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.001303/0.8549, allocations: 1.454 MB / 0.7816 GB, free: 1.664 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001425/0.8564, allocations: 0.9753 MB / 0.7826 GB, free: 0.6797 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.8565, allocations: 303.8 kB / 0.7829 GB, free: 392 kB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002504/0.859, allocations: 1.297 MB / 0.7841 GB, free: 15.08 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00417/0.8632, allocations: 3.174 MB / 0.7872 GB, free: 11.05 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01139/0.8746, allocations: 6.228 MB / 0.7933 GB, free: 4.09 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.408e-05/0.8746, allocations: 18.62 kB / 0.7933 GB, free: 4.074 MB / 0.6388 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.009754/0.8844, allocations: 4.798 MB / 0.798 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.401e-05/0.8844, allocations: 30.19 kB / 0.798 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005999/0.8904, allocations: 2.955 MB / 0.8009 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003142/0.8907, allocations: 119.5 kB / 0.801 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003625/0.8943, allocations: 1.252 MB / 0.8023 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/0.8958, allocations: 1.42 MB / 0.8036 GB, free: 9.375 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003094/0.8989, allocations: 0.5105 MB / 0.8041 GB, free: 8.863 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005835/0.8994, allocations: 323.8 kB / 0.8044 GB, free: 8.547 MB / 0.6544 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.00413/0.9036, allocations: 1.978 MB / 0.8064 GB, free: 6.562 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004257/0.9078, allocations: 3.17 MB / 0.8095 GB, free: 2.535 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0114/0.9192, allocations: 6.186 MB / 0.8155 GB, free: 11.6 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.112e-05/0.9193, allocations: 18.66 kB / 0.8155 GB, free: 11.59 MB / 0.67 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.01004/0.9293, allocations: 4.774 MB / 0.8202 GB, free: 6.805 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.403e-05/0.9294, allocations: 31.94 kB / 0.8202 GB, free: 6.773 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005999/0.9354, allocations: 2.934 MB / 0.8231 GB, free: 3.801 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002916/0.9357, allocations: 116.8 kB / 0.8232 GB, free: 3.684 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003673/0.9393, allocations: 1.251 MB / 0.8244 GB, free: 2.434 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001396/0.9407, allocations: 1.415 MB / 0.8258 GB, free: 0.918 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003151/0.9439, allocations: 421.1 kB / 0.8262 GB, free: 0.5039 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005944/0.9445, allocations: 332.4 kB / 0.8265 GB, free: 184 kB / 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: 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.001136/0.9456, allocations: 0.4898 MB / 0.827 GB, free: 15.69 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001586/0.9472, allocations: 413.1 kB / 0.8274 GB, free: 15.28 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.009352/0.9565, allocations: 4.899 MB / 0.8322 GB, free: 10.69 MB / 0.6857 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.562290568021126] Failed to read output from testmodel.py, exit status != 0: 1.1258792569860816 1.141569927 0.37752656300000004 Calling exit ...