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.01595/0.01595, allocations: 1.771 MB / 18.83 MB, free: 4.332 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.001435/0.001435, allocations: 99.7 kB / 22.07 MB, free: 1.09 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.001488/0.001488, allocations: 208.2 kB / 25.45 MB, free: 2.797 MB / 14.72 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.433/1.433, allocations: 230.6 MB / 259.2 MB, free: 13.13 MB / 206.1 MB " [Timeout remaining time 178] 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 1.11/1.11, allocations: 130.6 MB / 446.3 MB, free: 14.98 MB / 350.1 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 0.3.1 (/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_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.1.|hex.wall.U.2.|hex.wall.U.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_simple") [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: Automatically loaded package TILMedia 1.9.0 ClaRa due to uses annotation from ClaRa. 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. 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.4197/0.4197, allocations: 46.14 MB / 0.6556 GB, free: 30.53 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.6184, allocations: 89.05 MB / 0.7426 GB, free: 2.418 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_simple): time 0.03405/0.6524, allocations: 27.79 MB / 0.7698 GB, free: 6.516 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.04541/0.6978, allocations: 25.5 MB / 0.7947 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008135/0.706, allocations: 146.9 kB / 0.7948 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.008978/0.7149, allocations: 2.719 MB / 0.7975 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01561/0.7306, allocations: 4.6 MB / 0.802 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01258/0.7431, allocations: 4.557 MB / 0.8064 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.02136/0.7645, allocations: 12.35 MB / 0.8185 GB, free: 4.484 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008974/0.7735, allocations: 3.848 MB / 0.8222 GB, free: 0.5664 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0119/0.7854, allocations: 5.026 MB / 0.8271 GB, free: 11.52 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01119/0.7966, allocations: 5.174 MB / 0.8322 GB, free: 6.328 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.003734/0.8003, allocations: 0.8789 MB / 0.833 GB, free: 5.449 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009421/0.8097, allocations: 3.303 MB / 0.8363 GB, free: 2.145 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.004967/0.8147, allocations: 2.523 MB / 0.8387 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.009692/0.8244, allocations: 4.237 MB / 0.8429 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02575/0.8501, allocations: 13.3 MB / 0.8559 GB, free: 14 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.8501, allocations: 3.984 kB / 0.8559 GB, free: 14 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8501, allocations: 0 / 0.8559 GB, free: 14 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.000486/0.8506, allocations: 0 / 0.8559 GB, free: 14 MB / 0.67 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.02684/0.8775, allocations: 8.666 MB / 0.8643 GB, free: 5.23 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.8775, allocations: 12.03 kB / 0.8643 GB, free: 5.219 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004879/0.8824, allocations: 1.011 MB / 0.8653 GB, free: 4.203 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4809/1.363, allocations: 6.645 MB / 0.8718 GB, free: 109.2 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003735/1.364, allocations: 350.3 kB / 0.8721 GB, free: 109.2 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007457/1.364, allocations: 359 kB / 0.8725 GB, free: 109.2 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02288/1.387, allocations: 10.03 MB / 0.8823 GB, free: 104.5 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-05/1.387, allocations: 44.81 kB / 0.8823 GB, free: 104.5 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005004/1.388, allocations: 191.3 kB / 0.8825 GB, free: 104.4 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002742/1.388, allocations: 297.3 kB / 0.8828 GB, free: 104.4 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02223/1.41, allocations: 8.047 MB / 0.8907 GB, free: 102.1 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.04036/1.451, allocations: 39.55 MB / 0.9293 GB, free: 68.67 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02114/1.472, allocations: 7.211 MB / 0.9363 GB, free: 64.61 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006113/1.478, allocations: 2.546 MB / 0.9388 GB, free: 63.14 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00118/1.479, allocations: 0.5836 MB / 0.9394 GB, free: 62.68 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.248e-05/1.479, allocations: 109.5 kB / 0.9395 GB, free: 62.6 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005133/1.484, allocations: 0.6682 MB / 0.9401 GB, free: 62.29 MB / 0.67 GB Notification: Performance of pre-optimization done (n=829): time 1.604e-05/1.484, allocations: 0 / 0.9401 GB, free: 62.29 MB / 0.67 GB Notification: Performance of matching and sorting (n=829): time 0.04487/1.529, allocations: 14.44 MB / 0.9542 GB, free: 55.19 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003076/1.53, allocations: 1.446 MB / 0.9556 GB, free: 53.45 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008287/1.538, allocations: 5.475 MB / 0.961 GB, free: 50.59 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.001425/1.539, allocations: 85.23 kB / 0.9611 GB, free: 50.51 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001614/1.541, allocations: 2.657 MB / 0.9637 GB, free: 48.37 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.003174/1.544, allocations: 2.822 MB / 0.9664 GB, free: 45.72 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002495/1.547, allocations: 1.696 MB / 0.9681 GB, free: 44.01 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.086e-05/1.547, allocations: 303.8 kB / 0.9684 GB, free: 43.71 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005543/1.552, allocations: 3.297 MB / 0.9716 GB, free: 40.4 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006894/1.559, allocations: 5.611 MB / 0.9771 GB, free: 33.88 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2212/1.78, allocations: 32.93 MB / 1.009 GB, free: 0.8242 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-05/1.78, allocations: 16 kB / 1.009 GB, free: 0.8086 MB / 0.67 GB Notification: Performance of matching and sorting (n=1126) (initialization): time 0.02569/1.806, allocations: 10.39 MB / 1.019 GB, free: 6.508 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 5.856e-05/1.806, allocations: 32 kB / 1.019 GB, free: 6.477 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02213/1.828, allocations: 8.524 MB / 1.028 GB, free: 13.91 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09203/1.92, allocations: 7.746 MB / 1.035 GB, free: 6.191 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00891/1.929, allocations: 2.207 MB / 1.037 GB, free: 3.98 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005877/1.935, allocations: 4.793 MB / 1.042 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008026/1.943, allocations: 411.4 kB / 1.043 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002001/1.945, allocations: 0.5425 MB / 1.043 GB, free: 13.92 MB / 0.7169 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.01192/1.957, allocations: 4.492 MB / 1.047 GB, free: 9.426 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01/1.967, allocations: 5.56 MB / 1.053 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1995/2.166, allocations: 29.23 MB / 1.081 GB, free: 4.711 MB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.599e-05/2.167, allocations: 20 kB / 1.081 GB, free: 4.691 MB / 0.7482 GB Notification: Performance of matching and sorting (n=1126) (initialization_lambda0): time 0.02506/2.192, allocations: 9.932 MB / 1.091 GB, free: 10.7 MB / 0.7638 GB Notification: Performance of prepare postOptimizeDAE: time 5.488e-05/2.192, allocations: 36 kB / 1.091 GB, free: 10.66 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01713/2.209, allocations: 7.531 MB / 1.099 GB, free: 3.078 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004276/2.213, allocations: 479 kB / 1.099 GB, free: 2.598 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008727/2.222, allocations: 2.254 MB / 1.101 GB, free: 348 kB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005815/2.228, allocations: 6.401 MB / 1.107 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007546/2.235, allocations: 408.5 kB / 1.108 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00175/2.237, allocations: 0.5309 MB / 1.108 GB, free: 8.465 MB / 0.7794 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.002612/2.239, allocations: 0.6727 MB / 1.109 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003167/2.243, allocations: 0.7021 MB / 1.11 GB, free: 7.082 MB / 0.7794 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.02047/2.263, allocations: 10.51 MB / 1.12 GB, free: 12.81 MB / 0.795 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.834820966992993] Failed to read output from testmodel.py, exit status != 0: 2.27265494200401 2.284603737 1.4313265 Calling exit ...