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.01069/0.01069, allocations: 1.741 MB / 21.38 MB, free: 476 kB / 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.001286/0.001286, allocations: 99.84 kB / 24.96 MB, free: 2.031 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.001758/0.001758, allocations: 205.8 kB / 28.67 MB, free: 3.328 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.439/1.439, allocations: 230.6 MB / 262.9 MB, free: 5.824 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.078/1.078, allocations: 130.7 MB / 450.4 MB, free: 6.418 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="cs",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="cs",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.06378/0.06378, allocations: 20.6 MB / 0.6362 GB, free: 5.07 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.2452, allocations: 81.91 MB / 0.7162 GB, free: 3.066 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.5547/0.7999, allocations: 57.13 MB / 0.772 GB, free: 13.14 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04399/0.8439, allocations: 24.66 MB / 0.7961 GB, free: 11.88 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009799/0.8537, allocations: 147.1 kB / 0.7962 GB, free: 11.81 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.009522/0.8632, allocations: 2.629 MB / 0.7988 GB, free: 9.941 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.02142/0.8846, allocations: 4.638 MB / 0.8033 GB, free: 6.191 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01429/0.8989, allocations: 4.571 MB / 0.8078 GB, free: 2.727 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0211/0.92, allocations: 11.74 MB / 0.8193 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007626/0.9276, allocations: 3.657 MB / 0.8228 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01055/0.9382, allocations: 4.851 MB / 0.8276 GB, free: 0.7891 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01089/0.9491, allocations: 4.952 MB / 0.8324 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004342/0.9534, allocations: 0.8438 MB / 0.8332 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009868/0.9633, allocations: 2.644 MB / 0.8358 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004605/0.9679, allocations: 2.334 MB / 0.8381 GB, free: 6 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.008235/0.9761, allocations: 3.176 MB / 0.8412 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02439/1.001, allocations: 12.73 MB / 0.8536 GB, free: 6.031 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 8.946e-06/1.001, allocations: 4 kB / 0.8536 GB, free: 6.027 MB / 0.6232 GB Notification: Performance of FrontEnd: time 1.663e-06/1.001, allocations: 0 / 0.8536 GB, free: 6.027 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0004375/1.001, allocations: 0 / 0.8536 GB, free: 6.027 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.02479/1.026, allocations: 8.265 MB / 0.8617 GB, free: 13.72 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/1.026, allocations: 8.031 kB / 0.8617 GB, free: 13.71 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000153/1.026, allocations: 115.3 kB / 0.8618 GB, free: 13.6 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002158/1.028, allocations: 0.6661 MB / 0.8625 GB, free: 12.93 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00414/1.032, allocations: 0.97 MB / 0.8634 GB, free: 11.95 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01472/1.047, allocations: 6.389 MB / 0.8697 GB, free: 5.5 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005251/1.048, allocations: 393.9 kB / 0.87 GB, free: 5.09 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001294/1.049, allocations: 352.7 kB / 0.8704 GB, free: 4.746 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02805/1.077, allocations: 11.34 MB / 0.8815 GB, free: 7.918 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001274/1.077, allocations: 43.62 kB / 0.8815 GB, free: 7.875 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006958/1.078, allocations: 178.7 kB / 0.8817 GB, free: 7.703 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002462/1.078, allocations: 216 kB / 0.8819 GB, free: 7.492 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02332/1.101, allocations: 7.502 MB / 0.8892 GB, free: 15.99 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.05706/1.158, allocations: 35.55 MB / 0.9239 GB, free: 11.38 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02145/1.18, allocations: 6.617 MB / 0.9304 GB, free: 4.598 MB / 0.7013 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006209/1.186, allocations: 2.398 MB / 0.9327 GB, free: 2.141 MB / 0.7013 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001215/1.187, allocations: 256.6 kB / 0.933 GB, free: 1.891 MB / 0.7013 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001233/1.187, allocations: 96.05 kB / 0.9331 GB, free: 1.789 MB / 0.7013 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004802/1.192, allocations: 0.6997 MB / 0.9337 GB, free: 1.09 MB / 0.7013 GB Notification: Performance of pre-optimization done (n=812): time 2.86e-05/1.192, allocations: 2.625 kB / 0.9337 GB, free: 1.09 MB / 0.7013 GB Notification: Performance of matching and sorting (n=812): time 0.04662/1.239, allocations: 12.74 MB / 0.9462 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007503/1.239, allocations: 1.432 MB / 0.9476 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01013/1.25, allocations: 5.308 MB / 0.9528 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.00174/1.251, allocations: 85.7 kB / 0.9528 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.00237/1.254, allocations: 2.555 MB / 0.9553 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.003942/1.258, allocations: 2.753 MB / 0.958 GB, free: 7.793 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00339/1.261, allocations: 1.632 MB / 0.9596 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001768/1.261, allocations: 305.1 kB / 0.9599 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006927/1.268, allocations: 3.091 MB / 0.9629 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01024/1.278, allocations: 6.151 MB / 0.9689 GB, free: 11.41 MB / 0.7482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2457/1.524, allocations: 31.12 MB / 0.9993 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001022/1.524, allocations: 16 kB / 0.9993 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.02697/1.551, allocations: 9.69 MB / 1.009 GB, free: 2.098 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.351e-05/1.551, allocations: 36.06 kB / 1.009 GB, free: 2.062 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01908/1.57, allocations: 7.323 MB / 1.016 GB, free: 10.69 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05508/1.625, allocations: 4.433 MB / 1.02 GB, free: 6.254 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008459/1.634, allocations: 2.129 MB / 1.022 GB, free: 4.121 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004169/1.638, allocations: 2.794 MB / 1.025 GB, free: 1.191 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00688/1.645, allocations: 383.8 kB / 1.025 GB, free: 0.8164 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00197/1.647, allocations: 0.5308 MB / 1.026 GB, free: 292 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.0126/1.66, allocations: 4.205 MB / 1.03 GB, free: 12.07 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01153/1.671, allocations: 6.085 MB / 1.036 GB, free: 4.797 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1961/1.867, allocations: 27.43 MB / 1.063 GB, free: 8.43 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.234e-05/1.867, allocations: 19.94 kB / 1.063 GB, free: 8.41 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.3497/2.217, allocations: 9.464 MB / 1.072 GB, free: 361.5 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.776e-05/2.217, allocations: 32.38 kB / 1.072 GB, free: 361.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01703/2.234, allocations: 7.047 MB / 1.079 GB, free: 361.3 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002941/2.237, allocations: 423 kB / 1.079 GB, free: 361.3 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008052/2.245, allocations: 2.181 MB / 1.082 GB, free: 361.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001671/2.247, allocations: 2.227 MB / 1.084 GB, free: 359.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006129/2.253, allocations: 380.6 kB / 1.084 GB, free: 359.4 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001485/2.254, allocations: 0.5239 MB / 1.085 GB, free: 359.4 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.002161/2.256, allocations: 0.6635 MB / 1.085 GB, free: 358.9 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002468/2.259, allocations: 0.6917 MB / 1.086 GB, free: 358.9 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.01717/2.276, allocations: 10.28 MB / 1.096 GB, free: 355.8 MB / 0.8419 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 6.13589051598683] Failed to read output from testmodel.py, exit status != 0: 2.4205284889321774 2.430605716 1.4275345910000001 Calling exit ...