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.01367/0.01367, allocations: 1.769 MB / 18.12 MB, free: 4.906 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.001397/0.001397, allocations: 99.72 kB / 21.35 MB, free: 1.699 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.001964/0.001964, allocations: 214.6 kB / 24.75 MB, free: 3.715 MB / 14.72 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.522/1.522, allocations: 230.6 MB / 258.5 MB, free: 13.12 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.185/1.185, allocations: 130.6 MB / 445.6 MB, free: 14.55 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: Automatically loaded package TILMedia 1.9.0 ClaRa due to uses annotation from ClaRa. 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. 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.4551/0.4551, allocations: 46.15 MB / 0.6549 GB, free: 30.55 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.6698, allocations: 89.05 MB / 0.7419 GB, free: 2.352 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves): time 0.02021/0.69, allocations: 17.61 MB / 0.7591 GB, free: 0.6719 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02952/0.7195, allocations: 18.33 MB / 0.777 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004124/0.7236, allocations: 103.2 kB / 0.7771 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0054/0.729, allocations: 1.705 MB / 0.7788 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007167/0.7362, allocations: 2.066 MB / 0.7808 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006985/0.7432, allocations: 2.616 MB / 0.7833 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01028/0.7534, allocations: 5.645 MB / 0.7889 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00369/0.7571, allocations: 1.551 MB / 0.7904 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005829/0.763, allocations: 2.346 MB / 0.7927 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005442/0.7684, allocations: 2.432 MB / 0.795 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.00167/0.7701, allocations: 364 kB / 0.7954 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005227/0.7753, allocations: 1.657 MB / 0.797 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002326/0.7776, allocations: 1.164 MB / 0.7981 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.004683/0.7823, allocations: 2.114 MB / 0.8002 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01326/0.7956, allocations: 6.35 MB / 0.8064 GB, free: 24 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.7956, allocations: 0 / 0.8064 GB, free: 24 kB / 0.6075 GB Notification: Performance of FrontEnd: time 3.076e-06/0.7956, allocations: 0 / 0.8064 GB, free: 24 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002462/0.7958, allocations: 0 / 0.8064 GB, free: 24 kB / 0.6075 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.01165/0.8075, allocations: 4.714 MB / 0.811 GB, free: 11.23 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 5.719e-05/0.8075, allocations: 12.03 kB / 0.811 GB, free: 11.21 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001979/0.8095, allocations: 0.5912 MB / 0.8116 GB, free: 10.62 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008251/0.8178, allocations: 3.825 MB / 0.8153 GB, free: 6.734 MB / 0.6232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001736/0.8179, allocations: 168.9 kB / 0.8155 GB, free: 6.566 MB / 0.6232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003782/0.8183, allocations: 220.3 kB / 0.8157 GB, free: 6.352 MB / 0.6232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01265/0.831, allocations: 5.234 MB / 0.8208 GB, free: 252 kB / 0.6232 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-05/0.831, allocations: 39.62 kB / 0.8209 GB, free: 212 kB / 0.6232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002881/0.8313, allocations: 116 kB / 0.821 GB, free: 96 kB / 0.6232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001067/0.8314, allocations: 87.97 kB / 0.8211 GB, free: 8 kB / 0.6232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01014/0.8416, allocations: 3.486 MB / 0.8245 GB, free: 12.51 MB / 0.6388 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02583/0.8674, allocations: 26.43 MB / 0.8503 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00893/0.8763, allocations: 2.81 MB / 0.853 GB, free: 14.05 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001929/0.8783, allocations: 0.8315 MB / 0.8538 GB, free: 13.18 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003514/0.8786, allocations: 125.1 kB / 0.8539 GB, free: 13.05 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.876e-05/0.8787, allocations: 71.73 kB / 0.854 GB, free: 12.97 MB / 0.67 GB Notification: Performance of pre-optimization done (n=427): time 4.869e-06/0.8787, allocations: 0 / 0.854 GB, free: 12.97 MB / 0.67 GB Notification: Performance of matching and sorting (n=427): time 0.01964/0.8983, allocations: 5.624 MB / 0.8595 GB, free: 7.297 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004419/0.8988, allocations: 0.6102 MB / 0.8601 GB, free: 6.547 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007178/0.9059, allocations: 3.312 MB / 0.8633 GB, free: 3.211 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0006164/0.9066, allocations: 53.7 kB / 0.8634 GB, free: 3.152 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001583/0.9081, allocations: 1.654 MB / 0.865 GB, free: 1.484 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001982/0.9101, allocations: 1.467 MB / 0.8664 GB, free: 4 kB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.4021/1.312, allocations: 0.9627 MB / 0.8674 GB, free: 116.9 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.787e-05/1.312, allocations: 306.3 kB / 0.8677 GB, free: 116.6 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0027/1.315, allocations: 1.298 MB / 0.8689 GB, free: 116.6 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003256/1.318, allocations: 3.004 MB / 0.8719 GB, free: 114.5 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009912/1.328, allocations: 6.214 MB / 0.8779 GB, free: 110.8 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.634e-05/1.328, allocations: 21.44 kB / 0.878 GB, free: 110.8 MB / 0.67 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.009316/1.338, allocations: 4.806 MB / 0.8826 GB, free: 109.3 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.026e-05/1.338, allocations: 31.22 kB / 0.8827 GB, free: 109.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005561/1.343, allocations: 2.962 MB / 0.8856 GB, free: 108.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003106/1.343, allocations: 111.9 kB / 0.8857 GB, free: 108.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003493/1.347, allocations: 1.256 MB / 0.8869 GB, free: 108.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001066/1.348, allocations: 1.543 MB / 0.8884 GB, free: 106.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003071/1.351, allocations: 0.5371 MB / 0.8889 GB, free: 106.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005638/1.352, allocations: 328.9 kB / 0.8892 GB, free: 106.7 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.004074/1.356, allocations: 1.97 MB / 0.8912 GB, free: 105.7 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003361/1.359, allocations: 2.994 MB / 0.8941 GB, free: 103 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01125/1.37, allocations: 6.194 MB / 0.9001 GB, free: 99 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.68e-05/1.37, allocations: 17.45 kB / 0.9002 GB, free: 99 MB / 0.67 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.01222/1.383, allocations: 4.786 MB / 0.9048 GB, free: 97.23 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.79e-05/1.383, allocations: 28.72 kB / 0.9049 GB, free: 97.23 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00662/1.389, allocations: 2.943 MB / 0.9077 GB, free: 96.14 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003473/1.39, allocations: 116.3 kB / 0.9078 GB, free: 96.12 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00399/1.394, allocations: 1.249 MB / 0.9091 GB, free: 96 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001104/1.395, allocations: 1.544 MB / 0.9106 GB, free: 94.55 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003312/1.398, allocations: 420.8 kB / 0.911 GB, free: 94.35 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007681/1.399, allocations: 330.8 kB / 0.9113 GB, free: 94.31 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: 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.001639/1.401, allocations: 497.6 kB / 0.9118 GB, free: 93.93 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001649/1.402, allocations: 436.8 kB / 0.9122 GB, free: 93.67 MB / 0.67 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.009163/1.411, allocations: 4.84 MB / 0.9169 GB, free: 91.71 MB / 0.67 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.247990824995213] Failed to read output from testmodel.py, exit status != 0: 1.4203181259945268 1.429272419 0.631211515 Calling exit ...