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.01024/0.01024, allocations: 1.348 MB / 20.45 MB, free: 1.25 MB / 14.72 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.001465/0.001465, allocations: 79.28 kB / 24.02 MB, free: 2.59 MB / 14.72 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.001659/0.001659, allocations: 154.5 kB / 27.71 MB, free: 3.844 MB / 19.63 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 1.543/1.543, allocations: 177.2 MB / 208.4 MB, free: 7.672 MB / 190.1 MB " [Timeout remaining time 178] 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 1.006/1.006, allocations: 102.5 MB / 367.8 MB, free: 4.617 MB / 334.1 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 0.3.1 (/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.763e-06/1.763e-06, allocations: 0 / 0.5364 GB, free: 7.168 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.039e-05/3.215e-05, allocations: 2.281 kB / 0.5364 GB, free: 7.164 MB / 446.1 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.1741/0.1741, allocations: 61.58 MB / 0.5966 GB, free: 12.09 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.03239/0.2065, allocations: 18.86 MB / 0.615 GB, free: 9.164 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004177/0.2107, allocations: 87.38 kB / 0.6151 GB, free: 9.078 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.005692/0.2163, allocations: 1.876 MB / 0.6169 GB, free: 7.191 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.0075/0.2238, allocations: 2.485 MB / 0.6193 GB, free: 4.691 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.007307/0.2312, allocations: 2.77 MB / 0.622 GB, free: 1.914 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.01055/0.2417, allocations: 5.825 MB / 0.6277 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00338/0.2451, allocations: 1.652 MB / 0.6293 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006284/0.2514, allocations: 3.156 MB / 0.6324 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004007/0.2554, allocations: 2.08 MB / 0.6345 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0007696/0.2561, allocations: 364 kB / 0.6348 GB, free: 4.77 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004612/0.2608, allocations: 1.961 MB / 0.6367 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001401/0.2622, allocations: 1.195 MB / 0.6379 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00225/0.2644, allocations: 1.282 MB / 0.6391 GB, free: 328 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01052/0.2749, allocations: 6.698 MB / 0.6457 GB, free: 9.602 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.2749, allocations: 0 / 0.6457 GB, free: 9.602 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.314e-06/0.2749, allocations: 0 / 0.6457 GB, free: 9.602 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001729/0.2751, allocations: 0 / 0.6457 GB, free: 9.602 MB / 0.545 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.009002/0.2841, allocations: 4.795 MB / 0.6504 GB, free: 4.715 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/0.2842, allocations: 16.02 kB / 0.6504 GB, free: 4.699 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001713/0.2859, allocations: 0.5756 MB / 0.6509 GB, free: 4.121 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007321/0.2932, allocations: 3.601 MB / 0.6545 GB, free: 464 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001674/0.2934, allocations: 164.4 kB / 0.6546 GB, free: 296 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003542/0.2937, allocations: 196.4 kB / 0.6548 GB, free: 100 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0124/0.3061, allocations: 5.536 MB / 0.6602 GB, free: 9.773 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.797e-05/0.3062, allocations: 27.75 kB / 0.6602 GB, free: 9.746 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002472/0.3064, allocations: 100 kB / 0.6603 GB, free: 9.648 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.898e-05/0.3065, allocations: 75.98 kB / 0.6604 GB, free: 9.574 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01055/0.3171, allocations: 3.639 MB / 0.664 GB, free: 5.898 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02202/0.3391, allocations: 19.85 MB / 0.6833 GB, free: 1.363 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009257/0.3483, allocations: 3.156 MB / 0.6864 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002289/0.3506, allocations: 1.205 MB / 0.6876 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004347/0.3511, allocations: 141 kB / 0.6877 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008341/0.3594, allocations: 3.065 MB / 0.6907 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=448): time 5.34e-06/0.3594, allocations: 0 / 0.6907 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of matching and sorting (n=448): time 0.02015/0.3796, allocations: 6.988 MB / 0.6975 GB, free: 2.379 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005528/0.3801, allocations: 0.8096 MB / 0.6983 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2994/0.6795, allocations: 3.112 MB / 0.7014 GB, free: 132.9 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0007364/0.6802, allocations: 57.34 kB / 0.7014 GB, free: 132.9 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001295/0.6815, allocations: 1.543 MB / 0.7029 GB, free: 132.4 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001647/0.6832, allocations: 1.463 MB / 0.7044 GB, free: 131.3 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001662/0.6848, allocations: 0.8778 MB / 0.7052 GB, free: 131 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.177e-05/0.6849, allocations: 305.3 kB / 0.7055 GB, free: 130.7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003057/0.6879, allocations: 1.627 MB / 0.7071 GB, free: 129.9 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003872/0.6918, allocations: 3.003 MB / 0.71 GB, free: 127.4 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1826/0.8744, allocations: 25.86 MB / 0.7353 GB, free: 113.9 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001121/0.8745, allocations: 13.03 kB / 0.7353 GB, free: 113.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=611) (initialization): time 0.01313/0.8876, allocations: 5.317 MB / 0.7405 GB, free: 108.6 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001065/0.8877, allocations: 154.8 kB / 0.7406 GB, free: 108.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00632/0.894, allocations: 4.029 MB / 0.7446 GB, free: 104.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003197/0.8944, allocations: 108.8 kB / 0.7447 GB, free: 104.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003071/0.8974, allocations: 1.127 MB / 0.7458 GB, free: 103.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00103/0.8985, allocations: 1.395 MB / 0.7471 GB, free: 101.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002983/0.9015, allocations: 436.8 kB / 0.7476 GB, free: 101.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004743/0.9019, allocations: 299.8 kB / 0.7478 GB, free: 100.8 MB / 0.5919 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.004046/0.906, allocations: 2.315 MB / 0.7501 GB, free: 98.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002806/0.9088, allocations: 2.988 MB / 0.753 GB, free: 94.91 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1715/1.08, allocations: 25.72 MB / 0.7782 GB, free: 68.61 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.692e-05/1.08, allocations: 8 kB / 0.7782 GB, free: 68.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.01156/1.092, allocations: 5.27 MB / 0.7833 GB, free: 63.27 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.346e-05/1.092, allocations: 146.8 kB / 0.7834 GB, free: 63.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006624/1.099, allocations: 3.993 MB / 0.7873 GB, free: 59.04 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002306/1.099, allocations: 92.84 kB / 0.7874 GB, free: 58.94 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003161/1.102, allocations: 1.123 MB / 0.7885 GB, free: 57.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009238/1.103, allocations: 1.376 MB / 0.7899 GB, free: 56.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002818/1.106, allocations: 380.3 kB / 0.7902 GB, free: 55.97 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004773/1.106, allocations: 295.8 kB / 0.7905 GB, free: 55.68 MB / 0.5919 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.001393/1.108, allocations: 0.5825 MB / 0.7911 GB, free: 55.07 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009964/1.109, allocations: 429.1 kB / 0.7915 GB, free: 54.65 MB / 0.5919 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.007466/1.116, allocations: 5.487 MB / 0.7969 GB, free: 49.3 MB / 0.5919 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.053004361689091] Failed to read output from testmodel.py, exit status != 0: 1.294608399271965 1.309778697 1.031475029 Calling exit ...