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.005838/0.005838, 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.0006654/0.0006654, 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.0007774/0.0007774, allocations: 164.1 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.8683/0.8683, allocations: 177.2 MB / 208.6 MB, free: 2.941 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.746/0.746, allocations: 102.4 MB / 367.9 MB, free: 1.441 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 1.703e-06/1.703e-06, allocations: 0 / 0.5367 GB, free: 39.76 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.118e-05/2.288e-05, allocations: 6.938 kB / 0.5367 GB, free: 39.75 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.1108/0.1109, allocations: 62 MB / 0.5972 GB, free: 14 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.02163/0.1325, allocations: 17.61 MB / 0.6144 GB, free: 12.33 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002118/0.1346, allocations: 99.25 kB / 0.6145 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.002779/0.1374, allocations: 1.685 MB / 0.6162 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002773/0.1402, allocations: 2.169 MB / 0.6183 GB, free: 8.352 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003866/0.144, allocations: 2.716 MB / 0.6209 GB, free: 5.629 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003849/0.1479, allocations: 5.818 MB / 0.6266 GB, free: 15.79 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001247/0.1491, allocations: 1.665 MB / 0.6282 GB, free: 14.08 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002153/0.1513, allocations: 3.176 MB / 0.6313 GB, free: 10.9 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001529/0.1528, allocations: 1.972 MB / 0.6333 GB, free: 8.926 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002956/0.1531, allocations: 363.9 kB / 0.6336 GB, free: 8.57 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001889/0.155, allocations: 1.337 MB / 0.6349 GB, free: 7.23 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.0006756/0.1557, allocations: 1.187 MB / 0.6361 GB, free: 6.039 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.0008373/0.1565, allocations: 1.289 MB / 0.6373 GB, free: 4.746 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.004386/0.1609, allocations: 6.18 MB / 0.6434 GB, free: 14.55 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1609, allocations: 3.938 kB / 0.6434 GB, free: 14.54 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.204e-06/0.1609, allocations: 0 / 0.6434 GB, free: 14.54 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 4.35e-05/0.1609, allocations: 0 / 0.6434 GB, free: 14.54 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.00436/0.1653, allocations: 4.607 MB / 0.6479 GB, free: 9.871 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.1654, allocations: 12.03 kB / 0.6479 GB, free: 9.859 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008562/0.1662, allocations: 0.5873 MB / 0.6484 GB, free: 9.27 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003761/0.17, allocations: 3.639 MB / 0.652 GB, free: 5.559 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-05/0.1701, allocations: 168.9 kB / 0.6522 GB, free: 5.391 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001904/0.1703, allocations: 216.4 kB / 0.6524 GB, free: 5.18 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005924/0.1762, allocations: 5.87 MB / 0.6581 GB, free: 14.29 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.684e-05/0.1762, allocations: 35.88 kB / 0.6581 GB, free: 14.25 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001429/0.1764, allocations: 124.1 kB / 0.6583 GB, free: 14.13 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.012e-05/0.1764, allocations: 83.98 kB / 0.6583 GB, free: 14.05 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004762/0.1812, allocations: 3.463 MB / 0.6617 GB, free: 10.57 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01175/0.1929, allocations: 24.87 MB / 0.686 GB, free: 0.7344 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004491/0.1974, allocations: 2.812 MB / 0.6887 GB, free: 13.79 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000893/0.1983, allocations: 0.8237 MB / 0.6896 GB, free: 12.91 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001895/0.1985, allocations: 113.1 kB / 0.6897 GB, free: 12.8 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.463e-05/0.1986, allocations: 71.75 kB / 0.6897 GB, free: 12.72 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=427): time 3.887e-06/0.1986, allocations: 0 / 0.6897 GB, free: 12.72 MB / 0.5887 GB Notification: Performance of matching and sorting (n=427): time 0.009206/0.2078, allocations: 5.534 MB / 0.6951 GB, free: 7.156 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002602/0.208, allocations: 0.6098 MB / 0.6957 GB, free: 6.406 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002969/0.211, allocations: 3.168 MB / 0.6988 GB, free: 3.25 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001182/0.2111, allocations: 57.81 kB / 0.6989 GB, free: 3.188 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008418/0.212, allocations: 1.672 MB / 0.7005 GB, free: 1.5 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008317/0.2128, allocations: 1.432 MB / 0.7019 GB, free: 56 kB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000916/0.2137, allocations: 0.9597 MB / 0.7028 GB, free: 15.09 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.284e-05/0.2138, allocations: 309.1 kB / 0.7031 GB, free: 14.78 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001579/0.2154, allocations: 1.295 MB / 0.7044 GB, free: 13.48 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002392/0.2177, allocations: 3.178 MB / 0.7075 GB, free: 9.441 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006651/0.2244, allocations: 6.237 MB / 0.7136 GB, free: 2.367 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.918e-05/0.2244, allocations: 16 kB / 0.7136 GB, free: 2.352 MB / 0.6043 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.005555/0.23, allocations: 4.782 MB / 0.7183 GB, free: 13.52 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/0.23, allocations: 28 kB / 0.7183 GB, free: 13.5 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003492/0.2335, allocations: 2.958 MB / 0.7212 GB, free: 10.49 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001746/0.2337, allocations: 116.8 kB / 0.7213 GB, free: 10.37 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001912/0.2356, allocations: 1.256 MB / 0.7225 GB, free: 9.113 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008498/0.2364, allocations: 1.404 MB / 0.7239 GB, free: 7.602 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/0.2378, allocations: 0.5079 MB / 0.7244 GB, free: 7.09 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002973/0.2381, allocations: 323.8 kB / 0.7247 GB, free: 6.773 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.00255/0.2407, allocations: 1.974 MB / 0.7266 GB, free: 4.789 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002376/0.2431, allocations: 3.174 MB / 0.7297 GB, free: 0.7578 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006723/0.2498, allocations: 6.203 MB / 0.7358 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.823e-05/0.2498, allocations: 16 kB / 0.7358 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.005988/0.2558, allocations: 4.767 MB / 0.7405 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.2558, allocations: 36.03 kB / 0.7405 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0036/0.2594, allocations: 2.933 MB / 0.7434 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001355/0.2595, allocations: 112.8 kB / 0.7435 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002101/0.2616, allocations: 1.256 MB / 0.7447 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007911/0.2624, allocations: 1.416 MB / 0.7461 GB, free: 14.98 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/0.2639, allocations: 413.2 kB / 0.7465 GB, free: 14.57 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002898/0.2641, allocations: 327.8 kB / 0.7468 GB, free: 14.25 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.0008495/0.265, allocations: 0.4897 MB / 0.7473 GB, free: 13.76 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005867/0.2656, allocations: 413.1 kB / 0.7477 GB, free: 13.35 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.005186/0.2708, allocations: 4.888 MB / 0.7524 GB, free: 8.414 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.2978352205827832] Failed to read output from testmodel.py, exit status != 0: 0.6389303524047136 0.645388993 0.48305813599999997 Calling exit ...