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.008125/0.008125, allocations: 1.794 MB / 21.35 MB, free: 3.191 MB / 18.57 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.0008109/0.0008109, allocations: 87.67 kB / 25.15 MB, free: 6.316 MB / 18.57 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.0009416/0.0009416, allocations: 163.2 kB / 29.05 MB, free: 3.352 MB / 18.57 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 0.9597/0.9597, allocations: 177.1 MB / 210 MB, free: 3.605 MB / 186.7 MB " [Timeout remaining time 179] 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 0.645/0.645, allocations: 102.5 MB / 369.5 MB, free: 400 kB / 330.7 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 1.0.0 (/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: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 470 MB, free: 19 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.042e-05/4.3e-05, allocations: 9.047 kB / 470 MB, free: 18.99 MB / 410.8 MB 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.1593/0.1593, allocations: 66.72 MB / 0.5241 GB, free: 5.215 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.02164/0.181, allocations: 18.26 MB / 0.5419 GB, free: 2.895 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002841/0.1838, allocations: 99.25 kB / 0.542 GB, free: 2.797 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.003303/0.1871, allocations: 1.681 MB / 0.5437 GB, free: 1.105 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.004732/0.1919, allocations: 2.177 MB / 0.5458 GB, free: 14.91 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.005018/0.1969, allocations: 2.716 MB / 0.5485 GB, free: 12.19 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.006082/0.203, allocations: 5.817 MB / 0.5541 GB, free: 6.359 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001794/0.2047, allocations: 1.747 MB / 0.5558 GB, free: 4.57 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002758/0.2075, allocations: 3.176 MB / 0.5589 GB, free: 1.387 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001883/0.2094, allocations: 1.963 MB / 0.5609 GB, free: 15.42 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0004002/0.2098, allocations: 360 kB / 0.5612 GB, free: 15.07 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002166/0.212, allocations: 1.337 MB / 0.5625 GB, free: 13.73 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0007046/0.2127, allocations: 1.195 MB / 0.5637 GB, free: 12.53 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001111/0.2138, allocations: 1.289 MB / 0.5649 GB, free: 11.23 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.00393/0.2177, allocations: 4.203 MB / 0.569 GB, free: 7.016 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2177, allocations: 0 / 0.569 GB, free: 7.016 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2177, allocations: 0 / 0.569 GB, free: 7.016 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.672e-05/0.2178, allocations: 4 kB / 0.569 GB, free: 7.012 MB / 490.8 MB 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.005092/0.2229, allocations: 4.823 MB / 0.5738 GB, free: 2.113 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.2229, allocations: 12.03 kB / 0.5738 GB, free: 2.102 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/0.2241, allocations: 0.767 MB / 0.5745 GB, free: 1.332 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003973/0.2281, allocations: 3.415 MB / 0.5778 GB, free: 13.84 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.983e-05/0.2282, allocations: 164.9 kB / 0.578 GB, free: 13.68 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002027/0.2284, allocations: 228.4 kB / 0.5782 GB, free: 13.45 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006171/0.2345, allocations: 5.85 MB / 0.5839 GB, free: 6.273 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.851e-05/0.2346, allocations: 39.81 kB / 0.584 GB, free: 6.234 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001411/0.2347, allocations: 120.1 kB / 0.5841 GB, free: 6.117 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.669e-05/0.2348, allocations: 84 kB / 0.5842 GB, free: 6.035 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004239/0.239, allocations: 2.594 MB / 0.5867 GB, free: 3.422 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01645/0.2555, allocations: 35.81 MB / 0.6217 GB, free: 14.34 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004128/0.2596, allocations: 2.216 MB / 0.6238 GB, free: 11.94 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007058/0.2603, allocations: 0.5526 MB / 0.6244 GB, free: 11.32 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002063/0.2605, allocations: 113.1 kB / 0.6245 GB, free: 11.21 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.291e-05/0.2606, allocations: 86.56 kB / 0.6246 GB, free: 11.11 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=427): time 4.318e-06/0.2606, allocations: 0 / 0.6246 GB, free: 11.11 MB / 0.5418 GB Notification: Performance of matching and sorting (n=427): time 0.008975/0.2695, allocations: 4.542 MB / 0.629 GB, free: 6.539 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001888/0.2697, allocations: 0.6102 MB / 0.6296 GB, free: 5.785 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002924/0.2726, allocations: 3.023 MB / 0.6325 GB, free: 2.77 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0001251/0.2728, allocations: 53.7 kB / 0.6326 GB, free: 2.711 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009679/0.2737, allocations: 1.803 MB / 0.6344 GB, free: 0.8906 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009245/0.2747, allocations: 1.464 MB / 0.6358 GB, free: 15.41 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009405/0.2756, allocations: 1.016 MB / 0.6368 GB, free: 14.38 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.2757, allocations: 476.8 kB / 0.6372 GB, free: 13.91 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00113/0.2768, allocations: 0.6694 MB / 0.6379 GB, free: 13.23 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002374/0.2792, allocations: 3.314 MB / 0.6411 GB, free: 8.766 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004469/0.2837, allocations: 4.578 MB / 0.6456 GB, free: 3.074 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.001e-05/0.2837, allocations: 16 kB / 0.6456 GB, free: 3.059 MB / 0.5574 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.266/0.5497, allocations: 3.781 MB / 0.6493 GB, free: 106 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 5.043e-05/0.5498, allocations: 31.56 kB / 0.6493 GB, free: 106 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003088/0.5529, allocations: 1.957 MB / 0.6512 GB, free: 105.9 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003082/0.5532, allocations: 117.1 kB / 0.6514 GB, free: 105.9 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002042/0.5552, allocations: 1.25 MB / 0.6526 GB, free: 105.9 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008992/0.5561, allocations: 1.854 MB / 0.6544 GB, free: 104.2 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002135/0.5582, allocations: 0.5013 MB / 0.6549 GB, free: 104.2 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003216/0.5586, allocations: 327.6 kB / 0.6552 GB, free: 104.2 MB / 0.5574 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.001794/0.5604, allocations: 0.8351 MB / 0.656 GB, free: 104 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001813/0.5622, allocations: 3.303 MB / 0.6592 GB, free: 100.7 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004084/0.5663, allocations: 4.568 MB / 0.6637 GB, free: 97.62 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.031e-05/0.5663, allocations: 15.53 kB / 0.6637 GB, free: 97.62 MB / 0.5574 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.005469/0.5717, allocations: 3.779 MB / 0.6674 GB, free: 97.49 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.124e-05/0.5718, allocations: 30.09 kB / 0.6674 GB, free: 97.49 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002746/0.5745, allocations: 1.948 MB / 0.6693 GB, free: 97.38 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002231/0.5747, allocations: 116.5 kB / 0.6694 GB, free: 97.37 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001976/0.5767, allocations: 1.246 MB / 0.6707 GB, free: 97.37 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007439/0.5775, allocations: 1.858 MB / 0.6725 GB, free: 95.66 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0019/0.5794, allocations: 419.8 kB / 0.6729 GB, free: 95.66 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003179/0.5797, allocations: 326.1 kB / 0.6732 GB, free: 95.66 MB / 0.5574 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.001036/0.5807, allocations: 0.5676 MB / 0.6737 GB, free: 95.39 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007764/0.5815, allocations: 469.5 kB / 0.6742 GB, free: 95.18 MB / 0.5574 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.005206/0.5867, allocations: 4.498 MB / 0.6786 GB, free: 94.74 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.3811472640372813]