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_ntu.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.008643/0.008643, allocations: 1.795 MB / 21.35 MB, free: 3.191 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.000924/0.000924, allocations: 91.77 kB / 25.16 MB, free: 7.469 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.001149/0.001149, allocations: 166.5 kB / 29.06 MB, free: 3.66 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.9614/0.9614, allocations: 177.2 MB / 210 MB, free: 3.555 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.6137/0.6137, allocations: 102.4 MB / 369.5 MB, free: 356 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_ntu,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|hex.shell.h|hex.shell.p|hex.tubes.h|hex.tubes.p|hex.wall.T_w_a|hex.wall.T_w_i",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_ntu") translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_ntu,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|hex.shell.h|hex.shell.p|hex.tubes.h|hex.tubes.p|hex.wall.T_w_a|hex.wall.T_w_i",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_ntu") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 3.938 kB / 470 MB, free: 18.97 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.56e-05/1.704e-05, allocations: 3.438 kB / 470 MB, free: 18.96 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_ntu): time 0.1178/0.1179, allocations: 76.9 MB / 0.5341 GB, free: 10.96 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03036/0.1482, allocations: 25.35 MB / 0.5588 GB, free: 1.539 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003828/0.152, allocations: 146.9 kB / 0.5589 GB, free: 1.395 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0041/0.1561, allocations: 2.637 MB / 0.5615 GB, free: 14.74 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.007505/0.1636, allocations: 4.787 MB / 0.5662 GB, free: 9.93 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.006682/0.1703, allocations: 4.612 MB / 0.5707 GB, free: 5.309 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01099/0.1813, allocations: 12.06 MB / 0.5825 GB, free: 9.215 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004625/0.1859, allocations: 4.096 MB / 0.5865 GB, free: 5.051 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1308/0.3167, allocations: 52.05 MB / 0.6373 GB, free: 2.152 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2086/0.5253, allocations: 3.989 MB / 0.6412 GB, free: 75.8 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.002346/0.5277, allocations: 0.8096 MB / 0.642 GB, free: 75.8 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004931/0.5326, allocations: 2.55 MB / 0.6445 GB, free: 75.8 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.00125/0.5338, allocations: 2.262 MB / 0.6467 GB, free: 75.8 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.003253/0.5371, allocations: 2.55 MB / 0.6492 GB, free: 75.8 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.008441/0.5455, allocations: 8.074 MB / 0.6571 GB, free: 75.16 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.5455, allocations: 0 / 0.6571 GB, free: 75.16 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5456, allocations: 3.656 kB / 0.6571 GB, free: 75.16 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0001256/0.5457, allocations: 2.656 kB / 0.6571 GB, free: 75.16 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: 1448 * Number of variables: 1448 Notification: Performance of Generate backend data structure: time 0.008266/0.5539, allocations: 8.116 MB / 0.665 GB, free: 71.62 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.554, allocations: 10.38 kB / 0.665 GB, free: 71.62 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001474/0.5555, allocations: 1.144 MB / 0.6661 GB, free: 71.16 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004585/0.56, allocations: 4.845 MB / 0.6709 GB, free: 70.05 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002228/0.5603, allocations: 398.1 kB / 0.6712 GB, free: 69.91 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004076/0.5607, allocations: 384.5 kB / 0.6716 GB, free: 69.91 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01147/0.5721, allocations: 10.45 MB / 0.6818 GB, free: 63.54 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.407e-05/0.5722, allocations: 39.38 kB / 0.6819 GB, free: 63.54 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003386/0.5726, allocations: 185.7 kB / 0.682 GB, free: 63.54 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001836/0.5728, allocations: 216.8 kB / 0.6822 GB, free: 63.53 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00943/0.5822, allocations: 4.873 MB / 0.687 GB, free: 63.06 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02215/0.6043, allocations: 45.56 MB / 0.7315 GB, free: 22.33 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00781/0.6121, allocations: 5.119 MB / 0.7365 GB, free: 19.95 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002149/0.6143, allocations: 1.461 MB / 0.7379 GB, free: 19.3 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007101/0.615, allocations: 277.4 kB / 0.7382 GB, free: 19.2 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001045/0.6151, allocations: 102.2 kB / 0.7383 GB, free: 19.12 MB / 0.5418 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00342/0.6185, allocations: 0.7294 MB / 0.739 GB, free: 18.63 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=812): time 8.636e-06/0.6185, allocations: 0 / 0.739 GB, free: 18.63 MB / 0.5418 GB Notification: Performance of matching and sorting (n=812): time 0.02913/0.6477, allocations: 9.953 MB / 0.7487 GB, free: 15.03 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000275/0.6479, allocations: 1.776 MB / 0.7504 GB, free: 12.88 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006411/0.6543, allocations: 4.67 MB / 0.755 GB, free: 10.31 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0007591/0.6551, allocations: 84.98 kB / 0.7551 GB, free: 10.23 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.001613/0.6567, allocations: 2.721 MB / 0.7577 GB, free: 7.871 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.001888/0.6586, allocations: 2.768 MB / 0.7604 GB, free: 5.461 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001945/0.6606, allocations: 1.733 MB / 0.7621 GB, free: 4.473 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 3.035e-05/0.6606, allocations: 476.8 kB / 0.7626 GB, free: 4.004 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002258/0.6628, allocations: 1.612 MB / 0.7642 GB, free: 3.484 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003871/0.6667, allocations: 6.041 MB / 0.7701 GB, free: 11.89 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009278/0.676, allocations: 8.27 MB / 0.7781 GB, free: 2.703 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.35e-05/0.676, allocations: 20 kB / 0.7782 GB, free: 2.684 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.01056/0.6866, allocations: 7.05 MB / 0.785 GB, free: 12.02 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 4.063e-05/0.6866, allocations: 32 kB / 0.7851 GB, free: 11.99 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006636/0.6933, allocations: 4.592 MB / 0.7896 GB, free: 7.375 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03526/0.7285, allocations: 6.079 MB / 0.7955 GB, free: 1.625 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005014/0.7335, allocations: 2.088 MB / 0.7975 GB, free: 15.66 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002752/0.7363, allocations: 3.165 MB / 0.8006 GB, free: 12.38 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003715/0.74, allocations: 336.7 kB / 0.8009 GB, free: 12.05 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006145/0.7406, allocations: 0.5382 MB / 0.8015 GB, free: 11.52 MB / 0.5887 GB Warning: Assuming fixed start value for the following 4 variables: hex.wall.T_w_i:VARIABLE(min = 0.0 start = hex.wall.T_w_i_start unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at inner phase\" type: Real hex.wall.T_w_a:VARIABLE(min = 0.0 start = hex.wall.T_w_a_start unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at outer phase\" 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.003886/0.7445, allocations: 1.774 MB / 0.8032 GB, free: 9.738 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004409/0.7489, allocations: 5.992 MB / 0.8091 GB, free: 2.086 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009602/0.7585, allocations: 8.172 MB / 0.817 GB, free: 9.004 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.64e-05/0.7585, allocations: 23.94 kB / 0.8171 GB, free: 8.98 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.01019/0.7687, allocations: 6.948 MB / 0.8238 GB, free: 2.418 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 2.998e-05/0.7688, allocations: 32 kB / 0.8239 GB, free: 2.387 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006507/0.7753, allocations: 4.482 MB / 0.8282 GB, free: 13.88 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01301/0.7883, allocations: 2.516 MB / 0.8307 GB, free: 11.48 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003925/0.7922, allocations: 2.08 MB / 0.8327 GB, free: 9.527 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00209/0.7943, allocations: 3.103 MB / 0.8358 GB, free: 6.316 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003346/0.7976, allocations: 338.9 kB / 0.8361 GB, free: 5.992 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006004/0.7982, allocations: 0.5308 MB / 0.8366 GB, free: 5.461 MB / 0.6199 GB Warning: Assuming fixed start value for the following 4 variables: hex.wall.T_w_i:VARIABLE(min = 0.0 start = hex.wall.T_w_i_start unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at inner phase\" type: Real hex.wall.T_w_a:VARIABLE(min = 0.0 start = hex.wall.T_w_a_start unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at outer phase\" 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: 287 * 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 (1056): * Single equations (assignments): 1054 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,34), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.001559/0.7998, allocations: 0.7481 MB / 0.8373 GB, free: 4.84 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001661/0.8015, allocations: 0.7882 MB / 0.8381 GB, free: 4.047 MB / 0.6199 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 1284 equation(s) and 1227 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) = ($cse330, $cse331, $cse332, $cse333, $cse334, $cse335, $cse336, $cse337, $cse338, $cse339) has size 9 but 8 variables ($cse159, $cse160, $cse161, $cse162, 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.01024/0.8117, allocations: 9.165 MB / 0.8471 GB, free: 11.5 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.654556417837739]