Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.005944/0.005944, allocations: 1.442 MB / 20.53 MB, free: 4.012 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.0006909/0.0006909, allocations: 91.45 kB / 24.16 MB, free: 396 kB / 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.0008193/0.0008193, allocations: 160.2 kB / 27.85 MB, free: 5.496 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.8267/0.8267, allocations: 177.2 MB / 208.6 MB, free: 2.965 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6892/0.6892, allocations: 102.5 MB / 367.9 MB, free: 1.488 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 0.5.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_ntu,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_1ph_BU_ntu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_ntu,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_1ph_BU_ntu",fmuType="me",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.5362 GB, free: 40.02 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.196e-05/1.339e-05, allocations: 2.281 kB / 0.5362 GB, free: 40.01 MB / 490.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.1192/0.1192, allocations: 70.8 MB / 0.6053 GB, free: 5.652 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.02913/0.1484, allocations: 24.41 MB / 0.6292 GB, free: 13.17 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004219/0.1526, allocations: 146.9 kB / 0.6293 GB, free: 13.02 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.004218/0.1568, allocations: 2.64 MB / 0.6319 GB, free: 10.37 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.00882/0.1656, allocations: 4.772 MB / 0.6366 GB, free: 5.57 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.007608/0.1732, allocations: 4.62 MB / 0.6411 GB, free: 0.9414 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.01189/0.1851, allocations: 12.07 MB / 0.6529 GB, free: 4.832 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004987/0.1901, allocations: 3.906 MB / 0.6567 GB, free: 0.8555 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007214/0.1973, allocations: 6.646 MB / 0.6632 GB, free: 10.2 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004112/0.2014, allocations: 4.055 MB / 0.6671 GB, free: 6.129 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.0009509/0.2024, allocations: 0.8438 MB / 0.6679 GB, free: 5.285 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004188/0.2066, allocations: 2.604 MB / 0.6705 GB, free: 2.676 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.001405/0.208, allocations: 2.371 MB / 0.6728 GB, free: 304 kB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.002477/0.2104, allocations: 2.607 MB / 0.6753 GB, free: 13.68 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01396/0.2244, allocations: 12.7 MB / 0.6878 GB, free: 0.9453 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2244, allocations: 0 / 0.6878 GB, free: 0.9453 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.285e-06/0.2244, allocations: 7.922 kB / 0.6878 GB, free: 0.9375 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0002153/0.2246, allocations: 0 / 0.6878 GB, free: 0.9375 MB / 0.573 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.01113/0.2358, allocations: 8.182 MB / 0.6957 GB, free: 8.676 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.2358, allocations: 8.031 kB / 0.6958 GB, free: 8.668 MB / 0.5887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005937/0.2364, allocations: 0.6557 MB / 0.6964 GB, free: 8.004 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001899/0.2383, allocations: 0.9674 MB / 0.6973 GB, free: 7.031 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007195/0.2455, allocations: 6.403 MB / 0.7036 GB, free: 0.5391 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005311/0.246, allocations: 393.9 kB / 0.704 GB, free: 132 kB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003721/0.2464, allocations: 340 kB / 0.7043 GB, free: 15.79 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01311/0.2595, allocations: 11.34 MB / 0.7154 GB, free: 2.953 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.361e-05/0.2596, allocations: 39.62 kB / 0.7154 GB, free: 2.914 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002956/0.2599, allocations: 184 kB / 0.7156 GB, free: 2.734 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001359/0.26, allocations: 213.2 kB / 0.7158 GB, free: 2.523 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01195/0.2719, allocations: 7.476 MB / 0.7231 GB, free: 11.02 MB / 0.6199 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0274/0.2993, allocations: 35.44 MB / 0.7577 GB, free: 6.473 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2885/0.5878, allocations: 6.611 MB / 0.7642 GB, free: 176.4 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005313/0.5931, allocations: 2.39 MB / 0.7665 GB, free: 176.2 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008086/0.5939, allocations: 254.4 kB / 0.7667 GB, free: 176.2 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.12e-05/0.594, allocations: 104 kB / 0.7668 GB, free: 176.2 MB / 0.6512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003109/0.5971, allocations: 0.6895 MB / 0.7675 GB, free: 176.2 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=812): time 8.386e-06/0.5971, allocations: 1.969 kB / 0.7675 GB, free: 176.2 MB / 0.6512 GB Notification: Performance of matching and sorting (n=812): time 0.02366/0.6208, allocations: 12.75 MB / 0.78 GB, free: 172.7 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002382/0.621, allocations: 1.417 MB / 0.7813 GB, free: 171 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006678/0.6277, allocations: 5.402 MB / 0.7866 GB, free: 168.8 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.0006631/0.6284, allocations: 86.2 kB / 0.7867 GB, free: 168.7 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001148/0.6295, allocations: 2.547 MB / 0.7892 GB, free: 166.7 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001589/0.6311, allocations: 2.71 MB / 0.7918 GB, free: 164.7 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001731/0.6328, allocations: 1.622 MB / 0.7934 GB, free: 163.8 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 3.498e-05/0.6329, allocations: 302.2 kB / 0.7937 GB, free: 163.5 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003908/0.6368, allocations: 3.1 MB / 0.7967 GB, free: 161.8 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005053/0.6418, allocations: 6.144 MB / 0.8027 GB, free: 156.2 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1118/0.7536, allocations: 31.12 MB / 0.8331 GB, free: 131.9 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.702e-05/0.7537, allocations: 16 kB / 0.8331 GB, free: 131.9 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.01378/0.7674, allocations: 9.69 MB / 0.8426 GB, free: 122.2 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 4.084e-05/0.7675, allocations: 35.94 kB / 0.8426 GB, free: 122.1 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008259/0.7757, allocations: 7.318 MB / 0.8498 GB, free: 114.7 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02347/0.7992, allocations: 4.424 MB / 0.8541 GB, free: 110.3 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004545/0.8038, allocations: 2.137 MB / 0.8562 GB, free: 108.2 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001898/0.8057, allocations: 2.797 MB / 0.8589 GB, free: 105.3 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004161/0.8098, allocations: 376.1 kB / 0.8593 GB, free: 104.9 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005601/0.8104, allocations: 0.5308 MB / 0.8598 GB, free: 104.4 MB / 0.6512 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.006095/0.8165, allocations: 4.201 MB / 0.8639 GB, free: 100.2 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004158/0.8206, allocations: 6.092 MB / 0.8699 GB, free: 92.89 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.09003/0.9107, allocations: 27.42 MB / 0.8966 GB, free: 64.59 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.187e-05/0.9107, allocations: 20 kB / 0.8966 GB, free: 64.57 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.01155/0.9222, allocations: 9.473 MB / 0.9059 GB, free: 55.04 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/0.9223, allocations: 32 kB / 0.9059 GB, free: 55.01 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007763/0.93, allocations: 7.051 MB / 0.9128 GB, free: 47.9 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001174/0.9312, allocations: 420.3 kB / 0.9132 GB, free: 47.49 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003357/0.9346, allocations: 2.184 MB / 0.9153 GB, free: 45.3 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009721/0.9355, allocations: 2.214 MB / 0.9175 GB, free: 42.96 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003409/0.9389, allocations: 385.7 kB / 0.9179 GB, free: 42.59 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004491/0.9394, allocations: 0.523 MB / 0.9184 GB, free: 42.06 MB / 0.6512 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,34)} Notification: Performance of prepare postOptimizeDAE: time 0.001684/0.9411, allocations: 0.6622 MB / 0.919 GB, free: 41.45 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001042/0.9421, allocations: 0.6982 MB / 0.9197 GB, free: 40.74 MB / 0.6512 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 1294 equation(s) and 1237 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) = ($cse336, $cse337, $cse338, $cse339, $cse340, $cse341, $cse342, $cse343, $cse344, $cse345) 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.009714/0.9518, allocations: 10.32 MB / 0.9298 GB, free: 30.79 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.8851644145324826] Failed to read output from testmodel.py, exit status != 0: 1.1015367349609733 1.367782071 0.884548266 Calling exit ...