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.0086/0.0086, allocations: 1.442 MB / 20.54 MB, free: 4.012 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.0008308/0.0008308, 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.0009604/0.0009604, allocations: 163.6 kB / 27.86 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.8587/0.8587, allocations: 177.2 MB / 208.6 MB, free: 2.969 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.7177/0.7177, allocations: 102.5 MB / 367.9 MB, free: 1.484 MB / 330.8 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 0.5.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 3.938 kB / 0.5362 GB, free: 40.12 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.154e-05/1.323e-05, allocations: 2.281 kB / 0.5362 GB, free: 40.11 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.1046/0.1046, allocations: 62 MB / 0.5967 GB, free: 14.5 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.01881/0.1234, allocations: 17.62 MB / 0.6139 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001735/0.1251, allocations: 103.2 kB / 0.614 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.002919/0.128, allocations: 1.677 MB / 0.6157 GB, free: 11.03 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002923/0.131, allocations: 2.166 MB / 0.6178 GB, free: 8.852 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003687/0.1347, allocations: 2.716 MB / 0.6204 GB, free: 6.129 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.004648/0.1393, allocations: 5.816 MB / 0.6261 GB, free: 296 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001406/0.1407, allocations: 1.668 MB / 0.6278 GB, free: 14.58 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002712/0.1434, allocations: 3.176 MB / 0.6309 GB, free: 11.4 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001555/0.145, allocations: 1.967 MB / 0.6328 GB, free: 9.426 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002899/0.1453, allocations: 360 kB / 0.6331 GB, free: 9.074 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002047/0.1473, allocations: 1.353 MB / 0.6344 GB, free: 7.719 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.0009377/0.1482, allocations: 1.187 MB / 0.6356 GB, free: 6.527 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.0008661/0.1491, allocations: 1.289 MB / 0.6369 GB, free: 5.234 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.004585/0.1537, allocations: 6.176 MB / 0.6429 GB, free: 15.04 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1537, allocations: 4 kB / 0.6429 GB, free: 15.04 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.452e-06/0.1537, allocations: 0 / 0.6429 GB, free: 15.04 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 3.601e-05/0.1537, allocations: 0 / 0.6429 GB, free: 15.04 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.004229/0.158, allocations: 4.607 MB / 0.6474 GB, free: 10.36 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.158, allocations: 8.031 kB / 0.6474 GB, free: 10.36 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003195/0.1583, allocations: 411.8 kB / 0.6478 GB, free: 9.941 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008813/0.1592, allocations: 0.5873 MB / 0.6484 GB, free: 9.352 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004083/0.1633, allocations: 3.633 MB / 0.6519 GB, free: 5.648 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.11e-05/0.1634, allocations: 168.9 kB / 0.6521 GB, free: 5.48 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000188/0.1636, allocations: 220.4 kB / 0.6523 GB, free: 5.266 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006507/0.1701, allocations: 5.87 MB / 0.658 GB, free: 14.37 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.185e-05/0.1701, allocations: 35.88 kB / 0.658 GB, free: 14.34 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001477/0.1703, allocations: 123.9 kB / 0.6582 GB, free: 14.21 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.789e-05/0.1703, allocations: 87.92 kB / 0.6582 GB, free: 14.13 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005047/0.1754, allocations: 3.459 MB / 0.6616 GB, free: 10.66 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01501/0.1904, allocations: 25.23 MB / 0.6863 GB, free: 456 kB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004554/0.195, allocations: 2.812 MB / 0.689 GB, free: 13.5 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009058/0.1959, allocations: 0.8237 MB / 0.6898 GB, free: 12.62 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000194/0.1961, allocations: 109.1 kB / 0.6899 GB, free: 12.52 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.621e-05/0.1961, allocations: 71.73 kB / 0.69 GB, free: 12.44 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=427): time 3.577e-06/0.1961, allocations: 0 / 0.69 GB, free: 12.44 MB / 0.5887 GB Notification: Performance of matching and sorting (n=427): time 0.009488/0.2056, allocations: 5.556 MB / 0.6954 GB, free: 6.848 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001967/0.2058, allocations: 0.6059 MB / 0.696 GB, free: 6.102 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003435/0.2092, allocations: 3.397 MB / 0.6993 GB, free: 2.68 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001287/0.2094, allocations: 53.7 kB / 0.6994 GB, free: 2.621 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007978/0.2101, allocations: 1.654 MB / 0.701 GB, free: 0.9531 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007725/0.2109, allocations: 1.432 MB / 0.7024 GB, free: 15.51 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008401/0.2118, allocations: 0.9674 MB / 0.7033 GB, free: 14.53 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.034e-05/0.2118, allocations: 301.1 kB / 0.7036 GB, free: 14.23 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001555/0.2134, allocations: 1.295 MB / 0.7049 GB, free: 12.93 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002668/0.2161, allocations: 3.182 MB / 0.708 GB, free: 8.891 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006892/0.2229, allocations: 6.227 MB / 0.7141 GB, free: 1.828 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.848e-05/0.223, allocations: 20 kB / 0.7141 GB, free: 1.809 MB / 0.6043 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.005926/0.2289, allocations: 4.809 MB / 0.7188 GB, free: 12.96 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 3.223e-05/0.2289, allocations: 28 kB / 0.7188 GB, free: 12.93 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003432/0.2324, allocations: 2.949 MB / 0.7217 GB, free: 9.93 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000173/0.2325, allocations: 116.8 kB / 0.7218 GB, free: 9.812 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001854/0.2344, allocations: 1.26 MB / 0.723 GB, free: 8.551 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008306/0.2352, allocations: 1.419 MB / 0.7244 GB, free: 7.012 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001854/0.2371, allocations: 0.5388 MB / 0.725 GB, free: 6.469 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002925/0.2374, allocations: 331.8 kB / 0.7253 GB, free: 6.145 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.00264/0.24, allocations: 1.979 MB / 0.7272 GB, free: 4.156 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00235/0.2424, allocations: 3.17 MB / 0.7303 GB, free: 132 kB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007177/0.2495, allocations: 6.199 MB / 0.7363 GB, free: 9.094 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.79e-05/0.2495, allocations: 16 kB / 0.7364 GB, free: 9.078 MB / 0.6355 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.006094/0.2556, allocations: 4.789 MB / 0.741 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.2557, allocations: 28 kB / 0.7411 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003544/0.2592, allocations: 2.934 MB / 0.7439 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001512/0.2594, allocations: 121.4 kB / 0.744 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002308/0.2617, allocations: 1.252 MB / 0.7453 GB, free: 15.86 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008023/0.2625, allocations: 1.436 MB / 0.7467 GB, free: 14.3 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001786/0.2643, allocations: 417.1 kB / 0.7471 GB, free: 13.89 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002856/0.2645, allocations: 331.9 kB / 0.7474 GB, free: 13.57 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.0008737/0.2654, allocations: 0.4953 MB / 0.7479 GB, free: 13.07 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000613/0.266, allocations: 433.1 kB / 0.7483 GB, free: 12.64 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.005273/0.2713, allocations: 4.906 MB / 0.7531 GB, free: 7.684 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.201131522655487] Failed to read output from testmodel.py, exit status != 0: 0.6044595157727599 0.6144794539999999 0.45856409699999995 Calling exit ...