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.007896/0.007896, allocations: 1.791 MB / 21.89 MB, free: 2.641 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.0007797/0.0007797, allocations: 86.12 kB / 25.62 MB, free: 6.992 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.0008707/0.0008707, allocations: 171 kB / 29.46 MB, free: 3.188 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.9013/0.9013, allocations: 177.1 MB / 210.3 MB, free: 3.613 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.6451/0.6451, allocations: 102.4 MB / 369.8 MB, free: 15.89 MB / 346.7 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 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_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.054e-06/2.054e-06, allocations: 0 / 469.9 MB, free: 19.05 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.02e-05/3.225e-05, allocations: 2.312 kB / 469.9 MB, free: 19.05 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.1151/0.1152, allocations: 66.61 MB / 0.5239 GB, free: 5.688 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.02104/0.1362, allocations: 18.24 MB / 0.5417 GB, free: 3.391 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002008/0.1382, allocations: 103.2 kB / 0.5418 GB, free: 3.289 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.002684/0.1409, allocations: 1.685 MB / 0.5435 GB, free: 1.594 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.002681/0.1436, allocations: 2.166 MB / 0.5456 GB, free: 15.41 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.003867/0.1474, allocations: 2.716 MB / 0.5482 GB, free: 12.69 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.004881/0.1523, allocations: 5.814 MB / 0.5539 GB, free: 6.859 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002075/0.1544, allocations: 1.747 MB / 0.5556 GB, free: 5.07 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003171/0.1576, allocations: 3.172 MB / 0.5587 GB, free: 1.891 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001892/0.1595, allocations: 1.965 MB / 0.5606 GB, free: 15.92 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0003534/0.1598, allocations: 360 kB / 0.561 GB, free: 15.57 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0024/0.1622, allocations: 1.341 MB / 0.5623 GB, free: 14.23 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0007531/0.163, allocations: 1.187 MB / 0.5634 GB, free: 13.04 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001036/0.164, allocations: 1.297 MB / 0.5647 GB, free: 11.73 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.003864/0.1679, allocations: 4.195 MB / 0.5688 GB, free: 7.523 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1679, allocations: 0 / 0.5688 GB, free: 7.523 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1679, allocations: 0 / 0.5688 GB, free: 7.523 MB / 490.8 MB Notification: Performance of Transformations before backend: time 2.877e-05/0.1679, allocations: 4 kB / 0.5688 GB, free: 7.52 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.004068/0.172, allocations: 4.823 MB / 0.5735 GB, free: 2.621 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.172, allocations: 16.03 kB / 0.5735 GB, free: 2.605 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/0.1731, allocations: 0.767 MB / 0.5743 GB, free: 1.836 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003712/0.1768, allocations: 3.398 MB / 0.5776 GB, free: 14.36 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-05/0.1769, allocations: 168.9 kB / 0.5778 GB, free: 14.19 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001975/0.1771, allocations: 228.4 kB / 0.578 GB, free: 13.97 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0062/0.1833, allocations: 5.842 MB / 0.5837 GB, free: 6.797 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.964e-05/0.1833, allocations: 43.81 kB / 0.5837 GB, free: 6.754 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001431/0.1835, allocations: 120.1 kB / 0.5838 GB, free: 6.637 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.554e-05/0.1835, allocations: 83.98 kB / 0.5839 GB, free: 6.555 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004526/0.188, allocations: 2.598 MB / 0.5865 GB, free: 3.938 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01467/0.2027, allocations: 35.82 MB / 0.6214 GB, free: 14.85 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004403/0.2071, allocations: 2.204 MB / 0.6236 GB, free: 12.46 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007434/0.2079, allocations: 0.5409 MB / 0.6241 GB, free: 11.85 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001865/0.208, allocations: 129.1 kB / 0.6242 GB, free: 11.72 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/0.2081, allocations: 66.58 kB / 0.6243 GB, free: 11.65 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=427): time 4.158e-06/0.2081, allocations: 0 / 0.6243 GB, free: 11.65 MB / 0.5418 GB Notification: Performance of matching and sorting (n=427): time 0.009004/0.2171, allocations: 4.558 MB / 0.6288 GB, free: 7.059 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000181/0.2173, allocations: 0.6136 MB / 0.6294 GB, free: 6.301 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00269/0.22, allocations: 3.015 MB / 0.6323 GB, free: 3.293 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0001255/0.2201, allocations: 53.7 kB / 0.6323 GB, free: 3.234 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008916/0.221, allocations: 1.81 MB / 0.6341 GB, free: 1.41 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008132/0.2218, allocations: 1.464 MB / 0.6355 GB, free: 15.93 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008634/0.2227, allocations: 1.016 MB / 0.6365 GB, free: 14.91 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 9.509e-05/0.2227, allocations: 480.8 kB / 0.637 GB, free: 14.43 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00108/0.2238, allocations: 0.6694 MB / 0.6377 GB, free: 13.75 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002344/0.2262, allocations: 3.318 MB / 0.6409 GB, free: 9.281 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004325/0.2305, allocations: 4.577 MB / 0.6454 GB, free: 3.59 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.848e-05/0.2305, allocations: 19.94 kB / 0.6454 GB, free: 3.57 MB / 0.5574 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.2201/0.4506, allocations: 3.775 MB / 0.6491 GB, free: 147.9 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 7.42e-05/0.4507, allocations: 29.09 kB / 0.6491 GB, free: 147.9 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003651/0.4543, allocations: 1.962 MB / 0.651 GB, free: 147.7 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003259/0.4547, allocations: 111.1 kB / 0.6511 GB, free: 147.7 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002052/0.4567, allocations: 1.245 MB / 0.6523 GB, free: 147.6 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008299/0.4575, allocations: 1.857 MB / 0.6541 GB, free: 145.9 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002114/0.4597, allocations: 0.4983 MB / 0.6546 GB, free: 145.9 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003378/0.46, allocations: 326.7 kB / 0.6549 GB, free: 145.9 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.001832/0.4618, allocations: 0.8385 MB / 0.6558 GB, free: 145.8 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001857/0.4637, allocations: 3.308 MB / 0.659 GB, free: 142.4 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004185/0.4679, allocations: 4.57 MB / 0.6635 GB, free: 139.1 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.68e-05/0.4679, allocations: 16.72 kB / 0.6635 GB, free: 139.1 MB / 0.5574 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.005356/0.4733, allocations: 3.769 MB / 0.6672 GB, free: 138.6 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/0.4733, allocations: 33.75 kB / 0.6672 GB, free: 138.6 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003046/0.4763, allocations: 1.949 MB / 0.6691 GB, free: 138.5 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002084/0.4765, allocations: 119.1 kB / 0.6692 GB, free: 138.4 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002105/0.4786, allocations: 1.246 MB / 0.6704 GB, free: 138.4 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007365/0.4794, allocations: 1.854 MB / 0.6722 GB, free: 136.6 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001813/0.4812, allocations: 419.3 kB / 0.6726 GB, free: 136.6 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003363/0.4815, allocations: 326.8 kB / 0.6729 GB, free: 136.6 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.0009775/0.4825, allocations: 0.5693 MB / 0.6735 GB, free: 136.1 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000766/0.4833, allocations: 460.8 kB / 0.6739 GB, free: 135.9 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.005729/0.489, allocations: 4.506 MB / 0.6783 GB, free: 134.7 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.163012697827071]