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.006506/0.006506, allocations: 1.439 MB / 21.3 MB, free: 3.254 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.00078/0.00078, allocations: 92.98 kB / 24.91 MB, free: 7.27 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.001007/0.001007, allocations: 167.5 kB / 28.62 MB, free: 4.449 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.9116/0.9116, allocations: 177.1 MB / 209.4 MB, free: 2.973 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.7388/0.7388, allocations: 102.5 MB / 368.7 MB, free: 1.457 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 0.5.2 (/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.615e-06/2.615e-06, allocations: 0 / 0.5374 GB, free: 39.86 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.034e-05/3.295e-05, allocations: 6.5 kB / 0.5374 GB, free: 39.86 MB / 490.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.1152/0.1153, allocations: 61.53 MB / 0.5975 GB, free: 14.48 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.02236/0.1376, allocations: 18.88 MB / 0.6159 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002712/0.1403, allocations: 87.38 kB / 0.616 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.003129/0.1435, allocations: 1.88 MB / 0.6178 GB, free: 9.566 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.003712/0.1472, allocations: 2.489 MB / 0.6203 GB, free: 7.062 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.004417/0.1516, allocations: 2.759 MB / 0.6229 GB, free: 4.297 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.00534/0.1569, allocations: 5.829 MB / 0.6286 GB, free: 14.45 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001473/0.1584, allocations: 1.655 MB / 0.6303 GB, free: 12.75 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002639/0.161, allocations: 3.153 MB / 0.6333 GB, free: 9.59 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001672/0.1627, allocations: 2.082 MB / 0.6354 GB, free: 7.504 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002948/0.163, allocations: 364 kB / 0.6357 GB, free: 7.148 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003173/0.1662, allocations: 1.961 MB / 0.6376 GB, free: 5.184 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.0008186/0.167, allocations: 1.187 MB / 0.6388 GB, free: 3.992 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.0009061/0.1679, allocations: 1.289 MB / 0.64 GB, free: 2.699 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.005306/0.1732, allocations: 6.698 MB / 0.6466 GB, free: 11.98 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1732, allocations: 4 kB / 0.6466 GB, free: 11.98 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.044e-06/0.1732, allocations: 0 / 0.6466 GB, free: 11.98 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 2.954e-05/0.1733, allocations: 0 / 0.6466 GB, free: 11.98 MB / 0.5418 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.004408/0.1777, allocations: 4.799 MB / 0.6513 GB, free: 7.086 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.1777, allocations: 8.031 kB / 0.6513 GB, free: 7.078 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008237/0.1785, allocations: 0.5795 MB / 0.6519 GB, free: 6.496 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004779/0.1833, allocations: 3.604 MB / 0.6554 GB, free: 2.828 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/0.1834, allocations: 152.4 kB / 0.6555 GB, free: 2.676 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002778/0.1837, allocations: 204.4 kB / 0.6557 GB, free: 2.477 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009279/0.193, allocations: 5.536 MB / 0.6611 GB, free: 12.15 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.572e-05/0.193, allocations: 27.75 kB / 0.6611 GB, free: 12.12 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001996/0.1932, allocations: 100 kB / 0.6612 GB, free: 12.02 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.127e-05/0.1933, allocations: 68 kB / 0.6613 GB, free: 11.96 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007563/0.2009, allocations: 3.643 MB / 0.6649 GB, free: 8.277 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0166/0.2175, allocations: 19.85 MB / 0.6843 GB, free: 3.738 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005966/0.2234, allocations: 3.148 MB / 0.6873 GB, free: 460 kB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001188/0.2246, allocations: 1.203 MB / 0.6885 GB, free: 15.18 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002742/0.2249, allocations: 137 kB / 0.6886 GB, free: 15.05 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00417/0.2291, allocations: 3.072 MB / 0.6916 GB, free: 11.85 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=448): time 4.769e-06/0.2291, allocations: 0 / 0.6916 GB, free: 11.85 MB / 0.5887 GB Notification: Performance of matching and sorting (n=448): time 0.01072/0.2398, allocations: 6.994 MB / 0.6985 GB, free: 4.758 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002553/0.24, allocations: 0.8089 MB / 0.6993 GB, free: 3.766 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003197/0.2432, allocations: 3.119 MB / 0.7023 GB, free: 0.6523 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 0.000131/0.2434, allocations: 53.7 kB / 0.7023 GB, free: 0.5938 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008721/0.2443, allocations: 1.538 MB / 0.7039 GB, free: 15.04 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.000881/0.2451, allocations: 1.467 MB / 0.7053 GB, free: 13.56 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008394/0.246, allocations: 0.8764 MB / 0.7061 GB, free: 12.68 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.489e-05/0.246, allocations: 309.1 kB / 0.7064 GB, free: 12.37 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00183/0.2479, allocations: 1.627 MB / 0.708 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002373/0.2502, allocations: 2.999 MB / 0.711 GB, free: 7.102 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08395/0.3342, allocations: 25.86 MB / 0.7362 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.889e-05/0.3342, allocations: 8 kB / 0.7362 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=611) (initialization): time 0.00708/0.3413, allocations: 5.314 MB / 0.7414 GB, free: 7.184 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001106/0.3414, allocations: 154.8 kB / 0.7416 GB, free: 7.008 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00466/0.3461, allocations: 4.037 MB / 0.7455 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002525/0.3463, allocations: 100.8 kB / 0.7456 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001905/0.3482, allocations: 1.123 MB / 0.7467 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001231/0.3495, allocations: 1.389 MB / 0.748 GB, free: 180 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002424/0.3519, allocations: 448.8 kB / 0.7485 GB, free: 15.73 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004673/0.3524, allocations: 295.8 kB / 0.7488 GB, free: 15.44 MB / 0.6512 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.003667/0.356, allocations: 2.303 MB / 0.751 GB, free: 13.11 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002492/0.3585, allocations: 2.992 MB / 0.7539 GB, free: 9.504 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3728/0.7313, allocations: 25.73 MB / 0.7791 GB, free: 178 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.231e-05/0.7313, allocations: 13.97 kB / 0.7791 GB, free: 178 MB / 0.6512 GB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.006783/0.7381, allocations: 5.275 MB / 0.7842 GB, free: 175.6 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 7.147e-05/0.7381, allocations: 149.4 kB / 0.7844 GB, free: 175.5 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004417/0.7426, allocations: 3.992 MB / 0.7883 GB, free: 173.5 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000167/0.7427, allocations: 88.28 kB / 0.7883 GB, free: 173.4 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00201/0.7447, allocations: 1.124 MB / 0.7894 GB, free: 173.1 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006832/0.7454, allocations: 1.372 MB / 0.7908 GB, free: 171.9 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001708/0.7471, allocations: 378.6 kB / 0.7911 GB, free: 171.8 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000343/0.7475, allocations: 300.4 kB / 0.7914 GB, free: 171.7 MB / 0.6512 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.001033/0.7485, allocations: 0.5811 MB / 0.792 GB, free: 171.2 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005475/0.7491, allocations: 426 kB / 0.7924 GB, free: 171.1 MB / 0.6512 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.005649/0.7547, allocations: 5.486 MB / 0.7978 GB, free: 168.2 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.6635074550285935] Failed to read output from testmodel.py, exit status != 0: 0.9053802844136953 0.9115418829999999 0.736900472 Calling exit ...