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_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.01443/0.01443, allocations: 1.756 MB / 21.38 MB, free: 0.582 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.001482/0.001482, allocations: 105.6 kB / 24.97 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.002085/0.002085, allocations: 206 kB / 28.71 MB, free: 3.461 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.456/1.456, allocations: 230.6 MB / 262.9 MB, free: 6.219 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.053/1.053, allocations: 130.7 MB / 450.4 MB, free: 6.57 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_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_dev_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_dev_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.03186/0.03186, allocations: 20.61 MB / 0.6368 GB, free: 4.789 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.2079, allocations: 81.9 MB / 0.7168 GB, free: 2.809 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.5037/0.7115, allocations: 60.9 MB / 0.7763 GB, free: 9.508 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04921/0.7608, allocations: 25.73 MB / 0.8014 GB, free: 7.02 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01085/0.7716, allocations: 147.6 kB / 0.8015 GB, free: 6.953 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.009959/0.7816, allocations: 2.702 MB / 0.8042 GB, free: 5.016 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01803/0.7996, allocations: 4.626 MB / 0.8087 GB, free: 1.262 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01366/0.8133, allocations: 4.556 MB / 0.8131 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02186/0.8351, allocations: 11.77 MB / 0.8246 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008272/0.8434, allocations: 3.658 MB / 0.8282 GB, free: 0.8477 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01134/0.8547, allocations: 4.838 MB / 0.8329 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0109/0.8656, allocations: 4.954 MB / 0.8378 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003796/0.8694, allocations: 0.8463 MB / 0.8386 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01061/0.88, allocations: 3.474 MB / 0.842 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004644/0.8847, allocations: 2.332 MB / 0.8443 GB, free: 384 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.009414/0.8941, allocations: 4.084 MB / 0.8483 GB, free: 12.27 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.02618/0.9203, allocations: 12.87 MB / 0.8608 GB, free: 15.36 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.9203, allocations: 0 / 0.8608 GB, free: 15.36 MB / 0.6388 GB Notification: Performance of FrontEnd: time 2.144e-06/0.9203, allocations: 0 / 0.8608 GB, free: 15.36 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0004665/0.9207, allocations: 0 / 0.8608 GB, free: 15.36 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.02602/0.9468, allocations: 8.267 MB / 0.8689 GB, free: 7.051 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.9468, allocations: 8.031 kB / 0.8689 GB, free: 7.043 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00445/0.9513, allocations: 0.9706 MB / 0.8698 GB, free: 6.07 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01573/0.967, allocations: 6.399 MB / 0.8761 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006064/0.9676, allocations: 393.9 kB / 0.8765 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001559/0.9692, allocations: 347.9 kB / 0.8768 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0279/0.9971, allocations: 9.499 MB / 0.8861 GB, free: 4.414 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001965/0.9973, allocations: 39.62 kB / 0.8861 GB, free: 4.375 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001304/0.9986, allocations: 180 kB / 0.8863 GB, free: 4.199 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003416/0.9989, allocations: 213.2 kB / 0.8865 GB, free: 3.988 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02477/1.024, allocations: 7.505 MB / 0.8938 GB, free: 12.48 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.0552/1.079, allocations: 37.74 MB / 0.9307 GB, free: 5.633 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02067/1.1, allocations: 6.631 MB / 0.9372 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006549/1.106, allocations: 2.408 MB / 0.9395 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00124/1.107, allocations: 284.4 kB / 0.9398 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001352/1.107, allocations: 98.77 kB / 0.9399 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004549/1.112, allocations: 0.6931 MB / 0.9405 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=812): time 2.044e-05/1.112, allocations: 0 / 0.9405 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=812): time 0.04507/1.157, allocations: 12.76 MB / 0.953 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007914/1.158, allocations: 1.415 MB / 0.9544 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01211/1.17, allocations: 5.312 MB / 0.9596 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001298/1.171, allocations: 85.7 kB / 0.9597 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002722/1.174, allocations: 2.556 MB / 0.9622 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.003705/1.178, allocations: 2.752 MB / 0.9648 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00528/1.183, allocations: 1.636 MB / 0.9664 GB, free: 388 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001227/1.183, allocations: 301.1 kB / 0.9667 GB, free: 84 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00778/1.191, allocations: 3.098 MB / 0.9698 GB, free: 12.97 MB / 0.7482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01037/1.201, allocations: 5.356 MB / 0.975 GB, free: 6.684 MB / 0.7482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.239/1.44, allocations: 31.12 MB / 1.005 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.364e-05/1.44, allocations: 20 kB / 1.005 GB, free: 6.824 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.02789/1.468, allocations: 9.682 MB / 1.015 GB, free: 13.08 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 8.251e-05/1.468, allocations: 32 kB / 1.015 GB, free: 13.05 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01903/1.487, allocations: 7.32 MB / 1.022 GB, free: 5.668 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05149/1.539, allocations: 4.434 MB / 1.026 GB, free: 1.238 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008497/1.547, allocations: 2.137 MB / 1.028 GB, free: 15.1 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004632/1.552, allocations: 2.801 MB / 1.031 GB, free: 12.16 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008101/1.56, allocations: 383.8 kB / 1.032 GB, free: 11.78 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002357/1.562, allocations: 0.5269 MB / 1.032 GB, free: 11.25 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.01552/1.578, allocations: 4.21 MB / 1.036 GB, free: 7.039 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01235/1.59, allocations: 5.303 MB / 1.041 GB, free: 0.7383 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5392/2.129, allocations: 27.41 MB / 1.068 GB, free: 342 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.173e-05/2.13, allocations: 19.84 kB / 1.068 GB, free: 342 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.0206/2.15, allocations: 9.479 MB / 1.077 GB, free: 339.4 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 3.961e-05/2.15, allocations: 32.94 kB / 1.077 GB, free: 339.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01303/2.163, allocations: 7.044 MB / 1.084 GB, free: 336.8 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002368/2.166, allocations: 423.8 kB / 1.085 GB, free: 336.7 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006859/2.172, allocations: 2.183 MB / 1.087 GB, free: 336.5 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001614/2.174, allocations: 2.224 MB / 1.089 GB, free: 334.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006348/2.18, allocations: 384.2 kB / 1.089 GB, free: 334.4 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001497/2.182, allocations: 0.5291 MB / 1.09 GB, free: 334.3 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.002492/2.184, allocations: 0.6553 MB / 1.091 GB, free: 333.8 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002828/2.187, allocations: 0.6889 MB / 1.091 GB, free: 333.8 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.0175/2.205, allocations: 10.29 MB / 1.101 GB, free: 327.9 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 6.044287231983617] Failed to read output from testmodel.py, exit status != 0: 2.373938897973858 2.38420342 1.46122435 Calling exit ...