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.01217/0.01217, allocations: 1.347 MB / 20.45 MB, free: 1.25 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.001593/0.001593, allocations: 87.44 kB / 24.03 MB, free: 2.586 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.001799/0.001799, allocations: 154.5 kB / 27.71 MB, free: 3.844 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.512/1.512, allocations: 177.1 MB / 208.4 MB, free: 7.645 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.089/1.089, allocations: 102.5 MB / 367.8 MB, free: 4.543 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: Performance of FrontEnd - loaded program: time 2.013e-06/2.013e-06, allocations: 0 / 0.5365 GB, free: 7.102 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.886e-05/3.088e-05, allocations: 2.281 kB / 0.5365 GB, free: 7.098 MB / 446.1 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.1894/0.1894, allocations: 70.72 MB / 0.6055 GB, free: 2.836 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.04838/0.2378, allocations: 24.48 MB / 0.6294 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007358/0.2452, allocations: 150.9 kB / 0.6296 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.009701/0.2549, allocations: 2.666 MB / 0.6322 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01663/0.2715, allocations: 4.835 MB / 0.6369 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.01334/0.2849, allocations: 4.713 MB / 0.6415 GB, free: 13.87 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.02295/0.3078, allocations: 12.67 MB / 0.6539 GB, free: 1.156 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01086/0.3187, allocations: 4.039 MB / 0.6578 GB, free: 13.04 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02045/0.3391, allocations: 6.899 MB / 0.6645 GB, free: 6.129 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01167/0.3508, allocations: 4.316 MB / 0.6688 GB, free: 1.801 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.004064/0.3549, allocations: 0.8789 MB / 0.6696 GB, free: 0.9219 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01076/0.3656, allocations: 2.639 MB / 0.6722 GB, free: 14.28 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.005048/0.3707, allocations: 2.574 MB / 0.6747 GB, free: 11.7 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.009502/0.3802, allocations: 2.731 MB / 0.6774 GB, free: 8.957 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.4179/0.7981, allocations: 13.24 MB / 0.6903 GB, free: 49.98 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.7981, allocations: 0 / 0.6903 GB, free: 49.98 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.283e-06/0.7981, allocations: 0 / 0.6903 GB, free: 49.98 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0004802/0.7985, allocations: 0.6562 kB / 0.6903 GB, free: 49.98 MB / 0.5763 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.03575/0.8343, allocations: 8.492 MB / 0.6986 GB, free: 46.48 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 6.074e-05/0.8344, allocations: 12.5 kB / 0.6986 GB, free: 46.48 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006331/0.8407, allocations: 1.011 MB / 0.6996 GB, free: 46.01 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02019/0.8609, allocations: 6.46 MB / 0.7059 GB, free: 44.8 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008309/0.8617, allocations: 403.5 kB / 0.7063 GB, free: 44.66 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002875/0.8646, allocations: 363.8 kB / 0.7066 GB, free: 44.66 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03587/0.9005, allocations: 11.9 MB / 0.7183 GB, free: 39.52 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003518/0.9008, allocations: 42.38 kB / 0.7183 GB, free: 39.52 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002521/0.9033, allocations: 183.1 kB / 0.7185 GB, free: 39.52 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005447/0.9039, allocations: 292 kB / 0.7188 GB, free: 39.51 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02697/0.9308, allocations: 8.018 MB / 0.7266 GB, free: 39.48 MB / 0.5763 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.06045/0.9913, allocations: 36.27 MB / 0.762 GB, free: 9.309 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02088/1.012, allocations: 7.031 MB / 0.7689 GB, free: 5.453 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006074/1.018, allocations: 2.55 MB / 0.7714 GB, free: 3.008 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001196/1.019, allocations: 256.7 kB / 0.7716 GB, free: 2.758 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001244/1.02, allocations: 106.7 kB / 0.7717 GB, free: 2.656 MB / 0.5763 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005786/1.025, allocations: 0.6498 MB / 0.7723 GB, free: 2.008 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=829): time 3.177e-05/1.025, allocations: 2.766 kB / 0.7723 GB, free: 2.008 MB / 0.5763 GB Notification: Performance of matching and sorting (n=829): time 0.05564/1.081, allocations: 14.13 MB / 0.7861 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001058/1.082, allocations: 1.446 MB / 0.7876 GB, free: 2.152 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01517/1.097, allocations: 5.379 MB / 0.7928 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.00224/1.099, allocations: 85.7 kB / 0.7929 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.003445/1.103, allocations: 2.656 MB / 0.7955 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0051/1.108, allocations: 2.779 MB / 0.7982 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008036/1.116, allocations: 1.681 MB / 0.7998 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001582/1.116, allocations: 301.1 kB / 0.8001 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009411/1.126, allocations: 3.295 MB / 0.8033 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01327/1.139, allocations: 6.416 MB / 0.8096 GB, free: 10.39 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2641/1.403, allocations: 32.93 MB / 0.8418 GB, free: 9.531 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001048/1.403, allocations: 18.08 kB / 0.8418 GB, free: 9.516 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1126) (initialization): time 0.0376/1.441, allocations: 10.38 MB / 0.8519 GB, free: 15.47 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001066/1.441, allocations: 36.06 kB / 0.852 GB, free: 15.44 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03252/1.473, allocations: 8.525 MB / 0.8603 GB, free: 6.898 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09887/1.572, allocations: 7.748 MB / 0.8678 GB, free: 15.18 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00969/1.582, allocations: 2.209 MB / 0.87 GB, free: 13.1 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006506/1.588, allocations: 4.514 MB / 0.8744 GB, free: 8.383 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009179/1.598, allocations: 403.7 kB / 0.8748 GB, free: 7.988 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002669/1.6, allocations: 0.5426 MB / 0.8753 GB, free: 7.445 MB / 0.6857 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.01611/1.616, allocations: 4.502 MB / 0.8797 GB, free: 2.938 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01359/1.63, allocations: 6.353 MB / 0.8859 GB, free: 11.41 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2146/1.845, allocations: 29.23 MB / 0.9145 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001004/1.845, allocations: 20 kB / 0.9145 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1126) (initialization_lambda0): time 0.03389/1.879, allocations: 9.92 MB / 0.9242 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001046/1.879, allocations: 32 kB / 0.9242 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02336/1.902, allocations: 7.533 MB / 0.9316 GB, free: 12.33 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004495/1.906, allocations: 478.8 kB / 0.932 GB, free: 11.85 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009835/1.916, allocations: 2.254 MB / 0.9342 GB, free: 9.727 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006903/1.923, allocations: 5.859 MB / 0.9399 GB, free: 3.527 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008781/1.932, allocations: 392.5 kB / 0.9403 GB, free: 3.141 MB / 0.7482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002762/1.935, allocations: 0.5403 MB / 0.9409 GB, free: 2.602 MB / 0.7482 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.004977/1.94, allocations: 0.6829 MB / 0.9415 GB, free: 2.047 MB / 0.7482 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004706/1.944, allocations: 0.6905 MB / 0.9422 GB, free: 1.352 MB / 0.7482 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.02804/1.972, allocations: 10.53 MB / 0.9525 GB, free: 7.41 MB / 0.7638 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 6.271395448595285] Failed to read output from testmodel.py, exit status != 0: 2.4666871204972267 2.478078881 1.676930733 Calling exit ...