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.008527/0.008527, allocations: 1.791 MB / 21.89 MB, free: 2.637 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.0008362/0.0008362, allocations: 89.12 kB / 25.62 MB, free: 6.527 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.0009232/0.0009232, allocations: 163.8 kB / 29.46 MB, free: 3.035 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.9275/0.9275, allocations: 177.1 MB / 210.3 MB, free: 1.73 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.7298/0.7298, allocations: 102.4 MB / 369.8 MB, free: 0.9219 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 1.583e-06/1.583e-06, allocations: 0 / 469.8 MB, free: 12.99 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.604e-05, allocations: 10.25 kB / 469.9 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.3256/0.3256, allocations: 65.9 MB / 0.5232 GB, free: 73.3 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.02086/0.3465, allocations: 19.61 MB / 0.5423 GB, free: 61.96 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002935/0.3494, allocations: 91.53 kB / 0.5424 GB, free: 61.92 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.003438/0.3529, allocations: 1.863 MB / 0.5443 GB, free: 61.09 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.004243/0.3571, allocations: 2.503 MB / 0.5467 GB, free: 59.61 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.004634/0.3617, allocations: 2.753 MB / 0.5494 GB, free: 58.21 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.006589/0.3683, allocations: 5.827 MB / 0.5551 GB, free: 55.32 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002587/0.3709, allocations: 1.771 MB / 0.5568 GB, free: 54.18 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004892/0.3758, allocations: 3.159 MB / 0.5599 GB, free: 52.81 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002894/0.3787, allocations: 2.084 MB / 0.5619 GB, free: 52.15 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0008191/0.3795, allocations: 364.3 kB / 0.5623 GB, free: 52.15 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00442/0.3839, allocations: 1.956 MB / 0.5642 GB, free: 51.63 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0007736/0.3847, allocations: 1.197 MB / 0.5654 GB, free: 50.93 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.00168/0.3864, allocations: 1.281 MB / 0.5666 GB, free: 50.32 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.005347/0.3917, allocations: 4.756 MB / 0.5712 GB, free: 47.61 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3917, allocations: 0 / 0.5712 GB, free: 47.61 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3917, allocations: 0 / 0.5712 GB, free: 47.61 MB / 490.8 MB Notification: Performance of Transformations before backend: time 5.063e-05/0.3918, allocations: 0 / 0.5712 GB, free: 47.61 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.004316/0.3961, allocations: 5.048 MB / 0.5762 GB, free: 43.86 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.3961, allocations: 8.875 kB / 0.5762 GB, free: 43.86 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.3972, allocations: 0.734 MB / 0.5769 GB, free: 43.48 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003419/0.4006, allocations: 3.334 MB / 0.5802 GB, free: 41.21 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.879e-05/0.4006, allocations: 152.4 kB / 0.5803 GB, free: 41.05 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/0.4008, allocations: 212.4 kB / 0.5805 GB, free: 40.85 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005293/0.4061, allocations: 5.226 MB / 0.5856 GB, free: 34.62 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.117e-05/0.4062, allocations: 23.75 kB / 0.5856 GB, free: 34.6 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001411/0.4063, allocations: 101.1 kB / 0.5857 GB, free: 34.5 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.059e-05/0.4063, allocations: 72 kB / 0.5858 GB, free: 34.43 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004224/0.4106, allocations: 2.636 MB / 0.5884 GB, free: 31.77 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01032/0.4209, allocations: 27.14 MB / 0.6149 GB, free: 3.781 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005582/0.4265, allocations: 2.649 MB / 0.6175 GB, free: 0.9531 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009869/0.4274, allocations: 0.787 MB / 0.6182 GB, free: 92 kB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003109/0.4278, allocations: 149 kB / 0.6184 GB, free: 15.94 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005751/0.4335, allocations: 2.578 MB / 0.6209 GB, free: 13.21 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=448): time 5.531e-06/0.4335, allocations: 2.625 kB / 0.6209 GB, free: 13.21 MB / 0.4949 GB Notification: Performance of matching and sorting (n=448): time 0.01641/0.4499, allocations: 5.76 MB / 0.6265 GB, free: 7.363 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002855/0.4502, allocations: 0.805 MB / 0.6273 GB, free: 6.375 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003504/0.4537, allocations: 2.892 MB / 0.6301 GB, free: 3.484 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0001788/0.4539, allocations: 53.7 kB / 0.6302 GB, free: 3.426 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.001446/0.4553, allocations: 1.681 MB / 0.6318 GB, free: 1.73 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001074/0.4564, allocations: 1.49 MB / 0.6333 GB, free: 236 kB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001163/0.4576, allocations: 0.9327 MB / 0.6342 GB, free: 15.28 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002124/0.4578, allocations: 484.7 kB / 0.6346 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001729/0.4595, allocations: 0.9617 MB / 0.6356 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002991/0.4625, allocations: 2.836 MB / 0.6384 GB, free: 10.17 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008304/0.4708, allocations: 4.844 MB / 0.6431 GB, free: 4.586 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.972e-05/0.4708, allocations: 8 kB / 0.6431 GB, free: 4.578 MB / 0.5105 GB Notification: Performance of matching and sorting (n=611) (initialization): time 0.007425/0.4783, allocations: 4.117 MB / 0.6471 GB, free: 420 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001154/0.4784, allocations: 152 kB / 0.6473 GB, free: 244 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003864/0.4822, allocations: 2.756 MB / 0.65 GB, free: 13.41 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002835/0.4825, allocations: 98.23 kB / 0.65 GB, free: 13.31 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002233/0.4848, allocations: 1.119 MB / 0.6511 GB, free: 12.19 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001226/0.486, allocations: 1.84 MB / 0.6529 GB, free: 10.24 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001631/0.4876, allocations: 444.6 kB / 0.6534 GB, free: 9.801 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003204/0.4879, allocations: 295.8 kB / 0.6536 GB, free: 9.512 MB / 0.5262 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.001997/0.4899, allocations: 1.116 MB / 0.6547 GB, free: 8.367 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002852/0.4928, allocations: 2.833 MB / 0.6575 GB, free: 4.727 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005779/0.4986, allocations: 4.805 MB / 0.6622 GB, free: 15.18 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.159e-05/0.4986, allocations: 12.8 kB / 0.6622 GB, free: 15.17 MB / 0.5418 GB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.006398/0.505, allocations: 4.09 MB / 0.6662 GB, free: 11.03 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 9.171e-05/0.5051, allocations: 146.8 kB / 0.6663 GB, free: 10.86 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00374/0.5088, allocations: 2.732 MB / 0.669 GB, free: 8.059 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001921/0.509, allocations: 94.34 kB / 0.6691 GB, free: 7.965 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002247/0.5112, allocations: 1.115 MB / 0.6702 GB, free: 6.848 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000973/0.5122, allocations: 1.817 MB / 0.672 GB, free: 4.914 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/0.5137, allocations: 381.3 kB / 0.6723 GB, free: 4.539 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000326/0.5141, allocations: 294.4 kB / 0.6726 GB, free: 4.254 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: 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.00101/0.5151, allocations: 0.6781 MB / 0.6733 GB, free: 3.555 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006425/0.5157, allocations: 485 kB / 0.6737 GB, free: 3.078 MB / 0.5418 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.006098/0.5218, allocations: 5.077 MB / 0.6787 GB, free: 14.26 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.275661788880825]