Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.013/0.013, allocations: 1.794 MB / 21.35 MB, free: 3.191 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.0009856/0.0009856, allocations: 88.28 kB / 25.15 MB, free: 6.316 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.001326/0.001326, allocations: 168.3 kB / 29.06 MB, free: 3.348 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.93/0.93, allocations: 177.2 MB / 210 MB, free: 3.602 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6339/0.6339, allocations: 102.4 MB / 369.5 MB, free: 384 kB / 330.7 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 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_dev_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_dev_ClaRa.Components.MechanicalSeparation.Check.TestSeparator_L1") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0.6562 kB / 469.9 MB, free: 19 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.454e-05/2.605e-05, allocations: 3.984 kB / 469.9 MB, free: 19 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.1188/0.1188, allocations: 66.01 MB / 0.5234 GB, free: 5.938 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.02285/0.1417, allocations: 19.65 MB / 0.5426 GB, free: 2.23 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002959/0.1446, allocations: 91.31 kB / 0.5427 GB, free: 2.141 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004402/0.149, allocations: 1.88 MB / 0.5445 GB, free: 256 kB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.005692/0.1547, allocations: 2.504 MB / 0.5469 GB, free: 13.73 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.005452/0.1602, allocations: 2.766 MB / 0.5496 GB, free: 10.96 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.006882/0.167, allocations: 5.832 MB / 0.5553 GB, free: 5.102 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002642/0.1697, allocations: 1.773 MB / 0.5571 GB, free: 3.285 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1264/0.2961, allocations: 48.35 MB / 0.6043 GB, free: 4.09 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002988/0.2991, allocations: 1.974 MB / 0.6062 GB, free: 2.109 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0007906/0.2998, allocations: 316 kB / 0.6065 GB, free: 1.801 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003463/0.3033, allocations: 1.906 MB / 0.6084 GB, free: 15.89 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.0007713/0.3041, allocations: 1.086 MB / 0.6094 GB, free: 14.8 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.001615/0.3057, allocations: 1.21 MB / 0.6106 GB, free: 13.59 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.007817/0.3135, allocations: 4.632 MB / 0.6151 GB, free: 8.941 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3135, allocations: 0 / 0.6151 GB, free: 8.941 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3135, allocations: 0 / 0.6151 GB, free: 8.941 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.0001047/0.3136, allocations: 0 / 0.6151 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.004874/0.3185, allocations: 4.805 MB / 0.6198 GB, free: 4.035 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.3185, allocations: 16.02 kB / 0.6198 GB, free: 4.02 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000851/0.3194, allocations: 0.6774 MB / 0.6205 GB, free: 3.34 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003041/0.3224, allocations: 2.471 MB / 0.6229 GB, free: 0.7891 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.423e-05/0.3225, allocations: 152.4 kB / 0.6231 GB, free: 0.6367 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001946/0.3227, allocations: 216.4 kB / 0.6233 GB, free: 436 kB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006223/0.3289, allocations: 5.238 MB / 0.6284 GB, free: 10.18 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.39e-05/0.329, allocations: 23.75 kB / 0.6284 GB, free: 10.16 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001588/0.3291, allocations: 108 kB / 0.6285 GB, free: 10.05 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.716e-05/0.3292, allocations: 68 kB / 0.6286 GB, free: 9.988 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004627/0.3338, allocations: 2.658 MB / 0.6312 GB, free: 7.289 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2235/0.5573, allocations: 27.18 MB / 0.6577 GB, free: 92.07 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004231/0.5616, allocations: 2.672 MB / 0.6603 GB, free: 91.49 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008511/0.5624, allocations: 0.7929 MB / 0.6611 GB, free: 91.2 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002516/0.5627, allocations: 146.7 kB / 0.6612 GB, free: 91.19 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003754/0.5664, allocations: 2.599 MB / 0.6638 GB, free: 90.61 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=448): time 5.029e-06/0.5664, allocations: 0 / 0.6638 GB, free: 90.61 MB / 0.5574 GB Notification: Performance of matching and sorting (n=448): time 0.00955/0.576, allocations: 5.792 MB / 0.6694 GB, free: 90.08 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/0.5761, allocations: 0.933 MB / 0.6703 GB, free: 88.99 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002584/0.5787, allocations: 2.858 MB / 0.6731 GB, free: 88.65 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0002097/0.5789, allocations: 56.52 kB / 0.6732 GB, free: 88.62 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007726/0.5797, allocations: 1.673 MB / 0.6748 GB, free: 88.09 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007307/0.5804, allocations: 1.489 MB / 0.6763 GB, free: 87.27 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000858/0.5813, allocations: 0.933 MB / 0.6772 GB, free: 87.18 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 3.999e-05/0.5813, allocations: 480.7 kB / 0.6776 GB, free: 86.7 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001217/0.5825, allocations: 0.9781 MB / 0.6786 GB, free: 86.54 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00177/0.5843, allocations: 3.025 MB / 0.6816 GB, free: 83.91 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004414/0.5887, allocations: 4.862 MB / 0.6863 GB, free: 81.45 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.89e-05/0.5887, allocations: 9.781 kB / 0.6863 GB, free: 81.45 MB / 0.5574 GB Notification: Performance of matching and sorting (n=611) (initialization): time 0.005572/0.5943, allocations: 4.148 MB / 0.6904 GB, free: 80.85 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 7.153e-05/0.5944, allocations: 156.6 kB / 0.6905 GB, free: 80.73 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003685/0.5981, allocations: 2.773 MB / 0.6932 GB, free: 80.36 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003894/0.5985, allocations: 128.5 kB / 0.6933 GB, free: 80.34 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002007/0.6005, allocations: 1.121 MB / 0.6944 GB, free: 80.34 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009782/0.6014, allocations: 1.838 MB / 0.6962 GB, free: 78.62 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001531/0.603, allocations: 446.5 kB / 0.6967 GB, free: 78.48 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003415/0.6033, allocations: 298.6 kB / 0.6969 GB, free: 78.48 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.001969/0.6053, allocations: 1.124 MB / 0.698 GB, free: 78.22 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002053/0.6073, allocations: 3.013 MB / 0.701 GB, free: 75.39 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004815/0.6122, allocations: 4.837 MB / 0.7057 GB, free: 72.71 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.758e-05/0.6122, allocations: 10.41 kB / 0.7057 GB, free: 72.71 MB / 0.5574 GB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.005356/0.6175, allocations: 4.137 MB / 0.7098 GB, free: 71.68 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 6.259e-05/0.6176, allocations: 148 kB / 0.7099 GB, free: 71.54 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003338/0.6209, allocations: 2.747 MB / 0.7126 GB, free: 70.6 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002767/0.6212, allocations: 115.3 kB / 0.7127 GB, free: 70.57 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00205/0.6233, allocations: 1.118 MB / 0.7138 GB, free: 70.34 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008549/0.6241, allocations: 1.835 MB / 0.7156 GB, free: 68.55 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002011/0.6261, allocations: 377.8 kB / 0.7159 GB, free: 68.37 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003079/0.6264, allocations: 301.5 kB / 0.7162 GB, free: 68.28 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.001202/0.6276, allocations: 0.6747 MB / 0.7169 GB, free: 67.74 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007415/0.6284, allocations: 492.8 kB / 0.7174 GB, free: 67.47 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.005025/0.6334, allocations: 5.075 MB / 0.7223 GB, free: 65.08 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.315360862761736]