Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA.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.01221/0.01221, allocations: 1.753 MB / 21.38 MB, free: 0.582 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.001416/0.001416, allocations: 107.8 kB / 24.98 MB, free: 2.184 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.001737/0.001737, allocations: 206 kB / 28.71 MB, free: 3.461 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.411/1.411, allocations: 230.6 MB / 262.9 MB, free: 6.223 MB / 206.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.028/1.028, allocations: 130.7 MB / 450.4 MB, free: 6.531 MB / 350.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_kA,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|hEXvle2vle_L3_1ph_BU_ntu.shell.h|hEXvle2vle_L3_1ph_BU_ntu.shell.p|hEXvle2vle_L3_1ph_BU_ntu.tubes.h|hEXvle2vle_L3_1ph_BU_ntu.tubes.p|hEXvle2vle_L3_1ph_BU_ntu.wall.T_w_a|hEXvle2vle_L3_1ph_BU_ntu.wall.T_w_i",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA") translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|hEXvle2vle_L3_1ph_BU_ntu.shell.h|hEXvle2vle_L3_1ph_BU_ntu.shell.p|hEXvle2vle_L3_1ph_BU_ntu.tubes.h|hEXvle2vle_L3_1ph_BU_ntu.tubes.p|hEXvle2vle_L3_1ph_BU_ntu.wall.T_w_a|hEXvle2vle_L3_1ph_BU_ntu.wall.T_w_i",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA") [Timeout 800] "Notification: SMArtInt 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: ClaRa 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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.03153/0.03153, allocations: 20.6 MB / 0.6368 GB, free: 4.789 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1987, allocations: 81.9 MB / 0.7168 GB, free: 2.801 MB / 0.5294 GB 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_kA): time 0.5042/0.7029, allocations: 58.99 MB / 0.7744 GB, free: 10.85 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03725/0.7402, allocations: 22.96 MB / 0.7968 GB, free: 10.44 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009262/0.7495, allocations: 143.3 kB / 0.797 GB, free: 10.38 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.009284/0.7587, allocations: 2.643 MB / 0.7995 GB, free: 8.797 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01524/0.774, allocations: 3.683 MB / 0.8031 GB, free: 5.824 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01147/0.7855, allocations: 3.918 MB / 0.807 GB, free: 2.852 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01888/0.8043, allocations: 9.908 MB / 0.8166 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007215/0.8116, allocations: 3.099 MB / 0.8197 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01002/0.8216, allocations: 4.161 MB / 0.8237 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009458/0.831, allocations: 4.282 MB / 0.8279 GB, free: 1.074 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.00343/0.8345, allocations: 0.668 MB / 0.8286 GB, free: 416 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00889/0.8433, allocations: 2.582 MB / 0.8311 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004091/0.8474, allocations: 2.036 MB / 0.8331 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.008206/0.8556, allocations: 3.556 MB / 0.8366 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02134/0.877, allocations: 10.63 MB / 0.8469 GB, free: 13.55 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 7.525e-06/0.877, allocations: 4 kB / 0.8469 GB, free: 13.55 MB / 0.6232 GB Notification: Performance of FrontEnd: time 2.174e-06/0.877, allocations: 0 / 0.8469 GB, free: 13.55 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.000411/0.8774, allocations: 0 / 0.8469 GB, free: 13.55 MB / 0.6232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1318 * Number of variables: 1318 Notification: Performance of Generate backend data structure: time 0.01986/0.8973, allocations: 7.369 MB / 0.8541 GB, free: 6.129 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.8973, allocations: 12.03 kB / 0.8541 GB, free: 6.117 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002797/0.9001, allocations: 0.894 MB / 0.855 GB, free: 5.219 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0123/0.9124, allocations: 5.396 MB / 0.8603 GB, free: 15.76 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002743/0.9127, allocations: 250.4 kB / 0.8605 GB, free: 15.52 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000885/0.9136, allocations: 310.8 kB / 0.8608 GB, free: 15.21 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02255/0.9361, allocations: 8.537 MB / 0.8692 GB, free: 5.75 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.305e-05/0.9362, allocations: 39.62 kB / 0.8692 GB, free: 5.711 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004675/0.9367, allocations: 160 kB / 0.8694 GB, free: 5.555 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002318/0.9369, allocations: 204.4 kB / 0.8695 GB, free: 5.352 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01982/0.9567, allocations: 6.559 MB / 0.876 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04991/1.007, allocations: 35.26 MB / 0.9104 GB, free: 10.43 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01765/1.024, allocations: 5.552 MB / 0.9158 GB, free: 4.734 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00517/1.029, allocations: 1.889 MB / 0.9177 GB, free: 2.789 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008338/1.03, allocations: 212.2 kB / 0.9179 GB, free: 2.582 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001088/1.03, allocations: 90.12 kB / 0.9179 GB, free: 2.492 MB / 0.6857 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003944/1.034, allocations: 0.631 MB / 0.9186 GB, free: 1.859 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=712): time 1.706e-05/1.034, allocations: 2.656 kB / 0.9186 GB, free: 1.859 MB / 0.6857 GB Notification: Performance of matching and sorting (n=712): time 0.03942/1.074, allocations: 10.99 MB / 0.9293 GB, free: 6.828 MB / 0.7013 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000639/1.074, allocations: 1.024 MB / 0.9303 GB, free: 5.562 MB / 0.7013 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01097/1.085, allocations: 4.871 MB / 0.935 GB, free: 0.7188 MB / 0.7013 GB Notification: Performance of collectPreVariables (initialization): time 0.001193/1.087, allocations: 73.7 kB / 0.9351 GB, free: 0.6406 MB / 0.7013 GB Notification: Performance of collectInitialEqns (initialization): time 0.002635/1.089, allocations: 2.433 MB / 0.9375 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.003411/1.093, allocations: 2.424 MB / 0.9399 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004834/1.097, allocations: 1.47 MB / 0.9413 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001464/1.098, allocations: 307.7 kB / 0.9416 GB, free: 9.965 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00634/1.104, allocations: 2.675 MB / 0.9442 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009004/1.113, allocations: 4.777 MB / 0.9489 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1294/1.242, allocations: 20.5 MB / 0.9689 GB, free: 12.48 MB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.602e-05/1.242, allocations: 24 kB / 0.9689 GB, free: 12.46 MB / 0.7482 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.0246/1.267, allocations: 8.442 MB / 0.9771 GB, free: 3.957 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001048/1.267, allocations: 32 kB / 0.9772 GB, free: 3.926 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0172/1.284, allocations: 6.16 MB / 0.9832 GB, free: 13.7 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007353/1.285, allocations: 205.7 kB / 0.9834 GB, free: 13.49 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007372/1.292, allocations: 2.016 MB / 0.9854 GB, free: 11.47 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003173/1.296, allocations: 2.91 MB / 0.9882 GB, free: 8.332 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005094/1.301, allocations: 327.8 kB / 0.9885 GB, free: 8.012 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001657/1.302, allocations: 491.6 kB / 0.989 GB, free: 7.531 MB / 0.7638 GB Warning: Assuming fixed start value for the following 4 variables: hEXvle2vle_L3_1ph_BU_ntu.tubes.h:VARIABLE(start = hEXvle2vle_L3_1ph_BU_ntu.tubes.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hEXvle2vle_L3_1ph_BU_ntu.tubes.p:VARIABLE(min = 0.0 start = hEXvle2vle_L3_1ph_BU_ntu.tubes.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real hEXvle2vle_L3_1ph_BU_ntu.shell.h:VARIABLE(start = hEXvle2vle_L3_1ph_BU_ntu.shell.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hEXvle2vle_L3_1ph_BU_ntu.shell.p:VARIABLE(min = 0.0 start = hEXvle2vle_L3_1ph_BU_ntu.shell.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01039/1.313, allocations: 3.761 MB / 0.9927 GB, free: 3.766 MB / 0.7638 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008765/1.321, allocations: 4.747 MB / 0.9973 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1275/1.449, allocations: 20.4 MB / 1.017 GB, free: 8.727 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.396e-05/1.449, allocations: 20 kB / 1.017 GB, free: 8.707 MB / 0.795 GB Notification: Performance of matching and sorting (n=993) (initialization_lambda0): time 0.02233/1.471, allocations: 8.378 MB / 1.025 GB, free: 268 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 7.364e-05/1.471, allocations: 32 kB / 1.025 GB, free: 236 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0151/1.487, allocations: 6.079 MB / 1.031 GB, free: 10.07 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005212/1.487, allocations: 181.7 kB / 1.032 GB, free: 9.891 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006912/1.494, allocations: 2.005 MB / 1.034 GB, free: 7.883 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002818/1.497, allocations: 2.876 MB / 1.036 GB, free: 4.789 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004713/1.502, allocations: 315.9 kB / 1.037 GB, free: 4.48 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001276/1.503, allocations: 492.7 kB / 1.037 GB, free: 4 MB / 0.8107 GB Warning: Assuming fixed start value for the following 4 variables: hEXvle2vle_L3_1ph_BU_ntu.tubes.h:VARIABLE(start = hEXvle2vle_L3_1ph_BU_ntu.tubes.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hEXvle2vle_L3_1ph_BU_ntu.tubes.p:VARIABLE(min = 0.0 start = hEXvle2vle_L3_1ph_BU_ntu.tubes.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real hEXvle2vle_L3_1ph_BU_ntu.shell.h:VARIABLE(start = hEXvle2vle_L3_1ph_BU_ntu.shell.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hEXvle2vle_L3_1ph_BU_ntu.shell.p:VARIABLE(min = 0.0 start = hEXvle2vle_L3_1ph_BU_ntu.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: 286 * 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 (991): * Single equations (assignments): 989 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002422/1.505, allocations: 0.6218 MB / 1.038 GB, free: 3.379 MB / 0.8107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002742/1.508, allocations: 0.6439 MB / 1.038 GB, free: 2.73 MB / 0.8107 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 1136 equation(s) and 1082 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (valve_shell1.fluidIn.q, valve_shell1.fluidIn.cp, valve_shell1.fluidIn.cv, valve_shell1.fluidIn.beta, valve_shell1.fluidIn.kappa, valve_shell1.fluidIn.drhodp_hxi, valve_shell1.fluidIn.drhodh_pxi, _, valve_shell1.fluidIn.w, valve_shell1.fluidIn.gamma) = ($cse432, $cse433, $cse434, $cse435, $cse436, $cse437, $cse438, $cse439, $cse440, $cse441) has size 9 but 8 variables ($cse189, $cse190, $cse191, $cse192, hEXvle2vle_L3_1ph_BU_ntu.tubes.bulk.transp.Pr, hEXvle2vle_L3_1ph_BU_ntu.tubes.bulk.transp.lambda, hEXvle2vle_L3_1ph_BU_ntu.tubes.bulk.transp.eta, hEXvle2vle_L3_1ph_BU_ntu.tubes.bulk.transp.sigma) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02044/1.528, allocations: 9.125 MB / 1.047 GB, free: 9.773 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.526146500022151] Failed to read output from testmodel.py, exit status != 0: 1.9099853420630097 1.920777219 1.041313582 Calling exit ...