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.01374/0.01374, allocations: 1.749 MB / 21.34 MB, free: 0.5898 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.001666/0.001666, allocations: 108.7 kB / 24.94 MB, free: 2.176 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.002414/0.002414, allocations: 208.4 kB / 28.67 MB, free: 3.461 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.529/1.529, allocations: 230.6 MB / 262.8 MB, free: 6.031 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.099/1.099, allocations: 130.7 MB / 450.4 MB, free: 6.586 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.03452/0.03452, allocations: 20.79 MB / 0.637 GB, free: 4.68 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.2128, allocations: 81.91 MB / 0.7169 GB, free: 2.672 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.5452/0.758, allocations: 49.93 MB / 0.7657 GB, free: 17.38 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03079/0.7888, allocations: 20.04 MB / 0.7853 GB, free: 3.117 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005995/0.7948, allocations: 91.38 kB / 0.7854 GB, free: 3.074 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.006531/0.8013, allocations: 1.944 MB / 0.7873 GB, free: 2.195 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.009215/0.8105, allocations: 2.412 MB / 0.7896 GB, free: 0.7891 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.008841/0.8193, allocations: 2.727 MB / 0.7923 GB, free: 15.09 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01247/0.8318, allocations: 5.669 MB / 0.7978 GB, free: 11.78 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004599/0.8364, allocations: 1.521 MB / 0.7993 GB, free: 10.68 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006753/0.8432, allocations: 2.346 MB / 0.8016 GB, free: 9.348 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006417/0.8496, allocations: 2.553 MB / 0.8041 GB, free: 7.758 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.002004/0.8516, allocations: 364 kB / 0.8044 GB, free: 7.758 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008311/0.8599, allocations: 2.571 MB / 0.8069 GB, free: 6.445 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.002655/0.8626, allocations: 1.165 MB / 0.8081 GB, free: 5.453 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.00545/0.868, allocations: 2.116 MB / 0.8101 GB, free: 3.328 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01677/0.8848, allocations: 6.834 MB / 0.8168 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.8848, allocations: 0 / 0.8168 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8848, allocations: 0 / 0.8168 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002412/0.885, allocations: 0 / 0.8168 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.01411/0.8991, allocations: 4.864 MB / 0.8216 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.8992, allocations: 8.031 kB / 0.8216 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00252/0.9017, allocations: 0.577 MB / 0.8221 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009407/0.9111, allocations: 3.6 MB / 0.8257 GB, free: 3.301 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002396/0.9113, allocations: 160.2 kB / 0.8258 GB, free: 3.141 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008384/0.9122, allocations: 196 kB / 0.826 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01467/0.9269, allocations: 4.852 MB / 0.8307 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001257/0.927, allocations: 27.75 kB / 0.8308 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006515/0.9276, allocations: 100 kB / 0.8309 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001268/0.9278, allocations: 77.2 kB / 0.8309 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01168/0.9394, allocations: 3.539 MB / 0.8344 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03262/0.9721, allocations: 21.23 MB / 0.8551 GB, free: 3.848 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0101/0.9822, allocations: 3.054 MB / 0.8581 GB, free: 0.6992 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00274/0.9849, allocations: 1.09 MB / 0.8592 GB, free: 15.57 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006049/0.9855, allocations: 153 kB / 0.8593 GB, free: 15.43 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009354/0.9949, allocations: 2.937 MB / 0.8622 GB, free: 12.4 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=448): time 1.133e-05/0.9949, allocations: 0 / 0.8622 GB, free: 12.4 MB / 0.6388 GB Notification: Performance of matching and sorting (n=448): time 0.02277/1.018, allocations: 6.744 MB / 0.8688 GB, free: 5.613 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006138/1.018, allocations: 0.8036 MB / 0.8695 GB, free: 4.625 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007855/1.026, allocations: 3.125 MB / 0.8726 GB, free: 1.512 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0007512/1.027, allocations: 58.45 kB / 0.8727 GB, free: 1.449 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.002101/1.029, allocations: 1.527 MB / 0.8741 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.002473/1.031, allocations: 1.487 MB / 0.8756 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002951/1.034, allocations: 0.8908 MB / 0.8765 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001636/1.035, allocations: 301.1 kB / 0.8768 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003778/1.038, allocations: 1.507 MB / 0.8782 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005196/1.044, allocations: 2.695 MB / 0.8809 GB, free: 8.496 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1867/1.23, allocations: 25.84 MB / 0.9061 GB, free: 14.62 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.694e-05/1.23, allocations: 8 kB / 0.9061 GB, free: 14.62 MB / 0.6857 GB Notification: Performance of matching and sorting (n=611) (initialization): time 0.01346/1.244, allocations: 5.159 MB / 0.9111 GB, free: 9.41 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 0.000179/1.244, allocations: 151.7 kB / 0.9113 GB, free: 9.238 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008696/1.253, allocations: 3.876 MB / 0.9151 GB, free: 5.312 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004426/1.253, allocations: 104.8 kB / 0.9152 GB, free: 5.207 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003907/1.257, allocations: 1.123 MB / 0.9163 GB, free: 4.082 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001743/1.259, allocations: 1.429 MB / 0.9177 GB, free: 2.543 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003046/1.262, allocations: 452.5 kB / 0.9181 GB, free: 2.098 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008598/1.263, allocations: 295.8 kB / 0.9184 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.005277/1.268, allocations: 2.179 MB / 0.9205 GB, free: 15.62 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004811/1.273, allocations: 2.684 MB / 0.9231 GB, free: 12.39 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1884/1.461, allocations: 25.7 MB / 0.9482 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.471e-05/1.461, allocations: 12 kB / 0.9482 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.01271/1.474, allocations: 5.126 MB / 0.9532 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001411/1.474, allocations: 142.8 kB / 0.9534 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008329/1.482, allocations: 3.839 MB / 0.9571 GB, free: 8.828 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000319/1.483, allocations: 92.83 kB / 0.9572 GB, free: 8.734 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003921/1.487, allocations: 1.123 MB / 0.9583 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001535/1.488, allocations: 1.399 MB / 0.9597 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002857/1.491, allocations: 373.4 kB / 0.96 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007751/1.492, allocations: 302.5 kB / 0.9603 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.001655/1.493, allocations: 0.5812 MB / 0.9609 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00166/1.495, allocations: 425 kB / 0.9613 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.01149/1.507, allocations: 5.473 MB / 0.9666 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: 6.023941311985254] Failed to read output from testmodel.py, exit status != 0: 1.7132736439816654 2.0982192 1.209983066 Calling exit ...