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.0105/0.0105, allocations: 1.747 MB / 21.35 MB, free: 480 kB / 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.001343/0.001343, allocations: 103.7 kB / 24.94 MB, free: 2.051 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.001724/0.001724, allocations: 210.3 kB / 28.65 MB, free: 3.34 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.503/1.503, allocations: 230.7 MB / 262.8 MB, free: 5.828 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.12/1.12, allocations: 130.7 MB / 450.4 MB, free: 6.418 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.06536/0.06536, allocations: 20.99 MB / 0.6371 GB, free: 4.234 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.2338, allocations: 81.92 MB / 0.7171 GB, free: 2.215 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.5004/0.7342, allocations: 48.35 MB / 0.7643 GB, free: 18.81 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02879/0.763, allocations: 17.9 MB / 0.7818 GB, free: 6.285 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005589/0.7686, allocations: 102.4 kB / 0.7819 GB, free: 6.234 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.005136/0.7737, allocations: 1.67 MB / 0.7835 GB, free: 5.441 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.006794/0.7805, allocations: 2.101 MB / 0.7855 GB, free: 4.133 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.006344/0.7869, allocations: 2.68 MB / 0.7882 GB, free: 2.691 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.008594/0.7955, allocations: 5.638 MB / 0.7937 GB, free: 15.39 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002625/0.7981, allocations: 1.656 MB / 0.7953 GB, free: 14.18 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004325/0.8024, allocations: 2.354 MB / 0.7976 GB, free: 12.84 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004652/0.8071, allocations: 2.293 MB / 0.7998 GB, free: 11.43 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.0007253/0.8078, allocations: 360.2 kB / 0.8002 GB, free: 11.43 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003919/0.8117, allocations: 1.333 MB / 0.8015 GB, free: 10.89 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0013/0.813, allocations: 1.159 MB / 0.8026 GB, free: 10.01 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.002339/0.8154, allocations: 1.622 MB / 0.8042 GB, free: 8.945 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.009191/0.8245, allocations: 6.315 MB / 0.8103 GB, free: 2.609 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.8245, allocations: 2.656 kB / 0.8104 GB, free: 2.609 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.525e-06/0.8246, allocations: 0 / 0.8104 GB, free: 2.609 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0001295/0.8247, allocations: 0 / 0.8104 GB, free: 2.609 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.009099/0.8338, allocations: 4.641 MB / 0.8149 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.125e-05/0.8338, allocations: 12.03 kB / 0.8149 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001825/0.8357, allocations: 0.5873 MB / 0.8155 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007022/0.8427, allocations: 3.641 MB / 0.819 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001533/0.8428, allocations: 172.9 kB / 0.8192 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003092/0.8432, allocations: 216.4 kB / 0.8194 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01128/0.8544, allocations: 5.864 MB / 0.8251 GB, free: 2.355 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.553e-05/0.8545, allocations: 39.62 kB / 0.8252 GB, free: 2.316 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002337/0.8547, allocations: 120 kB / 0.8253 GB, free: 2.199 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.96e-05/0.8548, allocations: 83.98 kB / 0.8254 GB, free: 2.117 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008826/0.8637, allocations: 3.463 MB / 0.8287 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02279/0.8864, allocations: 24.98 MB / 0.8531 GB, free: 4.727 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008679/0.8951, allocations: 2.801 MB / 0.8559 GB, free: 1.785 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00183/0.897, allocations: 0.8232 MB / 0.8567 GB, free: 0.918 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003391/0.8973, allocations: 113.1 kB / 0.8568 GB, free: 0.8047 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.087e-05/0.8974, allocations: 67.75 kB / 0.8568 GB, free: 0.7305 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=427): time 5.411e-06/0.8974, allocations: 0 / 0.8568 GB, free: 0.7305 MB / 0.6232 GB Notification: Performance of matching and sorting (n=427): time 0.01764/0.915, allocations: 5.534 MB / 0.8622 GB, free: 11.17 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003772/0.9154, allocations: 0.6136 MB / 0.8628 GB, free: 10.42 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006434/0.9218, allocations: 3.167 MB / 0.8659 GB, free: 7.262 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0003846/0.9222, allocations: 56.36 kB / 0.866 GB, free: 7.203 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.001674/0.9239, allocations: 1.683 MB / 0.8676 GB, free: 5.508 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.001647/0.9255, allocations: 1.448 MB / 0.8691 GB, free: 4.047 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002187/0.9277, allocations: 0.9714 MB / 0.87 GB, free: 3.066 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.9279, allocations: 310.8 kB / 0.8703 GB, free: 2.762 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003108/0.931, allocations: 1.291 MB / 0.8716 GB, free: 1.461 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005279/0.9363, allocations: 3.185 MB / 0.8747 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01214/0.9484, allocations: 6.233 MB / 0.8808 GB, free: 6.453 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-05/0.9485, allocations: 16 kB / 0.8808 GB, free: 6.438 MB / 0.6544 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.01057/0.959, allocations: 4.792 MB / 0.8854 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.5e-05/0.9591, allocations: 32 kB / 0.8855 GB, free: 1.613 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006293/0.9654, allocations: 2.955 MB / 0.8884 GB, free: 14.61 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003781/0.9658, allocations: 120.8 kB / 0.8885 GB, free: 14.49 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003863/0.9696, allocations: 1.244 MB / 0.8897 GB, free: 13.25 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00155/0.9712, allocations: 1.42 MB / 0.8911 GB, free: 11.73 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0033/0.9745, allocations: 0.5104 MB / 0.8916 GB, free: 11.22 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007929/0.9753, allocations: 323.8 kB / 0.8919 GB, free: 10.91 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.004848/0.9801, allocations: 1.969 MB / 0.8938 GB, free: 8.93 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004827/0.9849, allocations: 3.181 MB / 0.8969 GB, free: 4.891 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.012/0.9969, allocations: 6.19 MB / 0.903 GB, free: 13.96 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.555e-05/0.997, allocations: 16 kB / 0.903 GB, free: 13.94 MB / 0.6857 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.0113/1.008, allocations: 4.78 MB / 0.9076 GB, free: 9.156 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 6.135e-05/1.008, allocations: 28.78 kB / 0.9077 GB, free: 9.129 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006527/1.015, allocations: 2.936 MB / 0.9105 GB, free: 6.152 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003447/1.015, allocations: 112.8 kB / 0.9106 GB, free: 6.039 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003998/1.019, allocations: 1.252 MB / 0.9119 GB, free: 4.785 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/1.021, allocations: 1.415 MB / 0.9133 GB, free: 3.277 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003322/1.024, allocations: 421.1 kB / 0.9137 GB, free: 2.863 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008454/1.025, allocations: 326.5 kB / 0.914 GB, free: 2.547 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.001578/1.027, allocations: 0.4923 MB / 0.9144 GB, free: 2.055 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001888/1.028, allocations: 413.1 kB / 0.9148 GB, free: 1.648 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.01162/1.04, allocations: 4.891 MB / 0.9196 GB, free: 13.06 MB / 0.7013 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.062672671861947] Failed to read output from testmodel.py, exit status != 0: 1.2636754270642996 1.28091406 0.45293768599999995 Calling exit ...