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.01243/0.01243, allocations: 1.454 MB / 20.8 MB, free: 3.617 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.009288/0.009288, allocations: 79.75 kB / 24.44 MB, free: 7.535 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.002481/0.002481, allocations: 155.9 kB / 28.19 MB, free: 4.668 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 1.451/1.451, allocations: 177.2 MB / 209 MB, free: 2.805 MB / 186.7 MB " [Timeout remaining time 178] 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 1.093/1.093, allocations: 102.5 MB / 368.3 MB, free: 1.262 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.094e-06/2.094e-06, allocations: 0 / 468.3 MB, free: 13.49 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.63e-05/4.839e-05, allocations: 10.25 kB / 468.3 MB, free: 13.48 MB / 442.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.444/0.444, allocations: 61.73 MB / 0.5176 GB, free: 72.17 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.03025/0.4743, allocations: 18.88 MB / 0.536 GB, free: 64.96 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004075/0.4784, allocations: 93.23 kB / 0.5361 GB, free: 64.92 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.005555/0.4839, allocations: 1.869 MB / 0.5379 GB, free: 64.11 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.007326/0.4912, allocations: 2.485 MB / 0.5404 GB, free: 62.63 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.006844/0.4981, allocations: 2.759 MB / 0.5431 GB, free: 61.23 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.008542/0.5066, allocations: 5.827 MB / 0.5488 GB, free: 58.35 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003827/0.5105, allocations: 1.725 MB / 0.5504 GB, free: 57.23 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0086/0.5191, allocations: 3.173 MB / 0.5535 GB, free: 55.86 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005645/0.5247, allocations: 2.1 MB / 0.5556 GB, free: 55.19 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.001839/0.5265, allocations: 373.9 kB / 0.556 GB, free: 55.19 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.09367/0.6202, allocations: 17.4 MB / 0.5729 GB, free: 45.73 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.002879/0.6231, allocations: 1.197 MB / 0.5741 GB, free: 45.03 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.00659/0.6297, allocations: 1.291 MB / 0.5754 GB, free: 44.41 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01693/0.6466, allocations: 6.734 MB / 0.5819 GB, free: 39.68 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 9.257e-06/0.6466, allocations: 4 kB / 0.5819 GB, free: 39.67 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.124e-06/0.6466, allocations: 0 / 0.5819 GB, free: 39.67 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0002774/0.6469, allocations: 2.656 kB / 0.582 GB, free: 39.67 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.01026/0.6572, allocations: 4.812 MB / 0.5867 GB, free: 34.79 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.6572, allocations: 12.03 kB / 0.5867 GB, free: 34.78 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001725/0.6589, allocations: 0.7357 MB / 0.5874 GB, free: 34.04 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006111/0.665, allocations: 3.75 MB / 0.591 GB, free: 30.24 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.6652, allocations: 152.4 kB / 0.5912 GB, free: 30.09 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003173/0.6655, allocations: 212.4 kB / 0.5914 GB, free: 29.88 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009775/0.6752, allocations: 5.558 MB / 0.5968 GB, free: 23.54 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.094e-05/0.6753, allocations: 23.75 kB / 0.5968 GB, free: 23.51 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002207/0.6755, allocations: 100 kB / 0.5969 GB, free: 23.41 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.362e-05/0.6756, allocations: 78.67 kB / 0.597 GB, free: 23.34 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008645/0.6842, allocations: 3.664 MB / 0.6006 GB, free: 19.64 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01858/0.7028, allocations: 19.99 MB / 0.6201 GB, free: 15.01 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009598/0.7124, allocations: 3.177 MB / 0.6232 GB, free: 11.71 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002784/0.7152, allocations: 1.22 MB / 0.6244 GB, free: 10.43 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005739/0.7158, allocations: 145 kB / 0.6245 GB, free: 10.28 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009455/0.7252, allocations: 3.094 MB / 0.6276 GB, free: 7.066 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=448): time 9.769e-06/0.7252, allocations: 0 / 0.6276 GB, free: 7.066 MB / 0.4949 GB Notification: Performance of matching and sorting (n=448): time 0.02371/0.7489, allocations: 7.369 MB / 0.6348 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005814/0.7495, allocations: 0.801 MB / 0.6355 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00682/0.7563, allocations: 3.119 MB / 0.6386 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006952/0.757, allocations: 56.33 kB / 0.6386 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001899/0.7589, allocations: 1.538 MB / 0.6401 GB, free: 9.895 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002389/0.7613, allocations: 1.467 MB / 0.6416 GB, free: 8.414 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002909/0.7642, allocations: 0.8804 MB / 0.6424 GB, free: 7.523 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.7644, allocations: 305.1 kB / 0.6427 GB, free: 7.223 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003651/0.768, allocations: 1.639 MB / 0.6443 GB, free: 5.547 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005134/0.7732, allocations: 3.021 MB / 0.6473 GB, free: 1.926 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1895/0.9627, allocations: 25.98 MB / 0.6727 GB, free: 8.141 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.525e-05/0.9627, allocations: 12 kB / 0.6727 GB, free: 8.129 MB / 0.5418 GB Notification: Performance of matching and sorting (n=611) (initialization): time 0.01451/0.9772, allocations: 5.47 MB / 0.678 GB, free: 2.586 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002026/0.9774, allocations: 154.8 kB / 0.6782 GB, free: 2.41 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009687/0.9871, allocations: 4.075 MB / 0.6821 GB, free: 14.26 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006967/0.9878, allocations: 152 kB / 0.6823 GB, free: 14.11 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004269/0.9921, allocations: 1.123 MB / 0.6834 GB, free: 12.98 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002252/0.9943, allocations: 1.44 MB / 0.6848 GB, free: 11.44 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003353/0.9977, allocations: 452.8 kB / 0.6852 GB, free: 10.99 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001051/0.9988, allocations: 295.8 kB / 0.6855 GB, free: 10.7 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.006139/1.005, allocations: 2.325 MB / 0.6878 GB, free: 8.348 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005548/1.01, allocations: 3.011 MB / 0.6907 GB, free: 4.727 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1886/1.199, allocations: 25.84 MB / 0.7159 GB, free: 10.26 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.342e-05/1.199, allocations: 15.94 kB / 0.716 GB, free: 10.24 MB / 0.5887 GB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.01422/1.213, allocations: 5.426 MB / 0.7213 GB, free: 4.738 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001913/1.213, allocations: 158.7 kB / 0.7214 GB, free: 4.559 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009245/1.223, allocations: 4.028 MB / 0.7253 GB, free: 464 kB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004566/1.223, allocations: 125.4 kB / 0.7255 GB, free: 336 kB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004167/1.227, allocations: 1.127 MB / 0.7266 GB, free: 15.2 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001791/1.229, allocations: 1.426 MB / 0.728 GB, free: 13.67 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003189/1.232, allocations: 377.4 kB / 0.7283 GB, free: 13.3 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009501/1.233, allocations: 295.8 kB / 0.7286 GB, free: 13.01 MB / 0.6043 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.001835/1.235, allocations: 0.5732 MB / 0.7292 GB, free: 12.41 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002115/1.237, allocations: 497 kB / 0.7296 GB, free: 11.92 MB / 0.6043 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.01288/1.25, allocations: 5.504 MB / 0.735 GB, free: 6.527 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.067622735048644]