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.005977/0.005977, allocations: 1.446 MB / 20.54 MB, free: 4.008 MB / 18.57 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.0006653/0.0006653, allocations: 91.45 kB / 24.16 MB, free: 396 kB / 18.57 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.0008239/0.0008239, allocations: 159.2 kB / 27.85 MB, free: 5.5 MB / 18.57 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 0.8284/0.8284, allocations: 177.2 MB / 208.6 MB, free: 2.961 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6645/0.6645, allocations: 102.5 MB / 367.9 MB, free: 1.457 MB / 330.8 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.5.2 (/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: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 224 / 0.5367 GB, free: 39.86 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.801e-05/1.938e-05, allocations: 2.281 kB / 0.5367 GB, free: 39.85 MB / 490.8 MB 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.1087/0.1087, allocations: 70.68 MB / 0.6057 GB, free: 5.273 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.0266/0.1353, allocations: 24.49 MB / 0.6296 GB, free: 12.71 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005033/0.1403, allocations: 150.9 kB / 0.6298 GB, free: 12.56 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.004009/0.1443, allocations: 2.655 MB / 0.6324 GB, free: 9.891 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.007457/0.1518, allocations: 4.85 MB / 0.6371 GB, free: 5.012 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.006365/0.1582, allocations: 4.705 MB / 0.6417 GB, free: 304 kB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.01156/0.1697, allocations: 12.68 MB / 0.6541 GB, free: 3.57 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005279/0.175, allocations: 4.039 MB / 0.658 GB, free: 15.46 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009593/0.1846, allocations: 6.895 MB / 0.6647 GB, free: 8.551 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004988/0.1896, allocations: 4.32 MB / 0.669 GB, free: 4.219 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.001355/0.1909, allocations: 0.875 MB / 0.6698 GB, free: 3.344 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004237/0.1952, allocations: 2.636 MB / 0.6724 GB, free: 0.7031 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.001476/0.1967, allocations: 2.57 MB / 0.6749 GB, free: 14.12 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.00258/0.1992, allocations: 2.728 MB / 0.6776 GB, free: 11.39 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01148/0.2107, allocations: 13.24 MB / 0.6905 GB, free: 14.11 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2107, allocations: 0 / 0.6905 GB, free: 14.11 MB / 0.5887 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2107, allocations: 4 kB / 0.6905 GB, free: 14.11 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 0.0002042/0.2109, allocations: 0 / 0.6905 GB, free: 14.11 MB / 0.5887 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.01123/0.2222, allocations: 8.496 MB / 0.6988 GB, free: 5.527 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.2222, allocations: 12.03 kB / 0.6988 GB, free: 5.516 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001773/0.224, allocations: 1.018 MB / 0.6998 GB, free: 4.492 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00755/0.2315, allocations: 6.469 MB / 0.7061 GB, free: 13.94 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002511/0.2318, allocations: 402.2 kB / 0.7065 GB, free: 13.52 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004172/0.2322, allocations: 367.9 kB / 0.7069 GB, free: 13.16 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01354/0.2457, allocations: 11.9 MB / 0.7185 GB, free: 15.73 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.755e-05/0.2458, allocations: 39.62 kB / 0.7185 GB, free: 15.7 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003396/0.2461, allocations: 188 kB / 0.7187 GB, free: 15.51 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000196/0.2463, allocations: 289.6 kB / 0.719 GB, free: 15.23 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01233/0.2587, allocations: 8.024 MB / 0.7268 GB, free: 7.184 MB / 0.6199 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.02669/0.2854, allocations: 36.26 MB / 0.7622 GB, free: 1.809 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2314/0.5167, allocations: 7.026 MB / 0.7691 GB, free: 176 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003276/0.52, allocations: 2.54 MB / 0.7716 GB, free: 174.9 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005884/0.5206, allocations: 257.6 kB / 0.7718 GB, free: 174.9 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.362e-05/0.5207, allocations: 111.2 kB / 0.7719 GB, free: 174.8 MB / 0.6512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002455/0.5231, allocations: 0.6543 MB / 0.7725 GB, free: 174.7 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=829): time 1.339e-05/0.5231, allocations: 0 / 0.7725 GB, free: 174.7 MB / 0.6512 GB Notification: Performance of matching and sorting (n=829): time 0.02501/0.5481, allocations: 14.13 MB / 0.7863 GB, free: 170.2 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001982/0.5483, allocations: 1.443 MB / 0.7877 GB, free: 168.4 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006154/0.5545, allocations: 5.374 MB / 0.793 GB, free: 165.7 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.0005791/0.5551, allocations: 86.2 kB / 0.7931 GB, free: 165.6 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001123/0.5562, allocations: 2.663 MB / 0.7957 GB, free: 163.5 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001362/0.5575, allocations: 2.778 MB / 0.7984 GB, free: 161.4 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001995/0.5595, allocations: 1.678 MB / 0.8 GB, free: 160.5 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 2.541e-05/0.5596, allocations: 302.3 kB / 0.8003 GB, free: 160.2 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004133/0.5637, allocations: 3.3 MB / 0.8035 GB, free: 158.4 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004417/0.5681, allocations: 6.417 MB / 0.8098 GB, free: 152.6 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1116/0.6797, allocations: 32.93 MB / 0.842 GB, free: 122.6 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.439e-05/0.6797, allocations: 16 kB / 0.842 GB, free: 122.6 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1126) (initialization): time 0.01233/0.6921, allocations: 10.39 MB / 0.8521 GB, free: 112.1 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 3.032e-05/0.6921, allocations: 32.55 kB / 0.8522 GB, free: 112.1 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0104/0.7025, allocations: 8.52 MB / 0.8605 GB, free: 103.5 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04529/0.7478, allocations: 7.748 MB / 0.868 GB, free: 95.81 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004595/0.7524, allocations: 2.203 MB / 0.8702 GB, free: 93.61 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002356/0.7547, allocations: 4.525 MB / 0.8746 GB, free: 88.83 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00366/0.7584, allocations: 402.5 kB / 0.875 GB, free: 88.45 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005354/0.7589, allocations: 0.5347 MB / 0.8755 GB, free: 87.91 MB / 0.6512 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.00567/0.7646, allocations: 4.506 MB / 0.8799 GB, free: 83.4 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004071/0.7687, allocations: 6.355 MB / 0.8861 GB, free: 75.84 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.09013/0.8588, allocations: 29.23 MB / 0.9147 GB, free: 45.7 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.531e-05/0.8588, allocations: 16 kB / 0.9147 GB, free: 45.68 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1126) (initialization_lambda0): time 0.01208/0.8709, allocations: 9.918 MB / 0.9244 GB, free: 35.71 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/0.8709, allocations: 32 kB / 0.9244 GB, free: 35.68 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008001/0.8789, allocations: 7.545 MB / 0.9318 GB, free: 28.08 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001855/0.8808, allocations: 475 kB / 0.9322 GB, free: 27.61 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003459/0.8843, allocations: 2.254 MB / 0.9344 GB, free: 25.35 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002002/0.8863, allocations: 5.861 MB / 0.9402 GB, free: 19.09 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003569/0.8898, allocations: 400.5 kB / 0.9405 GB, free: 18.7 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005426/0.8904, allocations: 0.5309 MB / 0.9411 GB, free: 18.16 MB / 0.6512 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.001909/0.8923, allocations: 0.6698 MB / 0.9417 GB, free: 17.53 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001741/0.894, allocations: 0.6944 MB / 0.9424 GB, free: 16.83 MB / 0.6512 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.009729/0.9037, allocations: 10.53 MB / 0.9527 GB, free: 6.688 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.653566296212375] Failed to read output from testmodel.py, exit status != 0: 1.2443686109036207 1.251839483 1.039578168 Calling exit ...