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.01204/0.01204, allocations: 1.45 MB / 20.8 MB, free: 3.617 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.009767/0.009767, allocations: 76.72 kB / 24.44 MB, free: 7.555 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.001848/0.001848, allocations: 164.7 kB / 28.2 MB, free: 4.691 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 1.506/1.506, allocations: 177.1 MB / 209 MB, free: 2.797 MB / 186.7 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.076/1.076, allocations: 102.5 MB / 368.3 MB, free: 1.254 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.883e-06/1.883e-06, allocations: 0 / 468.3 MB, free: 13.48 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.135e-05/3.323e-05, allocations: 7.297 kB / 468.3 MB, free: 13.47 MB / 442.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.4883/0.4883, allocations: 62.19 MB / 0.5181 GB, free: 72.14 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.02537/0.5137, allocations: 17.63 MB / 0.5353 GB, free: 65.34 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005007/0.5187, allocations: 101.6 kB / 0.5354 GB, free: 65.29 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.005605/0.5243, allocations: 1.677 MB / 0.537 GB, free: 64.52 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.007634/0.5319, allocations: 2.166 MB / 0.5391 GB, free: 63.15 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.007183/0.5391, allocations: 2.713 MB / 0.5418 GB, free: 61.74 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01036/0.5495, allocations: 5.808 MB / 0.5474 GB, free: 58.84 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0048/0.5543, allocations: 1.742 MB / 0.5491 GB, free: 57.71 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01024/0.5645, allocations: 3.182 MB / 0.5523 GB, free: 56.35 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006359/0.5709, allocations: 1.985 MB / 0.5542 GB, free: 55.68 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.002342/0.5732, allocations: 362.4 kB / 0.5545 GB, free: 55.68 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0944/0.6676, allocations: 16.77 MB / 0.5709 GB, free: 46.44 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.003089/0.6707, allocations: 1.192 MB / 0.5721 GB, free: 45.73 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.00624/0.677, allocations: 1.292 MB / 0.5733 GB, free: 45.13 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01388/0.6908, allocations: 6.207 MB / 0.5794 GB, free: 41.52 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.6908, allocations: 0 / 0.5794 GB, free: 41.52 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.994e-06/0.6908, allocations: 2.656 kB / 0.5794 GB, free: 41.52 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0002562/0.6911, allocations: 0 / 0.5794 GB, free: 41.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.008433/0.6995, allocations: 4.607 MB / 0.5839 GB, free: 37.57 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.6996, allocations: 11.97 kB / 0.5839 GB, free: 37.55 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001701/0.7013, allocations: 0.7671 MB / 0.5847 GB, free: 36.79 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005706/0.707, allocations: 3.802 MB / 0.5884 GB, free: 32.93 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-05/0.7071, allocations: 168.9 kB / 0.5885 GB, free: 32.77 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002437/0.7073, allocations: 228.4 kB / 0.5888 GB, free: 32.54 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008841/0.7162, allocations: 5.874 MB / 0.5945 GB, free: 25.64 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-05/0.7162, allocations: 39.81 kB / 0.5945 GB, free: 25.61 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001999/0.7164, allocations: 126.8 kB / 0.5946 GB, free: 25.48 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.694e-05/0.7165, allocations: 83.98 kB / 0.5947 GB, free: 25.4 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007633/0.7241, allocations: 3.486 MB / 0.5981 GB, free: 21.91 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01785/0.742, allocations: 24.98 MB / 0.6225 GB, free: 11.99 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009364/0.7513, allocations: 2.831 MB / 0.6253 GB, free: 9.027 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00221/0.7535, allocations: 0.8393 MB / 0.6261 GB, free: 8.137 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004188/0.754, allocations: 117.1 kB / 0.6262 GB, free: 8.023 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.896e-05/0.7541, allocations: 74.38 kB / 0.6263 GB, free: 7.945 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=427): time 4.839e-06/0.7541, allocations: 0 / 0.6263 GB, free: 7.945 MB / 0.4949 GB Notification: Performance of matching and sorting (n=427): time 0.029/0.7831, allocations: 5.811 MB / 0.632 GB, free: 2.105 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006461/0.7837, allocations: 0.6059 MB / 0.6326 GB, free: 1.355 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01209/0.7958, allocations: 3.171 MB / 0.6357 GB, free: 14.19 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009194/0.7967, allocations: 57.64 kB / 0.6357 GB, free: 14.13 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002687/0.7994, allocations: 1.668 MB / 0.6373 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.003263/0.8027, allocations: 1.443 MB / 0.6388 GB, free: 11 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002872/0.8055, allocations: 0.9597 MB / 0.6397 GB, free: 10.03 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002287/0.8058, allocations: 301.1 kB / 0.64 GB, free: 9.73 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004489/0.8102, allocations: 1.303 MB / 0.6412 GB, free: 8.418 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007466/0.8177, allocations: 3.186 MB / 0.6444 GB, free: 4.375 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01985/0.8376, allocations: 6.282 MB / 0.6505 GB, free: 13.35 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.903e-05/0.8377, allocations: 16 kB / 0.6505 GB, free: 13.33 MB / 0.5262 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.01475/0.8524, allocations: 4.967 MB / 0.6554 GB, free: 8.355 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 8.419e-05/0.8525, allocations: 31.91 kB / 0.6554 GB, free: 8.324 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007546/0.86, allocations: 2.972 MB / 0.6583 GB, free: 5.305 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000605/0.8606, allocations: 116.8 kB / 0.6584 GB, free: 5.188 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004685/0.8653, allocations: 1.258 MB / 0.6596 GB, free: 3.93 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002085/0.8674, allocations: 1.417 MB / 0.661 GB, free: 2.414 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00469/0.8721, allocations: 0.504 MB / 0.6615 GB, free: 1.906 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001097/0.8732, allocations: 327.8 kB / 0.6618 GB, free: 1.586 MB / 0.5262 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.00685/0.88, allocations: 1.987 MB / 0.6638 GB, free: 15.59 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005954/0.886, allocations: 3.174 MB / 0.6669 GB, free: 11.56 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01439/0.9004, allocations: 6.237 MB / 0.673 GB, free: 4.566 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.336e-05/0.9005, allocations: 18.69 kB / 0.673 GB, free: 4.551 MB / 0.5418 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.01435/0.9148, allocations: 4.941 MB / 0.6778 GB, free: 15.6 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 8.458e-05/0.9149, allocations: 30.62 kB / 0.6778 GB, free: 15.57 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007909/0.9228, allocations: 2.957 MB / 0.6807 GB, free: 12.57 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004559/0.9233, allocations: 120.8 kB / 0.6808 GB, free: 12.45 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004517/0.9278, allocations: 1.254 MB / 0.6821 GB, free: 11.2 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001815/0.9296, allocations: 1.411 MB / 0.6834 GB, free: 9.684 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004236/0.9338, allocations: 417.9 kB / 0.6838 GB, free: 9.273 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001181/0.935, allocations: 332 kB / 0.6841 GB, free: 8.949 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.00207/0.9371, allocations: 0.4897 MB / 0.6846 GB, free: 8.453 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002683/0.9398, allocations: 475.6 kB / 0.6851 GB, free: 7.988 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.01207/0.9518, allocations: 4.891 MB / 0.6899 GB, free: 3.355 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.946211862028576]