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.01535/0.01535, allocations: 1.768 MB / 18.12 MB, free: 4.906 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.001439/0.001439, allocations: 103.7 kB / 21.36 MB, free: 1.684 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.001892/0.001892, allocations: 214.4 kB / 24.74 MB, free: 3.691 MB / 14.72 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.559/1.559, allocations: 230.6 MB / 258.5 MB, free: 13.1 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.157/1.157, allocations: 130.5 MB / 445.5 MB, free: 15.04 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: Automatically loaded package TILMedia 1.9.0 ClaRa due to uses annotation from ClaRa. 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. 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.443/0.443, allocations: 46.15 MB / 0.6549 GB, free: 31.01 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.6272, allocations: 89.05 MB / 0.7419 GB, free: 2.434 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.MechanicalSeparation.Check.TestSeparator_L1): time 0.02444/0.6517, allocations: 16.94 MB / 0.7584 GB, free: 1.43 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.0383/0.69, allocations: 19.77 MB / 0.7777 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004604/0.6946, allocations: 95.31 kB / 0.7778 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.006229/0.7008, allocations: 1.912 MB / 0.7797 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008708/0.7095, allocations: 2.37 MB / 0.782 GB, free: 9.195 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00798/0.7175, allocations: 2.669 MB / 0.7846 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01092/0.7284, allocations: 5.673 MB / 0.7902 GB, free: 0.832 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003798/0.7322, allocations: 1.558 MB / 0.7917 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005379/0.7376, allocations: 2.335 MB / 0.794 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005521/0.7431, allocations: 2.549 MB / 0.7965 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001226/0.7443, allocations: 364 kB / 0.7968 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00612/0.7505, allocations: 2.433 MB / 0.7992 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001675/0.7521, allocations: 1.171 MB / 0.8003 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00401/0.7561, allocations: 2.109 MB / 0.8024 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01392/0.7701, allocations: 6.795 MB / 0.809 GB, free: 13.42 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.7701, allocations: 4 kB / 0.809 GB, free: 13.42 MB / 0.6232 GB Notification: Performance of FrontEnd: time 2.525e-06/0.7701, allocations: 0 / 0.809 GB, free: 13.42 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0001294/0.7702, allocations: 4 kB / 0.809 GB, free: 13.41 MB / 0.6232 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.009451/0.7796, allocations: 4.929 MB / 0.8138 GB, free: 8.375 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.7797, allocations: 9.219 kB / 0.8138 GB, free: 8.367 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001783/0.7815, allocations: 0.5757 MB / 0.8144 GB, free: 7.789 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007086/0.7886, allocations: 3.766 MB / 0.8181 GB, free: 3.965 MB / 0.6232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/0.7887, allocations: 160.2 kB / 0.8182 GB, free: 3.805 MB / 0.6232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003197/0.789, allocations: 196 kB / 0.8184 GB, free: 3.613 MB / 0.6232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01154/0.8006, allocations: 4.856 MB / 0.8232 GB, free: 14.13 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.357e-05/0.8006, allocations: 23.75 kB / 0.8232 GB, free: 14.11 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002345/0.8009, allocations: 100 kB / 0.8233 GB, free: 14.01 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.862e-05/0.8009, allocations: 75.98 kB / 0.8234 GB, free: 13.93 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01002/0.811, allocations: 3.539 MB / 0.8268 GB, free: 10.38 MB / 0.6388 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02662/0.8376, allocations: 21.32 MB / 0.8476 GB, free: 4.277 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009557/0.8471, allocations: 3.194 MB / 0.8508 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002347/0.8495, allocations: 1.08 MB / 0.8518 GB, free: 15.79 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005055/0.85, allocations: 230 kB / 0.852 GB, free: 15.55 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008207/0.8582, allocations: 2.941 MB / 0.8549 GB, free: 12.5 MB / 0.67 GB Notification: Performance of pre-optimization done (n=448): time 8.446e-06/0.8582, allocations: 3.984 kB / 0.8549 GB, free: 12.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=448): time 0.0207/0.8789, allocations: 6.825 MB / 0.8616 GB, free: 5.609 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005584/0.8795, allocations: 0.801 MB / 0.8624 GB, free: 4.625 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005509/0.885, allocations: 3.122 MB / 0.8654 GB, free: 1.516 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.000641/0.8856, allocations: 53.7 kB / 0.8655 GB, free: 1.457 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.4574/1.343, allocations: 1.529 MB / 0.8669 GB, free: 117.7 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002847/1.346, allocations: 1.488 MB / 0.8684 GB, free: 117.3 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002199/1.348, allocations: 0.8882 MB / 0.8693 GB, free: 117.2 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 7.894e-05/1.348, allocations: 301.1 kB / 0.8696 GB, free: 116.9 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003136/1.351, allocations: 1.507 MB / 0.871 GB, free: 116.9 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00408/1.355, allocations: 2.699 MB / 0.8737 GB, free: 115.4 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1835/1.539, allocations: 25.81 MB / 0.8989 GB, free: 108.3 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000109/1.539, allocations: 11.38 kB / 0.8989 GB, free: 108.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=611) (initialization): time 0.01584/1.555, allocations: 5.157 MB / 0.9039 GB, free: 105.8 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001908/1.555, allocations: 156.3 kB / 0.9041 GB, free: 105.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009828/1.565, allocations: 3.873 MB / 0.9078 GB, free: 103.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005328/1.565, allocations: 104.1 kB / 0.9079 GB, free: 103.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004133/1.57, allocations: 1.124 MB / 0.909 GB, free: 103.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001485/1.571, allocations: 1.521 MB / 0.9105 GB, free: 102.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004038/1.575, allocations: 458 kB / 0.911 GB, free: 101.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001092/1.576, allocations: 296.4 kB / 0.9112 GB, free: 101.8 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.005723/1.582, allocations: 2.185 MB / 0.9134 GB, free: 100.6 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00419/1.586, allocations: 2.684 MB / 0.916 GB, free: 98.18 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1749/1.761, allocations: 25.71 MB / 0.9411 GB, free: 75.4 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.124e-05/1.761, allocations: 12 kB / 0.9411 GB, free: 75.39 MB / 0.67 GB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.01116/1.772, allocations: 5.122 MB / 0.9461 GB, free: 70.44 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001096/1.772, allocations: 150.8 kB / 0.9463 GB, free: 70.27 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006642/1.779, allocations: 3.841 MB / 0.95 GB, free: 66.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002566/1.779, allocations: 92.84 kB / 0.9501 GB, free: 66.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003273/1.782, allocations: 1.119 MB / 0.9512 GB, free: 65.25 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001078/1.783, allocations: 1.504 MB / 0.9527 GB, free: 63.64 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002983/1.786, allocations: 380.1 kB / 0.953 GB, free: 63.35 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007297/1.787, allocations: 295.8 kB / 0.9533 GB, free: 63.06 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: 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.001584/1.789, allocations: 0.5812 MB / 0.9539 GB, free: 62.55 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00157/1.79, allocations: 425 kB / 0.9543 GB, free: 62.13 MB / 0.67 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.009114/1.799, allocations: 5.475 MB / 0.9596 GB, free: 57.04 MB / 0.67 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.602820432992303] Failed to read output from testmodel.py, exit status != 0: 1.8086540560034337 1.816940431 1.04449683 Calling exit ...