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.01336/0.01336, allocations: 1.791 MB / 21.89 MB, free: 2.641 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.001324/0.001324, allocations: 87.53 kB / 25.62 MB, free: 6.992 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.001563/0.001563, allocations: 166 kB / 29.46 MB, free: 3.191 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.9225/0.9225, allocations: 177.1 MB / 210.3 MB, free: 3.578 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.5796/0.5796, allocations: 102.5 MB / 369.8 MB, free: 368 kB / 330.7 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.072e-06/1.072e-06, allocations: 0 / 469.9 MB, free: 19.02 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.112e-05/1.219e-05, allocations: 3.578 kB / 469.9 MB, free: 19.02 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.1187/0.1187, allocations: 65.91 MB / 0.5232 GB, free: 6.414 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.01996/0.1387, allocations: 19.61 MB / 0.5424 GB, free: 2.742 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001822/0.1405, allocations: 91.31 kB / 0.5425 GB, free: 2.652 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.003073/0.1436, allocations: 1.868 MB / 0.5443 GB, free: 0.7734 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.003558/0.1471, allocations: 2.489 MB / 0.5467 GB, free: 14.27 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00384/0.151, allocations: 2.778 MB / 0.5494 GB, free: 11.48 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.004615/0.1556, allocations: 5.83 MB / 0.5551 GB, free: 5.633 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00163/0.1572, allocations: 1.769 MB / 0.5568 GB, free: 3.82 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0029/0.1601, allocations: 3.16 MB / 0.5599 GB, free: 0.6523 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002124/0.1623, allocations: 2.08 MB / 0.562 GB, free: 14.57 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0004461/0.1627, allocations: 364 kB / 0.5623 GB, free: 14.21 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002917/0.1656, allocations: 1.949 MB / 0.5642 GB, free: 12.26 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0006871/0.1663, allocations: 1.195 MB / 0.5654 GB, free: 11.06 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001049/0.1674, allocations: 1.292 MB / 0.5666 GB, free: 9.766 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.004247/0.1716, allocations: 4.749 MB / 0.5713 GB, free: 5 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1716, allocations: 4 kB / 0.5713 GB, free: 4.996 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1716, allocations: 0 / 0.5713 GB, free: 4.996 MB / 490.8 MB Notification: Performance of Transformations before backend: time 4.117e-05/0.1716, allocations: 0 / 0.5713 GB, free: 4.996 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.004416/0.1761, allocations: 5.035 MB / 0.5762 GB, free: 15.86 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.1761, allocations: 8.031 kB / 0.5762 GB, free: 15.85 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.1771, allocations: 0.7397 MB / 0.5769 GB, free: 15.11 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003423/0.1806, allocations: 3.334 MB / 0.5802 GB, free: 11.7 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.834e-05/0.1807, allocations: 152.4 kB / 0.5803 GB, free: 11.55 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000195/0.1809, allocations: 212.4 kB / 0.5805 GB, free: 11.34 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005929/0.1868, allocations: 5.227 MB / 0.5856 GB, free: 5.113 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.431e-05/0.1868, allocations: 27.75 kB / 0.5857 GB, free: 5.086 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001425/0.187, allocations: 104 kB / 0.5858 GB, free: 4.984 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.004e-05/0.187, allocations: 72 kB / 0.5858 GB, free: 4.914 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004703/0.1917, allocations: 2.627 MB / 0.5884 GB, free: 2.246 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01197/0.2037, allocations: 27.14 MB / 0.6149 GB, free: 6.219 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004343/0.208, allocations: 2.659 MB / 0.6175 GB, free: 3.371 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008701/0.2089, allocations: 0.7866 MB / 0.6183 GB, free: 2.508 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002489/0.2092, allocations: 141.1 kB / 0.6184 GB, free: 2.367 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003938/0.2131, allocations: 2.582 MB / 0.6209 GB, free: 15.63 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=448): time 4.288e-06/0.2131, allocations: 0 / 0.6209 GB, free: 15.63 MB / 0.5418 GB Notification: Performance of matching and sorting (n=448): time 0.009619/0.2227, allocations: 5.744 MB / 0.6265 GB, free: 9.789 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002241/0.2229, allocations: 0.8089 MB / 0.6273 GB, free: 8.797 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002502/0.2254, allocations: 2.896 MB / 0.6301 GB, free: 5.902 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0001353/0.2256, allocations: 61.7 kB / 0.6302 GB, free: 5.836 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009112/0.2265, allocations: 1.67 MB / 0.6318 GB, free: 4.152 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008194/0.2273, allocations: 1.499 MB / 0.6333 GB, free: 2.641 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008415/0.2281, allocations: 0.9287 MB / 0.6342 GB, free: 1.699 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 9.882e-05/0.2282, allocations: 480.7 kB / 0.6347 GB, free: 1.227 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001247/0.2295, allocations: 0.9656 MB / 0.6356 GB, free: 228 kB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002099/0.2316, allocations: 2.84 MB / 0.6384 GB, free: 12.58 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00478/0.2364, allocations: 4.842 MB / 0.6431 GB, free: 6.941 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.429e-05/0.2364, allocations: 12 kB / 0.6431 GB, free: 6.93 MB / 0.5574 GB Notification: Performance of matching and sorting (n=611) (initialization): time 0.005041/0.2414, allocations: 4.12 MB / 0.6471 GB, free: 2.73 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 8.047e-05/0.2415, allocations: 154.8 kB / 0.6473 GB, free: 2.555 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1729/0.4144, allocations: 2.751 MB / 0.65 GB, free: 150.1 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002728/0.4147, allocations: 94.97 kB / 0.6501 GB, free: 150.1 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002067/0.4167, allocations: 1.124 MB / 0.6512 GB, free: 150.1 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006854/0.4174, allocations: 1.821 MB / 0.6529 GB, free: 148.4 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/0.4189, allocations: 441 kB / 0.6534 GB, free: 148.4 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002783/0.4192, allocations: 303.2 kB / 0.6537 GB, free: 148.4 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.001765/0.4209, allocations: 1.112 MB / 0.6547 GB, free: 148.1 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001588/0.4225, allocations: 2.833 MB / 0.6575 GB, free: 145.7 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004015/0.4265, allocations: 4.809 MB / 0.6622 GB, free: 143.1 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.303e-05/0.4265, allocations: 10.56 kB / 0.6622 GB, free: 143.1 MB / 0.5574 GB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.004512/0.4311, allocations: 4.088 MB / 0.6662 GB, free: 142.5 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 5.117e-05/0.4311, allocations: 157.4 kB / 0.6664 GB, free: 142.4 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003217/0.4343, allocations: 2.719 MB / 0.669 GB, free: 142 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001413/0.4345, allocations: 92.16 kB / 0.6691 GB, free: 142 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00185/0.4363, allocations: 1.117 MB / 0.6702 GB, free: 141.9 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005507/0.4369, allocations: 1.826 MB / 0.672 GB, free: 140.1 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/0.4379, allocations: 383.8 kB / 0.6723 GB, free: 140 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002811/0.4382, allocations: 291.5 kB / 0.6726 GB, free: 140 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006765/0.4389, allocations: 0.6655 MB / 0.6733 GB, free: 139.4 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005644/0.4395, allocations: 492 kB / 0.6737 GB, free: 139.2 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.005317/0.4448, allocations: 5.059 MB / 0.6787 GB, free: 137.8 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 2.968406833941117]