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.008323/0.008323, allocations: 1.795 MB / 21.35 MB, free: 3.191 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.0007806/0.0007806, allocations: 92.89 kB / 25.16 MB, free: 7.418 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.0008656/0.0008656, allocations: 166.9 kB / 29.06 MB, free: 3.641 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.9753/0.9753, allocations: 177.1 MB / 210 MB, free: 3.598 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6403/0.6403, allocations: 102.5 MB / 369.5 MB, free: 368 kB / 330.7 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 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_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.893e-06/1.893e-06, allocations: 0 / 469.9 MB, free: 19.03 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.012e-05/3.201e-05, allocations: 3.438 kB / 469.9 MB, free: 19.03 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.1363/0.1363, allocations: 66.02 MB / 0.5234 GB, free: 5.906 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.02503/0.1613, allocations: 19.64 MB / 0.5426 GB, free: 2.211 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004075/0.1654, allocations: 91.31 kB / 0.5427 GB, free: 2.121 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004984/0.1704, allocations: 1.876 MB / 0.5445 GB, free: 240 kB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.007038/0.1774, allocations: 2.489 MB / 0.5469 GB, free: 13.73 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00617/0.1836, allocations: 2.774 MB / 0.5496 GB, free: 10.95 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.007688/0.1913, allocations: 5.828 MB / 0.5553 GB, free: 5.098 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003894/0.1952, allocations: 1.773 MB / 0.5571 GB, free: 3.281 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006645/0.2018, allocations: 3.16 MB / 0.5602 GB, free: 116 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003816/0.2056, allocations: 2.083 MB / 0.5622 GB, free: 14.02 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0009255/0.2066, allocations: 364 kB / 0.5625 GB, free: 13.67 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004632/0.2112, allocations: 1.953 MB / 0.5644 GB, free: 11.71 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001284/0.2125, allocations: 1.195 MB / 0.5656 GB, free: 10.52 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.002433/0.2149, allocations: 1.284 MB / 0.5669 GB, free: 9.23 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01019/0.2251, allocations: 4.756 MB / 0.5715 GB, free: 4.457 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2251, allocations: 0 / 0.5715 GB, free: 4.457 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.512e-06/0.2251, allocations: 0 / 0.5715 GB, free: 4.457 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0001102/0.2252, allocations: 4 kB / 0.5715 GB, free: 4.453 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.005737/0.231, allocations: 5.043 MB / 0.5764 GB, free: 15.31 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.231, allocations: 8.031 kB / 0.5764 GB, free: 15.3 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/0.2324, allocations: 0.7319 MB / 0.5772 GB, free: 14.57 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00445/0.2368, allocations: 3.352 MB / 0.5804 GB, free: 11.14 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.886e-05/0.2369, allocations: 152.4 kB / 0.5806 GB, free: 10.99 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002262/0.2371, allocations: 204.4 kB / 0.5808 GB, free: 10.79 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006296/0.2434, allocations: 5.227 MB / 0.5859 GB, free: 4.559 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.245e-05/0.2435, allocations: 27.75 kB / 0.5859 GB, free: 4.531 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001466/0.2436, allocations: 100 kB / 0.586 GB, free: 4.434 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.144e-05/0.2437, allocations: 68 kB / 0.5861 GB, free: 4.367 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004765/0.2484, allocations: 2.654 MB / 0.5887 GB, free: 1.672 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01579/0.2642, allocations: 27.12 MB / 0.6151 GB, free: 5.664 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004738/0.269, allocations: 2.662 MB / 0.6177 GB, free: 2.812 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001008/0.27, allocations: 0.7847 MB / 0.6185 GB, free: 1.949 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002935/0.2703, allocations: 149 kB / 0.6187 GB, free: 1.801 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004304/0.2746, allocations: 2.578 MB / 0.6212 GB, free: 15.07 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=448): time 5.16e-06/0.2746, allocations: 4 kB / 0.6212 GB, free: 15.07 MB / 0.5418 GB Notification: Performance of matching and sorting (n=448): time 0.01136/0.2859, allocations: 5.747 MB / 0.6268 GB, free: 9.219 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002753/0.2862, allocations: 0.8011 MB / 0.6276 GB, free: 8.234 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003896/0.2901, allocations: 2.896 MB / 0.6304 GB, free: 5.34 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0003764/0.2905, allocations: 62.45 kB / 0.6305 GB, free: 5.273 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.001151/0.2916, allocations: 1.666 MB / 0.6321 GB, free: 3.594 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.001695/0.2933, allocations: 1.499 MB / 0.6335 GB, free: 2.082 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00109/0.2944, allocations: 0.9326 MB / 0.6345 GB, free: 1.137 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.2946, allocations: 480.7 kB / 0.6349 GB, free: 0.6641 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001375/0.2959, allocations: 0.9617 MB / 0.6359 GB, free: 15.66 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00255/0.2985, allocations: 2.848 MB / 0.6386 GB, free: 12.02 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005843/0.3043, allocations: 4.827 MB / 0.6433 GB, free: 6.395 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.667e-05/0.3043, allocations: 12 kB / 0.6434 GB, free: 6.383 MB / 0.5574 GB Notification: Performance of matching and sorting (n=611) (initialization): time 0.006209/0.3106, allocations: 4.125 MB / 0.6474 GB, free: 2.18 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 9.859e-05/0.3107, allocations: 150.8 kB / 0.6475 GB, free: 2.008 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2504/0.5611, allocations: 2.761 MB / 0.6502 GB, free: 107.8 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002825/0.5614, allocations: 94.3 kB / 0.6503 GB, free: 107.8 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002131/0.5635, allocations: 1.123 MB / 0.6514 GB, free: 107.8 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009246/0.5644, allocations: 1.824 MB / 0.6532 GB, free: 106.1 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002043/0.5664, allocations: 442.9 kB / 0.6536 GB, free: 106.1 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003687/0.5668, allocations: 294.4 kB / 0.6539 GB, free: 106.1 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.002116/0.5689, allocations: 1.117 MB / 0.655 GB, free: 105.8 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001801/0.5707, allocations: 2.828 MB / 0.6578 GB, free: 103.4 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004439/0.5752, allocations: 4.806 MB / 0.6624 GB, free: 101 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.827e-05/0.5752, allocations: 10.69 kB / 0.6625 GB, free: 101 MB / 0.5574 GB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.005457/0.5806, allocations: 4.087 MB / 0.6664 GB, free: 100.6 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 8.205e-05/0.5807, allocations: 151.3 kB / 0.6666 GB, free: 100.5 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003577/0.5843, allocations: 2.727 MB / 0.6693 GB, free: 100.1 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001869/0.5845, allocations: 92.52 kB / 0.6693 GB, free: 100.1 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001828/0.5863, allocations: 1.118 MB / 0.6704 GB, free: 100.1 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007452/0.5871, allocations: 1.826 MB / 0.6722 GB, free: 98.38 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/0.5888, allocations: 375 kB / 0.6726 GB, free: 98.38 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003142/0.5891, allocations: 292.8 kB / 0.6729 GB, free: 98.38 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001018/0.5901, allocations: 0.671 MB / 0.6735 GB, free: 97.98 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009922/0.5911, allocations: 483.6 kB / 0.674 GB, free: 97.84 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.005568/0.5967, allocations: 5.071 MB / 0.6789 GB, free: 97.28 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.383786944206804]