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.01254/0.01254, allocations: 1.754 MB / 20.61 MB, free: 1.004 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.001365/0.001365, allocations: 101 kB / 24.18 MB, free: 2.441 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.001765/0.001765, allocations: 209.1 kB / 27.9 MB, free: 3.742 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.478/1.478, allocations: 230.6 MB / 262.1 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.045/1.045, allocations: 130.7 MB / 449.7 MB, free: 6.359 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.06463/0.06463, allocations: 20.98 MB / 0.6363 GB, free: 4.34 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.2308, allocations: 81.9 MB / 0.7163 GB, free: 2.344 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.4875/0.7183, allocations: 48.37 MB / 0.7635 GB, free: 18.84 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02565/0.744, allocations: 17.89 MB / 0.781 GB, free: 6.324 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00473/0.7487, allocations: 103.1 kB / 0.7811 GB, free: 6.273 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.005367/0.754, allocations: 1.666 MB / 0.7827 GB, free: 5.48 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.007451/0.7615, allocations: 2.101 MB / 0.7848 GB, free: 4.172 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.007026/0.7685, allocations: 2.687 MB / 0.7874 GB, free: 2.719 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.009622/0.7781, allocations: 5.643 MB / 0.7929 GB, free: 15.41 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003316/0.7815, allocations: 1.657 MB / 0.7945 GB, free: 14.2 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005285/0.7867, allocations: 2.351 MB / 0.7968 GB, free: 12.86 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005107/0.7919, allocations: 2.293 MB / 0.7991 GB, free: 11.45 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.001311/0.7932, allocations: 363.1 kB / 0.7994 GB, free: 11.45 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004725/0.7979, allocations: 1.328 MB / 0.8007 GB, free: 10.91 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.001785/0.7997, allocations: 1.164 MB / 0.8019 GB, free: 10.03 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.003419/0.8031, allocations: 1.623 MB / 0.8034 GB, free: 8.984 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01079/0.8139, allocations: 6.304 MB / 0.8096 GB, free: 2.66 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.8139, allocations: 2.656 kB / 0.8096 GB, free: 2.66 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.254e-06/0.8139, allocations: 0 / 0.8096 GB, free: 2.66 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0001954/0.8141, allocations: 0 / 0.8096 GB, free: 2.66 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.00847/0.8226, allocations: 4.65 MB / 0.8141 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.8226, allocations: 12.03 kB / 0.8142 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00166/0.8243, allocations: 0.5835 MB / 0.8147 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007576/0.8318, allocations: 3.648 MB / 0.8183 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001678/0.832, allocations: 168.9 kB / 0.8184 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003413/0.8323, allocations: 219.3 kB / 0.8187 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01167/0.844, allocations: 5.869 MB / 0.8244 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-05/0.8441, allocations: 41.06 kB / 0.8244 GB, free: 2.359 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002772/0.8444, allocations: 123.9 kB / 0.8245 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.841e-05/0.8445, allocations: 83.98 kB / 0.8246 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009628/0.8541, allocations: 3.46 MB / 0.828 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02544/0.8795, allocations: 24.98 MB / 0.8524 GB, free: 4.773 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008776/0.8883, allocations: 2.799 MB / 0.8551 GB, free: 1.836 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0019/0.8902, allocations: 0.8263 MB / 0.8559 GB, free: 0.9648 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003729/0.8906, allocations: 117 kB / 0.856 GB, free: 0.8477 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8e-05/0.8907, allocations: 63.81 kB / 0.8561 GB, free: 0.7773 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=427): time 5.731e-06/0.8907, allocations: 2.656 kB / 0.8561 GB, free: 0.7773 MB / 0.6232 GB Notification: Performance of matching and sorting (n=427): time 0.0178/0.9085, allocations: 5.541 MB / 0.8615 GB, free: 11.21 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003718/0.9088, allocations: 0.6059 MB / 0.8621 GB, free: 10.47 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006427/0.9153, allocations: 3.167 MB / 0.8652 GB, free: 7.312 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0005351/0.9158, allocations: 53.7 kB / 0.8653 GB, free: 7.254 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.001678/0.9175, allocations: 1.684 MB / 0.8669 GB, free: 5.555 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.00195/0.9194, allocations: 1.452 MB / 0.8683 GB, free: 4.09 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00248/0.9219, allocations: 0.9701 MB / 0.8693 GB, free: 3.113 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.922, allocations: 305.1 kB / 0.8696 GB, free: 2.812 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002951/0.925, allocations: 1.291 MB / 0.8708 GB, free: 1.512 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004695/0.9297, allocations: 3.182 MB / 0.8739 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01201/0.9417, allocations: 6.234 MB / 0.88 GB, free: 6.504 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.108e-05/0.9418, allocations: 16 kB / 0.88 GB, free: 6.488 MB / 0.6544 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.01071/0.9525, allocations: 4.796 MB / 0.8847 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.545e-05/0.9526, allocations: 32 kB / 0.8847 GB, free: 1.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006208/0.9588, allocations: 2.954 MB / 0.8876 GB, free: 14.66 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003471/0.9591, allocations: 124.8 kB / 0.8877 GB, free: 14.54 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003735/0.9629, allocations: 1.248 MB / 0.889 GB, free: 13.29 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001498/0.9644, allocations: 1.42 MB / 0.8904 GB, free: 11.77 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003156/0.9675, allocations: 0.504 MB / 0.8908 GB, free: 11.27 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007511/0.9683, allocations: 327.8 kB / 0.8912 GB, free: 10.95 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.004598/0.9729, allocations: 1.973 MB / 0.8931 GB, free: 8.969 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00448/0.9773, allocations: 3.174 MB / 0.8962 GB, free: 4.934 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01141/0.9887, allocations: 6.189 MB / 0.9022 GB, free: 14 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.857e-05/0.9888, allocations: 17.56 kB / 0.9022 GB, free: 13.99 MB / 0.6857 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.01072/0.9995, allocations: 4.775 MB / 0.9069 GB, free: 9.207 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 7.143e-05/0.9996, allocations: 34.03 kB / 0.9069 GB, free: 9.176 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006404/1.006, allocations: 2.934 MB / 0.9098 GB, free: 6.199 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003497/1.006, allocations: 123.4 kB / 0.9099 GB, free: 6.078 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003746/1.01, allocations: 1.244 MB / 0.9111 GB, free: 4.832 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001387/1.011, allocations: 1.415 MB / 0.9125 GB, free: 3.324 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002905/1.014, allocations: 421.1 kB / 0.9129 GB, free: 2.91 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006345/1.015, allocations: 323.8 kB / 0.9132 GB, free: 2.594 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.001332/1.016, allocations: 0.4902 MB / 0.9137 GB, free: 2.102 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001629/1.018, allocations: 421 kB / 0.9141 GB, free: 1.688 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.009441/1.027, allocations: 4.883 MB / 0.9189 GB, free: 13.11 MB / 0.7013 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.9394212160259485] Failed to read output from testmodel.py, exit status != 0: 1.219033781439066 1.233707474 0.416556731 Calling exit ...