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.0129/0.0129, allocations: 1.749 MB / 21.34 MB, free: 0.5898 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.001467/0.001467, allocations: 107.2 kB / 24.94 MB, free: 2.176 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.001976/0.001976, allocations: 208 kB / 28.67 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.5/1.5, allocations: 230.6 MB / 262.8 MB, free: 6.023 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.137/1.137, allocations: 130.7 MB / 450.4 MB, free: 6.562 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: 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.03234/0.03234, allocations: 20.78 MB / 0.637 GB, free: 4.609 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.2118, allocations: 81.9 MB / 0.7169 GB, free: 2.617 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_simple): time 0.6147/0.8265, allocations: 60.77 MB / 0.7763 GB, free: 9.488 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.05018/0.8767, allocations: 25.82 MB / 0.8015 GB, free: 6.914 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01103/0.8877, allocations: 147.7 kB / 0.8017 GB, free: 6.848 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0094/0.8971, allocations: 2.717 MB / 0.8043 GB, free: 4.898 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01848/0.9156, allocations: 4.696 MB / 0.8089 GB, free: 1.102 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01377/0.9293, allocations: 4.636 MB / 0.8134 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0287/0.958, allocations: 12.37 MB / 0.8255 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009565/0.9676, allocations: 3.785 MB / 0.8292 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01608/0.9837, allocations: 5.03 MB / 0.8341 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01207/0.9958, allocations: 5.206 MB / 0.8392 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004294/1, allocations: 0.8789 MB / 0.8401 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01169/1.012, allocations: 3.505 MB / 0.8435 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005438/1.017, allocations: 2.527 MB / 0.8459 GB, free: 14.61 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.01117/1.028, allocations: 4.233 MB / 0.8501 GB, free: 10.36 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.03074/1.059, allocations: 13.37 MB / 0.8631 GB, free: 12.93 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/1.059, allocations: 0 / 0.8631 GB, free: 12.93 MB / 0.6388 GB Notification: Performance of FrontEnd: time 2.304e-06/1.059, allocations: 0 / 0.8631 GB, free: 12.93 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0004811/1.06, allocations: 0 / 0.8631 GB, free: 12.93 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: 1515 * Number of variables: 1515 Notification: Performance of Generate backend data structure: time 0.03189/1.091, allocations: 8.601 MB / 0.8715 GB, free: 4.293 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/1.092, allocations: 8.031 kB / 0.8715 GB, free: 4.285 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005623/1.097, allocations: 1.017 MB / 0.8725 GB, free: 3.266 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01735/1.114, allocations: 6.449 MB / 0.8788 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006452/1.115, allocations: 406.2 kB / 0.8792 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001817/1.117, allocations: 364 kB / 0.8796 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03015/1.147, allocations: 10.04 MB / 0.8894 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002411/1.147, allocations: 39.62 kB / 0.8894 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001724/1.149, allocations: 187.9 kB / 0.8896 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005234/1.15, allocations: 289.7 kB / 0.8899 GB, free: 488 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02679/1.176, allocations: 8.053 MB / 0.8977 GB, free: 8.434 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.06633/1.243, allocations: 39.47 MB / 0.9363 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02193/1.265, allocations: 7.04 MB / 0.9431 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007054/1.272, allocations: 2.547 MB / 0.9456 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001402/1.273, allocations: 295.8 kB / 0.9459 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000162/1.273, allocations: 106.9 kB / 0.946 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005299/1.279, allocations: 0.6696 MB / 0.9467 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=829): time 2.19e-05/1.279, allocations: 0 / 0.9467 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of matching and sorting (n=829): time 0.05551/1.334, allocations: 14.15 MB / 0.9605 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00103/1.335, allocations: 1.44 MB / 0.9619 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01607/1.351, allocations: 5.467 MB / 0.9672 GB, free: 15.54 MB / 0.7482 GB Notification: Performance of collectPreVariables (initialization): time 0.002123/1.353, allocations: 89.7 kB / 0.9673 GB, free: 15.45 MB / 0.7482 GB Notification: Performance of collectInitialEqns (initialization): time 0.003824/1.357, allocations: 2.662 MB / 0.9699 GB, free: 12.77 MB / 0.7482 GB Notification: Performance of collectInitialBindings (initialization): time 0.005816/1.363, allocations: 2.821 MB / 0.9727 GB, free: 9.926 MB / 0.7482 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007266/1.37, allocations: 1.696 MB / 0.9743 GB, free: 8.215 MB / 0.7482 GB Notification: Performance of setup shared object (initialization): time 0.0002387/1.37, allocations: 301.1 kB / 0.9746 GB, free: 7.918 MB / 0.7482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008071/1.379, allocations: 3.3 MB / 0.9778 GB, free: 4.605 MB / 0.7482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01025/1.389, allocations: 5.605 MB / 0.9833 GB, free: 14.05 MB / 0.7638 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2515/1.64, allocations: 32.94 MB / 1.015 GB, free: 12.35 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.467e-05/1.64, allocations: 16 kB / 1.015 GB, free: 12.34 MB / 0.795 GB Notification: Performance of matching and sorting (n=1126) (initialization): time 0.02762/1.668, allocations: 10.39 MB / 1.026 GB, free: 1.895 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.14e-05/1.668, allocations: 36.12 kB / 1.026 GB, free: 1.859 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02237/1.69, allocations: 8.514 MB / 1.034 GB, free: 9.289 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09634/1.787, allocations: 7.761 MB / 1.042 GB, free: 1.52 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008835/1.796, allocations: 2.206 MB / 1.044 GB, free: 15.31 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005448/1.801, allocations: 4.59 MB / 1.048 GB, free: 10.45 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008069/1.809, allocations: 399.7 kB / 1.049 GB, free: 10.06 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002386/1.811, allocations: 0.5387 MB / 1.049 GB, free: 9.52 MB / 0.8263 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.01313/1.825, allocations: 4.495 MB / 1.054 GB, free: 5.016 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.4061/2.231, allocations: 5.547 MB / 1.059 GB, free: 345.4 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1925/2.423, allocations: 29.24 MB / 1.087 GB, free: 339.1 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.408e-05/2.423, allocations: 16.91 kB / 1.087 GB, free: 339.1 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1126) (initialization_lambda0): time 0.02155/2.445, allocations: 9.936 MB / 1.097 GB, free: 332.2 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.567e-05/2.445, allocations: 32 kB / 1.097 GB, free: 332.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01343/2.458, allocations: 7.53 MB / 1.105 GB, free: 324.6 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004519/2.463, allocations: 483 kB / 1.105 GB, free: 324.1 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007871/2.471, allocations: 2.256 MB / 1.107 GB, free: 321.8 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003824/2.475, allocations: 5.979 MB / 1.113 GB, free: 315.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007881/2.482, allocations: 406.9 kB / 1.113 GB, free: 315 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001911/2.484, allocations: 0.5347 MB / 1.114 GB, free: 314.5 MB / 0.8263 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.003705/2.488, allocations: 0.6772 MB / 1.115 GB, free: 313.9 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003512/2.492, allocations: 0.7059 MB / 1.115 GB, free: 313.6 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 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.01806/2.51, allocations: 10.51 MB / 1.126 GB, free: 303.5 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.562448451993987] Failed to read output from testmodel.py, exit status != 0: 2.6965677989646792 2.706706174 1.644858167 Calling exit ...