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.01348/0.01348, allocations: 1.754 MB / 20.61 MB, free: 1.004 MB / 14.72 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.001529/0.001529, allocations: 99.84 kB / 24.18 MB, free: 2.438 MB / 14.72 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.001891/0.001891, allocations: 213.1 kB / 27.9 MB, free: 3.742 MB / 19.63 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.468/1.468, allocations: 230.6 MB / 262.1 MB, free: 5.84 MB / 206.1 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.061/1.061, allocations: 130.7 MB / 449.6 MB, free: 6.445 MB / 350.1 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.3.1 (/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: SMArtInt 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: ClaRa 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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.07274/0.07274, allocations: 20.99 MB / 0.6358 GB, free: 4.715 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.2373, allocations: 81.92 MB / 0.7158 GB, free: 2.699 MB / 0.5294 GB 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.5311/0.7684, allocations: 57.16 MB / 0.7717 GB, free: 13 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04189/0.8103, allocations: 24.67 MB / 0.7958 GB, free: 11.68 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009459/0.8198, allocations: 147.5 kB / 0.7959 GB, free: 11.61 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.009639/0.8294, allocations: 2.628 MB / 0.7985 GB, free: 9.75 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01837/0.8478, allocations: 4.642 MB / 0.803 GB, free: 6.008 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01452/0.8623, allocations: 4.557 MB / 0.8074 GB, free: 2.551 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0223/0.8846, allocations: 11.76 MB / 0.8189 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008321/0.8929, allocations: 3.883 MB / 0.8227 GB, free: 5.062 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0121/0.905, allocations: 4.847 MB / 0.8275 GB, free: 204 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01037/0.9154, allocations: 4.615 MB / 0.832 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004025/0.9194, allocations: 0.8438 MB / 0.8328 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01066/0.9301, allocations: 2.582 MB / 0.8353 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005356/0.9354, allocations: 2.336 MB / 0.8376 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.009031/0.9445, allocations: 3.172 MB / 0.8407 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0271/0.9716, allocations: 12.72 MB / 0.8531 GB, free: 5.852 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.9716, allocations: 0 / 0.8531 GB, free: 5.852 MB / 0.6232 GB Notification: Performance of FrontEnd: time 2.685e-06/0.9716, allocations: 0 / 0.8531 GB, free: 5.852 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0004323/0.972, allocations: 2.656 kB / 0.8531 GB, free: 5.852 MB / 0.6232 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.02846/1, allocations: 8.255 MB / 0.8612 GB, free: 13.55 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 6.932e-05/1.001, allocations: 14.69 kB / 0.8612 GB, free: 13.54 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002375/1.003, allocations: 0.6635 MB / 0.8618 GB, free: 12.87 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004902/1.008, allocations: 0.9702 MB / 0.8628 GB, free: 11.89 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01746/1.025, allocations: 6.379 MB / 0.869 GB, free: 5.457 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007069/1.026, allocations: 393.9 kB / 0.8694 GB, free: 5.047 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002029/1.028, allocations: 355.9 kB / 0.8697 GB, free: 4.699 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02774/1.056, allocations: 11.35 MB / 0.8808 GB, free: 7.867 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.99e-05/1.056, allocations: 42.25 kB / 0.8808 GB, free: 7.828 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005816/1.056, allocations: 180 kB / 0.881 GB, free: 7.652 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002601/1.057, allocations: 214.7 kB / 0.8812 GB, free: 7.441 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02416/1.081, allocations: 7.471 MB / 0.8885 GB, free: 15.97 MB / 0.67 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.0581/1.139, allocations: 35.54 MB / 0.9232 GB, free: 11.36 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02074/1.16, allocations: 6.612 MB / 0.9297 GB, free: 4.586 MB / 0.7013 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006998/1.167, allocations: 2.399 MB / 0.932 GB, free: 2.133 MB / 0.7013 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001288/1.168, allocations: 253.8 kB / 0.9323 GB, free: 1.883 MB / 0.7013 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001407/1.168, allocations: 105.4 kB / 0.9324 GB, free: 1.77 MB / 0.7013 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004646/1.173, allocations: 0.6957 MB / 0.9331 GB, free: 1.074 MB / 0.7013 GB Notification: Performance of pre-optimization done (n=812): time 2.027e-05/1.173, allocations: 0 / 0.9331 GB, free: 1.074 MB / 0.7013 GB Notification: Performance of matching and sorting (n=812): time 0.0441/1.217, allocations: 12.75 MB / 0.9455 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001015/1.218, allocations: 1.42 MB / 0.9469 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01139/1.229, allocations: 5.397 MB / 0.9522 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001374/1.231, allocations: 88.39 kB / 0.9522 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002779/1.233, allocations: 2.56 MB / 0.9547 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.004047/1.237, allocations: 2.749 MB / 0.9574 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003776/1.241, allocations: 1.632 MB / 0.959 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001503/1.241, allocations: 305.1 kB / 0.9593 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007373/1.249, allocations: 3.099 MB / 0.9623 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01109/1.26, allocations: 6.143 MB / 0.9683 GB, free: 11.31 MB / 0.7482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.239/1.499, allocations: 31.1 MB / 0.9987 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.751e-05/1.499, allocations: 20 kB / 0.9987 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.02565/1.525, allocations: 9.703 MB / 1.008 GB, free: 2.012 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.79e-05/1.525, allocations: 32 kB / 1.008 GB, free: 1.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0177/1.542, allocations: 7.317 MB / 1.015 GB, free: 10.61 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04947/1.592, allocations: 4.425 MB / 1.02 GB, free: 6.18 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008019/1.6, allocations: 2.137 MB / 1.022 GB, free: 4.039 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003727/1.604, allocations: 2.794 MB / 1.025 GB, free: 1.109 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005975/1.61, allocations: 379.8 kB / 1.025 GB, free: 0.7383 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0016/1.611, allocations: 0.5308 MB / 1.025 GB, free: 212 kB / 0.795 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.01032/1.621, allocations: 4.21 MB / 1.03 GB, free: 11.98 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009905/1.631, allocations: 6.081 MB / 1.035 GB, free: 4.715 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1907/1.822, allocations: 27.42 MB / 1.062 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.288e-05/1.822, allocations: 20 kB / 1.062 GB, free: 8.34 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.3189/2.141, allocations: 9.478 MB / 1.072 GB, free: 361.2 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.548e-05/2.141, allocations: 34.28 kB / 1.072 GB, free: 361.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01689/2.158, allocations: 7.042 MB / 1.078 GB, free: 361 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002821/2.161, allocations: 423.3 kB / 1.079 GB, free: 361 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009096/2.17, allocations: 2.184 MB / 1.081 GB, free: 361 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001795/2.172, allocations: 2.215 MB / 1.083 GB, free: 359.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005828/2.178, allocations: 379.8 kB / 1.083 GB, free: 359.1 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001254/2.179, allocations: 0.5325 MB / 1.084 GB, free: 359.1 MB / 0.8419 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.002054/2.181, allocations: 0.6471 MB / 1.085 GB, free: 358.6 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00243/2.183, allocations: 0.7035 MB / 1.085 GB, free: 358.6 MB / 0.8419 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.01791/2.201, allocations: 10.32 MB / 1.095 GB, free: 355.5 MB / 0.8419 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 6.06160847377032] Failed to read output from testmodel.py, exit status != 0: 2.353130812291056 2.3626754709999997 1.388319772 Calling exit ...