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.005932/0.005932, 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.0006809/0.0006809, 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.000795/0.000795, allocations: 160.8 kB / 27.85 MB, free: 5.098 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.8408/0.8408, allocations: 177.2 MB / 208.6 MB, free: 2.957 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.7086/0.7086, allocations: 102.5 MB / 367.9 MB, free: 1.527 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.773e-06/1.773e-06, allocations: 0 / 0.5362 GB, free: 39.92 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.549e-05/1.726e-05, allocations: 2.281 kB / 0.5362 GB, free: 39.91 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.108/0.108, allocations: 62.01 MB / 0.5967 GB, free: 14.54 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.01958/0.1276, allocations: 17.61 MB / 0.6139 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001732/0.1293, allocations: 99.25 kB / 0.614 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.002592/0.1319, allocations: 1.685 MB / 0.6157 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002601/0.1345, allocations: 2.169 MB / 0.6178 GB, free: 8.887 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003832/0.1383, allocations: 2.708 MB / 0.6204 GB, free: 6.172 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003698/0.142, allocations: 5.822 MB / 0.6261 GB, free: 332 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001442/0.1435, allocations: 1.665 MB / 0.6278 GB, free: 14.62 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002262/0.1457, allocations: 3.176 MB / 0.6309 GB, free: 11.44 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00165/0.1474, allocations: 1.97 MB / 0.6328 GB, free: 9.461 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.0003237/0.1477, allocations: 360 kB / 0.6331 GB, free: 9.109 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002429/0.1501, allocations: 1.341 MB / 0.6344 GB, free: 7.766 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.0007043/0.1508, allocations: 1.187 MB / 0.6356 GB, free: 6.574 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.000937/0.1518, allocations: 1.286 MB / 0.6368 GB, free: 5.285 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.004836/0.1566, allocations: 6.18 MB / 0.6429 GB, free: 15.09 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1566, allocations: 0 / 0.6429 GB, free: 15.09 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.325e-06/0.1566, allocations: 3.984 kB / 0.6429 GB, free: 15.08 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 3.972e-05/0.1567, allocations: 0 / 0.6429 GB, free: 15.08 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.00435/0.161, allocations: 4.601 MB / 0.6474 GB, free: 10.42 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.1611, allocations: 15.97 kB / 0.6474 GB, free: 10.4 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005478/0.1616, allocations: 407.8 kB / 0.6478 GB, free: 9.992 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009729/0.1626, allocations: 0.5912 MB / 0.6484 GB, free: 9.398 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004013/0.1666, allocations: 3.64 MB / 0.6519 GB, free: 5.688 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.53e-05/0.1667, allocations: 168.8 kB / 0.6521 GB, free: 5.52 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00019/0.1669, allocations: 224.4 kB / 0.6523 GB, free: 5.301 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006376/0.1732, allocations: 5.862 MB / 0.658 GB, free: 14.41 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.387e-05/0.1733, allocations: 39.86 kB / 0.658 GB, free: 14.38 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001622/0.1735, allocations: 123.9 kB / 0.6582 GB, free: 14.25 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-05/0.1735, allocations: 83.98 kB / 0.6582 GB, free: 14.17 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005248/0.1788, allocations: 3.471 MB / 0.6616 GB, free: 10.69 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01318/0.1919, allocations: 25.23 MB / 0.6863 GB, free: 492 kB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004665/0.1966, allocations: 2.804 MB / 0.689 GB, free: 13.54 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001063/0.1977, allocations: 0.8315 MB / 0.6898 GB, free: 12.66 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001935/0.1979, allocations: 113.1 kB / 0.6899 GB, free: 12.55 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.449e-05/0.1979, allocations: 67.75 kB / 0.69 GB, free: 12.47 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=427): time 4.569e-06/0.1979, allocations: 0 / 0.69 GB, free: 12.47 MB / 0.5887 GB Notification: Performance of matching and sorting (n=427): time 0.009528/0.2074, allocations: 5.557 MB / 0.6954 GB, free: 6.883 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003376/0.2078, allocations: 0.6058 MB / 0.696 GB, free: 6.137 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0032/0.211, allocations: 3.4 MB / 0.6993 GB, free: 2.711 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001268/0.2111, allocations: 49.7 kB / 0.6994 GB, free: 2.656 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008226/0.2119, allocations: 1.654 MB / 0.701 GB, free: 0.9883 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007956/0.2127, allocations: 1.432 MB / 0.7024 GB, free: 15.54 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00102/0.2137, allocations: 0.9597 MB / 0.7033 GB, free: 14.57 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.64e-05/0.2138, allocations: 301.1 kB / 0.7036 GB, free: 14.28 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001556/0.2154, allocations: 1.299 MB / 0.7049 GB, free: 12.97 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002354/0.2177, allocations: 3.182 MB / 0.708 GB, free: 8.93 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006854/0.2246, allocations: 6.226 MB / 0.7141 GB, free: 1.867 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.916e-05/0.2246, allocations: 16 kB / 0.7141 GB, free: 1.852 MB / 0.6043 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.005974/0.2306, allocations: 4.805 MB / 0.7188 GB, free: 13 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 3.284e-05/0.2306, allocations: 28 kB / 0.7188 GB, free: 12.97 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003562/0.2342, allocations: 2.962 MB / 0.7217 GB, free: 9.961 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000192/0.2344, allocations: 108.8 kB / 0.7218 GB, free: 9.852 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002064/0.2364, allocations: 1.252 MB / 0.723 GB, free: 8.598 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008809/0.2373, allocations: 1.443 MB / 0.7244 GB, free: 7.039 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001813/0.2391, allocations: 0.5311 MB / 0.725 GB, free: 6.504 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000308/0.2394, allocations: 335.7 kB / 0.7253 GB, free: 6.176 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.002796/0.2422, allocations: 1.978 MB / 0.7272 GB, free: 4.191 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002557/0.2448, allocations: 3.174 MB / 0.7303 GB, free: 164 kB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006942/0.2517, allocations: 6.187 MB / 0.7364 GB, free: 9.133 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.791e-05/0.2517, allocations: 16 kB / 0.7364 GB, free: 9.117 MB / 0.6355 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.006185/0.2579, allocations: 4.793 MB / 0.741 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/0.2579, allocations: 28 kB / 0.7411 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0037/0.2616, allocations: 2.946 MB / 0.744 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001501/0.2618, allocations: 113.3 kB / 0.7441 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001946/0.2637, allocations: 1.26 MB / 0.7453 GB, free: 15.88 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009151/0.2647, allocations: 1.431 MB / 0.7467 GB, free: 14.34 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002132/0.2668, allocations: 421.1 kB / 0.7471 GB, free: 13.92 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000321/0.2671, allocations: 319.8 kB / 0.7474 GB, free: 13.61 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.001193/0.2683, allocations: 0.4913 MB / 0.7479 GB, free: 13.11 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006408/0.2689, allocations: 425 kB / 0.7483 GB, free: 12.69 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.005758/0.2747, allocations: 4.918 MB / 0.7531 GB, free: 7.719 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.21838874835521] Failed to read output from testmodel.py, exit status != 0: 0.6285383105278015 0.635724263 0.47768184900000005 Calling exit ...