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.01583/0.01583, allocations: 1.758 MB / 20.59 MB, free: 1.277 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.001366/0.001366, allocations: 113.7 kB / 24.19 MB, free: 2.652 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.001723/0.001723, allocations: 211.8 kB / 27.92 MB, free: 4.004 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.535/1.535, 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 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.096/1.096, allocations: 130.7 MB / 449.7 MB, free: 6.574 MB / 350.1 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.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_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: 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.03407/0.03407, allocations: 20.79 MB / 0.6362 GB, free: 4.684 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.2078, allocations: 81.9 MB / 0.7162 GB, free: 2.676 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.4749/0.6827, allocations: 49.93 MB / 0.765 GB, free: 17.39 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02646/0.7092, allocations: 20.05 MB / 0.7846 GB, free: 3.121 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004361/0.7135, allocations: 93.59 kB / 0.7846 GB, free: 3.078 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.005536/0.7191, allocations: 1.941 MB / 0.7865 GB, free: 2.195 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.007583/0.7267, allocations: 2.407 MB / 0.7889 GB, free: 0.793 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.00703/0.7337, allocations: 2.729 MB / 0.7916 GB, free: 15.09 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.009816/0.7435, allocations: 5.661 MB / 0.7971 GB, free: 11.77 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003229/0.7467, allocations: 1.522 MB / 0.7986 GB, free: 10.68 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004936/0.7517, allocations: 2.341 MB / 0.8009 GB, free: 9.344 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005658/0.7573, allocations: 2.557 MB / 0.8033 GB, free: 7.75 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.001288/0.7586, allocations: 363.9 kB / 0.8037 GB, free: 7.75 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00654/0.7652, allocations: 2.565 MB / 0.8062 GB, free: 6.441 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.001927/0.7671, allocations: 1.174 MB / 0.8073 GB, free: 5.449 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.004146/0.7712, allocations: 2.109 MB / 0.8094 GB, free: 3.328 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01366/0.7849, allocations: 6.834 MB / 0.8161 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.7849, allocations: 0 / 0.8161 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7849, allocations: 0 / 0.8161 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.000211/0.7851, allocations: 0 / 0.8161 GB, free: 12.47 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.01031/0.7954, allocations: 4.86 MB / 0.8208 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.7955, allocations: 8.031 kB / 0.8208 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001689/0.7971, allocations: 0.5756 MB / 0.8214 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007039/0.8042, allocations: 3.605 MB / 0.8249 GB, free: 3.301 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001513/0.8043, allocations: 156.2 kB / 0.8251 GB, free: 3.145 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003212/0.8047, allocations: 204 kB / 0.8253 GB, free: 2.945 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01142/0.8161, allocations: 4.859 MB / 0.83 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.391e-05/0.8161, allocations: 19.81 kB / 0.83 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002272/0.8164, allocations: 103.9 kB / 0.8301 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.813e-05/0.8165, allocations: 78.61 kB / 0.8302 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01003/0.8265, allocations: 3.524 MB / 0.8336 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0237/0.8502, allocations: 21.24 MB / 0.8544 GB, free: 3.84 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008825/0.859, allocations: 3.043 MB / 0.8574 GB, free: 0.6992 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002085/0.8611, allocations: 1.104 MB / 0.8584 GB, free: 15.56 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004204/0.8615, allocations: 147.6 kB / 0.8586 GB, free: 15.43 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007947/0.8695, allocations: 2.945 MB / 0.8615 GB, free: 12.39 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=448): time 4.86e-06/0.8695, allocations: 0 / 0.8615 GB, free: 12.39 MB / 0.6388 GB Notification: Performance of matching and sorting (n=448): time 0.01943/0.8889, allocations: 6.738 MB / 0.868 GB, free: 5.609 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005063/0.8894, allocations: 0.8018 MB / 0.8688 GB, free: 4.625 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005148/0.8946, allocations: 3.129 MB / 0.8719 GB, free: 1.508 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0005739/0.8951, allocations: 53.7 kB / 0.8719 GB, free: 1.449 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.001519/0.8966, allocations: 1.531 MB / 0.8734 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001784/0.8984, allocations: 1.489 MB / 0.8749 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001405/0.8998, allocations: 0.8843 MB / 0.8757 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.9, allocations: 305.1 kB / 0.876 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002861/0.9028, allocations: 1.499 MB / 0.8775 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003956/0.9068, allocations: 2.708 MB / 0.8801 GB, free: 8.488 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1941/1.101, allocations: 25.82 MB / 0.9053 GB, free: 14.62 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.682e-05/1.101, allocations: 12 kB / 0.9054 GB, free: 14.61 MB / 0.6857 GB Notification: Performance of matching and sorting (n=611) (initialization): time 0.01127/1.112, allocations: 5.164 MB / 0.9104 GB, free: 9.395 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001474/1.112, allocations: 152.3 kB / 0.9105 GB, free: 9.223 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007564/1.12, allocations: 3.872 MB / 0.9143 GB, free: 5.301 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003997/1.12, allocations: 108.8 kB / 0.9144 GB, free: 5.191 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003799/1.124, allocations: 1.127 MB / 0.9155 GB, free: 4.062 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001673/1.126, allocations: 1.418 MB / 0.9169 GB, free: 2.531 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003509/1.129, allocations: 452.5 kB / 0.9173 GB, free: 2.086 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007126/1.13, allocations: 295.8 kB / 0.9176 GB, free: 1.797 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.005427/1.135, allocations: 2.188 MB / 0.9198 GB, free: 15.61 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004242/1.14, allocations: 2.684 MB / 0.9224 GB, free: 12.38 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1933/1.333, allocations: 25.71 MB / 0.9475 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.541e-05/1.333, allocations: 8 kB / 0.9475 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.01097/1.344, allocations: 5.122 MB / 0.9525 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001389/1.344, allocations: 151.7 kB / 0.9526 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007335/1.351, allocations: 3.837 MB / 0.9564 GB, free: 8.812 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002753/1.352, allocations: 92.83 kB / 0.9565 GB, free: 8.719 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003624/1.355, allocations: 1.119 MB / 0.9576 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001457/1.357, allocations: 1.408 MB / 0.9589 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002906/1.36, allocations: 377.6 kB / 0.9593 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006334/1.36, allocations: 299.7 kB / 0.9596 GB, free: 5.418 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.001406/1.362, allocations: 0.5724 MB / 0.9602 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001327/1.363, allocations: 429 kB / 0.9606 GB, free: 4.391 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.0104/1.373, allocations: 5.471 MB / 0.9659 GB, free: 15.05 MB / 0.7482 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.695767936995253] Failed to read output from testmodel.py, exit status != 0: 1.557517854962498 1.870902395 1.082867653 Calling exit ...