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.005927/0.005927, allocations: 1.446 MB / 20.54 MB, free: 4.008 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.0006192/0.0006192, allocations: 91.45 kB / 24.16 MB, free: 396 kB / 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.0007386/0.0007386, allocations: 163.3 kB / 27.85 MB, free: 5.496 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.887/0.887, allocations: 177.1 MB / 208.6 MB, free: 2.957 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7814/0.7814, allocations: 102.5 MB / 367.9 MB, free: 1.453 MB / 330.8 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.5.2 (/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: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 3.938 kB / 0.5367 GB, free: 39.82 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.784e-05/4.041e-05, allocations: 3.656 kB / 0.5367 GB, free: 39.82 MB / 490.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.1222/0.1223, allocations: 62 MB / 0.5972 GB, free: 14.02 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.02154/0.1438, allocations: 17.61 MB / 0.6144 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002785/0.1466, allocations: 99.25 kB / 0.6145 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.003179/0.1498, allocations: 1.685 MB / 0.6161 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.003262/0.153, allocations: 2.169 MB / 0.6183 GB, free: 8.363 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.004021/0.157, allocations: 2.72 MB / 0.6209 GB, free: 5.637 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.004705/0.1618, allocations: 5.814 MB / 0.6266 GB, free: 15.79 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001287/0.163, allocations: 1.664 MB / 0.6282 GB, free: 14.09 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002359/0.1654, allocations: 3.176 MB / 0.6313 GB, free: 10.91 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00168/0.1671, allocations: 1.976 MB / 0.6333 GB, free: 8.934 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.0003065/0.1674, allocations: 360 kB / 0.6336 GB, free: 8.582 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00208/0.1695, allocations: 1.337 MB / 0.6349 GB, free: 7.242 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.0006727/0.1701, allocations: 1.187 MB / 0.6361 GB, free: 6.051 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.001264/0.1714, allocations: 1.286 MB / 0.6373 GB, free: 4.762 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.004762/0.1762, allocations: 6.183 MB / 0.6434 GB, free: 14.56 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1762, allocations: 3.938 kB / 0.6434 GB, free: 14.55 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1762, allocations: 0 / 0.6434 GB, free: 14.55 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 3.482e-05/0.1762, allocations: 0 / 0.6434 GB, free: 14.55 MB / 0.5418 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.005302/0.1815, allocations: 4.607 MB / 0.6479 GB, free: 9.883 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.1816, allocations: 12.03 kB / 0.6479 GB, free: 9.871 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008537/0.1824, allocations: 0.5835 MB / 0.6484 GB, free: 9.285 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004208/0.1866, allocations: 3.641 MB / 0.652 GB, free: 5.574 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.579e-05/0.1867, allocations: 168.9 kB / 0.6522 GB, free: 5.406 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001969/0.1869, allocations: 220.4 kB / 0.6524 GB, free: 5.191 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006365/0.1933, allocations: 5.87 MB / 0.6581 GB, free: 14.29 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.729e-05/0.1933, allocations: 39.88 kB / 0.6581 GB, free: 14.25 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001415/0.1934, allocations: 120.1 kB / 0.6583 GB, free: 14.14 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.208e-05/0.1935, allocations: 80 kB / 0.6583 GB, free: 14.06 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004812/0.1983, allocations: 3.467 MB / 0.6617 GB, free: 10.58 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01425/0.2126, allocations: 24.87 MB / 0.686 GB, free: 0.7422 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004728/0.2173, allocations: 2.796 MB / 0.6887 GB, free: 13.81 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009571/0.2182, allocations: 0.8354 MB / 0.6896 GB, free: 12.93 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002174/0.2185, allocations: 113.1 kB / 0.6897 GB, free: 12.82 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.341e-05/0.2185, allocations: 71.73 kB / 0.6897 GB, free: 12.73 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=427): time 3.737e-06/0.2185, allocations: 0 / 0.6897 GB, free: 12.73 MB / 0.5887 GB Notification: Performance of matching and sorting (n=427): time 0.009929/0.2285, allocations: 5.534 MB / 0.6951 GB, free: 7.168 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002109/0.2287, allocations: 0.6063 MB / 0.6957 GB, free: 6.422 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002896/0.2316, allocations: 3.171 MB / 0.6988 GB, free: 3.262 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001191/0.2317, allocations: 53.7 kB / 0.6989 GB, free: 3.203 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001185/0.2329, allocations: 1.672 MB / 0.7005 GB, free: 1.516 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008027/0.2337, allocations: 1.436 MB / 0.7019 GB, free: 68 kB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008745/0.2345, allocations: 0.9558 MB / 0.7028 GB, free: 15.1 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.012e-05/0.2346, allocations: 301.1 kB / 0.7031 GB, free: 14.8 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001526/0.2361, allocations: 1.295 MB / 0.7044 GB, free: 13.5 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002749/0.2389, allocations: 3.182 MB / 0.7075 GB, free: 9.461 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006897/0.2458, allocations: 6.234 MB / 0.7136 GB, free: 2.391 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.791e-05/0.2458, allocations: 16 kB / 0.7136 GB, free: 2.375 MB / 0.6043 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.005657/0.2515, allocations: 4.782 MB / 0.7183 GB, free: 13.55 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 3.561e-05/0.2515, allocations: 32.22 kB / 0.7183 GB, free: 13.52 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003748/0.2553, allocations: 2.961 MB / 0.7212 GB, free: 10.51 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001853/0.2554, allocations: 112.8 kB / 0.7213 GB, free: 10.39 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001828/0.2573, allocations: 1.256 MB / 0.7225 GB, free: 9.137 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008807/0.2581, allocations: 1.409 MB / 0.7239 GB, free: 7.621 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001621/0.2598, allocations: 0.5079 MB / 0.7244 GB, free: 7.109 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002901/0.2601, allocations: 327.8 kB / 0.7247 GB, free: 6.789 MB / 0.6199 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.002986/0.263, allocations: 1.98 MB / 0.7266 GB, free: 4.797 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0023/0.2653, allocations: 3.178 MB / 0.7298 GB, free: 0.7617 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006641/0.272, allocations: 6.199 MB / 0.7358 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.543e-05/0.272, allocations: 16 kB / 0.7358 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.005858/0.2779, allocations: 4.766 MB / 0.7405 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.2779, allocations: 28 kB / 0.7405 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003326/0.2812, allocations: 2.937 MB / 0.7434 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001357/0.2813, allocations: 112.8 kB / 0.7435 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001797/0.2831, allocations: 1.252 MB / 0.7447 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001059/0.2842, allocations: 1.428 MB / 0.7461 GB, free: 14.98 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001559/0.2858, allocations: 409.2 kB / 0.7465 GB, free: 14.58 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000274/0.286, allocations: 327.8 kB / 0.7468 GB, free: 14.26 MB / 0.6512 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.0009354/0.287, allocations: 0.489 MB / 0.7473 GB, free: 13.77 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005793/0.2875, allocations: 417.1 kB / 0.7477 GB, free: 13.36 MB / 0.6512 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.005006/0.2925, allocations: 4.888 MB / 0.7524 GB, free: 8.418 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.4605426052585244] Failed to read output from testmodel.py, exit status != 0: 0.6946389507502317 0.703240312 0.5256798530000001 Calling exit ...