Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_simple.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.008792/0.008792, allocations: 1.781 MB / 22.36 MB, free: 2.117 MB / 18.57 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.00084/0.00084, allocations: 78.66 kB / 26.19 MB, free: 6.078 MB / 18.57 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.0008693/0.0008693, allocations: 167.6 kB / 30.12 MB, free: 2.184 MB / 18.57 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 0.9203/0.9203, allocations: 177.2 MB / 211.1 MB, free: 3.441 MB / 186.7 MB " [Timeout remaining time 179] 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 0.5879/0.5879, allocations: 102.4 MB / 370.6 MB, free: 144 kB / 330.7 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 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_simple,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|hex.shell.h|hex.shell.p|hex.tubes.h|hex.tubes.p|hex.wall.U.[0-9,]+.",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_simple") translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_simple,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|hex.shell.h|hex.shell.p|hex.tubes.h|hex.tubes.p|hex.wall.U.[0-9,]+.",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_simple") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 471.2 MB, free: 18.8 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.45e-05/1.555e-05, allocations: 4.797 kB / 471.2 MB, free: 18.8 MB / 410.8 MB 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.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_simple): time 0.1246/0.1246, allocations: 76.04 MB / 0.5345 GB, free: 11.49 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03341/0.1581, allocations: 25.31 MB / 0.5592 GB, free: 2.113 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005071/0.1631, allocations: 150.9 kB / 0.5593 GB, free: 1.965 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004613/0.1677, allocations: 2.66 MB / 0.5619 GB, free: 15.29 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.00909/0.1768, allocations: 4.862 MB / 0.5667 GB, free: 10.4 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.006927/0.1838, allocations: 4.705 MB / 0.5713 GB, free: 5.684 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01247/0.1962, allocations: 12.67 MB / 0.5836 GB, free: 8.98 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005167/0.2014, allocations: 4.236 MB / 0.5878 GB, free: 4.672 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1352/0.3366, allocations: 52.29 MB / 0.6388 GB, free: 1.551 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2186/0.5553, allocations: 4.259 MB / 0.643 GB, free: 76.4 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.002291/0.5576, allocations: 0.8415 MB / 0.6438 GB, free: 76.4 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005035/0.5626, allocations: 2.593 MB / 0.6464 GB, free: 76.4 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.001537/0.5641, allocations: 2.469 MB / 0.6488 GB, free: 76.4 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.005319/0.5695, allocations: 2.671 MB / 0.6514 GB, free: 76.4 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.009108/0.5786, allocations: 8.432 MB / 0.6596 GB, free: 75.74 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.5786, allocations: 2.125 kB / 0.6596 GB, free: 75.74 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.052e-06/0.5786, allocations: 1.719 kB / 0.6596 GB, free: 75.74 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 7.77e-05/0.5786, allocations: 0 / 0.6596 GB, free: 75.74 MB / 0.5418 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1515 * Number of variables: 1515 Notification: Performance of Generate backend data structure: time 0.00863/0.5873, allocations: 8.5 MB / 0.6679 GB, free: 72.12 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.5873, allocations: 8.25 kB / 0.6679 GB, free: 72.12 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001653/0.589, allocations: 1.201 MB / 0.6691 GB, free: 71.64 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004739/0.5937, allocations: 4.825 MB / 0.6738 GB, free: 70.51 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002323/0.5939, allocations: 404.7 kB / 0.6742 GB, free: 70.38 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004711/0.5944, allocations: 401.3 kB / 0.6746 GB, free: 70.37 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0108/0.6052, allocations: 10.3 MB / 0.6846 GB, free: 63.91 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001068/0.6053, allocations: 40.31 kB / 0.6847 GB, free: 63.91 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003778/0.6057, allocations: 194.6 kB / 0.6849 GB, free: 63.91 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000249/0.6059, allocations: 292.7 kB / 0.6851 GB, free: 63.9 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008692/0.6146, allocations: 4.497 MB / 0.6895 GB, free: 63.08 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02238/0.637, allocations: 45.89 MB / 0.7343 GB, free: 23.09 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007865/0.6449, allocations: 4.916 MB / 0.7391 GB, free: 20.88 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001501/0.6464, allocations: 1.266 MB / 0.7404 GB, free: 20.34 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004893/0.6469, allocations: 279.1 kB / 0.7407 GB, free: 20.25 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.669e-05/0.6469, allocations: 109 kB / 0.7408 GB, free: 20.17 MB / 0.5418 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003082/0.65, allocations: 0.6974 MB / 0.7414 GB, free: 19.69 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=829): time 1.26e-05/0.65, allocations: 2.906 kB / 0.7414 GB, free: 19.69 MB / 0.5418 GB Notification: Performance of matching and sorting (n=829): time 0.01908/0.6691, allocations: 10.02 MB / 0.7512 GB, free: 16.13 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001917/0.6693, allocations: 1.804 MB / 0.753 GB, free: 13.95 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003863/0.6732, allocations: 4.639 MB / 0.7575 GB, free: 12.09 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0004256/0.6736, allocations: 90.02 kB / 0.7576 GB, free: 12.02 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.001146/0.6748, allocations: 2.891 MB / 0.7604 GB, free: 9.695 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.001284/0.676, allocations: 2.856 MB / 0.7632 GB, free: 7.332 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001691/0.6777, allocations: 1.827 MB / 0.765 GB, free: 6.441 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 4.413e-05/0.6778, allocations: 487.3 kB / 0.7655 GB, free: 5.965 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001617/0.6794, allocations: 1.331 MB / 0.7668 GB, free: 4.746 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003035/0.6824, allocations: 5.888 MB / 0.7725 GB, free: 13.37 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008568/0.691, allocations: 7.638 MB / 0.78 GB, free: 4.992 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.419e-05/0.691, allocations: 20 kB / 0.78 GB, free: 4.973 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1126) (initialization): time 0.01004/0.7011, allocations: 6.726 MB / 0.7866 GB, free: 14.66 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 4.577e-05/0.7011, allocations: 32 kB / 0.7866 GB, free: 14.63 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00812/0.7092, allocations: 4.846 MB / 0.7913 GB, free: 9.816 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0801/0.7893, allocations: 10.57 MB / 0.8016 GB, free: 15.82 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006497/0.7958, allocations: 2.157 MB / 0.8038 GB, free: 13.8 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004006/0.7998, allocations: 5.512 MB / 0.8091 GB, free: 8.09 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004259/0.8041, allocations: 333.8 kB / 0.8095 GB, free: 7.77 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006624/0.8048, allocations: 491.5 kB / 0.8099 GB, free: 7.289 MB / 0.5887 GB Warning: Assuming fixed start value for the following 4 variables: hex.tubes.h:VARIABLE(start = hex.tubes.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hex.tubes.p:VARIABLE(min = 0.0 start = hex.tubes.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real hex.shell.h:VARIABLE(start = hex.shell.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hex.shell.p:VARIABLE(min = 0.0 start = hex.shell.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003703/0.8085, allocations: 1.505 MB / 0.8114 GB, free: 5.777 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003797/0.8123, allocations: 5.862 MB / 0.8171 GB, free: 14.43 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00748/0.8197, allocations: 7.545 MB / 0.8245 GB, free: 6.141 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.922e-05/0.8198, allocations: 16 kB / 0.8245 GB, free: 6.125 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1126) (initialization_lambda0): time 0.01008/0.8299, allocations: 6.629 MB / 0.831 GB, free: 15.91 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 3.041e-05/0.8299, allocations: 36 kB / 0.831 GB, free: 15.88 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007227/0.8371, allocations: 4.74 MB / 0.8356 GB, free: 11.14 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02567/0.8628, allocations: 4.41 MB / 0.8399 GB, free: 6.77 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004482/0.8673, allocations: 2.146 MB / 0.842 GB, free: 4.75 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002768/0.87, allocations: 5.437 MB / 0.8474 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003802/0.8738, allocations: 332.9 kB / 0.8477 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006018/0.8744, allocations: 483.6 kB / 0.8481 GB, free: 14.3 MB / 0.6355 GB Warning: Assuming fixed start value for the following 4 variables: hex.tubes.h:VARIABLE(start = hex.tubes.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hex.tubes.p:VARIABLE(min = 0.0 start = hex.tubes.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real hex.shell.h:VARIABLE(start = hex.shell.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hex.shell.p:VARIABLE(min = 0.0 start = hex.shell.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: 291 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1101): * Single equations (assignments): 1097 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,1), (1,6), (1,1), (1,17)} Notification: Performance of prepare postOptimizeDAE: time 0.001757/0.8762, allocations: 0.7614 MB / 0.8489 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001699/0.8779, allocations: 0.8005 MB / 0.8497 GB, free: 12.86 MB / 0.6355 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 1304 equation(s) and 1247 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_pT.mo:55:3-60:21:writable] Error: (hex.shell.heattransfer.fluid_wall.q, hex.shell.heattransfer.cp_w, hex.shell.heattransfer.fluid_wall.cv, hex.shell.heattransfer.fluid_wall.beta, hex.shell.heattransfer.fluid_wall.kappa, hex.shell.heattransfer.fluid_wall.drhodp_hxi, hex.shell.heattransfer.fluid_wall.drhodh_pxi, _, hex.shell.heattransfer.fluid_wall.w, hex.shell.heattransfer.fluid_wall.gamma) = ($cse327, $cse328, $cse329, $cse330, $cse331, $cse332, $cse333, $cse334, $cse335, $cse336) has size 9 but 8 variables ($cse156, $cse157, $cse158, $cse159, hex.tubes.fluidOut.transp.Pr, hex.tubes.fluidOut.transp.lambda, hex.tubes.fluidOut.transp.eta, hex.tubes.fluidOut.transp.sigma) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009709/0.8876, allocations: 9.026 MB / 0.8585 GB, free: 4.48 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.5986816259101033]