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.01316/0.01316, allocations: 1.784 MB / 21.57 MB, free: 2.895 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.0008001/0.0008001, allocations: 88.16 kB / 25.4 MB, free: 6.492 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.0008596/0.0008596, allocations: 165.3 kB / 29.33 MB, free: 2.961 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.9209/0.9209, allocations: 177.2 MB / 210.3 MB, free: 3.418 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.6435/0.6435, allocations: 102.4 MB / 369.9 MB, free: 200 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.633e-06/1.633e-06, allocations: 0 / 470.5 MB, free: 18.81 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.587e-05/1.75e-05, allocations: 4.391 kB / 470.5 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.1176/0.1176, allocations: 76.06 MB / 0.5337 GB, free: 11.46 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.02967/0.1473, allocations: 25.32 MB / 0.5584 GB, free: 2.074 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00404/0.1513, allocations: 146.9 kB / 0.5586 GB, free: 1.93 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004176/0.1555, allocations: 2.652 MB / 0.5612 GB, free: 15.26 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.007843/0.1634, allocations: 4.868 MB / 0.5659 GB, free: 10.37 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.007482/0.1708, allocations: 4.701 MB / 0.5705 GB, free: 5.656 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01303/0.1839, allocations: 12.67 MB / 0.5829 GB, free: 8.949 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005696/0.1896, allocations: 4.24 MB / 0.587 GB, free: 4.637 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1168/0.3063, allocations: 52.29 MB / 0.6381 GB, free: 1.527 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1955/0.5018, allocations: 4.254 MB / 0.6422 GB, free: 76.48 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.00216/0.504, allocations: 0.8442 MB / 0.6431 GB, free: 76.48 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004866/0.5088, allocations: 2.583 MB / 0.6456 GB, free: 76.48 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.001431/0.5103, allocations: 2.475 MB / 0.648 GB, free: 76.48 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.003308/0.5136, allocations: 2.674 MB / 0.6506 GB, free: 76.48 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.009035/0.5226, allocations: 8.431 MB / 0.6589 GB, free: 75.82 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.5226, allocations: 0 / 0.6589 GB, free: 75.82 MB / 0.5418 GB Notification: Performance of FrontEnd: time 9.42e-07/0.5226, allocations: 1.781 kB / 0.6589 GB, free: 75.82 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0002106/0.5228, allocations: 0 / 0.6589 GB, free: 75.82 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.0097/0.5325, allocations: 8.5 MB / 0.6672 GB, free: 72.2 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.5326, allocations: 10.09 kB / 0.6672 GB, free: 72.2 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001821/0.5344, allocations: 1.194 MB / 0.6683 GB, free: 71.72 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005233/0.5396, allocations: 4.834 MB / 0.6731 GB, free: 70.59 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002535/0.5399, allocations: 407 kB / 0.6734 GB, free: 70.45 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005309/0.5404, allocations: 399.8 kB / 0.6738 GB, free: 70.45 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01263/0.553, allocations: 10.3 MB / 0.6839 GB, free: 63.98 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-05/0.5531, allocations: 41.84 kB / 0.6839 GB, free: 63.98 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000407/0.5535, allocations: 188.5 kB / 0.6841 GB, free: 63.98 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002713/0.5538, allocations: 292.7 kB / 0.6844 GB, free: 63.98 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008367/0.5622, allocations: 4.502 MB / 0.6888 GB, free: 63.08 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01887/0.581, allocations: 45.89 MB / 0.7336 GB, free: 23.12 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006984/0.588, allocations: 4.917 MB / 0.7384 GB, free: 20.91 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001226/0.5892, allocations: 1.269 MB / 0.7396 GB, free: 20.36 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004689/0.5897, allocations: 418.6 kB / 0.74 GB, free: 20.29 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.297e-05/0.5898, allocations: 106.5 kB / 0.7401 GB, free: 20.21 MB / 0.5418 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001904/0.5917, allocations: 0.6962 MB / 0.7408 GB, free: 19.73 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=829): time 8.646e-06/0.5917, allocations: 0 / 0.7408 GB, free: 19.73 MB / 0.5418 GB Notification: Performance of matching and sorting (n=829): time 0.01634/0.608, allocations: 10.08 MB / 0.7507 GB, free: 16.17 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001782/0.6082, allocations: 1.801 MB / 0.7524 GB, free: 14 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004686/0.6129, allocations: 4.64 MB / 0.757 GB, free: 12.13 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0003927/0.6133, allocations: 92.36 kB / 0.757 GB, free: 12.05 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.001844/0.6151, allocations: 2.88 MB / 0.7599 GB, free: 9.742 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.001859/0.617, allocations: 2.862 MB / 0.7626 GB, free: 7.375 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002476/0.6194, allocations: 1.827 MB / 0.7644 GB, free: 6.48 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 4.469e-05/0.6195, allocations: 483.7 kB / 0.7649 GB, free: 6.008 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002435/0.6219, allocations: 1.329 MB / 0.7662 GB, free: 4.727 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004475/0.6264, allocations: 5.89 MB / 0.7719 GB, free: 13.34 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007076/0.6335, allocations: 7.646 MB / 0.7794 GB, free: 4.965 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.539e-05/0.6335, allocations: 18.66 kB / 0.7794 GB, free: 4.949 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1126) (initialization): time 0.009203/0.6427, allocations: 6.763 MB / 0.786 GB, free: 14.6 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.516e-05/0.6427, allocations: 32 kB / 0.7861 GB, free: 14.57 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007074/0.6498, allocations: 4.902 MB / 0.7909 GB, free: 9.695 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06144/0.7113, allocations: 10.58 MB / 0.8012 GB, free: 15.7 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004487/0.7157, allocations: 2.156 MB / 0.8033 GB, free: 13.67 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003752/0.7195, allocations: 5.504 MB / 0.8087 GB, free: 7.965 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004205/0.7237, allocations: 336.6 kB / 0.809 GB, free: 7.645 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007346/0.7244, allocations: 486.2 kB / 0.8095 GB, free: 7.172 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.003751/0.7282, allocations: 1.516 MB / 0.8109 GB, free: 5.652 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004727/0.7329, allocations: 5.859 MB / 0.8167 GB, free: 14.3 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00926/0.7422, allocations: 7.538 MB / 0.824 GB, free: 6.02 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.817e-05/0.7422, allocations: 23.3 kB / 0.824 GB, free: 6 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1126) (initialization_lambda0): time 0.01234/0.7546, allocations: 6.658 MB / 0.8305 GB, free: 15.76 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 3.952e-05/0.7546, allocations: 32 kB / 0.8306 GB, free: 15.73 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009492/0.7641, allocations: 4.788 MB / 0.8352 GB, free: 10.94 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02902/0.7931, allocations: 4.411 MB / 0.8396 GB, free: 6.566 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003635/0.7967, allocations: 2.148 MB / 0.8416 GB, free: 4.547 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002854/0.7996, allocations: 5.434 MB / 0.847 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003397/0.803, allocations: 337 kB / 0.8473 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005355/0.8035, allocations: 487.6 kB / 0.8477 GB, free: 14.09 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.001511/0.805, allocations: 0.7536 MB / 0.8485 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00137/0.8064, allocations: 0.8027 MB / 0.8493 GB, free: 12.66 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.0102/0.8166, allocations: 9.034 MB / 0.8581 GB, free: 4.219 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.5875909882597625]