Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.007256/0.007256, allocations: 1.439 MB / 21.29 MB, free: 3.258 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.0008823/0.0008823, allocations: 89.81 kB / 24.91 MB, free: 7.266 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.0009974/0.0009974, allocations: 163 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.9114/0.9114, allocations: 177.1 MB / 209.4 MB, free: 2.98 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 0.7298/0.7298, allocations: 102.5 MB / 368.7 MB, free: 1.5 MB / 330.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/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_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_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_ntu") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.5374 GB, free: 39.8 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.943e-05/2.123e-05, allocations: 8.75 kB / 0.5374 GB, free: 39.8 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.1181/0.1181, allocations: 70.8 MB / 0.6066 GB, free: 5.168 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.03067/0.1488, allocations: 24.41 MB / 0.6304 GB, free: 12.69 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004607/0.1534, allocations: 150.9 kB / 0.6306 GB, free: 12.54 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.004463/0.1579, allocations: 2.633 MB / 0.6331 GB, free: 9.891 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.007963/0.1658, allocations: 4.757 MB / 0.6378 GB, free: 5.105 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.007003/0.1728, allocations: 4.631 MB / 0.6423 GB, free: 476 kB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.01161/0.1844, allocations: 12.07 MB / 0.6541 GB, free: 4.352 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003904/0.1883, allocations: 3.902 MB / 0.6579 GB, free: 388 kB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006282/0.1946, allocations: 6.646 MB / 0.6644 GB, free: 9.719 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004043/0.1987, allocations: 4.071 MB / 0.6684 GB, free: 5.637 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.001031/0.1997, allocations: 0.8438 MB / 0.6692 GB, free: 4.793 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004629/0.2043, allocations: 2.593 MB / 0.6717 GB, free: 2.195 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.001469/0.2058, allocations: 2.371 MB / 0.674 GB, free: 15.81 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.002834/0.2086, allocations: 2.603 MB / 0.6766 GB, free: 13.2 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01188/0.2205, allocations: 12.7 MB / 0.689 GB, free: 476 kB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2205, allocations: 0 / 0.689 GB, free: 476 kB / 0.573 GB Notification: Performance of FrontEnd: time 2.465e-06/0.2205, allocations: 0 / 0.689 GB, free: 476 kB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001172/0.2206, allocations: 4 kB / 0.689 GB, free: 472 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.01098/0.2316, allocations: 8.172 MB / 0.697 GB, free: 8.203 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.2317, allocations: 8.031 kB / 0.697 GB, free: 8.195 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00152/0.2332, allocations: 0.9753 MB / 0.6979 GB, free: 7.215 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007034/0.2402, allocations: 6.383 MB / 0.7042 GB, free: 0.7461 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002404/0.2404, allocations: 393.9 kB / 0.7045 GB, free: 344 kB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003816/0.2408, allocations: 348 kB / 0.7049 GB, free: 15.99 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01287/0.2537, allocations: 11.34 MB / 0.7159 GB, free: 3.152 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.925e-05/0.2538, allocations: 43.62 kB / 0.716 GB, free: 3.109 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000304/0.2541, allocations: 180 kB / 0.7161 GB, free: 2.934 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002872/0.2544, allocations: 217.2 kB / 0.7164 GB, free: 2.719 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01167/0.266, allocations: 7.472 MB / 0.7236 GB, free: 11.23 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.02467/0.2907, allocations: 34.87 MB / 0.7577 GB, free: 7.262 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01019/0.3009, allocations: 6.611 MB / 0.7642 GB, free: 448 kB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2754/0.5763, allocations: 2.398 MB / 0.7665 GB, free: 179.4 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007225/0.577, allocations: 257.3 kB / 0.7667 GB, free: 179.4 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.751e-05/0.5771, allocations: 98.25 kB / 0.7668 GB, free: 179.3 MB / 0.6512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002834/0.5799, allocations: 0.6786 MB / 0.7675 GB, free: 179.3 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=812): time 8.376e-06/0.5799, allocations: 3.656 kB / 0.7675 GB, free: 179.3 MB / 0.6512 GB Notification: Performance of matching and sorting (n=812): time 0.02253/0.6025, allocations: 12.74 MB / 0.7799 GB, free: 176 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002226/0.6027, allocations: 1.42 MB / 0.7813 GB, free: 174.3 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006104/0.6088, allocations: 5.293 MB / 0.7865 GB, free: 172.3 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.0003915/0.6092, allocations: 84.8 kB / 0.7866 GB, free: 172.2 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001064/0.6103, allocations: 2.564 MB / 0.7891 GB, free: 170.1 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001285/0.6115, allocations: 2.714 MB / 0.7917 GB, free: 167.8 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001727/0.6133, allocations: 1.619 MB / 0.7933 GB, free: 166.8 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 3.37e-05/0.6133, allocations: 305.1 kB / 0.7936 GB, free: 166.5 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003832/0.6171, allocations: 3.097 MB / 0.7966 GB, free: 164.8 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004694/0.6218, allocations: 6.145 MB / 0.8026 GB, free: 159.3 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1069/0.7287, allocations: 31.11 MB / 0.833 GB, free: 134.8 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.936e-05/0.7288, allocations: 16 kB / 0.833 GB, free: 134.8 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.01204/0.7408, allocations: 9.684 MB / 0.8425 GB, free: 125.1 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 3.383e-05/0.7408, allocations: 33.72 kB / 0.8425 GB, free: 125 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007746/0.7486, allocations: 7.329 MB / 0.8497 GB, free: 117.6 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0231/0.7717, allocations: 4.416 MB / 0.854 GB, free: 113.2 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004728/0.7764, allocations: 2.142 MB / 0.8561 GB, free: 111.1 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002005/0.7784, allocations: 2.767 MB / 0.8588 GB, free: 108.2 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004254/0.7827, allocations: 379.9 kB / 0.8592 GB, free: 107.8 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005265/0.7832, allocations: 0.5387 MB / 0.8597 GB, free: 107.3 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.006279/0.7895, allocations: 4.202 MB / 0.8638 GB, free: 103.1 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003889/0.7934, allocations: 6.089 MB / 0.8697 GB, free: 95.82 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.08641/0.8798, allocations: 27.41 MB / 0.8965 GB, free: 67.51 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.11e-05/0.8798, allocations: 20 kB / 0.8965 GB, free: 67.49 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.01224/0.8921, allocations: 9.476 MB / 0.9058 GB, free: 57.97 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 3.575e-05/0.8921, allocations: 34.88 kB / 0.9058 GB, free: 57.94 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007738/0.8998, allocations: 7.042 MB / 0.9127 GB, free: 50.84 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001204/0.901, allocations: 420 kB / 0.9131 GB, free: 50.42 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003367/0.9044, allocations: 2.189 MB / 0.9152 GB, free: 48.23 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001043/0.9054, allocations: 2.197 MB / 0.9174 GB, free: 45.92 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003833/0.9093, allocations: 384.5 kB / 0.9177 GB, free: 45.54 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004815/0.9098, allocations: 0.5309 MB / 0.9182 GB, free: 45.01 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.001915/0.9117, allocations: 0.6525 MB / 0.9189 GB, free: 44.36 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001567/0.9132, allocations: 0.6866 MB / 0.9196 GB, free: 43.66 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.01035/0.9236, allocations: 10.31 MB / 0.9296 GB, free: 33.6 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.19119912199676] Failed to read output from testmodel.py, exit status != 0: 1.0977242346853018 1.409868743 0.885646531 Calling exit ...