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.01222/0.01222, allocations: 1.34 MB / 21.02 MB, free: 0.6094 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.001537/0.001537, allocations: 89.39 kB / 24.58 MB, free: 1.879 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.001778/0.001778, allocations: 164 kB / 28.25 MB, free: 3.145 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.415/1.415, allocations: 177.2 MB / 209 MB, free: 7.621 MB / 190.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.007/1.007, allocations: 102.5 MB / 368.3 MB, free: 4.152 MB / 334.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.07701/0.07701, allocations: 20.96 MB / 0.5569 GB, free: 4.875 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.2253, allocations: 81.88 MB / 0.6369 GB, free: 2.871 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.1506/0.3759, allocations: 49.61 MB / 0.6853 GB, free: 1.246 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.3431/0.719, allocations: 24.77 MB / 0.7095 GB, free: 10.59 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005943/0.7249, allocations: 147.9 kB / 0.7096 GB, free: 10.53 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.007386/0.7323, allocations: 2.637 MB / 0.7122 GB, free: 9.344 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01366/0.7459, allocations: 4.709 MB / 0.7168 GB, free: 6.711 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01143/0.7574, allocations: 4.651 MB / 0.7214 GB, free: 4.094 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0181/0.7755, allocations: 12.35 MB / 0.7334 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00824/0.7837, allocations: 4.018 MB / 0.7373 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01129/0.795, allocations: 5.039 MB / 0.7423 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01084/0.8059, allocations: 4.874 MB / 0.747 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.003183/0.809, allocations: 0.8776 MB / 0.7479 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009352/0.8184, allocations: 2.618 MB / 0.7504 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.004777/0.8232, allocations: 2.513 MB / 0.7529 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00862/0.8318, allocations: 3.315 MB / 0.7561 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02489/0.8567, allocations: 13.22 MB / 0.769 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.8567, allocations: 4 kB / 0.769 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.422e-06/0.8567, allocations: 0 / 0.769 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0004403/0.8571, allocations: 0 / 0.769 GB, free: 2.297 MB / 0.6075 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.02459/0.8817, allocations: 8.578 MB / 0.7774 GB, free: 9.672 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.8818, allocations: 10.66 kB / 0.7774 GB, free: 9.664 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00438/0.8861, allocations: 1.011 MB / 0.7784 GB, free: 8.648 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01486/0.901, allocations: 6.479 MB / 0.7847 GB, free: 2.113 MB / 0.6232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005361/0.9015, allocations: 404.6 kB / 0.7851 GB, free: 1.695 MB / 0.6232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001343/0.9029, allocations: 364 kB / 0.7855 GB, free: 1.34 MB / 0.6232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0283/0.9312, allocations: 11.9 MB / 0.7971 GB, free: 3.934 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001678/0.9313, allocations: 39.62 kB / 0.7971 GB, free: 3.895 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001155/0.9325, allocations: 192 kB / 0.7973 GB, free: 3.707 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004245/0.9329, allocations: 289.7 kB / 0.7976 GB, free: 3.422 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02521/0.9581, allocations: 8.022 MB / 0.8054 GB, free: 11.41 MB / 0.6544 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.05067/1.009, allocations: 36.38 MB / 0.841 GB, free: 5.957 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0215/1.03, allocations: 7.031 MB / 0.8478 GB, free: 14.77 MB / 0.7013 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006145/1.036, allocations: 2.546 MB / 0.8503 GB, free: 12.16 MB / 0.7013 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001042/1.038, allocations: 252.8 kB / 0.8505 GB, free: 11.91 MB / 0.7013 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001347/1.038, allocations: 113.4 kB / 0.8507 GB, free: 11.79 MB / 0.7013 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004124/1.042, allocations: 0.6489 MB / 0.8513 GB, free: 11.14 MB / 0.7013 GB Notification: Performance of pre-optimization done (n=829): time 1.787e-05/1.042, allocations: 0 / 0.8513 GB, free: 11.14 MB / 0.7013 GB Notification: Performance of matching and sorting (n=829): time 0.04885/1.091, allocations: 14.12 MB / 0.8651 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008348/1.091, allocations: 1.448 MB / 0.8665 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01189/1.103, allocations: 5.374 MB / 0.8717 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0009682/1.104, allocations: 85.7 kB / 0.8718 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.00281/1.107, allocations: 2.673 MB / 0.8744 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.003363/1.11, allocations: 2.814 MB / 0.8772 GB, free: 228 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004576/1.115, allocations: 1.698 MB / 0.8788 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001379/1.115, allocations: 313.1 kB / 0.8791 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007641/1.123, allocations: 3.293 MB / 0.8824 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01062/1.133, allocations: 6.418 MB / 0.8886 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2615/1.395, allocations: 32.93 MB / 0.9208 GB, free: 1.844 MB / 0.7638 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.501e-05/1.395, allocations: 16 kB / 0.9208 GB, free: 1.828 MB / 0.7638 GB Notification: Performance of matching and sorting (n=1126) (initialization): time 0.02421/1.419, allocations: 10.37 MB / 0.9309 GB, free: 7.395 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.543e-05/1.419, allocations: 36.94 kB / 0.931 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0213/1.441, allocations: 8.518 MB / 0.9393 GB, free: 14.79 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1077/1.548, allocations: 7.749 MB / 0.9468 GB, free: 7.023 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00862/1.557, allocations: 2.203 MB / 0.949 GB, free: 4.816 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005913/1.563, allocations: 4.535 MB / 0.9534 GB, free: 28 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006358/1.569, allocations: 395.8 kB / 0.9538 GB, free: 15.64 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001824/1.571, allocations: 0.5426 MB / 0.9543 GB, free: 15.09 MB / 0.8107 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.01191/1.583, allocations: 4.494 MB / 0.9587 GB, free: 10.6 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01116/1.594, allocations: 6.367 MB / 0.9649 GB, free: 3.02 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2109/1.805, allocations: 29.23 MB / 0.9935 GB, free: 4.812 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.874e-05/1.805, allocations: 18.73 kB / 0.9935 GB, free: 4.797 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1126) (initialization_lambda0): time 0.02625/1.831, allocations: 9.915 MB / 1.003 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.549e-05/1.831, allocations: 36 kB / 1.003 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01899/1.85, allocations: 7.534 MB / 1.011 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004339/1.855, allocations: 479 kB / 1.011 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008645/1.863, allocations: 2.246 MB / 1.013 GB, free: 456 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2734/2.137, allocations: 5.861 MB / 1.019 GB, free: 371.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006168/2.143, allocations: 395.2 kB / 1.019 GB, free: 371.4 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001378/2.144, allocations: 0.5403 MB / 1.02 GB, free: 371.4 MB / 0.8575 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.001974/2.146, allocations: 0.6719 MB / 1.021 GB, free: 371.2 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002352/2.149, allocations: 0.6992 MB / 1.021 GB, free: 371.2 MB / 0.8575 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.01861/2.167, allocations: 10.53 MB / 1.031 GB, free: 369.7 MB / 0.8575 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.778028091066517] Failed to read output from testmodel.py, exit status != 0: 2.3080002339556813 2.317460442 1.4583369 Calling exit ...