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_ntu.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.006101/0.006101, allocations: 1.439 MB / 21.3 MB, free: 3.254 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.0006095/0.0006095, allocations: 92.61 kB / 24.9 MB, free: 7.27 MB / 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.001126/0.001126, allocations: 164.9 kB / 28.62 MB, free: 4.453 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.8724/0.8724, allocations: 177.1 MB / 209.4 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.712/0.712, allocations: 102.4 MB / 368.7 MB, free: 1.473 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_ntu,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|hex.shell.h|hex.shell.p|hex.tubes.h|hex.tubes.p|hex.wall.T_w_a|hex.wall.T_w_i",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_ntu") translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_ntu,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|hex.shell.h|hex.shell.p|hex.tubes.h|hex.tubes.p|hex.wall.T_w_a|hex.wall.T_w_i",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_ntu") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.5374 GB, free: 39.73 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.412e-05/2.547e-05, allocations: 2.281 kB / 0.5374 GB, free: 39.73 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_ntu): time 0.1162/0.1162, allocations: 70.81 MB / 0.6066 GB, free: 5.152 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.03039/0.1466, allocations: 24.4 MB / 0.6304 GB, free: 12.68 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005585/0.1522, allocations: 146.9 kB / 0.6305 GB, free: 12.53 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.004921/0.1571, allocations: 2.637 MB / 0.6331 GB, free: 9.879 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.009849/0.167, allocations: 4.769 MB / 0.6378 GB, free: 5.082 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.007942/0.1749, allocations: 4.623 MB / 0.6423 GB, free: 460 kB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.01336/0.1883, allocations: 12.08 MB / 0.6541 GB, free: 4.328 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005575/0.1939, allocations: 3.902 MB / 0.6579 GB, free: 364 kB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009987/0.2038, allocations: 6.65 MB / 0.6644 GB, free: 9.691 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005431/0.2093, allocations: 4.059 MB / 0.6683 GB, free: 5.621 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.001441/0.2107, allocations: 0.8438 MB / 0.6692 GB, free: 4.777 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004572/0.2153, allocations: 2.597 MB / 0.6717 GB, free: 2.176 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.001383/0.2167, allocations: 2.371 MB / 0.674 GB, free: 15.8 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.002419/0.2191, allocations: 2.603 MB / 0.6766 GB, free: 13.19 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01084/0.2299, allocations: 12.7 MB / 0.689 GB, free: 456 kB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2299, allocations: 0 / 0.689 GB, free: 456 kB / 0.573 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2299, allocations: 0 / 0.689 GB, free: 456 kB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001483/0.2301, allocations: 0 / 0.689 GB, free: 456 kB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1448 * Number of variables: 1448 Notification: Performance of Generate backend data structure: time 0.01042/0.2405, allocations: 8.176 MB / 0.6969 GB, free: 8.188 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.2405, allocations: 8.031 kB / 0.6969 GB, free: 8.18 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001659/0.2422, allocations: 0.9676 MB / 0.6979 GB, free: 7.207 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007194/0.2494, allocations: 6.388 MB / 0.7041 GB, free: 0.7305 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002523/0.2496, allocations: 401.9 kB / 0.7045 GB, free: 320 kB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003865/0.25, allocations: 344 kB / 0.7048 GB, free: 15.97 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01334/0.2634, allocations: 11.34 MB / 0.7159 GB, free: 3.137 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.03e-05/0.2634, allocations: 43.61 kB / 0.716 GB, free: 3.094 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003159/0.2638, allocations: 180 kB / 0.7161 GB, free: 2.918 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001391/0.2639, allocations: 221.2 kB / 0.7163 GB, free: 2.699 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01293/0.2768, allocations: 7.476 MB / 0.7236 GB, free: 11.2 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.02757/0.3044, allocations: 34.86 MB / 0.7577 GB, free: 7.25 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01052/0.3149, allocations: 6.619 MB / 0.7641 GB, free: 428 kB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2867/0.6016, allocations: 2.39 MB / 0.7665 GB, free: 177.8 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007747/0.6024, allocations: 253.6 kB / 0.7667 GB, free: 177.8 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.31e-05/0.6025, allocations: 103.7 kB / 0.7668 GB, free: 177.8 MB / 0.6512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002963/0.6054, allocations: 0.6783 MB / 0.7675 GB, free: 177.8 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=812): time 7.764e-06/0.6054, allocations: 1.5 kB / 0.7675 GB, free: 177.8 MB / 0.6512 GB Notification: Performance of matching and sorting (n=812): time 0.02409/0.6295, allocations: 12.75 MB / 0.7799 GB, free: 174.3 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002808/0.6298, allocations: 1.411 MB / 0.7813 GB, free: 172.6 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006683/0.6365, allocations: 5.293 MB / 0.7865 GB, free: 170.5 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.0005855/0.6371, allocations: 85.27 kB / 0.7866 GB, free: 170.5 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001342/0.6384, allocations: 2.567 MB / 0.7891 GB, free: 168.4 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001933/0.6403, allocations: 2.71 MB / 0.7917 GB, free: 166.4 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00205/0.6424, allocations: 1.619 MB / 0.7933 GB, free: 165.5 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 3.901e-05/0.6424, allocations: 306.3 kB / 0.7936 GB, free: 165.2 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003899/0.6463, allocations: 3.101 MB / 0.7966 GB, free: 163.5 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004942/0.6513, allocations: 6.142 MB / 0.8026 GB, free: 157.9 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.113/0.7642, allocations: 31.11 MB / 0.833 GB, free: 133.1 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.277e-05/0.7643, allocations: 16.66 kB / 0.833 GB, free: 133.1 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.01404/0.7783, allocations: 9.687 MB / 0.8425 GB, free: 123.4 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 3.621e-05/0.7784, allocations: 32 kB / 0.8425 GB, free: 123.3 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008454/0.7868, allocations: 7.321 MB / 0.8497 GB, free: 115.9 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0235/0.8103, allocations: 4.426 MB / 0.854 GB, free: 111.5 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004898/0.8152, allocations: 2.141 MB / 0.8561 GB, free: 109.4 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002076/0.8173, allocations: 2.762 MB / 0.8588 GB, free: 106.5 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005294/0.8226, allocations: 392.3 kB / 0.8591 GB, free: 106.1 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000643/0.8232, allocations: 0.5308 MB / 0.8597 GB, free: 105.6 MB / 0.6512 GB Warning: Assuming fixed start value for the following 4 variables: hex.wall.T_w_i:VARIABLE(min = 0.0 start = hex.wall.T_w_i_start unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at inner phase\" type: Real hex.wall.T_w_a:VARIABLE(min = 0.0 start = hex.wall.T_w_a_start unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at outer phase\" 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.006407/0.8296, allocations: 4.205 MB / 0.8638 GB, free: 101.4 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004277/0.8339, allocations: 6.085 MB / 0.8697 GB, free: 94.13 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.09052/0.9244, allocations: 27.42 MB / 0.8965 GB, free: 65.82 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.083e-05/0.9245, allocations: 20 kB / 0.8965 GB, free: 65.8 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.01322/0.9377, allocations: 9.474 MB / 0.9058 GB, free: 56.28 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 2.873e-05/0.9377, allocations: 36 kB / 0.9058 GB, free: 56.24 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008022/0.9457, allocations: 7.041 MB / 0.9127 GB, free: 49.14 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001264/0.947, allocations: 425.2 kB / 0.9131 GB, free: 48.73 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003495/0.9505, allocations: 2.18 MB / 0.9152 GB, free: 46.54 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001122/0.9516, allocations: 2.2 MB / 0.9173 GB, free: 44.22 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004132/0.9558, allocations: 384.5 kB / 0.9177 GB, free: 43.84 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005021/0.9563, allocations: 0.523 MB / 0.9182 GB, free: 43.32 MB / 0.6512 GB Warning: Assuming fixed start value for the following 4 variables: hex.wall.T_w_i:VARIABLE(min = 0.0 start = hex.wall.T_w_i_start unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at inner phase\" type: Real hex.wall.T_w_a:VARIABLE(min = 0.0 start = hex.wall.T_w_a_start unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at outer phase\" 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: 287 * 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 (1056): * Single equations (assignments): 1054 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,34)} Notification: Performance of prepare postOptimizeDAE: time 0.001801/0.9581, allocations: 0.6555 MB / 0.9189 GB, free: 42.71 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001244/0.9593, allocations: 0.6827 MB / 0.9195 GB, free: 42.02 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 1294 equation(s) and 1237 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) = ($cse336, $cse337, $cse338, $cse339, $cse340, $cse341, $cse342, $cse343, $cse344, $cse345) has size 9 but 8 variables ($cse159, $cse160, $cse161, $cse162, 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.01059/0.9699, allocations: 10.32 MB / 0.9296 GB, free: 32.06 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.03904683329165] Failed to read output from testmodel.py, exit status != 0: 1.1273094192147255 1.4120479 0.904351495 Calling exit ...