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.01234/0.01234, allocations: 1.349 MB / 20.45 MB, free: 1.262 MB / 14.72 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.001652/0.001652, allocations: 78.41 kB / 24.02 MB, free: 2.609 MB / 14.72 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.001934/0.001934, allocations: 153.7 kB / 27.7 MB, free: 3.859 MB / 19.63 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 1.544/1.544, allocations: 177.2 MB / 208.4 MB, free: 7.68 MB / 190.1 MB " [Timeout remaining time 178] 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 1.097/1.097, allocations: 102.5 MB / 367.7 MB, free: 4.578 MB / 334.1 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.3.1 (/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.994e-06/1.994e-06, allocations: 3.938 kB / 0.5364 GB, free: 7.137 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.465e-05/3.665e-05, allocations: 4.391 kB / 0.5364 GB, free: 7.133 MB / 446.1 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.1798/0.1798, allocations: 62.02 MB / 0.597 GB, free: 11.59 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.03345/0.2133, allocations: 17.62 MB / 0.6142 GB, free: 9.914 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004903/0.2182, allocations: 103.2 kB / 0.6143 GB, free: 9.812 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.005944/0.2241, allocations: 1.677 MB / 0.616 GB, free: 8.125 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.009219/0.2333, allocations: 2.181 MB / 0.6181 GB, free: 5.93 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.01193/0.2453, allocations: 2.704 MB / 0.6207 GB, free: 3.219 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.01198/0.2573, allocations: 5.821 MB / 0.6264 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004431/0.2617, allocations: 1.672 MB / 0.628 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008447/0.2701, allocations: 3.18 MB / 0.6311 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004954/0.2751, allocations: 1.965 MB / 0.6331 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001656/0.2767, allocations: 360 kB / 0.6334 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005183/0.2819, allocations: 1.349 MB / 0.6347 GB, free: 4.805 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002513/0.2844, allocations: 1.183 MB / 0.6359 GB, free: 3.617 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.004227/0.2887, allocations: 1.293 MB / 0.6371 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01357/0.3022, allocations: 6.168 MB / 0.6432 GB, free: 12.13 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.1e-05/0.3023, allocations: 0 / 0.6432 GB, free: 12.13 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3023, allocations: 0 / 0.6432 GB, free: 12.13 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0003132/0.3026, allocations: 0 / 0.6432 GB, free: 12.13 MB / 0.545 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.01332/0.3159, allocations: 4.607 MB / 0.6477 GB, free: 7.461 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.868e-05/0.3159, allocations: 8.031 kB / 0.6477 GB, free: 7.453 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002564/0.3185, allocations: 0.5874 MB / 0.6483 GB, free: 6.863 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009416/0.3279, allocations: 3.64 MB / 0.6518 GB, free: 3.152 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002378/0.3282, allocations: 168.9 kB / 0.652 GB, free: 2.984 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007674/0.3289, allocations: 220.3 kB / 0.6522 GB, free: 2.77 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01487/0.3438, allocations: 5.87 MB / 0.6579 GB, free: 11.88 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001496/0.344, allocations: 39.81 kB / 0.6579 GB, free: 11.84 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007324/0.3447, allocations: 124.1 kB / 0.6581 GB, free: 11.71 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001406/0.3448, allocations: 83.98 kB / 0.6581 GB, free: 11.63 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01061/0.3554, allocations: 3.459 MB / 0.6615 GB, free: 8.16 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02623/0.3817, allocations: 24.87 MB / 0.6858 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009391/0.3911, allocations: 2.8 MB / 0.6885 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002085/0.3931, allocations: 0.8363 MB / 0.6894 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004048/0.3935, allocations: 109.1 kB / 0.6895 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.323e-05/0.3936, allocations: 67.8 kB / 0.6895 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=427): time 5.481e-06/0.3936, allocations: 4 kB / 0.6895 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=427): time 0.01907/0.4127, allocations: 5.538 MB / 0.6949 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003929/0.4131, allocations: 0.6097 MB / 0.6955 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00574/0.4188, allocations: 3.171 MB / 0.6986 GB, free: 0.8359 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0006958/0.4195, allocations: 49.7 kB / 0.6987 GB, free: 0.7812 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.3706/0.7901, allocations: 1.667 MB / 0.7003 GB, free: 131.6 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.00202/0.7921, allocations: 1.441 MB / 0.7017 GB, free: 130.8 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002102/0.7942, allocations: 0.9558 MB / 0.7027 GB, free: 130.7 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 6.004e-05/0.7943, allocations: 302.4 kB / 0.7029 GB, free: 130.4 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002985/0.7973, allocations: 1.294 MB / 0.7042 GB, free: 130.2 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004127/0.8014, allocations: 3.182 MB / 0.7073 GB, free: 127.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01233/0.8137, allocations: 6.228 MB / 0.7134 GB, free: 123.1 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.837e-05/0.8138, allocations: 15.16 kB / 0.7134 GB, free: 123.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.01177/0.8256, allocations: 4.798 MB / 0.7181 GB, free: 121.1 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.337e-05/0.8256, allocations: 28.28 kB / 0.7181 GB, free: 121.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00643/0.8321, allocations: 2.957 MB / 0.721 GB, free: 120 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003597/0.8324, allocations: 120.6 kB / 0.7211 GB, free: 119.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003941/0.8364, allocations: 1.253 MB / 0.7223 GB, free: 119.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001019/0.8374, allocations: 1.411 MB / 0.7237 GB, free: 118.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003646/0.841, allocations: 0.5095 MB / 0.7242 GB, free: 118.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007129/0.8417, allocations: 321.8 kB / 0.7245 GB, free: 118.3 MB / 0.5919 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.004193/0.8459, allocations: 1.978 MB / 0.7265 GB, free: 117.3 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002968/0.8489, allocations: 3.176 MB / 0.7296 GB, free: 114.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009228/0.8581, allocations: 6.191 MB / 0.7356 GB, free: 108.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.438e-05/0.8582, allocations: 16 kB / 0.7356 GB, free: 108.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.01031/0.8685, allocations: 4.777 MB / 0.7403 GB, free: 103.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.41e-05/0.8685, allocations: 28 kB / 0.7403 GB, free: 103.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004948/0.8735, allocations: 2.931 MB / 0.7432 GB, free: 100.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00024/0.8737, allocations: 128.7 kB / 0.7433 GB, free: 100.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003291/0.877, allocations: 1.247 MB / 0.7445 GB, free: 99.35 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009127/0.8779, allocations: 1.407 MB / 0.7459 GB, free: 97.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003161/0.8811, allocations: 419.9 kB / 0.7463 GB, free: 97.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005753/0.8816, allocations: 331.8 kB / 0.7466 GB, free: 97.2 MB / 0.5919 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.001465/0.8831, allocations: 499.9 kB / 0.7471 GB, free: 96.74 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001569/0.8847, allocations: 424.9 kB / 0.7475 GB, free: 96.32 MB / 0.5919 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.007159/0.8918, allocations: 4.887 MB / 0.7523 GB, free: 91.8 MB / 0.5919 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.994361501187086] Failed to read output from testmodel.py, exit status != 0: 1.0815850347280502 1.097813096 0.791756793 Calling exit ...