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.01357/0.01357, allocations: 1.761 MB / 20.59 MB, free: 1.285 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.001536/0.001536, allocations: 109.7 kB / 24.19 MB, free: 2.688 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.002021/0.002021, allocations: 210.7 kB / 27.92 MB, free: 4.027 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.59/1.59, allocations: 230.6 MB / 262.1 MB, free: 6 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.116/1.116, allocations: 130.7 MB / 449.6 MB, free: 6.566 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.03366/0.03366, allocations: 20.79 MB / 0.6362 GB, free: 4.664 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.199, allocations: 81.9 MB / 0.7162 GB, free: 2.664 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.5149/0.7139, allocations: 49.93 MB / 0.7649 GB, free: 17.39 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02838/0.7423, allocations: 20.05 MB / 0.7845 GB, free: 3.121 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004462/0.7468, allocations: 90.66 kB / 0.7846 GB, free: 3.078 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.005334/0.7521, allocations: 1.944 MB / 0.7865 GB, free: 2.195 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.007505/0.7596, allocations: 2.406 MB / 0.7889 GB, free: 0.793 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.007322/0.7669, allocations: 2.732 MB / 0.7915 GB, free: 15.09 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01219/0.7791, allocations: 5.664 MB / 0.7971 GB, free: 11.77 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003838/0.7829, allocations: 1.518 MB / 0.7985 GB, free: 10.68 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005581/0.7885, allocations: 2.346 MB / 0.8008 GB, free: 9.34 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005563/0.7941, allocations: 2.546 MB / 0.8033 GB, free: 7.754 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.001845/0.7959, allocations: 365.8 kB / 0.8037 GB, free: 7.754 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007262/0.8032, allocations: 2.576 MB / 0.8062 GB, free: 6.445 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.001959/0.8052, allocations: 1.176 MB / 0.8073 GB, free: 5.418 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.003597/0.8088, allocations: 2.108 MB / 0.8094 GB, free: 3.301 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01236/0.8211, allocations: 6.834 MB / 0.8161 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.8211, allocations: 0 / 0.8161 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8211, allocations: 4 kB / 0.8161 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001328/0.8213, allocations: 0 / 0.8161 GB, free: 12.43 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.008441/0.8297, allocations: 4.854 MB / 0.8208 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.8297, allocations: 12.03 kB / 0.8208 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00155/0.8313, allocations: 0.5717 MB / 0.8214 GB, free: 6.926 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006907/0.8382, allocations: 3.615 MB / 0.8249 GB, free: 3.266 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001464/0.8383, allocations: 156.2 kB / 0.8251 GB, free: 3.109 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002986/0.8386, allocations: 196 kB / 0.8252 GB, free: 2.918 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01072/0.8494, allocations: 4.855 MB / 0.83 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.959e-05/0.8494, allocations: 27.75 kB / 0.83 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002271/0.8496, allocations: 104 kB / 0.8301 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.175e-05/0.8497, allocations: 68 kB / 0.8302 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009253/0.859, allocations: 3.539 MB / 0.8336 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02201/0.881, allocations: 21.24 MB / 0.8544 GB, free: 3.812 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008682/0.8897, allocations: 3.043 MB / 0.8573 GB, free: 0.6719 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002292/0.892, allocations: 1.093 MB / 0.8584 GB, free: 15.55 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005202/0.8925, allocations: 149 kB / 0.8586 GB, free: 15.4 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008153/0.9006, allocations: 2.948 MB / 0.8614 GB, free: 12.36 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=448): time 7.514e-06/0.9006, allocations: 2.656 kB / 0.8614 GB, free: 12.36 MB / 0.6388 GB Notification: Performance of matching and sorting (n=448): time 0.01928/0.9199, allocations: 6.738 MB / 0.868 GB, free: 5.582 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004562/0.9204, allocations: 0.7998 MB / 0.8688 GB, free: 4.598 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005488/0.9259, allocations: 3.129 MB / 0.8719 GB, free: 1.48 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0004067/0.9263, allocations: 57.7 kB / 0.8719 GB, free: 1.418 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.001434/0.9277, allocations: 1.527 MB / 0.8734 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001589/0.9293, allocations: 1.487 MB / 0.8749 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001372/0.9307, allocations: 0.8947 MB / 0.8757 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.9308, allocations: 301.1 kB / 0.876 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002721/0.9335, allocations: 1.495 MB / 0.8775 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003845/0.9374, allocations: 2.706 MB / 0.8801 GB, free: 8.461 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1803/1.118, allocations: 25.83 MB / 0.9053 GB, free: 14.58 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.557e-05/1.118, allocations: 8 kB / 0.9053 GB, free: 14.57 MB / 0.6857 GB Notification: Performance of matching and sorting (n=611) (initialization): time 0.01122/1.129, allocations: 5.162 MB / 0.9104 GB, free: 9.367 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001454/1.129, allocations: 154.7 kB / 0.9105 GB, free: 9.191 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007424/1.136, allocations: 3.872 MB / 0.9143 GB, free: 5.27 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000375/1.137, allocations: 105.1 kB / 0.9144 GB, free: 5.164 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003535/1.14, allocations: 1.123 MB / 0.9155 GB, free: 4.039 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001484/1.142, allocations: 1.418 MB / 0.9169 GB, free: 2.508 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002764/1.145, allocations: 460.5 kB / 0.9173 GB, free: 2.055 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005507/1.145, allocations: 295.8 kB / 0.9176 GB, free: 1.766 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.004416/1.15, allocations: 2.185 MB / 0.9198 GB, free: 15.57 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00384/1.153, allocations: 2.684 MB / 0.9224 GB, free: 12.35 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1785/1.332, allocations: 25.71 MB / 0.9475 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.427e-05/1.332, allocations: 12 kB / 0.9475 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.012/1.344, allocations: 5.117 MB / 0.9525 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001681/1.344, allocations: 150.8 kB / 0.9526 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007753/1.352, allocations: 3.844 MB / 0.9564 GB, free: 8.781 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003187/1.352, allocations: 92.84 kB / 0.9565 GB, free: 8.688 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003853/1.356, allocations: 1.119 MB / 0.9576 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001462/1.358, allocations: 1.396 MB / 0.9589 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003376/1.361, allocations: 373.6 kB / 0.9593 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008287/1.362, allocations: 299.7 kB / 0.9596 GB, free: 5.395 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.001643/1.363, allocations: 0.5774 MB / 0.9601 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001393/1.365, allocations: 429 kB / 0.9605 GB, free: 4.363 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.01137/1.376, allocations: 5.472 MB / 0.9659 GB, free: 15.03 MB / 0.7482 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.809002461999626] Failed to read output from testmodel.py, exit status != 0: 1.5906184550003672 1.942385658 1.118111627 Calling exit ...