Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.MechanicalSeparation.Check.TestSeparator_L1.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.008316/0.008316, allocations: 1.784 MB / 21.57 MB, free: 2.902 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.001278/0.001278, allocations: 85.33 kB / 25.4 MB, free: 7 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.00134/0.00134, allocations: 166.2 kB / 29.34 MB, free: 3.133 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.9177/0.9177, allocations: 177.1 MB / 210.3 MB, free: 3.488 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.67/0.67, allocations: 102.5 MB / 369.9 MB, free: 276 kB / 330.7 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 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.MechanicalSeparation.Check.TestSeparator_L1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20036,variableFilter="Time|volumeVLE_2_1.h|volumeVLE_2_1.p",fileNamePrefix="ClaRa_ClaRa.Components.MechanicalSeparation.Check.TestSeparator_L1") translateModel(ClaRa.Components.MechanicalSeparation.Check.TestSeparator_L1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20036,variableFilter="Time|volumeVLE_2_1.h|volumeVLE_2_1.p",fileNamePrefix="ClaRa_ClaRa.Components.MechanicalSeparation.Check.TestSeparator_L1") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 470.4 MB, free: 18.84 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.322e-05/1.511e-05, allocations: 4.422 kB / 470.4 MB, free: 18.84 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.MechanicalSeparation.Check.TestSeparator_L1): time 0.1121/0.1121, allocations: 65.66 MB / 0.5235 GB, free: 6.035 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.02215/0.1342, allocations: 19.54 MB / 0.5426 GB, free: 2.434 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002323/0.1365, allocations: 91.31 kB / 0.5427 GB, free: 2.344 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.003928/0.1405, allocations: 1.872 MB / 0.5445 GB, free: 472 kB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.004182/0.1447, allocations: 2.504 MB / 0.547 GB, free: 13.94 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.005019/0.1497, allocations: 2.778 MB / 0.5497 GB, free: 11.16 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.006462/0.1561, allocations: 5.831 MB / 0.5554 GB, free: 5.301 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002508/0.1586, allocations: 1.769 MB / 0.5571 GB, free: 3.488 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1182/0.2769, allocations: 48.35 MB / 0.6043 GB, free: 4.289 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002965/0.2798, allocations: 1.971 MB / 0.6062 GB, free: 2.312 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0003838/0.2802, allocations: 320 kB / 0.6065 GB, free: 2 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003378/0.2836, allocations: 1.91 MB / 0.6084 GB, free: 88 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0006732/0.2843, allocations: 1.078 MB / 0.6095 GB, free: 15 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.001005/0.2853, allocations: 1.214 MB / 0.6107 GB, free: 13.79 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.004407/0.2897, allocations: 4.632 MB / 0.6152 GB, free: 9.141 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.2897, allocations: 0 / 0.6152 GB, free: 9.141 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2897, allocations: 0 / 0.6152 GB, free: 9.141 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 2.357e-05/0.2897, allocations: 0 / 0.6152 GB, free: 9.141 MB / 0.5262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 801 * Number of variables: 801 Notification: Performance of Generate backend data structure: time 0.003714/0.2934, allocations: 4.839 MB / 0.6199 GB, free: 4.199 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.2935, allocations: 12.03 kB / 0.6199 GB, free: 4.188 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007827/0.2943, allocations: 0.6851 MB / 0.6206 GB, free: 3.5 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002229/0.2965, allocations: 2.432 MB / 0.623 GB, free: 0.9883 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002298/0.2967, allocations: 160.4 kB / 0.6231 GB, free: 0.8281 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001833/0.2969, allocations: 208.4 kB / 0.6233 GB, free: 0.625 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005058/0.302, allocations: 5.054 MB / 0.6282 GB, free: 10.57 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.74e-05/0.302, allocations: 27.75 kB / 0.6283 GB, free: 10.54 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001297/0.3021, allocations: 100 kB / 0.6284 GB, free: 10.44 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.286e-05/0.3022, allocations: 75.98 kB / 0.6284 GB, free: 10.37 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003437/0.3056, allocations: 2.407 MB / 0.6308 GB, free: 7.906 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2712/0.5768, allocations: 26.69 MB / 0.6569 GB, free: 93.58 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004042/0.5808, allocations: 2.508 MB / 0.6593 GB, free: 93 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000803/0.5816, allocations: 0.6938 MB / 0.66 GB, free: 92.71 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003449/0.582, allocations: 210.2 kB / 0.6602 GB, free: 92.7 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003736/0.5857, allocations: 2.491 MB / 0.6626 GB, free: 92.11 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=448): time 8.445e-06/0.5857, allocations: 0 / 0.6626 GB, free: 92.11 MB / 0.5574 GB Notification: Performance of matching and sorting (n=448): time 0.009743/0.5955, allocations: 5.406 MB / 0.6679 GB, free: 91.59 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001773/0.5956, allocations: 0.9288 MB / 0.6688 GB, free: 90.5 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003092/0.5987, allocations: 2.816 MB / 0.6716 GB, free: 90.16 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0004098/0.5991, allocations: 58.64 kB / 0.6716 GB, free: 90.13 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.001076/0.6002, allocations: 1.707 MB / 0.6733 GB, free: 89.53 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.001128/0.6014, allocations: 1.511 MB / 0.6747 GB, free: 88.52 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001096/0.6024, allocations: 0.9549 MB / 0.6757 GB, free: 88.42 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 5.056e-05/0.6025, allocations: 479.9 kB / 0.6761 GB, free: 87.95 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009423/0.6034, allocations: 0.8066 MB / 0.6769 GB, free: 87.79 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001603/0.605, allocations: 2.879 MB / 0.6797 GB, free: 85.16 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0038/0.6088, allocations: 4.431 MB / 0.6841 GB, free: 82.71 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.762e-05/0.6089, allocations: 11.06 kB / 0.6841 GB, free: 82.71 MB / 0.5574 GB Notification: Performance of matching and sorting (n=611) (initialization): time 0.005306/0.6142, allocations: 3.801 MB / 0.6878 GB, free: 82.1 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 9.284e-05/0.6143, allocations: 153.8 kB / 0.6879 GB, free: 81.97 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003404/0.6177, allocations: 2.5 MB / 0.6904 GB, free: 81.6 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004134/0.6181, allocations: 126.7 kB / 0.6905 GB, free: 81.59 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002073/0.6202, allocations: 1.122 MB / 0.6916 GB, free: 81.59 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001052/0.6212, allocations: 1.82 MB / 0.6934 GB, free: 79.89 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002201/0.6234, allocations: 442.3 kB / 0.6938 GB, free: 79.64 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004393/0.6239, allocations: 263.4 kB / 0.694 GB, free: 79.64 MB / 0.5574 GB Warning: Assuming fixed start value for the following 2 variables: volumeVLE_2_1.h:VARIABLE(start = volumeVLE_2_1.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real volumeVLE_2_1.p:VARIABLE(min = 0.0 start = volumeVLE_2_1.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002067/0.6259, allocations: 0.9636 MB / 0.695 GB, free: 79.38 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001917/0.6279, allocations: 2.872 MB / 0.6978 GB, free: 76.72 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004539/0.6324, allocations: 4.415 MB / 0.7021 GB, free: 74.05 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.686e-05/0.6325, allocations: 14.16 kB / 0.7021 GB, free: 74.05 MB / 0.5574 GB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.005262/0.6377, allocations: 3.766 MB / 0.7058 GB, free: 73.03 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 7.531e-05/0.6378, allocations: 158 kB / 0.7059 GB, free: 72.89 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002682/0.6405, allocations: 2.473 MB / 0.7084 GB, free: 72.16 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001985/0.6407, allocations: 110.5 kB / 0.7085 GB, free: 72.14 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001761/0.6424, allocations: 1.122 MB / 0.7096 GB, free: 71.95 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008167/0.6433, allocations: 1.808 MB / 0.7113 GB, free: 70.22 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001977/0.6452, allocations: 375.5 kB / 0.7117 GB, free: 70.03 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003037/0.6455, allocations: 266.6 kB / 0.7119 GB, free: 69.97 MB / 0.5574 GB Warning: Assuming fixed start value for the following 2 variables: volumeVLE_2_1.h:VARIABLE(start = volumeVLE_2_1.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real volumeVLE_2_1.p:VARIABLE(min = 0.0 start = volumeVLE_2_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: 164 * Number of states: 0 () * Number of discrete variables: 28 (timeTable_p1.nextEventScaled,timeTable_p1.nextEvent,$PRE.timeTable_p1.nextEvent,timeTable_p1.last,timeTable_p1.b,timeTable_p1.a,timeTable2.nextEventScaled,timeTable2.nextEvent,$PRE.timeTable2.nextEvent,timeTable2.last,timeTable2.b,timeTable2.a,timeTable1.nextEventScaled,timeTable1.nextEvent,$PRE.timeTable1.nextEvent,timeTable1.last,timeTable1.b,timeTable1.a,timeTable_p.nextEventScaled,timeTable_p.nextEvent,$PRE.timeTable_p.nextEvent,timeTable_p.last,timeTable_p.b,timeTable_p.a,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (590): * Single equations (assignments): 585 * Array equations: 0 * Algorithm blocks: 4 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.001286/0.6468, allocations: 0.6731 MB / 0.7126 GB, free: 69.54 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00103/0.6479, allocations: 480.7 kB / 0.7131 GB, free: 69.3 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 697 equation(s) and 664 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (steamSeparator.fluidIn.q, steamSeparator.fluidIn.cp, steamSeparator.fluidIn.cv, steamSeparator.fluidIn.beta, steamSeparator.fluidIn.kappa, steamSeparator.fluidIn.drhodp_hxi, steamSeparator.fluidIn.drhodh_pxi, _, steamSeparator.fluidIn.w, steamSeparator.fluidIn.gamma) = ($cse6, $cse7, $cse8, $cse9, $cse10, $cse11, $cse12, $cse13, $cse14, $cse15) has size 9 but 7 variables ($whenCondition1, timeTable_p.a, timeTable_p.b, timeTable_p.last, timeTable_p.nextEvent, timeTable_p.nextEventScaled, timeTable_p.timeScaled) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005465/0.6533, allocations: 4.959 MB / 0.7179 GB, free: 67.55 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.4658163180574775]