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.01083/0.01083, allocations: 1.773 MB / 18.82 MB, free: 4.246 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.001156/0.001156, allocations: 111.6 kB / 22.07 MB, free: 0.9922 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.001502/0.001502, allocations: 210.7 kB / 25.45 MB, free: 3.25 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.439/1.439, allocations: 230.6 MB / 259.2 MB, free: 13.13 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.08/1.08, allocations: 130.5 MB / 446.3 MB, free: 14.97 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.3924/0.3924, allocations: 46.16 MB / 0.6556 GB, free: 30.6 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.5696, allocations: 89.04 MB / 0.7426 GB, free: 2.504 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.MechanicalSeparation.Check.TestSeparator_L1): time 0.01881/0.5884, allocations: 16.95 MB / 0.7591 GB, free: 1.496 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03065/0.6191, allocations: 19.77 MB / 0.7784 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003829/0.6229, allocations: 87.31 kB / 0.7785 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.005065/0.628, allocations: 1.916 MB / 0.7804 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006664/0.6346, allocations: 2.37 MB / 0.7827 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006409/0.641, allocations: 2.677 MB / 0.7853 GB, free: 6.59 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.008414/0.6495, allocations: 5.667 MB / 0.7909 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002602/0.6521, allocations: 1.558 MB / 0.7924 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003679/0.6557, allocations: 2.339 MB / 0.7947 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00393/0.6597, allocations: 2.544 MB / 0.7971 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0006729/0.6603, allocations: 360 kB / 0.7975 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004957/0.6653, allocations: 2.441 MB / 0.7999 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001193/0.6665, allocations: 1.167 MB / 0.801 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002326/0.6688, allocations: 2.105 MB / 0.8031 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01036/0.6792, allocations: 6.795 MB / 0.8097 GB, free: 13.5 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.6792, allocations: 0 / 0.8097 GB, free: 13.5 MB / 0.6232 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6792, allocations: 0 / 0.8097 GB, free: 13.5 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 9.952e-05/0.6793, allocations: 3.938 kB / 0.8097 GB, free: 13.49 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.008048/0.6873, allocations: 4.933 MB / 0.8145 GB, free: 8.449 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.6874, allocations: 17.2 kB / 0.8145 GB, free: 8.434 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001565/0.6889, allocations: 0.5718 MB / 0.8151 GB, free: 7.859 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006136/0.6951, allocations: 3.759 MB / 0.8188 GB, free: 4.043 MB / 0.6232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/0.6952, allocations: 164.1 kB / 0.8189 GB, free: 3.879 MB / 0.6232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000288/0.6955, allocations: 200 kB / 0.8191 GB, free: 3.684 MB / 0.6232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01043/0.7059, allocations: 4.851 MB / 0.8239 GB, free: 14.21 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.637e-05/0.706, allocations: 27.75 kB / 0.8239 GB, free: 14.18 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000219/0.7062, allocations: 108 kB / 0.824 GB, free: 14.07 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.389e-05/0.7063, allocations: 76 kB / 0.8241 GB, free: 14 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009067/0.7153, allocations: 3.531 MB / 0.8275 GB, free: 10.46 MB / 0.6388 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02022/0.7356, allocations: 21.32 MB / 0.8483 GB, free: 4.348 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008316/0.7439, allocations: 3.198 MB / 0.8515 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00183/0.7457, allocations: 1.084 MB / 0.8525 GB, free: 15.86 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004354/0.7461, allocations: 222.2 kB / 0.8527 GB, free: 15.62 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007418/0.7536, allocations: 2.948 MB / 0.8556 GB, free: 12.57 MB / 0.67 GB Notification: Performance of pre-optimization done (n=448): time 4.899e-06/0.7536, allocations: 0 / 0.8556 GB, free: 12.57 MB / 0.67 GB Notification: Performance of matching and sorting (n=448): time 0.01823/0.7718, allocations: 6.813 MB / 0.8623 GB, free: 5.688 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004605/0.7723, allocations: 0.8056 MB / 0.863 GB, free: 4.699 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004796/0.7771, allocations: 3.125 MB / 0.8661 GB, free: 1.586 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0003131/0.7774, allocations: 57.7 kB / 0.8661 GB, free: 1.523 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.3631/1.14, allocations: 1.519 MB / 0.8676 GB, free: 118.5 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001825/1.142, allocations: 1.488 MB / 0.8691 GB, free: 118.2 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001434/1.144, allocations: 0.8887 MB / 0.87 GB, free: 118.1 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 4.625e-05/1.144, allocations: 303.5 kB / 0.8702 GB, free: 117.8 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00235/1.146, allocations: 1.504 MB / 0.8717 GB, free: 117.7 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002821/1.149, allocations: 2.702 MB / 0.8744 GB, free: 116.3 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1744/1.323, allocations: 25.81 MB / 0.8996 GB, free: 109.4 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-05/1.323, allocations: 10.84 kB / 0.8996 GB, free: 109.4 MB / 0.67 GB Notification: Performance of matching and sorting (n=611) (initialization): time 0.01035/1.334, allocations: 5.154 MB / 0.9046 GB, free: 106.9 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001033/1.334, allocations: 156.3 kB / 0.9048 GB, free: 106.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006365/1.34, allocations: 3.873 MB / 0.9085 GB, free: 104.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003541/1.341, allocations: 106.1 kB / 0.9086 GB, free: 104.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00297/1.344, allocations: 1.129 MB / 0.9097 GB, free: 104.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001014/1.345, allocations: 1.517 MB / 0.9112 GB, free: 103.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002461/1.347, allocations: 462.9 kB / 0.9117 GB, free: 102.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004055/1.347, allocations: 291.6 kB / 0.9119 GB, free: 102.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.003472/1.351, allocations: 2.18 MB / 0.9141 GB, free: 101.6 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00259/1.353, allocations: 2.686 MB / 0.9167 GB, free: 99.22 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1655/1.519, allocations: 25.71 MB / 0.9418 GB, free: 76.57 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.636e-05/1.519, allocations: 12 kB / 0.9418 GB, free: 76.56 MB / 0.67 GB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.008391/1.527, allocations: 5.121 MB / 0.9468 GB, free: 71.61 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.085e-05/1.527, allocations: 150.3 kB / 0.947 GB, free: 71.45 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005177/1.533, allocations: 3.847 MB / 0.9507 GB, free: 67.57 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001971/1.533, allocations: 88.84 kB / 0.9508 GB, free: 67.48 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002808/1.536, allocations: 1.125 MB / 0.9519 GB, free: 66.43 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008418/1.536, allocations: 1.502 MB / 0.9534 GB, free: 64.81 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002314/1.539, allocations: 373.4 kB / 0.9537 GB, free: 64.45 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003723/1.539, allocations: 295.8 kB / 0.954 GB, free: 64.16 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.001197/1.54, allocations: 0.5845 MB / 0.9546 GB, free: 63.61 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009348/1.541, allocations: 425 kB / 0.955 GB, free: 63.2 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.007318/1.549, allocations: 5.477 MB / 0.9603 GB, free: 58.06 MB / 0.67 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.199231642996892] Failed to read output from testmodel.py, exit status != 0: 1.5565928329597227 1.5637202940000001 0.882404471 Calling exit ...