Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.01748/0.01748, allocations: 1.796 MB / 21.15 MB, free: 3.242 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.001827/0.001827, allocations: 85.88 kB / 24.89 MB, free: 6.305 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.002148/0.002148, allocations: 165.5 kB / 28.74 MB, free: 3.512 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 1.504/1.504, allocations: 177.2 MB / 209.6 MB, free: 2.375 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 1.14/1.14, allocations: 102.5 MB / 369.1 MB, free: 0.9102 MB / 330.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/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.1.|hex.wall.U.2.|hex.wall.U.3.",fileNamePrefix="ClaRa_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.1.|hex.wall.U.2.|hex.wall.U.3.",fileNamePrefix="ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_simple") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 469.2 MB, free: 13 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.759e-05/2.901e-05, allocations: 2.312 kB / 469.2 MB, free: 13 MB / 442.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.4908/0.4908, allocations: 74.31 MB / 0.5307 GB, free: 68.71 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.03972/0.5305, allocations: 25.29 MB / 0.5554 GB, free: 51.85 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008707/0.5392, allocations: 147.1 kB / 0.5556 GB, free: 51.79 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.00949/0.5487, allocations: 2.645 MB / 0.5582 GB, free: 50.5 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.02189/0.5706, allocations: 4.852 MB / 0.5629 GB, free: 47.49 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01744/0.588, allocations: 4.681 MB / 0.5675 GB, free: 44.94 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.02128/0.6093, allocations: 12.67 MB / 0.5798 GB, free: 38 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007821/0.6171, allocations: 4.248 MB / 0.584 GB, free: 34.74 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01679/0.6339, allocations: 6.899 MB / 0.5907 GB, free: 29.68 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009276/0.6432, allocations: 4.324 MB / 0.595 GB, free: 25.35 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.003125/0.6463, allocations: 0.8788 MB / 0.5958 GB, free: 24.47 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009119/0.6554, allocations: 2.641 MB / 0.5984 GB, free: 21.83 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.003817/0.6593, allocations: 2.581 MB / 0.6009 GB, free: 19.24 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.007708/0.667, allocations: 2.728 MB / 0.6036 GB, free: 16.5 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01986/0.6868, allocations: 13.29 MB / 0.6166 GB, free: 3.172 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.6868, allocations: 4 kB / 0.6166 GB, free: 3.168 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.104e-06/0.6868, allocations: 0 / 0.6166 GB, free: 3.168 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0004533/0.6873, allocations: 2.656 kB / 0.6166 GB, free: 3.168 MB / 490.8 MB 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.02747/0.7148, allocations: 9.472 MB / 0.6258 GB, free: 9.645 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/0.7148, allocations: 8.031 kB / 0.6258 GB, free: 9.637 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005372/0.7202, allocations: 1.306 MB / 0.6271 GB, free: 8.328 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01636/0.7365, allocations: 6.043 MB / 0.633 GB, free: 2.23 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005649/0.7371, allocations: 398.2 kB / 0.6334 GB, free: 1.816 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001545/0.7387, allocations: 398.6 kB / 0.6338 GB, free: 1.43 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03293/0.7716, allocations: 12.74 MB / 0.6462 GB, free: 2.797 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002479/0.7718, allocations: 39.62 kB / 0.6462 GB, free: 2.758 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001777/0.7736, allocations: 192 kB / 0.6464 GB, free: 2.57 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005586/0.7742, allocations: 293.6 kB / 0.6467 GB, free: 2.281 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02559/0.7998, allocations: 7.257 MB / 0.6538 GB, free: 11.02 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07769/0.8775, allocations: 53.88 MB / 0.7064 GB, free: 3.262 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02182/0.8993, allocations: 6.708 MB / 0.713 GB, free: 12.31 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006628/0.9059, allocations: 2.216 MB / 0.7151 GB, free: 10.01 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001455/0.9074, allocations: 274 kB / 0.7154 GB, free: 9.738 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001646/0.9075, allocations: 103 kB / 0.7155 GB, free: 9.629 MB / 0.5887 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004776/0.9123, allocations: 0.6624 MB / 0.7161 GB, free: 8.965 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=829): time 1.905e-05/0.9123, allocations: 0.9375 kB / 0.7161 GB, free: 8.965 MB / 0.5887 GB Notification: Performance of matching and sorting (n=829): time 0.05252/0.9648, allocations: 14.02 MB / 0.7298 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001005/0.9658, allocations: 1.449 MB / 0.7312 GB, free: 9.141 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01663/0.9825, allocations: 6.634 MB / 0.7377 GB, free: 2.473 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.001443/0.9839, allocations: 85.7 kB / 0.7378 GB, free: 2.383 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.263/1.247, allocations: 3.158 MB / 0.7409 GB, free: 185 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.004113/1.251, allocations: 3.087 MB / 0.7439 GB, free: 183.8 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003958/1.255, allocations: 2.095 MB / 0.7459 GB, free: 183.6 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.839e-05/1.255, allocations: 481.2 kB / 0.7464 GB, free: 183.1 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005861/1.261, allocations: 2.997 MB / 0.7493 GB, free: 183.1 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009353/1.27, allocations: 7.394 MB / 0.7565 GB, free: 178.2 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0239/1.294, allocations: 12.87 MB / 0.7691 GB, free: 171.4 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001131/1.294, allocations: 22.2 kB / 0.7691 GB, free: 171.4 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1126) (initialization): time 0.03193/1.326, allocations: 10.19 MB / 0.7791 GB, free: 167.8 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001412/1.326, allocations: 31.22 kB / 0.7791 GB, free: 167.8 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02455/1.351, allocations: 7.836 MB / 0.7868 GB, free: 165.3 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09825/1.449, allocations: 7.847 MB / 0.7944 GB, free: 162.6 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008272/1.457, allocations: 2.166 MB / 0.7965 GB, free: 160.8 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004371/1.462, allocations: 6.007 MB / 0.8024 GB, free: 154.6 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006752/1.469, allocations: 348.5 kB / 0.8027 GB, free: 154.3 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001936/1.471, allocations: 0.5437 MB / 0.8033 GB, free: 153.9 MB / 0.6043 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.009958/1.48, allocations: 3.825 MB / 0.807 GB, free: 150.4 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008539/1.489, allocations: 7.325 MB / 0.8142 GB, free: 142 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0195/1.509, allocations: 12.69 MB / 0.8266 GB, free: 128.7 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.874e-05/1.509, allocations: 20 kB / 0.8266 GB, free: 128.6 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1126) (initialization_lambda0): time 0.02178/1.53, allocations: 9.705 MB / 0.8361 GB, free: 118.9 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 8.445e-05/1.53, allocations: 36.06 kB / 0.8361 GB, free: 118.9 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01569/1.546, allocations: 6.913 MB / 0.8428 GB, free: 111.9 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004995/1.551, allocations: 489.7 kB / 0.8433 GB, free: 111.5 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008011/1.559, allocations: 2.206 MB / 0.8455 GB, free: 109.2 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004038/1.563, allocations: 7.789 MB / 0.8531 GB, free: 101 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00772/1.571, allocations: 347.2 kB / 0.8534 GB, free: 100.7 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002141/1.573, allocations: 0.5316 MB / 0.8539 GB, free: 100.1 MB / 0.6043 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.004136/1.577, allocations: 0.7589 MB / 0.8547 GB, free: 99.41 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005127/1.582, allocations: 0.8076 MB / 0.8554 GB, free: 98.6 MB / 0.6043 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.02229/1.605, allocations: 10.56 MB / 0.8658 GB, free: 88.68 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.605361886089668]