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.01807/0.01807, allocations: 1.454 MB / 20.81 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.008845/0.008845, allocations: 79.28 kB / 24.44 MB, free: 7.543 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.001812/0.001812, allocations: 161.1 kB / 28.19 MB, free: 4.68 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.48/1.48, allocations: 177.2 MB / 209 MB, free: 2.797 MB / 186.7 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.137/1.137, allocations: 102.5 MB / 368.4 MB, free: 1.273 MB / 330.8 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.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_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 2.434e-06/2.434e-06, allocations: 0 / 468.3 MB, free: 13.53 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.977e-05/4.22e-05, allocations: 12.84 kB / 468.3 MB, free: 13.52 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.3782/0.3783, allocations: 61.73 MB / 0.5176 GB, free: 72.11 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.02253/0.4008, allocations: 18.88 MB / 0.5361 GB, free: 64.92 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003303/0.4041, allocations: 91.75 kB / 0.5361 GB, free: 64.88 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004538/0.4087, allocations: 1.875 MB / 0.538 GB, free: 64.06 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0059/0.4146, allocations: 2.476 MB / 0.5404 GB, free: 62.6 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.005761/0.4203, allocations: 2.764 MB / 0.5431 GB, free: 61.2 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.008791/0.4291, allocations: 5.826 MB / 0.5488 GB, free: 58.31 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005309/0.4344, allocations: 1.726 MB / 0.5505 GB, free: 57.19 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008352/0.4428, allocations: 3.174 MB / 0.5536 GB, free: 55.82 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005066/0.4478, allocations: 2.102 MB / 0.5556 GB, free: 55.15 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.001549/0.4494, allocations: 368.7 kB / 0.556 GB, free: 55.15 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.09463/0.544, allocations: 17.39 MB / 0.573 GB, free: 45.71 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.003084/0.5471, allocations: 1.201 MB / 0.5741 GB, free: 45 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0037/0.5508, allocations: 1.295 MB / 0.5754 GB, free: 44.38 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01077/0.5616, allocations: 6.738 MB / 0.582 GB, free: 39.65 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.395e-06/0.5616, allocations: 2.656 kB / 0.582 GB, free: 39.65 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5616, allocations: 0 / 0.582 GB, free: 39.65 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0001992/0.5618, allocations: 0 / 0.582 GB, free: 39.65 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.008532/0.5703, allocations: 4.8 MB / 0.5867 GB, free: 34.78 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.5704, allocations: 8.031 kB / 0.5867 GB, free: 34.77 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001705/0.5721, allocations: 0.7384 MB / 0.5874 GB, free: 34.04 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006199/0.5783, allocations: 3.757 MB / 0.5911 GB, free: 30.23 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/0.5784, allocations: 159.1 kB / 0.5912 GB, free: 30.07 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002711/0.5786, allocations: 204.4 kB / 0.5914 GB, free: 29.87 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009375/0.588, allocations: 5.556 MB / 0.5968 GB, free: 23.53 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.943e-05/0.5881, allocations: 30.41 kB / 0.5969 GB, free: 23.5 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000209/0.5883, allocations: 104 kB / 0.597 GB, free: 23.4 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.352e-05/0.5883, allocations: 75.94 kB / 0.597 GB, free: 23.32 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008019/0.5963, allocations: 3.666 MB / 0.6006 GB, free: 19.63 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.018/0.6143, allocations: 19.99 MB / 0.6201 GB, free: 14.99 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01021/0.6246, allocations: 3.165 MB / 0.6232 GB, free: 11.7 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002924/0.6275, allocations: 1.216 MB / 0.6244 GB, free: 10.42 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006431/0.6281, allocations: 147.8 kB / 0.6246 GB, free: 10.28 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01011/0.6382, allocations: 3.096 MB / 0.6276 GB, free: 7.055 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=448): time 1.224e-05/0.6382, allocations: 0 / 0.6276 GB, free: 7.055 MB / 0.4949 GB Notification: Performance of matching and sorting (n=448): time 0.02547/0.6637, allocations: 7.366 MB / 0.6348 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006779/0.6644, allocations: 0.8037 MB / 0.6356 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007963/0.6724, allocations: 3.119 MB / 0.6386 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008181/0.6732, allocations: 57.7 kB / 0.6387 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002253/0.6754, allocations: 1.53 MB / 0.6401 GB, free: 9.895 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002615/0.678, allocations: 1.471 MB / 0.6416 GB, free: 8.41 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003171/0.6812, allocations: 0.8803 MB / 0.6424 GB, free: 7.52 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001828/0.6814, allocations: 317 kB / 0.6427 GB, free: 7.207 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004378/0.6858, allocations: 1.641 MB / 0.6444 GB, free: 5.531 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006668/0.6924, allocations: 3.011 MB / 0.6473 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1885/0.881, allocations: 25.99 MB / 0.6727 GB, free: 8.129 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.677e-05/0.881, allocations: 8 kB / 0.6727 GB, free: 8.121 MB / 0.5418 GB Notification: Performance of matching and sorting (n=611) (initialization): time 0.01461/0.8956, allocations: 5.473 MB / 0.678 GB, free: 2.574 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001749/0.8958, allocations: 151.8 kB / 0.6782 GB, free: 2.402 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009193/0.905, allocations: 4.079 MB / 0.6821 GB, free: 14.25 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006423/0.9056, allocations: 151.7 kB / 0.6823 GB, free: 14.1 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003962/0.9096, allocations: 1.123 MB / 0.6834 GB, free: 12.97 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002015/0.9116, allocations: 1.451 MB / 0.6848 GB, free: 11.42 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003102/0.9147, allocations: 436.7 kB / 0.6852 GB, free: 10.99 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009081/0.9156, allocations: 303.8 kB / 0.6855 GB, free: 10.69 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.00561/0.9212, allocations: 2.329 MB / 0.6878 GB, free: 8.332 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005245/0.9265, allocations: 3.007 MB / 0.6907 GB, free: 4.715 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1927/1.119, allocations: 25.84 MB / 0.716 GB, free: 10.25 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.258e-05/1.119, allocations: 11.94 kB / 0.716 GB, free: 10.23 MB / 0.5887 GB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.01464/1.134, allocations: 5.438 MB / 0.7213 GB, free: 4.719 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001791/1.134, allocations: 151 kB / 0.7214 GB, free: 4.547 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009114/1.143, allocations: 4.029 MB / 0.7254 GB, free: 452 kB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004301/1.144, allocations: 120.8 kB / 0.7255 GB, free: 328 kB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003945/1.148, allocations: 1.123 MB / 0.7266 GB, free: 15.2 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001695/1.149, allocations: 1.424 MB / 0.728 GB, free: 13.67 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003281/1.153, allocations: 381.4 kB / 0.7283 GB, free: 13.3 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007794/1.153, allocations: 291.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.001734/1.155, allocations: 0.5828 MB / 0.7292 GB, free: 12.4 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001964/1.157, allocations: 489 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.012/1.169, allocations: 5.512 MB / 0.735 GB, free: 6.52 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.1147102559916675]