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.01425/0.01425, allocations: 1.781 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.001054/0.001054, allocations: 77.77 kB / 26.19 MB, free: 6.078 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.001262/0.001262, allocations: 164.7 kB / 30.12 MB, free: 2.184 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.959/0.959, allocations: 177.2 MB / 211.1 MB, free: 3.414 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.6371/0.6371, allocations: 102.4 MB / 370.6 MB, free: 192 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.453e-06/1.453e-06, allocations: 0 / 471.2 MB, free: 18.82 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.643e-05/2.788e-05, allocations: 6.969 kB / 471.2 MB, free: 18.82 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.1222/0.1223, allocations: 65.64 MB / 0.5243 GB, free: 5.969 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.02346/0.1457, allocations: 19.54 MB / 0.5433 GB, free: 2.375 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003102/0.1488, allocations: 91.31 kB / 0.5434 GB, free: 2.285 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.00451/0.1533, allocations: 1.872 MB / 0.5453 GB, free: 412 kB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.007238/0.1606, allocations: 2.504 MB / 0.5477 GB, free: 13.88 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.005834/0.1664, allocations: 2.77 MB / 0.5504 GB, free: 11.11 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.008485/0.1749, allocations: 5.835 MB / 0.5561 GB, free: 5.246 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003065/0.178, allocations: 1.766 MB / 0.5578 GB, free: 3.438 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1213/0.2992, allocations: 48.36 MB / 0.6051 GB, free: 4.281 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003391/0.3026, allocations: 1.971 MB / 0.607 GB, free: 2.305 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0008231/0.3034, allocations: 316 kB / 0.6073 GB, free: 1.996 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003729/0.3072, allocations: 1.902 MB / 0.6091 GB, free: 92 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001045/0.3082, allocations: 1.082 MB / 0.6102 GB, free: 15 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.001835/0.31, allocations: 1.206 MB / 0.6114 GB, free: 13.8 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.008235/0.3183, allocations: 4.635 MB / 0.6159 GB, free: 9.145 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3183, allocations: 0 / 0.6159 GB, free: 9.145 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3183, allocations: 0 / 0.6159 GB, free: 9.145 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.0001235/0.3184, allocations: 7.984 kB / 0.6159 GB, free: 9.137 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.005397/0.3238, allocations: 4.835 MB / 0.6206 GB, free: 4.199 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.3239, allocations: 8.031 kB / 0.6206 GB, free: 4.191 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009932/0.3248, allocations: 0.6851 MB / 0.6213 GB, free: 3.504 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002972/0.3278, allocations: 2.432 MB / 0.6237 GB, free: 0.9922 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.986e-05/0.3279, allocations: 160.4 kB / 0.6238 GB, free: 0.832 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002187/0.3281, allocations: 204.4 kB / 0.624 GB, free: 0.6328 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005931/0.3341, allocations: 5.058 MB / 0.629 GB, free: 10.57 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.763e-05/0.3341, allocations: 23.75 kB / 0.629 GB, free: 10.55 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001583/0.3343, allocations: 104 kB / 0.6291 GB, free: 10.45 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.061e-05/0.3343, allocations: 75.98 kB / 0.6292 GB, free: 10.37 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004616/0.3389, allocations: 2.415 MB / 0.6315 GB, free: 7.902 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2677/0.6066, allocations: 26.69 MB / 0.6576 GB, free: 92.68 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004216/0.6109, allocations: 2.506 MB / 0.66 GB, free: 92.09 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008093/0.6117, allocations: 0.6903 MB / 0.6607 GB, free: 91.8 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000273/0.6119, allocations: 145.9 kB / 0.6609 GB, free: 91.8 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003758/0.6157, allocations: 2.48 MB / 0.6633 GB, free: 91.21 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=448): time 7.864e-06/0.6157, allocations: 0 / 0.6633 GB, free: 91.21 MB / 0.5574 GB Notification: Performance of matching and sorting (n=448): time 0.009502/0.6252, allocations: 5.405 MB / 0.6686 GB, free: 90.69 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001899/0.6254, allocations: 0.9356 MB / 0.6695 GB, free: 89.59 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003445/0.6289, allocations: 2.815 MB / 0.6722 GB, free: 89.26 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0004217/0.6293, allocations: 55.48 kB / 0.6723 GB, free: 89.23 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.00126/0.6305, allocations: 1.703 MB / 0.6739 GB, free: 88.69 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.00139/0.6319, allocations: 1.51 MB / 0.6754 GB, free: 87.87 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001365/0.6333, allocations: 0.9547 MB / 0.6763 GB, free: 87.78 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 5.113e-05/0.6333, allocations: 476.8 kB / 0.6768 GB, free: 87.31 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001296/0.6346, allocations: 0.8151 MB / 0.6776 GB, free: 87.14 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002038/0.6367, allocations: 2.875 MB / 0.6804 GB, free: 84.51 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004893/0.6416, allocations: 4.436 MB / 0.6847 GB, free: 82.06 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.309e-05/0.6416, allocations: 12.44 kB / 0.6847 GB, free: 82.06 MB / 0.5574 GB Notification: Performance of matching and sorting (n=611) (initialization): time 0.006575/0.6482, allocations: 3.795 MB / 0.6884 GB, free: 81.45 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 9.624e-05/0.6483, allocations: 152.5 kB / 0.6886 GB, free: 81.33 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004064/0.6524, allocations: 2.492 MB / 0.691 GB, free: 80.96 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004618/0.6528, allocations: 124.6 kB / 0.6911 GB, free: 80.95 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002828/0.6557, allocations: 1.123 MB / 0.6922 GB, free: 80.95 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/0.6568, allocations: 1.822 MB / 0.694 GB, free: 79.24 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002379/0.6592, allocations: 442.9 kB / 0.6944 GB, free: 79.11 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004765/0.6597, allocations: 264 kB / 0.6947 GB, free: 79.11 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.002134/0.6618, allocations: 0.9682 MB / 0.6956 GB, free: 78.84 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002203/0.664, allocations: 2.872 MB / 0.6984 GB, free: 76.16 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005003/0.669, allocations: 4.413 MB / 0.7028 GB, free: 73.49 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.221e-05/0.6691, allocations: 10.5 kB / 0.7028 GB, free: 73.49 MB / 0.5574 GB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.006124/0.6752, allocations: 3.767 MB / 0.7064 GB, free: 72.47 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 8.146e-05/0.6753, allocations: 160 kB / 0.7066 GB, free: 72.33 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003684/0.679, allocations: 2.471 MB / 0.709 GB, free: 71.61 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002386/0.6792, allocations: 111.9 kB / 0.7091 GB, free: 71.59 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002458/0.6817, allocations: 1.115 MB / 0.7102 GB, free: 71.39 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000863/0.6825, allocations: 1.814 MB / 0.712 GB, free: 69.66 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002092/0.6846, allocations: 378 kB / 0.7123 GB, free: 69.55 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003751/0.685, allocations: 268.5 kB / 0.7126 GB, free: 69.5 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.001374/0.6864, allocations: 0.6628 MB / 0.7132 GB, free: 69.07 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001169/0.6875, allocations: 479.7 kB / 0.7137 GB, free: 68.83 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.005873/0.6934, allocations: 4.958 MB / 0.7185 GB, free: 67.07 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.4804142438806593]