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.0176/0.0176, allocations: 1.8 MB / 21.15 MB, free: 3.238 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.001777/0.001777, allocations: 81.8 kB / 24.89 MB, free: 6.297 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.001916/0.001916, allocations: 166.8 kB / 28.74 MB, free: 3.5 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.5/1.5, allocations: 177.2 MB / 209.6 MB, free: 2.371 MB / 186.7 MB " [Timeout remaining time 178] 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 1.116/1.116, allocations: 102.5 MB / 369.1 MB, free: 0.8477 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.964e-06/1.964e-06, allocations: 0 / 469.1 MB, free: 12.98 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.91e-05/3.107e-05, allocations: 2.312 kB / 469.1 MB, free: 12.98 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.3919/0.3919, allocations: 63.62 MB / 0.5203 GB, free: 72.02 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.02316/0.4151, allocations: 19.5 MB / 0.5393 GB, free: 62.91 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003186/0.4183, allocations: 89.22 kB / 0.5394 GB, free: 62.87 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004764/0.4231, allocations: 1.874 MB / 0.5412 GB, free: 62.04 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.006301/0.4294, allocations: 2.486 MB / 0.5437 GB, free: 60.56 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.006159/0.4355, allocations: 2.761 MB / 0.5464 GB, free: 59.16 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.008098/0.4436, allocations: 5.83 MB / 0.552 GB, free: 56.27 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002969/0.4466, allocations: 1.767 MB / 0.5538 GB, free: 55.13 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006844/0.4534, allocations: 3.159 MB / 0.5569 GB, free: 53.77 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004719/0.4581, allocations: 2.084 MB / 0.5589 GB, free: 53.1 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.001219/0.4594, allocations: 364.5 kB / 0.5592 GB, free: 53.1 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00529/0.4647, allocations: 1.956 MB / 0.5611 GB, free: 52.58 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001551/0.4662, allocations: 1.199 MB / 0.5623 GB, free: 51.88 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.002859/0.4691, allocations: 1.284 MB / 0.5636 GB, free: 51.27 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.009714/0.4788, allocations: 6.725 MB / 0.5701 GB, free: 47.45 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4788, allocations: 1 kB / 0.5701 GB, free: 47.45 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4788, allocations: 0 / 0.5701 GB, free: 47.45 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0001488/0.4789, allocations: 0 / 0.5701 GB, free: 47.45 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.009433/0.4884, allocations: 5.387 MB / 0.5754 GB, free: 43.54 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.4884, allocations: 8.75 kB / 0.5754 GB, free: 43.54 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002126/0.4905, allocations: 0.7366 MB / 0.5761 GB, free: 43.15 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007342/0.4979, allocations: 3.338 MB / 0.5794 GB, free: 40.79 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/0.498, allocations: 156.4 kB / 0.5795 GB, free: 40.63 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003428/0.4983, allocations: 208.4 kB / 0.5797 GB, free: 40.43 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009862/0.5082, allocations: 6.191 MB / 0.5858 GB, free: 33.23 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.916e-05/0.5083, allocations: 27.75 kB / 0.5858 GB, free: 33.21 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001937/0.5085, allocations: 105.5 kB / 0.5859 GB, free: 33.11 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.253e-05/0.5085, allocations: 72.98 kB / 0.586 GB, free: 33.04 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007939/0.5164, allocations: 3.539 MB / 0.5894 GB, free: 29.46 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0175/0.5339, allocations: 29.05 MB / 0.6178 GB, free: 15.52 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009618/0.5436, allocations: 3.203 MB / 0.6209 GB, free: 12.13 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002472/0.546, allocations: 1.106 MB / 0.622 GB, free: 10.95 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005922/0.5466, allocations: 145.1 kB / 0.6222 GB, free: 10.8 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009309/0.5559, allocations: 3.328 MB / 0.6254 GB, free: 7.328 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=448): time 8.435e-06/0.5559, allocations: 0 / 0.6254 GB, free: 7.328 MB / 0.4949 GB Notification: Performance of matching and sorting (n=448): time 0.02175/0.5777, allocations: 7.13 MB / 0.6324 GB, free: 112 kB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006067/0.5783, allocations: 0.805 MB / 0.6332 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00756/0.5859, allocations: 3.755 MB / 0.6368 GB, free: 11.37 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005547/0.5864, allocations: 65.69 kB / 0.6369 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002251/0.5887, allocations: 1.83 MB / 0.6387 GB, free: 9.453 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002421/0.5911, allocations: 1.596 MB / 0.6402 GB, free: 7.844 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002741/0.5938, allocations: 1.081 MB / 0.6413 GB, free: 6.75 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002428/0.5941, allocations: 480.7 kB / 0.6417 GB, free: 6.277 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003384/0.5975, allocations: 1.566 MB / 0.6433 GB, free: 4.676 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005553/0.603, allocations: 3.59 MB / 0.6468 GB, free: 288 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01273/0.6157, allocations: 6.795 MB / 0.6534 GB, free: 8.746 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.523e-05/0.6158, allocations: 12 kB / 0.6534 GB, free: 8.734 MB / 0.5262 GB Notification: Performance of matching and sorting (n=611) (initialization): time 0.01303/0.6288, allocations: 5.336 MB / 0.6586 GB, free: 3.352 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001838/0.629, allocations: 153.4 kB / 0.6588 GB, free: 3.18 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009012/0.638, allocations: 3.802 MB / 0.6625 GB, free: 15.3 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005039/0.6385, allocations: 111.6 kB / 0.6626 GB, free: 15.18 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004112/0.6426, allocations: 1.122 MB / 0.6637 GB, free: 14.06 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002113/0.6447, allocations: 1.923 MB / 0.6656 GB, free: 12.03 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003287/0.648, allocations: 444.6 kB / 0.666 GB, free: 11.59 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001044/0.6491, allocations: 291.8 kB / 0.6663 GB, free: 11.3 MB / 0.5418 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.005664/0.6547, allocations: 2.035 MB / 0.6683 GB, free: 9.238 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005838/0.6606, allocations: 3.572 MB / 0.6718 GB, free: 4.855 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01359/0.6742, allocations: 6.744 MB / 0.6783 GB, free: 13.37 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.96e-05/0.6742, allocations: 11.94 kB / 0.6784 GB, free: 13.36 MB / 0.5574 GB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.01369/0.6879, allocations: 5.289 MB / 0.6835 GB, free: 8.023 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001779/0.6881, allocations: 148.8 kB / 0.6837 GB, free: 7.855 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009053/0.6971, allocations: 3.763 MB / 0.6873 GB, free: 4.023 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003777/0.6975, allocations: 99.66 kB / 0.6874 GB, free: 3.922 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004125/0.7016, allocations: 1.119 MB / 0.6885 GB, free: 2.801 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001945/0.7036, allocations: 1.91 MB / 0.6904 GB, free: 0.7734 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003187/0.7068, allocations: 369.5 kB / 0.6907 GB, free: 420 kB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009311/0.7077, allocations: 298.5 kB / 0.691 GB, free: 124 kB / 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001796/0.7095, allocations: 0.6652 MB / 0.6917 GB, free: 15.43 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001919/0.7114, allocations: 495.6 kB / 0.6921 GB, free: 14.94 MB / 0.573 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.01253/0.724, allocations: 5.578 MB / 0.6976 GB, free: 9.617 MB / 0.573 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.559964885003865]