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.01627/0.01627, allocations: 1.76 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.001862/0.001862, allocations: 107.5 kB / 24.19 MB, free: 2.691 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.002703/0.002703, allocations: 203 kB / 27.91 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.605/1.605, allocations: 230.6 MB / 262.1 MB, free: 6.012 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.14/1.14, allocations: 130.7 MB / 449.6 MB, free: 6.543 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.03511/0.03511, allocations: 20.78 MB / 0.6362 GB, free: 4.633 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2525, allocations: 81.9 MB / 0.7162 GB, free: 2.648 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.6353/0.8878, allocations: 50.59 MB / 0.7656 GB, free: 16.84 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02836/0.9162, allocations: 18.6 MB / 0.7838 GB, free: 3.559 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005403/0.9216, allocations: 98.53 kB / 0.7839 GB, free: 3.512 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.005559/0.9271, allocations: 1.715 MB / 0.7855 GB, free: 2.676 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.008457/0.9356, allocations: 2.109 MB / 0.7876 GB, free: 1.355 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.008341/0.9439, allocations: 2.677 MB / 0.7902 GB, free: 15.95 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01393/0.9579, allocations: 5.642 MB / 0.7957 GB, free: 12.64 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003784/0.9616, allocations: 1.512 MB / 0.7972 GB, free: 11.57 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005973/0.9676, allocations: 2.338 MB / 0.7995 GB, free: 10.24 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006453/0.9741, allocations: 2.441 MB / 0.8019 GB, free: 8.691 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.001492/0.9756, allocations: 360 kB / 0.8022 GB, free: 8.691 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006118/0.9817, allocations: 1.781 MB / 0.8039 GB, free: 7.84 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.002129/0.9838, allocations: 1.167 MB / 0.8051 GB, free: 6.957 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.004669/0.9885, allocations: 2.119 MB / 0.8071 GB, free: 5.414 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01344/1.002, allocations: 6.366 MB / 0.8134 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/1.002, allocations: 0 / 0.8134 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.114e-06/1.002, allocations: 0 / 0.8134 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001942/1.002, allocations: 0 / 0.8134 GB, free: 15.21 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.009849/1.012, allocations: 4.666 MB / 0.8179 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/1.012, allocations: 8.031 kB / 0.8179 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001776/1.014, allocations: 0.5861 MB / 0.8185 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008365/1.022, allocations: 3.642 MB / 0.8221 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001571/1.022, allocations: 164.9 kB / 0.8222 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003951/1.023, allocations: 216.4 kB / 0.8224 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01197/1.035, allocations: 5.241 MB / 0.8275 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.331e-05/1.035, allocations: 35.69 kB / 0.8276 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002486/1.035, allocations: 121.4 kB / 0.8277 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001069/1.035, allocations: 80 kB / 0.8278 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00977/1.045, allocations: 3.49 MB / 0.8312 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02911/1.074, allocations: 26.35 MB / 0.8569 GB, free: 0.7773 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008595/1.083, allocations: 2.805 MB / 0.8596 GB, free: 13.84 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00172/1.084, allocations: 0.8394 MB / 0.8605 GB, free: 12.96 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003007/1.085, allocations: 119.8 kB / 0.8606 GB, free: 12.84 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.778e-05/1.085, allocations: 78.33 kB / 0.8607 GB, free: 12.76 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=427): time 4.197e-06/1.085, allocations: 0 / 0.8607 GB, free: 12.76 MB / 0.6388 GB Notification: Performance of matching and sorting (n=427): time 0.01729/1.102, allocations: 5.556 MB / 0.8661 GB, free: 7.184 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004032/1.102, allocations: 0.6098 MB / 0.8667 GB, free: 6.434 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005944/1.108, allocations: 3.304 MB / 0.8699 GB, free: 3.105 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.000597/1.109, allocations: 56.36 kB / 0.87 GB, free: 3.047 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.001568/1.11, allocations: 1.665 MB / 0.8716 GB, free: 1.367 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.001995/1.112, allocations: 1.456 MB / 0.873 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001655/1.114, allocations: 0.9714 MB / 0.874 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001474/1.114, allocations: 305.1 kB / 0.8742 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002622/1.117, allocations: 1.294 MB / 0.8755 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00431/1.121, allocations: 3.006 MB / 0.8784 GB, free: 9.539 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01351/1.135, allocations: 6.215 MB / 0.8845 GB, free: 2.637 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.697e-05/1.135, allocations: 19.94 kB / 0.8845 GB, free: 2.617 MB / 0.6544 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.01116/1.146, allocations: 4.814 MB / 0.8892 GB, free: 13.8 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.259e-05/1.146, allocations: 28 kB / 0.8893 GB, free: 13.77 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006289/1.152, allocations: 2.956 MB / 0.8921 GB, free: 10.78 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003408/1.153, allocations: 116.8 kB / 0.8923 GB, free: 10.66 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003835/1.156, allocations: 1.252 MB / 0.8935 GB, free: 9.41 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001463/1.158, allocations: 1.433 MB / 0.8949 GB, free: 7.875 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003183/1.161, allocations: 0.5349 MB / 0.8954 GB, free: 7.336 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005617/1.162, allocations: 331.7 kB / 0.8957 GB, free: 7.012 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.00431/1.166, allocations: 1.968 MB / 0.8976 GB, free: 5.039 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004173/1.17, allocations: 3.001 MB / 0.9006 GB, free: 1.27 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01154/1.182, allocations: 6.195 MB / 0.9066 GB, free: 10.38 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.538e-05/1.182, allocations: 16 kB / 0.9066 GB, free: 10.36 MB / 0.6857 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.01047/1.192, allocations: 4.79 MB / 0.9113 GB, free: 5.562 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 4.551e-05/1.192, allocations: 32 kB / 0.9113 GB, free: 5.531 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00588/1.198, allocations: 2.937 MB / 0.9142 GB, free: 2.555 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002547/1.198, allocations: 116.8 kB / 0.9143 GB, free: 2.438 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003627/1.202, allocations: 1.252 MB / 0.9155 GB, free: 1.184 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001523/1.204, allocations: 1.446 MB / 0.917 GB, free: 15.64 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002866/1.206, allocations: 411.9 kB / 0.9174 GB, free: 15.23 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005891/1.207, allocations: 323.8 kB / 0.9177 GB, free: 14.92 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.001267/1.208, allocations: 0.4896 MB / 0.9181 GB, free: 14.43 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001604/1.21, allocations: 436.9 kB / 0.9186 GB, free: 14 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.009667/1.22, allocations: 4.844 MB / 0.9233 GB, free: 9.406 MB / 0.7013 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.601903540780768] Failed to read output from testmodel.py, exit status != 0: 1.4403744880110025 1.4557043219999999 0.450290624 Calling exit ...