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.01499/0.01499, allocations: 1.34 MB / 21.02 MB, free: 0.6094 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.001641/0.001641, allocations: 89.39 kB / 24.58 MB, free: 1.879 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.002193/0.002193, allocations: 164.4 kB / 28.25 MB, free: 3.145 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.391/1.391, allocations: 177.2 MB / 209 MB, free: 7.621 MB / 190.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 0.9913/0.9913, allocations: 102.5 MB / 368.4 MB, free: 4.148 MB / 334.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.06742/0.06742, allocations: 20.95 MB / 0.5569 GB, free: 4.934 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.2114, allocations: 81.88 MB / 0.6369 GB, free: 2.91 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.1416/0.353, allocations: 40.48 MB / 0.6764 GB, free: 10.47 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.3195/0.6725, allocations: 19.15 MB / 0.6951 GB, free: 17.96 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002955/0.6754, allocations: 90.16 kB / 0.6952 GB, free: 17.96 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.004737/0.6802, allocations: 1.856 MB / 0.697 GB, free: 17.73 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.007089/0.6873, allocations: 2.418 MB / 0.6994 GB, free: 17.05 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.00714/0.6944, allocations: 2.724 MB / 0.702 GB, free: 16.23 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.009032/0.7034, allocations: 5.665 MB / 0.7075 GB, free: 13.78 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002895/0.7063, allocations: 1.643 MB / 0.7091 GB, free: 13.02 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004169/0.7105, allocations: 2.351 MB / 0.7114 GB, free: 12.06 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004384/0.7149, allocations: 2.396 MB / 0.7138 GB, free: 11.23 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.0007787/0.7157, allocations: 364.6 kB / 0.7141 GB, free: 11.23 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00472/0.7204, allocations: 1.936 MB / 0.716 GB, free: 10.84 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.000987/0.7214, allocations: 1.174 MB / 0.7172 GB, free: 10.05 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.002084/0.7235, allocations: 1.612 MB / 0.7187 GB, free: 9.016 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.008594/0.7321, allocations: 6.725 MB / 0.7253 GB, free: 4.875 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.7321, allocations: 3.938 kB / 0.7253 GB, free: 4.871 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.114e-06/0.7321, allocations: 3.719 kB / 0.7253 GB, free: 4.871 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0001047/0.7322, allocations: 0 / 0.7253 GB, free: 4.871 MB / 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.007408/0.7396, allocations: 4.85 MB / 0.7301 GB, free: 1.379 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.7396, allocations: 9.531 kB / 0.7301 GB, free: 1.379 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001574/0.7412, allocations: 0.5804 MB / 0.7306 GB, free: 1.059 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006485/0.7477, allocations: 3.605 MB / 0.7342 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001439/0.7478, allocations: 156.2 kB / 0.7343 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002936/0.7481, allocations: 204 kB / 0.7345 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01112/0.7592, allocations: 5.535 MB / 0.7399 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.156e-05/0.7593, allocations: 26.81 kB / 0.7399 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002141/0.7595, allocations: 103.6 kB / 0.74 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.554e-05/0.7596, allocations: 68.97 kB / 0.7401 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009203/0.7688, allocations: 3.639 MB / 0.7436 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02128/0.7901, allocations: 19.9 MB / 0.7631 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008913/0.799, allocations: 3.161 MB / 0.7662 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002221/0.8012, allocations: 1.207 MB / 0.7673 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004287/0.8016, allocations: 135.8 kB / 0.7675 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008174/0.8098, allocations: 3.08 MB / 0.7705 GB, free: 14.1 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=448): time 6.402e-06/0.8098, allocations: 0 / 0.7705 GB, free: 14.1 MB / 0.6232 GB Notification: Performance of matching and sorting (n=448): time 0.01951/0.8293, allocations: 6.995 MB / 0.7773 GB, free: 7.016 MB / 0.6232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004456/0.8298, allocations: 0.7972 MB / 0.7781 GB, free: 6.031 MB / 0.6232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005329/0.8351, allocations: 3.127 MB / 0.7811 GB, free: 2.91 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.000292/0.8354, allocations: 53.7 kB / 0.7812 GB, free: 2.852 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001453/0.8368, allocations: 1.546 MB / 0.7827 GB, free: 1.305 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.001476/0.8383, allocations: 1.483 MB / 0.7842 GB, free: 15.84 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00152/0.8398, allocations: 0.892 MB / 0.785 GB, free: 14.94 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.84, allocations: 301.1 kB / 0.7853 GB, free: 14.64 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002888/0.8428, allocations: 1.633 MB / 0.7869 GB, free: 12.98 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004102/0.8469, allocations: 3.012 MB / 0.7899 GB, free: 9.359 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1919/1.039, allocations: 25.85 MB / 0.8151 GB, free: 15.7 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.154e-05/1.039, allocations: 12 kB / 0.8151 GB, free: 15.69 MB / 0.67 GB Notification: Performance of matching and sorting (n=611) (initialization): time 0.01132/1.05, allocations: 5.31 MB / 0.8203 GB, free: 10.3 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001361/1.05, allocations: 150.8 kB / 0.8204 GB, free: 10.13 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007478/1.058, allocations: 4.033 MB / 0.8244 GB, free: 6.031 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003461/1.058, allocations: 109.3 kB / 0.8245 GB, free: 5.922 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003512/1.062, allocations: 1.127 MB / 0.8256 GB, free: 4.793 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001488/1.063, allocations: 1.384 MB / 0.8269 GB, free: 3.309 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002779/1.066, allocations: 444.6 kB / 0.8274 GB, free: 2.871 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005852/1.067, allocations: 307.9 kB / 0.8276 GB, free: 2.57 MB / 0.67 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.004512/1.071, allocations: 2.312 MB / 0.8299 GB, free: 240 kB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004132/1.075, allocations: 2.988 MB / 0.8328 GB, free: 12.64 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.194/1.269, allocations: 25.73 MB / 0.858 GB, free: 2.34 MB / 0.7013 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.883e-05/1.269, allocations: 8 kB / 0.858 GB, free: 2.332 MB / 0.7013 GB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.0117/1.281, allocations: 5.273 MB / 0.8631 GB, free: 12.99 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001345/1.281, allocations: 146.8 kB / 0.8632 GB, free: 12.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007777/1.289, allocations: 4.001 MB / 0.8672 GB, free: 8.754 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002607/1.289, allocations: 92.78 kB / 0.8672 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003626/1.293, allocations: 1.123 MB / 0.8683 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00135/1.294, allocations: 1.368 MB / 0.8697 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002966/1.297, allocations: 385.3 kB / 0.87 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006782/1.298, allocations: 295.8 kB / 0.8703 GB, free: 5.402 MB / 0.7169 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.001358/1.299, allocations: 0.584 MB / 0.8709 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001525/1.301, allocations: 421.1 kB / 0.8713 GB, free: 4.375 MB / 0.7169 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.0106/1.311, allocations: 5.479 MB / 0.8766 GB, free: 15.03 MB / 0.7325 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.893878400907852] Failed to read output from testmodel.py, exit status != 0: 1.4836340270703658 1.4988428790000001 0.7636369319999999 Calling exit ...