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.008457/0.008457, allocations: 1.78 MB / 21.57 MB, free: 2.914 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.0007859/0.0007859, allocations: 89.67 kB / 25.4 MB, free: 7.148 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.0008157/0.0008157, allocations: 167 kB / 29.34 MB, free: 3.27 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.962/0.962, allocations: 177.1 MB / 210.3 MB, free: 3.484 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.6662/0.6662, allocations: 102.4 MB / 369.8 MB, free: 216 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.513e-06/1.513e-06, allocations: 0 / 470.4 MB, free: 18.86 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.625e-05/2.776e-05, allocations: 4.281 kB / 470.4 MB, free: 18.86 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.1403/0.1404, allocations: 65.66 MB / 0.5235 GB, free: 6.016 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.02236/0.1627, allocations: 19.54 MB / 0.5426 GB, free: 2.418 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002626/0.1653, allocations: 95.31 kB / 0.5427 GB, free: 2.324 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004154/0.1695, allocations: 1.879 MB / 0.5445 GB, free: 448 kB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.005741/0.1752, allocations: 2.497 MB / 0.547 GB, free: 13.92 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.005/0.1802, allocations: 2.778 MB / 0.5497 GB, free: 11.14 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.006882/0.1871, allocations: 5.831 MB / 0.5554 GB, free: 5.285 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002555/0.1897, allocations: 1.777 MB / 0.5571 GB, free: 3.465 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1124/0.3021, allocations: 48.34 MB / 0.6043 GB, free: 4.266 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003308/0.3054, allocations: 1.971 MB / 0.6062 GB, free: 2.289 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0006857/0.306, allocations: 320 kB / 0.6065 GB, free: 1.977 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00411/0.3102, allocations: 1.898 MB / 0.6084 GB, free: 76 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0009222/0.3111, allocations: 1.079 MB / 0.6094 GB, free: 14.99 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.001562/0.3126, allocations: 1.214 MB / 0.6106 GB, free: 13.78 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.007096/0.3197, allocations: 4.632 MB / 0.6152 GB, free: 9.129 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3197, allocations: 0 / 0.6152 GB, free: 9.129 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3197, allocations: 0 / 0.6152 GB, free: 9.129 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.0001057/0.3198, allocations: 0 / 0.6152 GB, free: 9.129 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.005636/0.3255, allocations: 4.843 MB / 0.6199 GB, free: 4.184 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.3255, allocations: 12.03 kB / 0.6199 GB, free: 4.172 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/0.3266, allocations: 0.6851 MB / 0.6206 GB, free: 3.484 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003155/0.3298, allocations: 2.44 MB / 0.6229 GB, free: 0.9648 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001506/0.3299, allocations: 152.4 kB / 0.6231 GB, free: 0.8125 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002407/0.3301, allocations: 208.4 kB / 0.6233 GB, free: 0.6094 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007145/0.3373, allocations: 5.058 MB / 0.6282 GB, free: 10.55 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.169e-05/0.3373, allocations: 27.75 kB / 0.6283 GB, free: 10.52 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001815/0.3375, allocations: 100 kB / 0.6284 GB, free: 10.42 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003136/0.3378, allocations: 75.98 kB / 0.6284 GB, free: 10.35 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005383/0.3432, allocations: 2.411 MB / 0.6308 GB, free: 7.883 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2525/0.5957, allocations: 26.69 MB / 0.6568 GB, free: 93.51 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003761/0.5994, allocations: 2.501 MB / 0.6593 GB, free: 92.93 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005809/0.6, allocations: 0.6898 MB / 0.66 GB, free: 92.64 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002948/0.6003, allocations: 219.7 kB / 0.6602 GB, free: 92.63 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003354/0.6037, allocations: 2.484 MB / 0.6626 GB, free: 92.04 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=448): time 6.433e-06/0.6037, allocations: 2.781 kB / 0.6626 GB, free: 92.04 MB / 0.5574 GB Notification: Performance of matching and sorting (n=448): time 0.00891/0.6126, allocations: 5.415 MB / 0.6679 GB, free: 91.52 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001749/0.6128, allocations: 0.9264 MB / 0.6688 GB, free: 90.43 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00278/0.6155, allocations: 2.816 MB / 0.6715 GB, free: 90.09 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0002247/0.6158, allocations: 59.05 kB / 0.6716 GB, free: 90.06 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008517/0.6166, allocations: 1.697 MB / 0.6733 GB, free: 89.46 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008044/0.6174, allocations: 1.512 MB / 0.6747 GB, free: 88.45 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009341/0.6184, allocations: 0.9547 MB / 0.6757 GB, free: 88.35 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 5.019e-05/0.6184, allocations: 482.7 kB / 0.6761 GB, free: 87.88 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00087/0.6193, allocations: 0.8048 MB / 0.6769 GB, free: 87.71 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001522/0.6208, allocations: 2.878 MB / 0.6797 GB, free: 85.09 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003595/0.6244, allocations: 4.439 MB / 0.6841 GB, free: 82.64 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.524e-05/0.6244, allocations: 8.781 kB / 0.6841 GB, free: 82.64 MB / 0.5574 GB Notification: Performance of matching and sorting (n=611) (initialization): time 0.005368/0.6298, allocations: 3.798 MB / 0.6878 GB, free: 82.03 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 8.515e-05/0.6299, allocations: 152.9 kB / 0.6879 GB, free: 81.9 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00337/0.6333, allocations: 2.499 MB / 0.6904 GB, free: 81.53 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003629/0.6336, allocations: 124.3 kB / 0.6905 GB, free: 81.52 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002022/0.6356, allocations: 1.123 MB / 0.6916 GB, free: 81.52 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009461/0.6366, allocations: 1.818 MB / 0.6934 GB, free: 79.82 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00175/0.6383, allocations: 449.8 kB / 0.6938 GB, free: 79.57 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003287/0.6387, allocations: 261.5 kB / 0.694 GB, free: 79.57 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.001884/0.6405, allocations: 0.9661 MB / 0.695 GB, free: 79.31 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001992/0.6425, allocations: 2.866 MB / 0.6978 GB, free: 76.69 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004752/0.6473, allocations: 4.413 MB / 0.7021 GB, free: 74.02 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.317e-05/0.6473, allocations: 9.625 kB / 0.7021 GB, free: 74.02 MB / 0.5574 GB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.005752/0.6531, allocations: 3.773 MB / 0.7058 GB, free: 73 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 7.608e-05/0.6532, allocations: 157 kB / 0.7059 GB, free: 72.86 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003397/0.6566, allocations: 2.471 MB / 0.7083 GB, free: 72.14 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000225/0.6568, allocations: 120.4 kB / 0.7085 GB, free: 72.11 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002419/0.6592, allocations: 1.114 MB / 0.7095 GB, free: 71.92 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008522/0.6601, allocations: 1.808 MB / 0.7113 GB, free: 70.19 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001974/0.662, allocations: 380.9 kB / 0.7117 GB, free: 70 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000352/0.6624, allocations: 265.1 kB / 0.7119 GB, free: 69.94 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.001335/0.6637, allocations: 0.6692 MB / 0.7126 GB, free: 69.51 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001439/0.6652, allocations: 483.9 kB / 0.713 GB, free: 69.27 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.006255/0.6714, allocations: 4.952 MB / 0.7179 GB, free: 67.52 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.4368650019168854]