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.0217/0.0217, allocations: 1.798 MB / 21.15 MB, free: 3.367 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.0021/0.0021, allocations: 83.33 kB / 24.89 MB, free: 6.172 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.001989/0.001989, allocations: 161.1 kB / 28.74 MB, free: 3.598 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.507/1.507, allocations: 177.1 MB / 209.6 MB, free: 2.395 MB / 186.7 MB " [Timeout remaining time 178] 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 1.091/1.091, allocations: 102.4 MB / 369.1 MB, free: 0.875 MB / 330.8 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 2.725e-06/2.725e-06, allocations: 0 / 469.1 MB, free: 12.99 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.136e-05/4.408e-05, allocations: 6.25 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.4339/0.4339, allocations: 63.61 MB / 0.5202 GB, free: 71.93 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.02541/0.4593, allocations: 19.5 MB / 0.5393 GB, free: 62.89 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003509/0.4628, allocations: 86.62 kB / 0.5394 GB, free: 62.86 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004933/0.4678, allocations: 1.871 MB / 0.5412 GB, free: 62.02 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.006521/0.4743, allocations: 2.491 MB / 0.5436 GB, free: 60.54 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.006396/0.4807, allocations: 2.766 MB / 0.5463 GB, free: 59.14 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0102/0.4909, allocations: 5.822 MB / 0.552 GB, free: 56.26 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003488/0.4944, allocations: 1.771 MB / 0.5537 GB, free: 55.11 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008102/0.5025, allocations: 3.159 MB / 0.5568 GB, free: 53.75 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005375/0.5079, allocations: 2.083 MB / 0.5589 GB, free: 53.09 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.001559/0.5094, allocations: 364 kB / 0.5592 GB, free: 53.09 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006372/0.5158, allocations: 1.959 MB / 0.5611 GB, free: 52.56 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001938/0.5177, allocations: 1.197 MB / 0.5623 GB, free: 51.86 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.003371/0.5211, allocations: 1.284 MB / 0.5635 GB, free: 51.25 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01155/0.5327, allocations: 6.728 MB / 0.5701 GB, free: 47.52 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.5327, allocations: 0 / 0.5701 GB, free: 47.52 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.473e-06/0.5327, allocations: 0 / 0.5701 GB, free: 47.52 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0002162/0.5329, allocations: 0.5938 kB / 0.5701 GB, free: 47.52 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.01159/0.5445, allocations: 5.387 MB / 0.5754 GB, free: 43.61 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.5445, allocations: 9.5 kB / 0.5754 GB, free: 43.61 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001851/0.5464, allocations: 0.7388 MB / 0.5761 GB, free: 43.22 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006494/0.5528, allocations: 3.338 MB / 0.5794 GB, free: 40.93 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/0.553, allocations: 157.2 kB / 0.5795 GB, free: 40.78 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003103/0.5533, allocations: 209.2 kB / 0.5797 GB, free: 40.57 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009652/0.5629, allocations: 6.191 MB / 0.5858 GB, free: 33.38 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.894e-05/0.563, allocations: 27.75 kB / 0.5858 GB, free: 33.36 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002032/0.5632, allocations: 105.8 kB / 0.5859 GB, free: 33.25 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.595e-05/0.5633, allocations: 75.98 kB / 0.586 GB, free: 33.18 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00803/0.5713, allocations: 3.538 MB / 0.5894 GB, free: 29.61 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02007/0.5913, allocations: 29.05 MB / 0.6178 GB, free: 15.66 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009367/0.6007, allocations: 3.205 MB / 0.6209 GB, free: 12.28 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002534/0.6033, allocations: 1.107 MB / 0.622 GB, free: 11.09 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005786/0.6038, allocations: 145.1 kB / 0.6221 GB, free: 10.95 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009697/0.6135, allocations: 3.335 MB / 0.6254 GB, free: 7.473 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=448): time 1.028e-05/0.6135, allocations: 0 / 0.6254 GB, free: 7.473 MB / 0.4949 GB Notification: Performance of matching and sorting (n=448): time 0.02309/0.6366, allocations: 7.123 MB / 0.6323 GB, free: 260 kB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006541/0.6373, allocations: 0.8011 MB / 0.6331 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008878/0.6462, allocations: 3.759 MB / 0.6368 GB, free: 11.51 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007199/0.6469, allocations: 60.36 kB / 0.6369 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00253/0.6494, allocations: 1.834 MB / 0.6386 GB, free: 9.602 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002732/0.6521, allocations: 1.592 MB / 0.6402 GB, free: 7.996 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003388/0.6555, allocations: 1.085 MB / 0.6413 GB, free: 6.898 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002494/0.6558, allocations: 480.7 kB / 0.6417 GB, free: 6.426 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003629/0.6594, allocations: 1.563 MB / 0.6432 GB, free: 4.824 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005907/0.6653, allocations: 3.591 MB / 0.6467 GB, free: 440 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0132/0.6785, allocations: 6.794 MB / 0.6534 GB, free: 8.898 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-05/0.6786, allocations: 12 kB / 0.6534 GB, free: 8.887 MB / 0.5262 GB Notification: Performance of matching and sorting (n=611) (initialization): time 0.01414/0.6927, allocations: 5.328 MB / 0.6586 GB, free: 3.512 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.000173/0.6929, allocations: 155.5 kB / 0.6587 GB, free: 3.336 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008086/0.701, allocations: 3.814 MB / 0.6625 GB, free: 15.45 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004526/0.7014, allocations: 111.6 kB / 0.6626 GB, free: 15.34 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003955/0.7054, allocations: 1.119 MB / 0.6637 GB, free: 14.21 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00205/0.7074, allocations: 1.918 MB / 0.6655 GB, free: 12.18 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003747/0.7112, allocations: 443.4 kB / 0.666 GB, free: 11.75 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008624/0.712, allocations: 295.8 kB / 0.6662 GB, free: 11.46 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.004895/0.7169, allocations: 2.037 MB / 0.6682 GB, free: 9.395 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005274/0.7222, allocations: 3.577 MB / 0.6717 GB, free: 5.008 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01201/0.7342, allocations: 6.739 MB / 0.6783 GB, free: 13.53 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.911e-05/0.7343, allocations: 15.94 kB / 0.6783 GB, free: 13.51 MB / 0.5574 GB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.01363/0.7479, allocations: 5.283 MB / 0.6835 GB, free: 8.184 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001922/0.7481, allocations: 156 kB / 0.6836 GB, free: 8.008 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008553/0.7567, allocations: 3.76 MB / 0.6873 GB, free: 4.176 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003625/0.757, allocations: 106.2 kB / 0.6874 GB, free: 4.07 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004074/0.7611, allocations: 1.119 MB / 0.6885 GB, free: 2.949 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002049/0.7631, allocations: 1.904 MB / 0.6904 GB, free: 0.9258 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004009/0.7671, allocations: 373.5 kB / 0.6907 GB, free: 0.5586 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001179/0.7683, allocations: 291.8 kB / 0.691 GB, free: 280 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.002549/0.7709, allocations: 0.6757 MB / 0.6917 GB, free: 15.57 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002831/0.7737, allocations: 490.3 kB / 0.6921 GB, free: 15.09 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.01286/0.7866, allocations: 5.584 MB / 0.6976 GB, free: 9.758 MB / 0.573 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.738683587987907]