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.01292/0.01292, allocations: 1.758 MB / 20.59 MB, free: 1.277 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.001364/0.001364, allocations: 115.3 kB / 24.19 MB, free: 2.652 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.001694/0.001694, allocations: 211.8 kB / 27.92 MB, free: 4.004 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.532/1.532, allocations: 230.6 MB / 262.1 MB, free: 6.016 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.167/1.167, allocations: 130.7 MB / 449.7 MB, free: 6.566 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.0347/0.0347, allocations: 20.79 MB / 0.6362 GB, free: 4.648 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.2159, allocations: 81.91 MB / 0.7162 GB, free: 2.656 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.5637/0.7796, allocations: 60.76 MB / 0.7756 GB, free: 9.512 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04846/0.8281, allocations: 25.82 MB / 0.8008 GB, free: 6.941 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01121/0.8393, allocations: 151 kB / 0.8009 GB, free: 6.871 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01025/0.8495, allocations: 2.714 MB / 0.8036 GB, free: 4.926 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.02084/0.8704, allocations: 4.698 MB / 0.8082 GB, free: 1.125 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0146/0.885, allocations: 4.635 MB / 0.8127 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.026/0.911, allocations: 12.38 MB / 0.8248 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009512/0.9205, allocations: 3.783 MB / 0.8285 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01421/0.9347, allocations: 5.038 MB / 0.8334 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01185/0.9466, allocations: 5.205 MB / 0.8385 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003931/0.9505, allocations: 0.8789 MB / 0.8393 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01116/0.9616, allocations: 3.5 MB / 0.8427 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00488/0.9665, allocations: 2.523 MB / 0.8452 GB, free: 14.68 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.00916/0.9757, allocations: 4.241 MB / 0.8493 GB, free: 10.41 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.02423/0.9999, allocations: 13.37 MB / 0.8624 GB, free: 13 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.9999, allocations: 2.656 kB / 0.8624 GB, free: 13 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.994e-06/0.9999, allocations: 0 / 0.8624 GB, free: 13 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.000355/1, allocations: 0 / 0.8624 GB, free: 13 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.02669/1.027, allocations: 8.602 MB / 0.8708 GB, free: 4.355 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 6.439e-05/1.027, allocations: 10.72 kB / 0.8708 GB, free: 4.348 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003948/1.031, allocations: 1.013 MB / 0.8718 GB, free: 3.332 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01569/1.047, allocations: 6.454 MB / 0.8781 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006449/1.047, allocations: 404.9 kB / 0.8785 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001529/1.049, allocations: 367.9 kB / 0.8788 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02894/1.078, allocations: 10.03 MB / 0.8886 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002525/1.078, allocations: 39.62 kB / 0.8887 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00175/1.08, allocations: 184 kB / 0.8889 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005168/1.08, allocations: 293.6 kB / 0.8891 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02603/1.106, allocations: 8.046 MB / 0.897 GB, free: 8.5 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.06381/1.17, allocations: 39.47 MB / 0.9355 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0224/1.193, allocations: 7.043 MB / 0.9424 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007031/1.2, allocations: 2.544 MB / 0.9449 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001287/1.201, allocations: 287.8 kB / 0.9452 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001322/1.201, allocations: 110.9 kB / 0.9453 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004627/1.206, allocations: 0.6689 MB / 0.9459 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=829): time 1.595e-05/1.206, allocations: 0 / 0.9459 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=829): time 0.05409/1.26, allocations: 14.15 MB / 0.9598 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001086/1.261, allocations: 1.444 MB / 0.9612 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01421/1.275, allocations: 5.474 MB / 0.9665 GB, free: 15.61 MB / 0.7482 GB Notification: Performance of collectPreVariables (initialization): time 0.001471/1.276, allocations: 85.7 kB / 0.9666 GB, free: 15.52 MB / 0.7482 GB Notification: Performance of collectInitialEqns (initialization): time 0.003531/1.28, allocations: 2.664 MB / 0.9692 GB, free: 12.84 MB / 0.7482 GB Notification: Performance of collectInitialBindings (initialization): time 0.004887/1.285, allocations: 2.815 MB / 0.9719 GB, free: 9.996 MB / 0.7482 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007234/1.292, allocations: 1.696 MB / 0.9736 GB, free: 8.285 MB / 0.7482 GB Notification: Performance of setup shared object (initialization): time 0.0001603/1.292, allocations: 305.1 kB / 0.9739 GB, free: 7.984 MB / 0.7482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008973/1.301, allocations: 3.3 MB / 0.9771 GB, free: 4.672 MB / 0.7482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01294/1.314, allocations: 5.609 MB / 0.9826 GB, free: 14.11 MB / 0.7638 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2632/1.577, allocations: 32.93 MB / 1.015 GB, free: 12.42 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.405e-05/1.577, allocations: 20 kB / 1.015 GB, free: 12.4 MB / 0.795 GB Notification: Performance of matching and sorting (n=1126) (initialization): time 0.03014/1.608, allocations: 10.38 MB / 1.025 GB, free: 1.961 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 8.234e-05/1.608, allocations: 32 kB / 1.025 GB, free: 1.93 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02575/1.633, allocations: 8.522 MB / 1.033 GB, free: 9.352 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1032/1.737, allocations: 7.757 MB / 1.041 GB, free: 1.582 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009035/1.746, allocations: 2.207 MB / 1.043 GB, free: 15.37 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006098/1.752, allocations: 4.596 MB / 1.047 GB, free: 10.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006665/1.758, allocations: 403 kB / 1.048 GB, free: 10.11 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001975/1.76, allocations: 0.5347 MB / 1.048 GB, free: 9.574 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.0126/1.773, allocations: 4.501 MB / 1.053 GB, free: 5.066 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.3401/2.113, allocations: 5.543 MB / 1.058 GB, free: 345.2 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.205/2.318, allocations: 29.24 MB / 1.087 GB, free: 339.1 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.192e-05/2.318, allocations: 20.16 kB / 1.087 GB, free: 339.1 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1126) (initialization_lambda0): time 0.02609/2.344, allocations: 9.929 MB / 1.096 GB, free: 332.2 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001021/2.344, allocations: 32 kB / 1.096 GB, free: 332.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01776/2.362, allocations: 7.533 MB / 1.104 GB, free: 324.6 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004877/2.367, allocations: 483 kB / 1.104 GB, free: 324.1 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008393/2.376, allocations: 2.242 MB / 1.106 GB, free: 321.8 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004213/2.38, allocations: 6.001 MB / 1.112 GB, free: 315.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007147/2.387, allocations: 400.6 kB / 1.113 GB, free: 315 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001966/2.389, allocations: 0.5348 MB / 1.113 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.003312/2.392, allocations: 0.6745 MB / 1.114 GB, free: 313.9 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003564/2.396, allocations: 0.7143 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.0221/2.418, allocations: 10.49 MB / 1.125 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.54019161593169] Failed to read output from testmodel.py, exit status != 0: 2.5718943779356778 2.582294132 1.579617639 Calling exit ...