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.008921/0.008921, allocations: 1.777 MB / 22.36 MB, free: 2.117 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.0009313/0.0009313, allocations: 82.17 kB / 26.19 MB, free: 6.07 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.001654/0.001654, allocations: 176.1 kB / 30.12 MB, free: 2.176 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.8654/0.8654, allocations: 177.2 MB / 211.1 MB, free: 2.238 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.6585/0.6585, allocations: 102.5 MB / 370.7 MB, free: 0.8164 MB / 330.8 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.122e-06/1.122e-06, allocations: 0 / 471.2 MB, free: 12.39 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.302e-05/1.414e-05, allocations: 4 kB / 471.2 MB, free: 12.38 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.MechanicalSeparation.Check.TestSeparator_L1): time 0.26/0.26, allocations: 65.64 MB / 0.5243 GB, free: 74.25 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.01595/0.276, allocations: 19.53 MB / 0.5434 GB, free: 62.31 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001451/0.2774, allocations: 94.28 kB / 0.5434 GB, free: 62.27 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.002398/0.2798, allocations: 1.872 MB / 0.5453 GB, free: 61.43 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.002711/0.2825, allocations: 2.504 MB / 0.5477 GB, free: 59.94 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.003548/0.2861, allocations: 2.769 MB / 0.5504 GB, free: 58.54 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.004418/0.2905, allocations: 5.822 MB / 0.5561 GB, free: 55.66 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001986/0.2925, allocations: 1.768 MB / 0.5578 GB, free: 54.51 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1082/0.4007, allocations: 48.37 MB / 0.6051 GB, free: 19.11 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002606/0.4033, allocations: 1.971 MB / 0.607 GB, free: 17.14 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0004291/0.4037, allocations: 316 kB / 0.6073 GB, free: 16.83 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002572/0.4063, allocations: 1.901 MB / 0.6092 GB, free: 14.93 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0004726/0.4067, allocations: 1.089 MB / 0.6102 GB, free: 13.83 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0008723/0.4076, allocations: 1.207 MB / 0.6114 GB, free: 12.62 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.003529/0.4111, allocations: 4.635 MB / 0.6159 GB, free: 7.969 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.4111, allocations: 0 / 0.6159 GB, free: 7.969 MB / 490.8 MB Notification: Performance of FrontEnd: time 8.02e-07/0.4111, allocations: 0 / 0.6159 GB, free: 7.969 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.691e-05/0.4112, allocations: 0 / 0.6159 GB, free: 7.969 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: 801 * Number of variables: 801 Notification: Performance of Generate backend data structure: time 0.003267/0.4145, allocations: 4.845 MB / 0.6207 GB, free: 3.031 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.4145, allocations: 12.03 kB / 0.6207 GB, free: 3.02 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006597/0.4152, allocations: 0.6851 MB / 0.6213 GB, free: 2.332 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001866/0.417, allocations: 2.44 MB / 0.6237 GB, free: 15.82 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.146e-05/0.4171, allocations: 152.4 kB / 0.6239 GB, free: 15.67 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001919/0.4173, allocations: 208.4 kB / 0.6241 GB, free: 15.47 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005081/0.4224, allocations: 5.057 MB / 0.629 GB, free: 9.414 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.648e-05/0.4224, allocations: 27.75 kB / 0.629 GB, free: 9.387 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001483/0.4226, allocations: 100 kB / 0.6291 GB, free: 9.289 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.492e-05/0.4226, allocations: 74.67 kB / 0.6292 GB, free: 9.219 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003879/0.4265, allocations: 2.412 MB / 0.6315 GB, free: 6.773 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01235/0.4389, allocations: 26.69 MB / 0.6576 GB, free: 11.23 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003899/0.4428, allocations: 2.509 MB / 0.6601 GB, free: 8.543 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006503/0.4434, allocations: 0.6957 MB / 0.6607 GB, free: 7.77 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002341/0.4437, allocations: 141.1 kB / 0.6609 GB, free: 7.629 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003869/0.4475, allocations: 2.492 MB / 0.6633 GB, free: 4.988 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=448): time 4.007e-06/0.4475, allocations: 2.656 kB / 0.6633 GB, free: 4.988 MB / 0.5262 GB Notification: Performance of matching and sorting (n=448): time 0.009044/0.4566, allocations: 5.396 MB / 0.6686 GB, free: 15.5 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002439/0.4568, allocations: 0.9343 MB / 0.6695 GB, free: 14.35 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002221/0.459, allocations: 2.816 MB / 0.6722 GB, free: 11.53 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0001485/0.4592, allocations: 57.7 kB / 0.6723 GB, free: 11.47 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009437/0.4601, allocations: 1.7 MB / 0.674 GB, free: 9.754 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009836/0.4611, allocations: 1.51 MB / 0.6754 GB, free: 8.23 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008886/0.462, allocations: 0.9544 MB / 0.6764 GB, free: 7.266 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 9.133e-05/0.4621, allocations: 484.7 kB / 0.6768 GB, free: 6.789 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008717/0.463, allocations: 0.8054 MB / 0.6776 GB, free: 5.945 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001736/0.4647, allocations: 2.882 MB / 0.6804 GB, free: 2.211 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003826/0.4685, allocations: 4.438 MB / 0.6848 GB, free: 13.03 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.747e-05/0.4685, allocations: 12 kB / 0.6848 GB, free: 13.02 MB / 0.5574 GB Notification: Performance of matching and sorting (n=611) (initialization): time 0.004345/0.4729, allocations: 3.789 MB / 0.6885 GB, free: 9.172 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 7.572e-05/0.473, allocations: 154.8 kB / 0.6886 GB, free: 8.996 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002746/0.4757, allocations: 2.491 MB / 0.6911 GB, free: 6.43 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000292/0.476, allocations: 134.2 kB / 0.6912 GB, free: 6.297 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001815/0.4778, allocations: 1.123 MB / 0.6923 GB, free: 5.172 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009786/0.4788, allocations: 1.809 MB / 0.694 GB, free: 3.25 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.48, allocations: 444.6 kB / 0.6945 GB, free: 2.812 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002747/0.4803, allocations: 266.5 kB / 0.6947 GB, free: 2.555 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.001485/0.4817, allocations: 0.9618 MB / 0.6957 GB, free: 1.559 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001692/0.4834, allocations: 2.87 MB / 0.6985 GB, free: 13.82 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003665/0.4871, allocations: 4.43 MB / 0.7028 GB, free: 8.648 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.207e-05/0.4871, allocations: 8 kB / 0.7028 GB, free: 8.641 MB / 0.573 GB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.004043/0.4912, allocations: 3.762 MB / 0.7065 GB, free: 4.828 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 6.495e-05/0.4912, allocations: 146.8 kB / 0.7066 GB, free: 4.66 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002799/0.494, allocations: 2.479 MB / 0.709 GB, free: 2.105 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001736/0.4942, allocations: 110.3 kB / 0.7091 GB, free: 1.996 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001781/0.496, allocations: 1.119 MB / 0.7102 GB, free: 0.875 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007619/0.4967, allocations: 1.821 MB / 0.712 GB, free: 14.94 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/0.4978, allocations: 377.4 kB / 0.7124 GB, free: 14.57 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002621/0.4981, allocations: 255.8 kB / 0.7126 GB, free: 14.32 MB / 0.5887 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.0007262/0.4988, allocations: 0.6798 MB / 0.7133 GB, free: 13.61 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006036/0.4994, allocations: 481.1 kB / 0.7137 GB, free: 13.13 MB / 0.5887 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.005163/0.5046, allocations: 4.95 MB / 0.7186 GB, free: 8.234 MB / 0.5887 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 2.9766389839351177]