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.007881/0.007881, allocations: 1.795 MB / 21.35 MB, free: 3.184 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.0007249/0.0007249, allocations: 91.81 kB / 25.15 MB, free: 7.473 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.0008013/0.0008013, allocations: 170.8 kB / 29.06 MB, free: 3.652 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.862/0.862, allocations: 177.1 MB / 210 MB, free: 3.582 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.568/0.568, allocations: 102.5 MB / 369.5 MB, free: 372 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.543e-06/1.543e-06, allocations: 0 / 470 MB, free: 18.98 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.77e-05/1.925e-05, allocations: 4.094 kB / 470 MB, free: 18.98 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.1049/0.105, allocations: 66.01 MB / 0.5234 GB, free: 5.91 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.01938/0.1243, allocations: 19.64 MB / 0.5426 GB, free: 2.207 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001622/0.126, allocations: 91.31 kB / 0.5427 GB, free: 2.117 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.002793/0.1288, allocations: 1.876 MB / 0.5445 GB, free: 236 kB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.003271/0.132, allocations: 2.5 MB / 0.547 GB, free: 13.71 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.003668/0.1357, allocations: 2.774 MB / 0.5497 GB, free: 10.93 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.004123/0.1398, allocations: 5.828 MB / 0.5554 GB, free: 5.086 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001344/0.1412, allocations: 1.773 MB / 0.5571 GB, free: 3.27 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1087/0.2499, allocations: 48.35 MB / 0.6043 GB, free: 4.086 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002798/0.2527, allocations: 1.974 MB / 0.6062 GB, free: 2.105 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0003783/0.2531, allocations: 320 kB / 0.6065 GB, free: 1.793 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003122/0.2562, allocations: 1.902 MB / 0.6084 GB, free: 15.88 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.0006466/0.2568, allocations: 1.085 MB / 0.6095 GB, free: 14.8 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.0009969/0.2578, allocations: 1.21 MB / 0.6106 GB, free: 13.59 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.004822/0.2626, allocations: 4.628 MB / 0.6152 GB, free: 8.941 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.2626, allocations: 0 / 0.6152 GB, free: 8.941 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2626, allocations: 0 / 0.6152 GB, free: 8.941 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 2.573e-05/0.2627, allocations: 0 / 0.6152 GB, free: 8.941 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.00399/0.2667, allocations: 4.805 MB / 0.6198 GB, free: 4.035 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.2667, allocations: 15.97 kB / 0.6199 GB, free: 4.02 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007613/0.2675, allocations: 0.6812 MB / 0.6205 GB, free: 3.336 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002295/0.2698, allocations: 2.467 MB / 0.6229 GB, free: 0.7891 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.264e-05/0.2698, allocations: 152.4 kB / 0.6231 GB, free: 0.6367 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001952/0.27, allocations: 208.4 kB / 0.6233 GB, free: 444 kB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00569/0.2757, allocations: 5.238 MB / 0.6284 GB, free: 10.19 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.253e-05/0.2758, allocations: 27.75 kB / 0.6284 GB, free: 10.16 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001439/0.2759, allocations: 104 kB / 0.6285 GB, free: 10.06 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.146e-05/0.276, allocations: 75.98 kB / 0.6286 GB, free: 9.988 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004344/0.2803, allocations: 2.658 MB / 0.6312 GB, free: 7.289 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2101/0.4904, allocations: 27.18 MB / 0.6577 GB, free: 92.84 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004026/0.4944, allocations: 2.67 MB / 0.6603 GB, free: 92.25 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007525/0.4952, allocations: 0.7912 MB / 0.6611 GB, free: 91.96 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002283/0.4954, allocations: 149.4 kB / 0.6613 GB, free: 91.95 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00359/0.499, allocations: 2.593 MB / 0.6638 GB, free: 91.37 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=448): time 4.809e-06/0.499, allocations: 0 / 0.6638 GB, free: 91.37 MB / 0.5574 GB Notification: Performance of matching and sorting (n=448): time 0.01211/0.5111, allocations: 5.796 MB / 0.6695 GB, free: 90.84 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000141/0.5113, allocations: 0.9267 MB / 0.6704 GB, free: 89.75 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002811/0.5141, allocations: 2.856 MB / 0.6731 GB, free: 89.41 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.000193/0.5143, allocations: 59.67 kB / 0.6732 GB, free: 89.38 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.000873/0.5151, allocations: 1.673 MB / 0.6748 GB, free: 88.79 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007854/0.5159, allocations: 1.487 MB / 0.6763 GB, free: 87.79 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001054/0.517, allocations: 0.9373 MB / 0.6772 GB, free: 87.69 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 3.999e-05/0.517, allocations: 486 kB / 0.6777 GB, free: 87.22 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001505/0.5185, allocations: 0.974 MB / 0.6786 GB, free: 87.05 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002134/0.5207, allocations: 3.023 MB / 0.6816 GB, free: 84.42 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005419/0.5261, allocations: 4.869 MB / 0.6863 GB, free: 81.97 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.138e-05/0.5261, allocations: 9.875 kB / 0.6863 GB, free: 81.97 MB / 0.5574 GB Notification: Performance of matching and sorting (n=611) (initialization): time 0.006444/0.5326, allocations: 4.139 MB / 0.6904 GB, free: 81.37 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 7.584e-05/0.5326, allocations: 155.8 kB / 0.6905 GB, free: 81.24 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004551/0.5372, allocations: 2.78 MB / 0.6932 GB, free: 80.87 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003919/0.5376, allocations: 126 kB / 0.6934 GB, free: 80.86 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002627/0.5402, allocations: 1.126 MB / 0.6945 GB, free: 80.86 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001426/0.5416, allocations: 1.841 MB / 0.6963 GB, free: 79.13 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001539/0.5432, allocations: 440.2 kB / 0.6967 GB, free: 78.89 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004023/0.5436, allocations: 296.3 kB / 0.697 GB, free: 78.89 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.001858/0.5454, allocations: 1.132 MB / 0.6981 GB, free: 78.62 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001826/0.5472, allocations: 3.014 MB / 0.701 GB, free: 75.82 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004326/0.5516, allocations: 4.844 MB / 0.7057 GB, free: 73.14 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.447e-05/0.5516, allocations: 11.38 kB / 0.7057 GB, free: 73.14 MB / 0.5574 GB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.004716/0.5563, allocations: 4.125 MB / 0.7098 GB, free: 72.11 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 4.935e-05/0.5564, allocations: 152.2 kB / 0.7099 GB, free: 71.97 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00336/0.5597, allocations: 2.754 MB / 0.7126 GB, free: 71.03 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002224/0.5599, allocations: 110.6 kB / 0.7127 GB, free: 71 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001831/0.5618, allocations: 1.119 MB / 0.7138 GB, free: 70.77 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006146/0.5624, allocations: 1.837 MB / 0.7156 GB, free: 68.98 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.5635, allocations: 374.3 kB / 0.716 GB, free: 68.71 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002821/0.5638, allocations: 294.1 kB / 0.7162 GB, free: 68.63 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.001019/0.5648, allocations: 0.6746 MB / 0.7169 GB, free: 68.08 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005303/0.5654, allocations: 487.1 kB / 0.7174 GB, free: 67.82 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.004533/0.5699, allocations: 5.081 MB / 0.7223 GB, free: 65.42 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.022951254155487]