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.01073/0.01073, 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.001445/0.001445, allocations: 103.2 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.001763/0.001763, allocations: 206.5 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.574/1.574, allocations: 230.6 MB / 262.8 MB, free: 5.832 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.149/1.149, allocations: 130.7 MB / 450.4 MB, free: 6.391 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.06851/0.06851, allocations: 20.98 MB / 0.637 GB, free: 4.184 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2768, allocations: 81.9 MB / 0.717 GB, free: 2.195 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.596/0.8728, allocations: 48.37 MB / 0.7643 GB, free: 18.79 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02899/0.9018, allocations: 17.9 MB / 0.7817 GB, free: 6.262 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005932/0.9077, allocations: 103.5 kB / 0.7818 GB, free: 6.211 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.005868/0.9136, allocations: 1.673 MB / 0.7835 GB, free: 5.41 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.008741/0.9223, allocations: 2.104 MB / 0.7855 GB, free: 4.105 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.007726/0.93, allocations: 2.685 MB / 0.7881 GB, free: 2.668 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.01047/0.9405, allocations: 5.635 MB / 0.7936 GB, free: 15.37 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003525/0.944, allocations: 1.658 MB / 0.7953 GB, free: 14.16 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005547/0.9496, allocations: 2.345 MB / 0.7976 GB, free: 12.82 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006008/0.9556, allocations: 2.295 MB / 0.7998 GB, free: 11.41 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.001339/0.9569, allocations: 360.5 kB / 0.8001 GB, free: 11.41 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004723/0.9616, allocations: 1.334 MB / 0.8014 GB, free: 10.87 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.001504/0.9631, allocations: 1.159 MB / 0.8026 GB, free: 9.992 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.003089/0.9662, allocations: 1.626 MB / 0.8042 GB, free: 8.898 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01056/0.9768, allocations: 6.304 MB / 0.8103 GB, free: 2.57 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 6.371e-06/0.9768, allocations: 0 / 0.8103 GB, free: 2.57 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.104e-06/0.9768, allocations: 0 / 0.8103 GB, free: 2.57 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0001271/0.9769, allocations: 0 / 0.8103 GB, free: 2.57 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.009276/0.9862, allocations: 4.645 MB / 0.8149 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/0.9863, allocations: 12.03 kB / 0.8149 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002079/0.9883, allocations: 0.5861 MB / 0.8154 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009756/0.9981, allocations: 3.651 MB / 0.819 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000166/0.9983, allocations: 168.9 kB / 0.8192 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003466/0.9986, allocations: 216.4 kB / 0.8194 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01199/1.011, allocations: 5.873 MB / 0.8251 GB, free: 2.301 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.984e-05/1.011, allocations: 35.62 kB / 0.8251 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002338/1.011, allocations: 116 kB / 0.8253 GB, free: 2.152 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001021/1.011, allocations: 87.12 kB / 0.8253 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009068/1.02, allocations: 3.466 MB / 0.8287 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02534/1.045, allocations: 24.97 MB / 0.8531 GB, free: 4.684 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009227/1.055, allocations: 2.8 MB / 0.8558 GB, free: 1.746 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002024/1.057, allocations: 0.8198 MB / 0.8566 GB, free: 0.8789 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003951/1.057, allocations: 117 kB / 0.8568 GB, free: 0.7617 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.594e-05/1.057, allocations: 70.5 kB / 0.8568 GB, free: 0.6875 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=427): time 5.35e-06/1.057, allocations: 2.656 kB / 0.8568 GB, free: 0.6875 MB / 0.6232 GB Notification: Performance of matching and sorting (n=427): time 0.01875/1.076, allocations: 5.535 MB / 0.8622 GB, free: 11.12 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004257/1.076, allocations: 0.6059 MB / 0.8628 GB, free: 10.38 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007066/1.083, allocations: 3.167 MB / 0.8659 GB, free: 7.223 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.000468/1.084, allocations: 53.7 kB / 0.866 GB, free: 7.164 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.001854/1.086, allocations: 1.683 MB / 0.8676 GB, free: 5.469 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.002054/1.088, allocations: 1.456 MB / 0.869 GB, free: 4 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002495/1.09, allocations: 0.9714 MB / 0.87 GB, free: 3.02 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001719/1.09, allocations: 307.9 kB / 0.8703 GB, free: 2.719 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003138/1.094, allocations: 1.295 MB / 0.8715 GB, free: 1.414 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005149/1.099, allocations: 3.178 MB / 0.8746 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01297/1.112, allocations: 6.228 MB / 0.8807 GB, free: 6.414 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.391e-05/1.112, allocations: 19.98 kB / 0.8807 GB, free: 6.395 MB / 0.6544 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.01193/1.124, allocations: 4.799 MB / 0.8854 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.216e-05/1.124, allocations: 29.88 kB / 0.8855 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006753/1.131, allocations: 2.954 MB / 0.8883 GB, free: 14.57 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004381/1.131, allocations: 119.5 kB / 0.8885 GB, free: 14.45 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004036/1.135, allocations: 1.252 MB / 0.8897 GB, free: 13.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001711/1.137, allocations: 1.414 MB / 0.8911 GB, free: 11.69 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003483/1.14, allocations: 0.5118 MB / 0.8916 GB, free: 11.18 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000808/1.141, allocations: 325.9 kB / 0.8919 GB, free: 10.86 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.005085/1.146, allocations: 1.972 MB / 0.8938 GB, free: 8.887 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005086/1.151, allocations: 3.177 MB / 0.8969 GB, free: 4.852 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01251/1.164, allocations: 6.186 MB / 0.9029 GB, free: 13.92 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.069e-05/1.164, allocations: 16 kB / 0.903 GB, free: 13.91 MB / 0.6857 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.01141/1.175, allocations: 4.788 MB / 0.9076 GB, free: 9.113 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 7.414e-05/1.175, allocations: 28 kB / 0.9077 GB, free: 9.086 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006626/1.182, allocations: 2.926 MB / 0.9105 GB, free: 6.113 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000343/1.182, allocations: 123.4 kB / 0.9106 GB, free: 5.992 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003921/1.186, allocations: 1.245 MB / 0.9118 GB, free: 4.746 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001606/1.188, allocations: 1.415 MB / 0.9132 GB, free: 3.238 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003333/1.191, allocations: 421.1 kB / 0.9136 GB, free: 2.824 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007811/1.192, allocations: 327.8 kB / 0.9139 GB, free: 2.504 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.001503/1.193, allocations: 494.7 kB / 0.9144 GB, free: 2.016 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001774/1.195, allocations: 419.1 kB / 0.9148 GB, free: 1.605 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.01035/1.205, allocations: 4.896 MB / 0.9196 GB, free: 13.02 MB / 0.7013 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.49352373695001] Failed to read output from testmodel.py, exit status != 0: 1.4437076128087938 1.460116607 0.479873548 Calling exit ...