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.01027/0.01027, allocations: 1.757 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.001705/0.001705, allocations: 107.4 kB / 24.94 MB, free: 2.16 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.00204/0.00204, allocations: 205.7 kB / 28.67 MB, free: 3.438 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.64/1.64, allocations: 230.6 MB / 262.8 MB, free: 6.039 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.174/1.174, 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 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.03761/0.03761, allocations: 20.78 MB / 0.637 GB, free: 4.656 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2434, allocations: 81.89 MB / 0.7169 GB, free: 2.68 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.6694/0.9128, allocations: 50.59 MB / 0.7663 GB, free: 16.86 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03123/0.944, allocations: 18.61 MB / 0.7845 GB, free: 3.582 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006814/0.9508, allocations: 98.53 kB / 0.7846 GB, free: 3.535 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.006945/0.9578, allocations: 1.716 MB / 0.7863 GB, free: 2.699 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.01034/0.9681, allocations: 2.105 MB / 0.7883 GB, free: 1.379 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.01053/0.9786, allocations: 2.676 MB / 0.7909 GB, free: 0 / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.0172/0.9958, allocations: 5.638 MB / 0.7964 GB, free: 12.7 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004819/1.001, allocations: 1.517 MB / 0.7979 GB, free: 11.62 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007038/1.008, allocations: 2.337 MB / 0.8002 GB, free: 10.29 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006617/1.014, allocations: 2.441 MB / 0.8026 GB, free: 8.738 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.002218/1.017, allocations: 360.4 kB / 0.8029 GB, free: 8.738 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006984/1.024, allocations: 1.773 MB / 0.8047 GB, free: 7.887 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.002899/1.026, allocations: 1.163 MB / 0.8058 GB, free: 7.008 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.006371/1.033, allocations: 2.113 MB / 0.8079 GB, free: 5.469 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01587/1.049, allocations: 6.376 MB / 0.8141 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.505e-06/1.049, allocations: 2.656 kB / 0.8141 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.934e-06/1.049, allocations: 0 / 0.8141 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002668/1.049, allocations: 0 / 0.8141 GB, free: 15.26 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.014/1.063, allocations: 4.662 MB / 0.8186 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.611e-05/1.063, allocations: 8.031 kB / 0.8187 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002708/1.066, allocations: 0.5796 MB / 0.8192 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00941/1.075, allocations: 3.65 MB / 0.8228 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002742/1.075, allocations: 164.9 kB / 0.8229 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000847/1.076, allocations: 219.2 kB / 0.8232 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01318/1.089, allocations: 5.243 MB / 0.8283 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-05/1.089, allocations: 39.67 kB / 0.8283 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002772/1.09, allocations: 116 kB / 0.8284 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.956e-05/1.09, allocations: 80 kB / 0.8285 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00964/1.1, allocations: 3.493 MB / 0.8319 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02738/1.127, allocations: 26.34 MB / 0.8576 GB, free: 0.8359 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00865/1.136, allocations: 2.815 MB / 0.8604 GB, free: 13.89 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00192/1.137, allocations: 0.8337 MB / 0.8612 GB, free: 13.01 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003362/1.138, allocations: 119.8 kB / 0.8613 GB, free: 12.89 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.384e-05/1.138, allocations: 78.34 kB / 0.8614 GB, free: 12.81 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=427): time 4.658e-06/1.138, allocations: 2.688 kB / 0.8614 GB, free: 12.81 MB / 0.6388 GB Notification: Performance of matching and sorting (n=427): time 0.01836/1.156, allocations: 5.557 MB / 0.8668 GB, free: 7.23 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005317/1.157, allocations: 0.6098 MB / 0.8674 GB, free: 6.48 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007095/1.164, allocations: 3.306 MB / 0.8706 GB, free: 3.152 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.000884/1.165, allocations: 53.7 kB / 0.8707 GB, free: 3.094 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.001875/1.167, allocations: 1.665 MB / 0.8723 GB, free: 1.414 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.002743/1.169, allocations: 1.452 MB / 0.8737 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002003/1.171, allocations: 0.9791 MB / 0.8747 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001873/1.172, allocations: 303.8 kB / 0.875 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002855/1.174, allocations: 1.291 MB / 0.8762 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004632/1.179, allocations: 3.005 MB / 0.8792 GB, free: 9.594 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01346/1.193, allocations: 6.22 MB / 0.8852 GB, free: 2.688 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.281e-05/1.193, allocations: 19.94 kB / 0.8853 GB, free: 2.668 MB / 0.6544 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.01421/1.207, allocations: 4.813 MB / 0.89 GB, free: 13.86 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001265/1.207, allocations: 28 kB / 0.89 GB, free: 13.83 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007401/1.214, allocations: 2.95 MB / 0.8929 GB, free: 10.84 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004446/1.215, allocations: 120.8 kB / 0.893 GB, free: 10.72 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004302/1.219, allocations: 1.254 MB / 0.8942 GB, free: 9.465 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001734/1.221, allocations: 1.432 MB / 0.8956 GB, free: 7.926 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004071/1.225, allocations: 0.5349 MB / 0.8961 GB, free: 7.387 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009415/1.226, allocations: 323.8 kB / 0.8964 GB, free: 7.07 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.005467/1.231, allocations: 1.977 MB / 0.8984 GB, free: 5.09 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005082/1.236, allocations: 3.001 MB / 0.9013 GB, free: 1.32 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01256/1.249, allocations: 6.188 MB / 0.9073 GB, free: 10.43 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.087e-05/1.249, allocations: 16 kB / 0.9074 GB, free: 10.42 MB / 0.6857 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.01252/1.262, allocations: 4.8 MB / 0.912 GB, free: 5.613 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 7.158e-05/1.262, allocations: 32.11 kB / 0.9121 GB, free: 5.582 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007062/1.269, allocations: 2.935 MB / 0.9149 GB, free: 2.605 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004104/1.269, allocations: 119.8 kB / 0.9151 GB, free: 2.488 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004301/1.273, allocations: 1.248 MB / 0.9163 GB, free: 1.238 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001637/1.275, allocations: 1.445 MB / 0.9177 GB, free: 15.69 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004011/1.279, allocations: 409.2 kB / 0.9181 GB, free: 15.29 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001009/1.28, allocations: 326.5 kB / 0.9184 GB, free: 14.97 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.001828/1.282, allocations: 0.4894 MB / 0.9189 GB, free: 14.48 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002066/1.284, allocations: 437.5 kB / 0.9193 GB, free: 14.05 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.01212/1.296, allocations: 4.851 MB / 0.924 GB, free: 9.473 MB / 0.7013 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.736291209002957] Failed to read output from testmodel.py, exit status != 0: 1.543990452075377 1.561010148 0.508659323 Calling exit ...