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.01517/0.01517, allocations: 1.745 MB / 21.38 MB, free: 480 kB / 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.001307/0.001307, allocations: 98.06 kB / 24.96 MB, free: 2.059 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.001453/0.001453, allocations: 210.9 kB / 28.68 MB, free: 3.348 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.426/1.426, allocations: 230.6 MB / 262.9 MB, free: 5.836 MB / 206.1 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.037/1.037, allocations: 130.7 MB / 450.4 MB, free: 6.426 MB / 350.1 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.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_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: SMArtInt 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: ClaRa 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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.06408/0.06408, allocations: 20.6 MB / 0.6367 GB, free: 4.602 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.2455, allocations: 81.91 MB / 0.7167 GB, free: 2.609 MB / 0.5294 GB 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.5543/0.7998, allocations: 47.88 MB / 0.7634 GB, free: 19.3 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02832/0.8281, allocations: 19.13 MB / 0.7821 GB, free: 6.008 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005264/0.8334, allocations: 92.28 kB / 0.7822 GB, free: 5.965 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.006325/0.8397, allocations: 1.872 MB / 0.784 GB, free: 5.137 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.009143/0.8489, allocations: 2.428 MB / 0.7864 GB, free: 3.727 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.007654/0.8565, allocations: 2.717 MB / 0.7891 GB, free: 2.043 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.01115/0.8677, allocations: 5.662 MB / 0.7946 GB, free: 14.73 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003634/0.8713, allocations: 1.521 MB / 0.7961 GB, free: 13.63 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005973/0.8773, allocations: 2.349 MB / 0.7984 GB, free: 12.29 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006/0.8833, allocations: 2.541 MB / 0.8008 GB, free: 10.71 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.001406/0.8847, allocations: 363.3 kB / 0.8012 GB, free: 10.71 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006513/0.8912, allocations: 1.989 MB / 0.8031 GB, free: 9.797 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.002098/0.8933, allocations: 1.178 MB / 0.8043 GB, free: 8.789 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.003578/0.8969, allocations: 1.616 MB / 0.8059 GB, free: 7.168 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01337/0.9102, allocations: 6.736 MB / 0.8124 GB, free: 416 kB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 1.101e-05/0.9103, allocations: 4 kB / 0.8124 GB, free: 412 kB / 0.5763 GB Notification: Performance of FrontEnd: time 2.224e-06/0.9103, allocations: 0 / 0.8124 GB, free: 412 kB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0001801/0.9104, allocations: 4 kB / 0.8125 GB, free: 408 kB / 0.5763 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.009051/0.9195, allocations: 4.854 MB / 0.8172 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.9195, allocations: 14.69 kB / 0.8172 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001662/0.9212, allocations: 0.5717 MB / 0.8178 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006997/0.9282, allocations: 3.612 MB / 0.8213 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001529/0.9283, allocations: 156.2 kB / 0.8214 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003367/0.9287, allocations: 196 kB / 0.8216 GB, free: 6.875 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01196/0.9406, allocations: 5.533 MB / 0.827 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.313e-05/0.9407, allocations: 27.75 kB / 0.8271 GB, free: 0.5312 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002417/0.9409, allocations: 100 kB / 0.8272 GB, free: 444 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.443e-05/0.941, allocations: 72 kB / 0.8272 GB, free: 372 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00996/0.951, allocations: 3.659 MB / 0.8308 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02303/0.974, allocations: 19.91 MB / 0.8502 GB, free: 8.105 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009/0.983, allocations: 3.158 MB / 0.8533 GB, free: 4.816 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002188/0.9852, allocations: 1.198 MB / 0.8545 GB, free: 3.559 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004288/0.9856, allocations: 141 kB / 0.8546 GB, free: 3.422 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008123/0.9938, allocations: 3.071 MB / 0.8576 GB, free: 236 kB / 0.6232 GB Notification: Performance of pre-optimization done (n=448): time 5.64e-06/0.9938, allocations: 0 / 0.8576 GB, free: 236 kB / 0.6232 GB Notification: Performance of matching and sorting (n=448): time 0.0193/1.013, allocations: 6.993 MB / 0.8645 GB, free: 9.145 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005053/1.014, allocations: 0.8088 MB / 0.8652 GB, free: 8.148 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005285/1.019, allocations: 3.065 MB / 0.8682 GB, free: 5.09 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.000664/1.02, allocations: 53.7 kB / 0.8683 GB, free: 5.031 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.001518/1.021, allocations: 1.548 MB / 0.8698 GB, free: 3.473 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.002111/1.023, allocations: 1.483 MB / 0.8712 GB, free: 1.977 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001592/1.025, allocations: 0.8921 MB / 0.8721 GB, free: 1.074 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001272/1.025, allocations: 301.1 kB / 0.8724 GB, free: 0.7773 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002972/1.028, allocations: 1.625 MB / 0.874 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004442/1.032, allocations: 3.01 MB / 0.8769 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1776/1.21, allocations: 25.85 MB / 0.9022 GB, free: 1.789 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.301e-05/1.21, allocations: 12 kB / 0.9022 GB, free: 1.777 MB / 0.67 GB Notification: Performance of matching and sorting (n=611) (initialization): time 0.01089/1.221, allocations: 5.302 MB / 0.9074 GB, free: 12.4 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001373/1.221, allocations: 152.8 kB / 0.9075 GB, free: 12.23 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007325/1.228, allocations: 4.038 MB / 0.9115 GB, free: 8.121 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003638/1.229, allocations: 104.8 kB / 0.9116 GB, free: 8.016 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003545/1.232, allocations: 1.123 MB / 0.9127 GB, free: 6.891 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001474/1.234, allocations: 1.399 MB / 0.914 GB, free: 5.391 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002731/1.236, allocations: 444.6 kB / 0.9144 GB, free: 4.953 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005937/1.237, allocations: 299.7 kB / 0.9147 GB, free: 4.66 MB / 0.6857 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.004532/1.241, allocations: 2.305 MB / 0.917 GB, free: 2.324 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004115/1.246, allocations: 2.995 MB / 0.9199 GB, free: 14.72 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1809/1.426, allocations: 25.73 MB / 0.945 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.041e-05/1.427, allocations: 8 kB / 0.945 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.01231/1.439, allocations: 5.261 MB / 0.9502 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001447/1.439, allocations: 150.8 kB / 0.9503 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007875/1.447, allocations: 3.991 MB / 0.9542 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000262/1.447, allocations: 100.2 kB / 0.9543 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003659/1.451, allocations: 1.123 MB / 0.9554 GB, free: 9.559 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001355/1.452, allocations: 1.373 MB / 0.9568 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002792/1.455, allocations: 377.4 kB / 0.9571 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007381/1.456, allocations: 296 kB / 0.9574 GB, free: 7.422 MB / 0.7325 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.001616/1.457, allocations: 0.5907 MB / 0.958 GB, free: 6.809 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001533/1.459, allocations: 421.1 kB / 0.9584 GB, free: 6.395 MB / 0.7325 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.01039/1.469, allocations: 5.472 MB / 0.9637 GB, free: 1.062 MB / 0.7325 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.608330863062292] Failed to read output from testmodel.py, exit status != 0: 1.6590337719535455 1.968706618 1.05525394 Calling exit ...