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.01001/0.01001, allocations: 1.756 MB / 21.38 MB, free: 0.582 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.001206/0.001206, allocations: 104.8 kB / 24.98 MB, free: 2.184 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.001482/0.001482, allocations: 206 kB / 28.71 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.399/1.399, allocations: 230.6 MB / 262.9 MB, free: 6.203 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.05/1.05, allocations: 130.7 MB / 450.4 MB, free: 6.555 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.02996/0.02996, allocations: 20.6 MB / 0.6368 GB, free: 4.824 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1873, allocations: 81.91 MB / 0.7168 GB, free: 2.836 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.4644/0.6517, allocations: 49.92 MB / 0.7655 GB, free: 17.46 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02611/0.6778, allocations: 20.05 MB / 0.7851 GB, free: 3.195 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004104/0.6819, allocations: 91.66 kB / 0.7852 GB, free: 3.152 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.004414/0.6863, allocations: 1.944 MB / 0.7871 GB, free: 2.27 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.006027/0.6923, allocations: 2.418 MB / 0.7895 GB, free: 0.8594 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.006211/0.6985, allocations: 2.717 MB / 0.7921 GB, free: 15.2 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.008914/0.7075, allocations: 5.667 MB / 0.7976 GB, free: 11.88 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002691/0.7101, allocations: 1.515 MB / 0.7991 GB, free: 10.79 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004183/0.7143, allocations: 2.344 MB / 0.8014 GB, free: 9.457 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004568/0.7189, allocations: 2.562 MB / 0.8039 GB, free: 7.859 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.0006437/0.7195, allocations: 364.3 kB / 0.8043 GB, free: 7.859 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005567/0.7251, allocations: 2.578 MB / 0.8068 GB, free: 6.547 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.001219/0.7263, allocations: 1.166 MB / 0.8079 GB, free: 5.594 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.002558/0.7289, allocations: 2.109 MB / 0.81 GB, free: 3.473 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0105/0.7394, allocations: 6.838 MB / 0.8167 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.7394, allocations: 0 / 0.8167 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.654e-06/0.7394, allocations: 0 / 0.8167 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.631e-05/0.7395, allocations: 0 / 0.8167 GB, free: 12.61 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.008111/0.7476, allocations: 4.849 MB / 0.8214 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.7476, allocations: 15.97 kB / 0.8214 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001546/0.7492, allocations: 0.5756 MB / 0.822 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006234/0.7554, allocations: 3.605 MB / 0.8255 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/0.7556, allocations: 160.2 kB / 0.8256 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002957/0.7559, allocations: 198.7 kB / 0.8258 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01081/0.7667, allocations: 4.849 MB / 0.8306 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.29e-05/0.7667, allocations: 27.75 kB / 0.8306 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002177/0.7669, allocations: 100 kB / 0.8307 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.063e-05/0.767, allocations: 74.61 kB / 0.8308 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009387/0.7764, allocations: 3.543 MB / 0.8342 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02182/0.7982, allocations: 21.23 MB / 0.855 GB, free: 3.992 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00851/0.8067, allocations: 3.046 MB / 0.8579 GB, free: 0.8516 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001954/0.8087, allocations: 1.097 MB / 0.859 GB, free: 15.72 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004194/0.8091, allocations: 147.6 kB / 0.8591 GB, free: 15.58 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007949/0.8171, allocations: 2.948 MB / 0.862 GB, free: 12.54 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=448): time 7.634e-06/0.8171, allocations: 0 / 0.862 GB, free: 12.54 MB / 0.6388 GB Notification: Performance of matching and sorting (n=448): time 0.01882/0.8359, allocations: 6.742 MB / 0.8686 GB, free: 5.758 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004836/0.8364, allocations: 0.7998 MB / 0.8694 GB, free: 4.773 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005961/0.8423, allocations: 3.117 MB / 0.8724 GB, free: 1.668 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0003456/0.8427, allocations: 61.69 kB / 0.8725 GB, free: 1.602 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.001591/0.8443, allocations: 1.535 MB / 0.874 GB, free: 60 kB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.001633/0.8459, allocations: 1.491 MB / 0.8754 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001762/0.8477, allocations: 0.8882 MB / 0.8763 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.8478, allocations: 301.1 kB / 0.8766 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002965/0.8508, allocations: 1.513 MB / 0.8781 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004025/0.8548, allocations: 2.692 MB / 0.8807 GB, free: 8.637 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1798/1.035, allocations: 25.82 MB / 0.9059 GB, free: 14.77 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.909e-05/1.035, allocations: 8 kB / 0.9059 GB, free: 14.76 MB / 0.6857 GB Notification: Performance of matching and sorting (n=611) (initialization): time 0.01237/1.047, allocations: 5.165 MB / 0.911 GB, free: 9.543 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001523/1.047, allocations: 150.5 kB / 0.9111 GB, free: 9.375 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008074/1.055, allocations: 3.879 MB / 0.9149 GB, free: 5.449 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003705/1.056, allocations: 104.8 kB / 0.915 GB, free: 5.344 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003738/1.059, allocations: 1.123 MB / 0.9161 GB, free: 4.219 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001623/1.061, allocations: 1.419 MB / 0.9175 GB, free: 2.684 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002846/1.064, allocations: 452.8 kB / 0.9179 GB, free: 2.238 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007711/1.065, allocations: 299.8 kB / 0.9182 GB, free: 1.945 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.005118/1.07, allocations: 2.188 MB / 0.9203 GB, free: 15.76 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004413/1.074, allocations: 2.684 MB / 0.923 GB, free: 12.53 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1776/1.252, allocations: 25.7 MB / 0.9481 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.379e-05/1.252, allocations: 12 kB / 0.9481 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.01319/1.265, allocations: 5.122 MB / 0.9531 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001613/1.265, allocations: 142.8 kB / 0.9532 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008343/1.273, allocations: 3.845 MB / 0.957 GB, free: 8.961 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003073/1.274, allocations: 92.83 kB / 0.9571 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003802/1.278, allocations: 1.119 MB / 0.9581 GB, free: 7.746 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001481/1.279, allocations: 1.404 MB / 0.9595 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002968/1.282, allocations: 377.4 kB / 0.9599 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008116/1.283, allocations: 295.8 kB / 0.9602 GB, free: 5.566 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.001729/1.285, allocations: 0.5833 MB / 0.9607 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001661/1.286, allocations: 431.6 kB / 0.9611 GB, free: 4.535 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.01164/1.298, allocations: 5.454 MB / 0.9665 GB, free: 15.21 MB / 0.7482 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.3310790149262175] Failed to read output from testmodel.py, exit status != 0: 1.4920502429595217 1.809571274 1.06724276 Calling exit ...