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.005919/0.005919, 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.0006568/0.0006568, 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.0007873/0.0007873, allocations: 163.6 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.844/0.844, allocations: 177.2 MB / 208.6 MB, free: 2.949 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.7041/0.7041, allocations: 102.4 MB / 367.9 MB, free: 1.449 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 2.064e-06/2.064e-06, allocations: 0 / 0.5367 GB, free: 39.84 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.018e-05/3.224e-05, allocations: 4.75 kB / 0.5367 GB, free: 39.84 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.1145/0.1145, allocations: 70.68 MB / 0.6057 GB, free: 5.266 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.02837/0.1429, allocations: 24.49 MB / 0.6296 GB, free: 12.7 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002818/0.1457, allocations: 146.9 kB / 0.6298 GB, free: 12.55 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.003688/0.1494, allocations: 2.652 MB / 0.6323 GB, free: 9.887 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.006388/0.1558, allocations: 4.854 MB / 0.6371 GB, free: 5.004 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.008128/0.1639, allocations: 4.701 MB / 0.6417 GB, free: 300 kB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.01481/0.1787, allocations: 12.68 MB / 0.6541 GB, free: 3.566 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007013/0.1857, allocations: 4.035 MB / 0.658 GB, free: 15.46 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007271/0.193, allocations: 6.899 MB / 0.6647 GB, free: 8.547 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004057/0.1971, allocations: 4.324 MB / 0.669 GB, free: 4.211 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.0007448/0.1978, allocations: 0.875 MB / 0.6698 GB, free: 3.336 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004242/0.2021, allocations: 2.643 MB / 0.6724 GB, free: 0.6875 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.001399/0.2035, allocations: 2.566 MB / 0.6749 GB, free: 14.11 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.002321/0.2058, allocations: 2.728 MB / 0.6776 GB, free: 11.38 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01218/0.218, allocations: 13.24 MB / 0.6905 GB, free: 14.1 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.218, allocations: 0 / 0.6905 GB, free: 14.1 MB / 0.5887 GB Notification: Performance of FrontEnd: time 2.695e-06/0.218, allocations: 4 kB / 0.6905 GB, free: 14.09 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 0.0002857/0.2183, allocations: 0 / 0.6905 GB, free: 14.09 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.01239/0.2307, allocations: 8.493 MB / 0.6988 GB, free: 5.516 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.2307, allocations: 12.03 kB / 0.6988 GB, free: 5.504 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001771/0.2325, allocations: 1.018 MB / 0.6998 GB, free: 4.48 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007592/0.2401, allocations: 6.47 MB / 0.7061 GB, free: 13.92 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002638/0.2403, allocations: 398.2 kB / 0.7065 GB, free: 13.51 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003869/0.2407, allocations: 367.9 kB / 0.7068 GB, free: 13.15 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01488/0.2556, allocations: 11.89 MB / 0.7185 GB, free: 15.73 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.164e-05/0.2556, allocations: 39.62 kB / 0.7185 GB, free: 15.69 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003098/0.256, allocations: 188 kB / 0.7187 GB, free: 15.51 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001819/0.2561, allocations: 297.7 kB / 0.719 GB, free: 15.21 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01222/0.2684, allocations: 8.009 MB / 0.7268 GB, free: 7.188 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.0282/0.2966, allocations: 36.27 MB / 0.7622 GB, free: 1.805 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2621/0.5587, allocations: 7.026 MB / 0.7691 GB, free: 176 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003855/0.5625, allocations: 2.549 MB / 0.7715 GB, free: 174.9 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007287/0.5632, allocations: 253.5 kB / 0.7718 GB, free: 174.9 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.267e-05/0.5633, allocations: 108.5 kB / 0.7719 GB, free: 174.8 MB / 0.6512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003018/0.5663, allocations: 0.6539 MB / 0.7725 GB, free: 174.7 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=829): time 1.895e-05/0.5664, allocations: 0 / 0.7725 GB, free: 174.7 MB / 0.6512 GB Notification: Performance of matching and sorting (n=829): time 0.03044/0.5968, allocations: 14.13 MB / 0.7863 GB, free: 170.2 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002583/0.5971, allocations: 1.447 MB / 0.7877 GB, free: 168.5 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007579/0.6046, allocations: 5.373 MB / 0.793 GB, free: 165.7 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.001418/0.6061, allocations: 87.02 kB / 0.7931 GB, free: 165.6 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001247/0.6073, allocations: 2.663 MB / 0.7957 GB, free: 163.5 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.003061/0.6104, allocations: 2.78 MB / 0.7984 GB, free: 161.4 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003343/0.6137, allocations: 1.677 MB / 0.8 GB, free: 160.5 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 4.023e-05/0.6138, allocations: 302.5 kB / 0.8003 GB, free: 160.2 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005643/0.6194, allocations: 3.297 MB / 0.8035 GB, free: 158.4 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006098/0.6255, allocations: 6.412 MB / 0.8098 GB, free: 152.6 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1132/0.7387, allocations: 32.93 MB / 0.842 GB, free: 122.6 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.339e-05/0.7388, allocations: 20 kB / 0.842 GB, free: 122.5 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1126) (initialization): time 0.01548/0.7543, allocations: 10.39 MB / 0.8521 GB, free: 112.1 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 4.249e-05/0.7543, allocations: 32.94 kB / 0.8522 GB, free: 112.1 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01144/0.7657, allocations: 8.523 MB / 0.8605 GB, free: 103.5 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04389/0.8096, allocations: 7.742 MB / 0.868 GB, free: 95.8 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00519/0.8148, allocations: 2.207 MB / 0.8702 GB, free: 93.59 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002969/0.8178, allocations: 4.528 MB / 0.8746 GB, free: 88.81 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005489/0.8233, allocations: 396.3 kB / 0.875 GB, free: 88.43 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001445/0.8247, allocations: 0.5386 MB / 0.8755 GB, free: 87.89 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.007294/0.832, allocations: 4.496 MB / 0.8799 GB, free: 83.38 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005158/0.8372, allocations: 6.363 MB / 0.8861 GB, free: 75.81 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.09104/0.9282, allocations: 29.23 MB / 0.9147 GB, free: 45.68 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.718e-05/0.9283, allocations: 21.64 kB / 0.9147 GB, free: 45.66 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1126) (initialization_lambda0): time 0.01579/0.944, allocations: 9.918 MB / 0.9244 GB, free: 35.69 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 4.242e-05/0.9441, allocations: 37.34 kB / 0.9244 GB, free: 35.65 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01035/0.9544, allocations: 7.532 MB / 0.9318 GB, free: 28.06 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002001/0.9564, allocations: 475 kB / 0.9322 GB, free: 27.59 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005037/0.9615, allocations: 2.257 MB / 0.9344 GB, free: 25.33 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002675/0.9642, allocations: 5.858 MB / 0.9401 GB, free: 19.07 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005039/0.9692, allocations: 403.3 kB / 0.9405 GB, free: 18.68 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001512/0.9707, allocations: 0.5348 MB / 0.941 GB, free: 18.14 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.002197/0.9729, allocations: 0.6694 MB / 0.9417 GB, free: 17.51 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002167/0.9751, allocations: 0.6905 MB / 0.9424 GB, free: 16.82 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.01271/0.9878, allocations: 10.53 MB / 0.9527 GB, free: 6.664 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.9329471960663795] Failed to read output from testmodel.py, exit status != 0: 1.3778252070769668 1.3890504049999999 1.168615464 Calling exit ...