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.01508/0.01508, allocations: 1.761 MB / 20.59 MB, free: 1.285 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.001457/0.001457, allocations: 107.6 kB / 24.19 MB, free: 2.688 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.001743/0.001743, allocations: 206.6 kB / 27.92 MB, free: 4.027 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.447/1.447, allocations: 230.6 MB / 262.1 MB, free: 6.008 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.059/1.059, allocations: 130.7 MB / 449.6 MB, free: 6.785 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.03399/0.03399, allocations: 20.79 MB / 0.6362 GB, free: 4.691 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.211, allocations: 81.9 MB / 0.7162 GB, free: 2.699 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.5347/0.7457, allocations: 49.91 MB / 0.7649 GB, free: 17.43 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02764/0.7734, allocations: 20.06 MB / 0.7845 GB, free: 3.152 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00465/0.778, allocations: 90.53 kB / 0.7846 GB, free: 3.109 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.005915/0.7839, allocations: 1.938 MB / 0.7865 GB, free: 2.238 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.008056/0.792, allocations: 2.412 MB / 0.7889 GB, free: 0.8281 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.007624/0.7996, allocations: 2.72 MB / 0.7915 GB, free: 15.14 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01068/0.8103, allocations: 5.667 MB / 0.7971 GB, free: 11.82 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003112/0.8134, allocations: 1.518 MB / 0.7985 GB, free: 10.73 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004556/0.818, allocations: 2.345 MB / 0.8008 GB, free: 9.395 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005322/0.8233, allocations: 2.56 MB / 0.8033 GB, free: 7.797 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.001427/0.8247, allocations: 364.8 kB / 0.8037 GB, free: 7.797 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006955/0.8317, allocations: 2.568 MB / 0.8062 GB, free: 6.488 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.001987/0.8336, allocations: 1.169 MB / 0.8073 GB, free: 5.469 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.003599/0.8372, allocations: 2.109 MB / 0.8094 GB, free: 3.348 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01169/0.8489, allocations: 6.834 MB / 0.8161 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.8489, allocations: 0 / 0.8161 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.774e-06/0.8489, allocations: 2.656 kB / 0.8161 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001266/0.8491, allocations: 0 / 0.8161 GB, free: 12.48 MB / 0.5919 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.008304/0.8574, allocations: 4.862 MB / 0.8208 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.8574, allocations: 8.031 kB / 0.8208 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001518/0.8589, allocations: 0.5782 MB / 0.8214 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006637/0.8656, allocations: 3.609 MB / 0.8249 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001384/0.8657, allocations: 156.2 kB / 0.8251 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002971/0.866, allocations: 196 kB / 0.8252 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01073/0.8767, allocations: 4.85 MB / 0.83 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.174e-05/0.8768, allocations: 30.41 kB / 0.83 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002475/0.877, allocations: 106.8 kB / 0.8301 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.407e-05/0.8771, allocations: 71.98 kB / 0.8302 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009629/0.8867, allocations: 3.539 MB / 0.8336 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02445/0.9112, allocations: 21.23 MB / 0.8544 GB, free: 3.863 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008978/0.9202, allocations: 3.045 MB / 0.8573 GB, free: 0.7188 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002335/0.9225, allocations: 1.089 MB / 0.8584 GB, free: 15.6 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004965/0.923, allocations: 155.6 kB / 0.8586 GB, free: 15.45 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008397/0.9314, allocations: 2.945 MB / 0.8614 GB, free: 12.41 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=448): time 9.869e-06/0.9314, allocations: 0 / 0.8614 GB, free: 12.41 MB / 0.6388 GB Notification: Performance of matching and sorting (n=448): time 0.01974/0.9512, allocations: 6.738 MB / 0.868 GB, free: 5.625 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005002/0.9517, allocations: 0.8075 MB / 0.8688 GB, free: 4.633 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006403/0.9581, allocations: 3.121 MB / 0.8718 GB, free: 1.523 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0004984/0.9586, allocations: 65.69 kB / 0.8719 GB, free: 1.453 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.001665/0.9602, allocations: 1.523 MB / 0.8734 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001927/0.9621, allocations: 1.491 MB / 0.8748 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002106/0.9643, allocations: 0.8843 MB / 0.8757 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.9644, allocations: 305.1 kB / 0.876 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003141/0.9675, allocations: 1.506 MB / 0.8775 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004316/0.9718, allocations: 2.695 MB / 0.8801 GB, free: 8.512 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1864/1.158, allocations: 25.82 MB / 0.9053 GB, free: 14.64 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.095e-05/1.158, allocations: 12 kB / 0.9053 GB, free: 14.62 MB / 0.6857 GB Notification: Performance of matching and sorting (n=611) (initialization): time 0.01015/1.168, allocations: 5.166 MB / 0.9104 GB, free: 9.41 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001323/1.169, allocations: 152.3 kB / 0.9105 GB, free: 9.238 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006886/1.175, allocations: 3.881 MB / 0.9143 GB, free: 5.309 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003214/1.176, allocations: 100.8 kB / 0.9144 GB, free: 5.207 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003332/1.179, allocations: 1.123 MB / 0.9155 GB, free: 4.082 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/1.181, allocations: 1.422 MB / 0.9169 GB, free: 2.547 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00231/1.183, allocations: 452.5 kB / 0.9173 GB, free: 2.102 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000478/1.183, allocations: 299.9 kB / 0.9176 GB, free: 1.809 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.004233/1.188, allocations: 2.179 MB / 0.9197 GB, free: 15.62 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003794/1.191, allocations: 2.691 MB / 0.9224 GB, free: 12.39 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1797/1.371, allocations: 25.7 MB / 0.9475 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.011e-05/1.371, allocations: 12 kB / 0.9475 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.0104/1.381, allocations: 5.126 MB / 0.9525 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.000126/1.382, allocations: 146.8 kB / 0.9526 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006819/1.388, allocations: 3.841 MB / 0.9564 GB, free: 8.824 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002324/1.389, allocations: 88.83 kB / 0.9565 GB, free: 8.734 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003357/1.392, allocations: 1.126 MB / 0.9576 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001316/1.393, allocations: 1.397 MB / 0.9589 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002426/1.396, allocations: 377.4 kB / 0.9593 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004827/1.396, allocations: 295.7 kB / 0.9596 GB, free: 5.438 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.001267/1.397, allocations: 0.5809 MB / 0.9601 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001131/1.399, allocations: 430.3 kB / 0.9605 GB, free: 4.406 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.009816/1.408, allocations: 5.472 MB / 0.9659 GB, free: 15.07 MB / 0.7482 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.556264978135005] Failed to read output from testmodel.py, exit status != 0: 1.609954773215577 1.942044012 1.089984472 Calling exit ...