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.01282/0.01282, allocations: 1.749 MB / 21.34 MB, free: 0.5898 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.001535/0.001535, allocations: 105.5 kB / 24.94 MB, free: 2.176 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.001804/0.001804, allocations: 209.2 kB / 28.67 MB, free: 3.461 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.9 MB, free: 6.016 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.067/1.067, allocations: 130.7 MB / 450.4 MB, free: 6.602 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.03454/0.03454, allocations: 20.78 MB / 0.637 GB, free: 4.664 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.2176, allocations: 81.91 MB / 0.717 GB, free: 2.66 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.4956/0.7132, allocations: 50.58 MB / 0.7663 GB, free: 16.84 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02532/0.7385, allocations: 18.6 MB / 0.7845 GB, free: 3.559 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004481/0.743, allocations: 102.8 kB / 0.7846 GB, free: 3.508 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.004474/0.7474, allocations: 1.721 MB / 0.7863 GB, free: 2.668 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.006139/0.7536, allocations: 2.101 MB / 0.7883 GB, free: 1.352 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.006018/0.7596, allocations: 2.666 MB / 0.7909 GB, free: 15.95 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01107/0.7707, allocations: 5.638 MB / 0.7965 GB, free: 12.66 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003862/0.7745, allocations: 1.521 MB / 0.7979 GB, free: 11.57 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007043/0.7816, allocations: 2.342 MB / 0.8002 GB, free: 10.24 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00552/0.7871, allocations: 2.439 MB / 0.8026 GB, free: 8.691 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.0008696/0.788, allocations: 361.6 kB / 0.803 GB, free: 8.691 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004664/0.7926, allocations: 1.776 MB / 0.8047 GB, free: 7.836 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.001215/0.7938, allocations: 1.16 MB / 0.8058 GB, free: 6.961 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.002652/0.7965, allocations: 2.118 MB / 0.8079 GB, free: 5.418 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.009492/0.806, allocations: 6.37 MB / 0.8141 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.806, allocations: 0 / 0.8141 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.843e-06/0.806, allocations: 0 / 0.8141 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.063e-05/0.8061, allocations: 4 kB / 0.8141 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.007468/0.8135, allocations: 4.658 MB / 0.8187 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.8136, allocations: 8.031 kB / 0.8187 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001539/0.8151, allocations: 0.5861 MB / 0.8192 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006757/0.8219, allocations: 3.647 MB / 0.8228 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001382/0.822, allocations: 168.4 kB / 0.823 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003121/0.8223, allocations: 219 kB / 0.8232 GB, free: 5.848 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01135/0.8337, allocations: 5.247 MB / 0.8283 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-05/0.8338, allocations: 39.62 kB / 0.8283 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003039/0.8341, allocations: 116 kB / 0.8284 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.54e-05/0.8342, allocations: 82.16 kB / 0.8285 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00958/0.8437, allocations: 3.489 MB / 0.8319 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02524/0.869, allocations: 26.34 MB / 0.8577 GB, free: 0.7891 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008458/0.8774, allocations: 2.815 MB / 0.8604 GB, free: 13.84 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001711/0.8791, allocations: 0.8322 MB / 0.8612 GB, free: 12.96 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003239/0.8795, allocations: 119.8 kB / 0.8613 GB, free: 12.85 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.078e-05/0.8795, allocations: 78.39 kB / 0.8614 GB, free: 12.76 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=427): time 5.049e-06/0.8795, allocations: 2.656 kB / 0.8614 GB, free: 12.76 MB / 0.6388 GB Notification: Performance of matching and sorting (n=427): time 0.01714/0.8967, allocations: 5.553 MB / 0.8668 GB, free: 7.188 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003635/0.8971, allocations: 0.6124 MB / 0.8674 GB, free: 6.438 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006517/0.9036, allocations: 3.304 MB / 0.8707 GB, free: 3.109 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0003356/0.9039, allocations: 53.7 kB / 0.8707 GB, free: 3.051 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.001645/0.9055, allocations: 1.658 MB / 0.8723 GB, free: 1.379 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.001643/0.9072, allocations: 1.464 MB / 0.8738 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001857/0.909, allocations: 0.9675 MB / 0.8747 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.9092, allocations: 303.8 kB / 0.875 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002707/0.9119, allocations: 1.295 MB / 0.8763 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004267/0.9162, allocations: 3.009 MB / 0.8792 GB, free: 9.551 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01178/0.9279, allocations: 6.214 MB / 0.8853 GB, free: 2.648 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.851e-05/0.928, allocations: 19.94 kB / 0.8853 GB, free: 2.629 MB / 0.6544 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.01195/0.94, allocations: 4.818 MB / 0.89 GB, free: 13.81 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.13e-05/0.94, allocations: 28 kB / 0.89 GB, free: 13.78 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006389/0.9464, allocations: 2.958 MB / 0.8929 GB, free: 10.79 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003917/0.9468, allocations: 112.8 kB / 0.893 GB, free: 10.67 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003858/0.9507, allocations: 1.262 MB / 0.8942 GB, free: 9.41 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00161/0.9523, allocations: 1.429 MB / 0.8956 GB, free: 7.875 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003189/0.9555, allocations: 0.5336 MB / 0.8962 GB, free: 7.34 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007298/0.9562, allocations: 331.8 kB / 0.8965 GB, free: 7.016 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.004747/0.9609, allocations: 1.964 MB / 0.8984 GB, free: 5.047 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00449/0.9654, allocations: 3.002 MB / 0.9013 GB, free: 1.277 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01171/0.9771, allocations: 6.188 MB / 0.9074 GB, free: 10.39 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.737e-05/0.9772, allocations: 16.11 kB / 0.9074 GB, free: 10.38 MB / 0.6857 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.01084/0.988, allocations: 4.798 MB / 0.9121 GB, free: 5.574 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 5.548e-05/0.9881, allocations: 33.88 kB / 0.9121 GB, free: 5.543 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006193/0.9943, allocations: 2.94 MB / 0.915 GB, free: 2.559 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003221/0.9946, allocations: 116.8 kB / 0.9151 GB, free: 2.441 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003854/0.9985, allocations: 1.254 MB / 0.9163 GB, free: 1.188 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001478/0.9999, allocations: 1.442 MB / 0.9177 GB, free: 15.64 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002991/1.003, allocations: 409.2 kB / 0.9181 GB, free: 15.24 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006832/1.004, allocations: 323.8 kB / 0.9184 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.001323/1.005, allocations: 495 kB / 0.9189 GB, free: 14.43 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001628/1.007, allocations: 436.9 kB / 0.9193 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.009901/1.016, allocations: 4.856 MB / 0.924 GB, free: 9.414 MB / 0.7013 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.908026695949957] Failed to read output from testmodel.py, exit status != 0: 1.2242576859425753 1.241160184 0.43176127 Calling exit ...