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.01329/0.01329, allocations: 1.752 MB / 21.38 MB, free: 0.5625 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.001429/0.001429, allocations: 107.5 kB / 24.98 MB, free: 2.156 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.001999/0.001999, allocations: 204 kB / 28.71 MB, free: 3.441 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.441/1.441, allocations: 230.6 MB / 262.9 MB, free: 6.012 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.103/1.103, allocations: 130.7 MB / 450.5 MB, free: 6.586 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.03363/0.03363, allocations: 20.59 MB / 0.6363 GB, free: 5.324 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.2182, allocations: 81.91 MB / 0.7163 GB, free: 3.305 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.5029/0.7211, allocations: 60.91 MB / 0.7758 GB, free: 9.547 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04253/0.7636, allocations: 25.72 MB / 0.8009 GB, free: 7.137 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01179/0.7754, allocations: 147.4 kB / 0.8011 GB, free: 7.07 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.00942/0.7848, allocations: 2.697 MB / 0.8037 GB, free: 5.141 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01691/0.8018, allocations: 4.628 MB / 0.8082 GB, free: 1.391 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0125/0.8143, allocations: 4.558 MB / 0.8127 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02016/0.8344, allocations: 11.76 MB / 0.8242 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00715/0.8416, allocations: 3.66 MB / 0.8277 GB, free: 1.164 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01119/0.8528, allocations: 4.839 MB / 0.8325 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01027/0.863, allocations: 4.95 MB / 0.8373 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.00449/0.8675, allocations: 0.8438 MB / 0.8381 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01088/0.8784, allocations: 3.476 MB / 0.8415 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00463/0.883, allocations: 2.342 MB / 0.8438 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.01041/0.8934, allocations: 4.077 MB / 0.8478 GB, free: 12.59 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.02543/0.9189, allocations: 12.87 MB / 0.8603 GB, free: 15.67 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.9189, allocations: 0 / 0.8603 GB, free: 15.67 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9189, allocations: 0 / 0.8603 GB, free: 15.67 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.000423/0.9193, allocations: 0 / 0.8603 GB, free: 15.67 MB / 0.6388 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.02341/0.9427, allocations: 8.275 MB / 0.8684 GB, free: 7.359 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.9428, allocations: 8.031 kB / 0.8684 GB, free: 7.352 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001318/0.9429, allocations: 114 kB / 0.8685 GB, free: 7.242 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001505/0.9444, allocations: 0.6596 MB / 0.8692 GB, free: 6.574 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00342/0.9478, allocations: 0.9715 MB / 0.8701 GB, free: 5.598 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01535/0.9632, allocations: 6.389 MB / 0.8764 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005367/0.9637, allocations: 401.9 kB / 0.8768 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001319/0.965, allocations: 343.9 kB / 0.8771 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02592/0.9909, allocations: 9.501 MB / 0.8864 GB, free: 3.949 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001076/0.991, allocations: 39.62 kB / 0.8864 GB, free: 3.91 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005974/0.9916, allocations: 176 kB / 0.8866 GB, free: 3.738 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002441/0.9919, allocations: 213.2 kB / 0.8868 GB, free: 3.527 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02432/1.016, allocations: 7.512 MB / 0.8941 GB, free: 12.02 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.05501/1.071, allocations: 37.74 MB / 0.931 GB, free: 5.168 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02019/1.091, allocations: 6.625 MB / 0.9374 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006321/1.098, allocations: 2.4 MB / 0.9398 GB, free: 11.94 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001121/1.099, allocations: 284.5 kB / 0.9401 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001094/1.099, allocations: 102.8 kB / 0.9402 GB, free: 11.56 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00435/1.103, allocations: 0.7009 MB / 0.9408 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=812): time 1.382e-05/1.103, allocations: 6.625 kB / 0.9408 GB, free: 10.85 MB / 0.7169 GB Notification: Performance of matching and sorting (n=812): time 0.04461/1.148, allocations: 12.74 MB / 0.9533 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007343/1.149, allocations: 1.423 MB / 0.9547 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00973/1.158, allocations: 5.312 MB / 0.9599 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001489/1.16, allocations: 81.7 kB / 0.9599 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002458/1.162, allocations: 2.563 MB / 0.9624 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.003792/1.166, allocations: 2.745 MB / 0.9651 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003274/1.169, allocations: 1.636 MB / 0.9667 GB, free: 15.91 MB / 0.7482 GB Notification: Performance of setup shared object (initialization): time 0.0001204/1.17, allocations: 305.1 kB / 0.967 GB, free: 15.61 MB / 0.7482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006965/1.177, allocations: 3.099 MB / 0.97 GB, free: 12.5 MB / 0.7482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0097/1.186, allocations: 5.369 MB / 0.9753 GB, free: 6.207 MB / 0.7482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2424/1.429, allocations: 31.1 MB / 1.006 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.128e-05/1.429, allocations: 20 kB / 1.006 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.02713/1.456, allocations: 9.685 MB / 1.015 GB, free: 12.62 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 8.807e-05/1.456, allocations: 32.22 kB / 1.015 GB, free: 12.59 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02227/1.478, allocations: 7.323 MB / 1.022 GB, free: 5.203 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05197/1.53, allocations: 4.43 MB / 1.027 GB, free: 0.7734 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008352/1.538, allocations: 2.133 MB / 1.029 GB, free: 14.64 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00572/1.544, allocations: 2.803 MB / 1.031 GB, free: 11.69 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01025/1.554, allocations: 379.8 kB / 1.032 GB, free: 11.32 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003033/1.557, allocations: 0.5309 MB / 1.032 GB, free: 10.79 MB / 0.8107 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.01858/1.576, allocations: 4.207 MB / 1.036 GB, free: 6.582 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01765/1.594, allocations: 5.31 MB / 1.042 GB, free: 280 kB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5244/2.118, allocations: 27.4 MB / 1.068 GB, free: 342.4 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.255e-05/2.118, allocations: 17.66 kB / 1.068 GB, free: 342.4 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.02123/2.139, allocations: 9.491 MB / 1.078 GB, free: 339.7 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 4.873e-05/2.139, allocations: 30.66 kB / 1.078 GB, free: 339.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01455/2.154, allocations: 7.04 MB / 1.085 GB, free: 337.1 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002345/2.156, allocations: 423.9 kB / 1.085 GB, free: 337.1 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007068/2.163, allocations: 2.177 MB / 1.087 GB, free: 336.9 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001587/2.165, allocations: 2.217 MB / 1.089 GB, free: 334.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006097/2.171, allocations: 390.9 kB / 1.09 GB, free: 334.8 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001326/2.172, allocations: 0.5265 MB / 1.09 GB, free: 334.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.002269/2.175, allocations: 0.6552 MB / 1.091 GB, free: 334.2 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002787/2.177, allocations: 0.6918 MB / 1.091 GB, free: 334.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.01734/2.195, allocations: 10.3 MB / 1.102 GB, free: 327.5 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 6.084491058951244] Failed to read output from testmodel.py, exit status != 0: 2.3605233270209283 2.371290037 1.449563295 Calling exit ...