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.0101/0.0101, allocations: 1.757 MB / 20.6 MB, free: 0.8828 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.001277/0.001277, allocations: 97.69 kB / 24.18 MB, free: 2.184 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.001595/0.001595, allocations: 215.9 kB / 27.9 MB, free: 3.5 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.438/1.438, 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.076/1.076, allocations: 130.7 MB / 449.7 MB, free: 6.348 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: 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_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_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_ntu") [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.06784/0.06784, allocations: 20.99 MB / 0.6364 GB, free: 4.152 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.2229, allocations: 81.91 MB / 0.7163 GB, free: 2.141 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.5055/0.7284, allocations: 57.16 MB / 0.7722 GB, free: 12.97 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04068/0.7691, allocations: 24.67 MB / 0.7963 GB, free: 11.54 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009566/0.7787, allocations: 146.7 kB / 0.7964 GB, free: 11.47 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.009738/0.7884, allocations: 2.629 MB / 0.799 GB, free: 9.609 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01771/0.8061, allocations: 4.633 MB / 0.8035 GB, free: 5.875 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01372/0.8198, allocations: 4.567 MB / 0.808 GB, free: 2.41 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02217/0.842, allocations: 11.75 MB / 0.8194 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009091/0.8511, allocations: 3.887 MB / 0.8232 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01538/0.8665, allocations: 4.861 MB / 0.828 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01297/0.8795, allocations: 4.607 MB / 0.8325 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004683/0.8841, allocations: 0.8438 MB / 0.8333 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01212/0.8963, allocations: 2.577 MB / 0.8358 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00513/0.9014, allocations: 2.336 MB / 0.8381 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.008529/0.9099, allocations: 3.168 MB / 0.8412 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02466/0.9346, allocations: 12.73 MB / 0.8536 GB, free: 5.438 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.9346, allocations: 0 / 0.8536 GB, free: 5.438 MB / 0.6232 GB Notification: Performance of FrontEnd: time 2.715e-06/0.9346, allocations: 0 / 0.8536 GB, free: 5.438 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.000442/0.935, allocations: 0 / 0.8536 GB, free: 5.438 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.02386/0.9589, allocations: 8.255 MB / 0.8617 GB, free: 13.14 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.9589, allocations: 8.031 kB / 0.8617 GB, free: 13.13 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003454/0.9624, allocations: 0.9706 MB / 0.8626 GB, free: 12.16 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01478/0.9772, allocations: 6.393 MB / 0.8689 GB, free: 5.707 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005429/0.9777, allocations: 393.9 kB / 0.8692 GB, free: 5.297 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001278/0.979, allocations: 352 kB / 0.8696 GB, free: 4.953 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0267/1.006, allocations: 11.34 MB / 0.8807 GB, free: 8.129 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001004/1.006, allocations: 43.56 kB / 0.8807 GB, free: 8.086 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005716/1.006, allocations: 180 kB / 0.8809 GB, free: 7.91 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002466/1.007, allocations: 213.2 kB / 0.8811 GB, free: 7.699 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02328/1.03, allocations: 7.472 MB / 0.8884 GB, free: 240 kB / 0.6544 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.04763/1.078, allocations: 34.97 MB / 0.9225 GB, free: 12.21 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01967/1.097, allocations: 6.617 MB / 0.929 GB, free: 5.434 MB / 0.7013 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006324/1.104, allocations: 2.398 MB / 0.9313 GB, free: 2.977 MB / 0.7013 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001269/1.105, allocations: 260.5 kB / 0.9316 GB, free: 2.723 MB / 0.7013 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001306/1.105, allocations: 97.41 kB / 0.9317 GB, free: 2.617 MB / 0.7013 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005222/1.11, allocations: 0.6816 MB / 0.9323 GB, free: 1.934 MB / 0.7013 GB Notification: Performance of pre-optimization done (n=812): time 1.886e-05/1.11, allocations: 0 / 0.9323 GB, free: 1.934 MB / 0.7013 GB Notification: Performance of matching and sorting (n=812): time 0.04619/1.156, allocations: 12.74 MB / 0.9448 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001184/1.158, allocations: 1.415 MB / 0.9462 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01462/1.172, allocations: 5.29 MB / 0.9513 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001412/1.174, allocations: 85.7 kB / 0.9514 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.003157/1.177, allocations: 2.575 MB / 0.9539 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.003882/1.181, allocations: 2.753 MB / 0.9566 GB, free: 8.645 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005422/1.186, allocations: 1.635 MB / 0.9582 GB, free: 7 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000126/1.186, allocations: 305.1 kB / 0.9585 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007248/1.193, allocations: 3.095 MB / 0.9615 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01056/1.204, allocations: 6.141 MB / 0.9675 GB, free: 12.27 MB / 0.7482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2404/1.444, allocations: 31.11 MB / 0.9979 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.354e-05/1.444, allocations: 20 kB / 0.9979 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.02808/1.472, allocations: 9.682 MB / 1.007 GB, free: 2.988 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.248e-05/1.473, allocations: 32 kB / 1.007 GB, free: 2.957 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0203/1.493, allocations: 7.317 MB / 1.015 GB, free: 11.58 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04943/1.542, allocations: 4.445 MB / 1.019 GB, free: 7.141 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008115/1.55, allocations: 2.133 MB / 1.021 GB, free: 5.004 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00437/1.555, allocations: 2.764 MB / 1.024 GB, free: 2.113 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006415/1.561, allocations: 381.8 kB / 1.024 GB, free: 1.742 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001914/1.563, allocations: 0.5308 MB / 1.025 GB, free: 1.211 MB / 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.01313/1.576, allocations: 4.206 MB / 1.029 GB, free: 13 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01177/1.588, allocations: 6.089 MB / 1.035 GB, free: 5.719 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.4847/2.073, allocations: 27.42 MB / 1.061 GB, free: 343.3 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.705e-05/2.073, allocations: 17.19 kB / 1.061 GB, free: 343.3 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.02039/2.093, allocations: 9.48 MB / 1.071 GB, free: 340.7 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 3.813e-05/2.093, allocations: 31.59 kB / 1.071 GB, free: 340.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01228/2.105, allocations: 7.037 MB / 1.078 GB, free: 338.1 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00227/2.108, allocations: 425.7 kB / 1.078 GB, free: 338 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006655/2.114, allocations: 2.18 MB / 1.08 GB, free: 337.8 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00153/2.116, allocations: 2.2 MB / 1.082 GB, free: 335.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005582/2.121, allocations: 384 kB / 1.083 GB, free: 335.8 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001284/2.123, allocations: 0.523 MB / 1.083 GB, free: 335.7 MB / 0.8263 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.001927/2.125, allocations: 0.6552 MB / 1.084 GB, free: 335.2 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002282/2.127, allocations: 0.6813 MB / 1.084 GB, free: 335.2 MB / 0.8263 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.01558/2.143, allocations: 10.33 MB / 1.095 GB, free: 331.2 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.922838686034083] Failed to read output from testmodel.py, exit status != 0: 2.2767381481826305 2.285879774 1.34875885 Calling exit ...