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.008337/0.008337, allocations: 1.794 MB / 21.35 MB, free: 3.195 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.0007811/0.0007811, allocations: 83.56 kB / 25.15 MB, free: 6.375 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.0008375/0.0008375, allocations: 167.1 kB / 29.06 MB, free: 3.379 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.9248/0.9248, allocations: 177.1 MB / 210 MB, free: 3.586 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.5796/0.5796, allocations: 102.4 MB / 369.5 MB, free: 380 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.894e-06/1.894e-06, allocations: 0 / 470 MB, free: 19.02 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.397e-05/2.586e-05, allocations: 6.922 kB / 470 MB, free: 19.01 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.1248/0.1248, allocations: 76.78 MB / 0.5339 GB, free: 11.09 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03229/0.1571, allocations: 25.43 MB / 0.5588 GB, free: 1.594 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005206/0.1623, allocations: 150.9 kB / 0.5589 GB, free: 1.445 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.005322/0.1676, allocations: 2.66 MB / 0.5615 GB, free: 14.77 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01082/0.1784, allocations: 4.843 MB / 0.5662 GB, free: 9.898 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00757/0.186, allocations: 4.686 MB / 0.5708 GB, free: 5.203 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01337/0.1994, allocations: 12.69 MB / 0.5832 GB, free: 8.484 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006041/0.2054, allocations: 4.24 MB / 0.5873 GB, free: 4.172 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008197/0.2136, allocations: 6.907 MB / 0.5941 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005389/0.219, allocations: 4.326 MB / 0.5983 GB, free: 8.914 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.001677/0.2207, allocations: 0.875 MB / 0.5992 GB, free: 8.039 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004702/0.2254, allocations: 2.636 MB / 0.6017 GB, free: 5.398 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001693/0.2271, allocations: 2.574 MB / 0.6043 GB, free: 2.816 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.002951/0.23, allocations: 2.731 MB / 0.6069 GB, free: 80 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.009806/0.2398, allocations: 8.467 MB / 0.6152 GB, free: 7.582 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2398, allocations: 0 / 0.6152 GB, free: 7.582 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2398, allocations: 0 / 0.6152 GB, free: 7.582 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.0001384/0.24, allocations: 4 kB / 0.6152 GB, free: 7.578 MB / 0.5262 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.01066/0.2506, allocations: 8.706 MB / 0.6237 GB, free: 14.78 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.2507, allocations: 12.03 kB / 0.6237 GB, free: 14.77 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00222/0.2529, allocations: 1.315 MB / 0.625 GB, free: 13.45 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007032/0.2599, allocations: 5.912 MB / 0.6308 GB, free: 7.441 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002481/0.2602, allocations: 398.2 kB / 0.6311 GB, free: 7.027 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004977/0.2607, allocations: 403.9 kB / 0.6315 GB, free: 6.633 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01181/0.2725, allocations: 10.61 MB / 0.6419 GB, free: 10.12 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.817e-05/0.2725, allocations: 39.62 kB / 0.6419 GB, free: 10.09 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003093/0.2729, allocations: 192 kB / 0.6421 GB, free: 9.898 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001924/0.273, allocations: 289.7 kB / 0.6424 GB, free: 9.613 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008886/0.2819, allocations: 4.927 MB / 0.6472 GB, free: 4.664 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2363/0.5183, allocations: 46.44 MB / 0.6925 GB, free: 49.55 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008566/0.5268, allocations: 5.256 MB / 0.6977 GB, free: 48.74 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00198/0.5288, allocations: 1.44 MB / 0.6991 GB, free: 48.46 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005107/0.5293, allocations: 276.8 kB / 0.6993 GB, free: 48.45 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.947e-05/0.5294, allocations: 106.1 kB / 0.6994 GB, free: 48.4 MB / 0.5574 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002076/0.5315, allocations: 0.6538 MB / 0.7001 GB, free: 48.4 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=829): time 1.423e-05/0.5315, allocations: 2.656 kB / 0.7001 GB, free: 48.4 MB / 0.5574 GB Notification: Performance of matching and sorting (n=829): time 0.01963/0.5511, allocations: 10.67 MB / 0.7105 GB, free: 47.78 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002319/0.5514, allocations: 1.443 MB / 0.7119 GB, free: 46.05 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005161/0.5565, allocations: 4.804 MB / 0.7166 GB, free: 45.43 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0003481/0.5569, allocations: 87.95 kB / 0.7167 GB, free: 45.4 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.001385/0.5582, allocations: 2.82 MB / 0.7194 GB, free: 44.49 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.001413/0.5597, allocations: 2.834 MB / 0.7222 GB, free: 42.92 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002073/0.5617, allocations: 1.772 MB / 0.7239 GB, free: 42.75 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 3.728e-05/0.5618, allocations: 481.8 kB / 0.7244 GB, free: 42.28 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002638/0.5644, allocations: 1.623 MB / 0.726 GB, free: 42.2 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003876/0.5683, allocations: 5.674 MB / 0.7315 GB, free: 36.99 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008527/0.5768, allocations: 8.368 MB / 0.7397 GB, free: 32.84 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.894e-05/0.5768, allocations: 20.59 kB / 0.7397 GB, free: 32.84 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1126) (initialization): time 0.00964/0.5865, allocations: 7.329 MB / 0.7469 GB, free: 30.48 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.694e-05/0.5865, allocations: 31.78 kB / 0.7469 GB, free: 30.48 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008076/0.5946, allocations: 5.328 MB / 0.7521 GB, free: 28.48 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05615/0.6507, allocations: 7.697 MB / 0.7596 GB, free: 26.04 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004856/0.6556, allocations: 2.168 MB / 0.7617 GB, free: 25.58 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002278/0.6579, allocations: 5.494 MB / 0.7671 GB, free: 19.95 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003271/0.6611, allocations: 342.5 kB / 0.7674 GB, free: 19.62 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005335/0.6617, allocations: 0.5387 MB / 0.768 GB, free: 19.08 MB / 0.5574 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.003664/0.6653, allocations: 1.804 MB / 0.7697 GB, free: 17.28 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003243/0.6686, allocations: 5.627 MB / 0.7752 GB, free: 10.11 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00768/0.6763, allocations: 8.291 MB / 0.7833 GB, free: 0.8906 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.056e-05/0.6763, allocations: 17.97 kB / 0.7833 GB, free: 0.875 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1126) (initialization_lambda0): time 0.009787/0.6861, allocations: 7.006 MB / 0.7902 GB, free: 10.27 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.659e-05/0.6861, allocations: 32 kB / 0.7902 GB, free: 10.23 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007241/0.6933, allocations: 4.524 MB / 0.7946 GB, free: 5.691 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002259/0.6956, allocations: 453.3 kB / 0.7951 GB, free: 5.25 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003787/0.6994, allocations: 2.208 MB / 0.7972 GB, free: 3.172 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00323/0.7026, allocations: 7.436 MB / 0.8045 GB, free: 11.33 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00333/0.706, allocations: 341.5 kB / 0.8048 GB, free: 11 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000663/0.7066, allocations: 0.5348 MB / 0.8053 GB, free: 10.46 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: 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,17)} Notification: Performance of prepare postOptimizeDAE: time 0.001707/0.7083, allocations: 0.7528 MB / 0.8061 GB, free: 9.84 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002017/0.7103, allocations: 0.8113 MB / 0.8069 GB, free: 9.027 MB / 0.5887 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 1314 equation(s) and 1257 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) = ($cse333, $cse334, $cse335, $cse336, $cse337, $cse338, $cse339, $cse340, $cse341, $cse342) 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.01068/0.721, allocations: 9.27 MB / 0.8159 GB, free: 0.5508 MB / 0.5887 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.5648085889406502]