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.01427/0.01427, allocations: 1.766 MB / 18.12 MB, free: 4.906 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.001564/0.001564, allocations: 99.72 kB / 21.35 MB, free: 1.699 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.002175/0.002175, allocations: 210.5 kB / 24.75 MB, free: 3.715 MB / 14.72 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.614/1.614, allocations: 230.6 MB / 258.5 MB, free: 13.13 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.122/1.122, allocations: 130.6 MB / 445.5 MB, free: 14.64 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: Automatically loaded package TILMedia 1.9.0 ClaRa due to uses annotation from ClaRa. 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. 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.4427/0.4427, allocations: 46.14 MB / 0.655 GB, free: 30.41 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.6318, allocations: 89.05 MB / 0.7419 GB, free: 2.344 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA): time 0.03408/0.6659, allocations: 26.02 MB / 0.7673 GB, free: 8.223 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.04525/0.7111, allocations: 22.66 MB / 0.7895 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007326/0.7184, allocations: 150.9 kB / 0.7896 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.009671/0.7281, allocations: 2.626 MB / 0.7922 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01449/0.7426, allocations: 3.617 MB / 0.7957 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01182/0.7544, allocations: 3.859 MB / 0.7995 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01876/0.7732, allocations: 9.911 MB / 0.8092 GB, free: 13.27 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007154/0.7803, allocations: 3.145 MB / 0.8122 GB, free: 10.06 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01044/0.7908, allocations: 4.169 MB / 0.8163 GB, free: 5.875 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008996/0.7998, allocations: 4.243 MB / 0.8204 GB, free: 1.613 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.003242/0.803, allocations: 0.668 MB / 0.8211 GB, free: 0.9453 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008632/0.8117, allocations: 2.449 MB / 0.8235 GB, free: 14.5 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.005665/0.8173, allocations: 2.04 MB / 0.8255 GB, free: 12.45 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.009648/0.827, allocations: 3.552 MB / 0.8289 GB, free: 8.879 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.02494/0.8519, allocations: 10.59 MB / 0.8393 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.089e-05/0.8519, allocations: 4 kB / 0.8393 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.033e-06/0.8519, allocations: 7.938 kB / 0.8393 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0004184/0.8523, allocations: 0 / 0.8393 GB, free: 14.23 MB / 0.6544 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.02357/0.8759, allocations: 7.447 MB / 0.8466 GB, free: 6.691 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/0.876, allocations: 11.97 kB / 0.8466 GB, free: 6.68 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004968/0.8809, allocations: 0.9018 MB / 0.8475 GB, free: 5.773 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01566/0.8966, allocations: 5.587 MB / 0.8529 GB, free: 116 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005192/0.8971, allocations: 246.5 kB / 0.8532 GB, free: 15.87 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001772/0.8989, allocations: 312 kB / 0.8534 GB, free: 15.56 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02608/0.925, allocations: 8.545 MB / 0.8618 GB, free: 5.996 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001689/0.9251, allocations: 39.62 kB / 0.8618 GB, free: 5.957 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001134/0.9263, allocations: 168 kB / 0.862 GB, free: 5.793 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003074/0.9266, allocations: 200.5 kB / 0.8622 GB, free: 5.594 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4401/1.367, allocations: 6.546 MB / 0.8686 GB, free: 112.3 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03675/1.403, allocations: 35.36 MB / 0.9031 GB, free: 85.57 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01572/1.419, allocations: 5.696 MB / 0.9087 GB, free: 83.28 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004562/1.424, allocations: 1.885 MB / 0.9105 GB, free: 82.21 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006449/1.424, allocations: 210.2 kB / 0.9107 GB, free: 82.14 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.208e-05/1.424, allocations: 87.3 kB / 0.9108 GB, free: 82.07 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003744/1.428, allocations: 0.6326 MB / 0.9114 GB, free: 81.7 MB / 0.67 GB Notification: Performance of pre-optimization done (n=712): time 1.412e-05/1.428, allocations: 0 / 0.9114 GB, free: 81.7 MB / 0.67 GB Notification: Performance of matching and sorting (n=712): time 0.03836/1.467, allocations: 11.14 MB / 0.9223 GB, free: 76.31 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004401/1.467, allocations: 1.027 MB / 0.9233 GB, free: 75.08 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009353/1.476, allocations: 4.866 MB / 0.928 GB, free: 72.55 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.001451/1.478, allocations: 69.52 kB / 0.9281 GB, free: 72.49 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.00178/1.48, allocations: 2.442 MB / 0.9305 GB, free: 70.34 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002824/1.482, allocations: 2.416 MB / 0.9329 GB, free: 68.22 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002854/1.485, allocations: 1.479 MB / 0.9343 GB, free: 67.39 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.207e-05/1.485, allocations: 301.1 kB / 0.9346 GB, free: 67.09 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005622/1.491, allocations: 2.67 MB / 0.9372 GB, free: 65.63 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007896/1.499, allocations: 4.789 MB / 0.9419 GB, free: 61.45 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1284/1.627, allocations: 20.49 MB / 0.9619 GB, free: 50.33 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.253e-05/1.627, allocations: 20 kB / 0.9619 GB, free: 50.31 MB / 0.67 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.02268/1.65, allocations: 8.458 MB / 0.9702 GB, free: 42.22 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.251e-05/1.65, allocations: 28 kB / 0.9702 GB, free: 42.19 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01309/1.663, allocations: 6.161 MB / 0.9762 GB, free: 36.01 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006359/1.664, allocations: 211.6 kB / 0.9764 GB, free: 35.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006895/1.671, allocations: 2.016 MB / 0.9784 GB, free: 33.83 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002226/1.673, allocations: 3.115 MB / 0.9814 GB, free: 30.45 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005535/1.678, allocations: 327 kB / 0.9817 GB, free: 30.13 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001517/1.68, allocations: 495.6 kB / 0.9822 GB, free: 29.65 MB / 0.67 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.009082/1.689, allocations: 3.745 MB / 0.9859 GB, free: 25.91 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007236/1.696, allocations: 4.753 MB / 0.9905 GB, free: 20.21 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.125/1.821, allocations: 20.39 MB / 1.01 GB, free: 14.89 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.569e-05/1.821, allocations: 20 kB / 1.01 GB, free: 14.87 MB / 0.6857 GB Notification: Performance of matching and sorting (n=993) (initialization_lambda0): time 0.02513/1.846, allocations: 8.376 MB / 1.019 GB, free: 6.43 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 8.349e-05/1.847, allocations: 35.94 kB / 1.019 GB, free: 6.395 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02119/1.868, allocations: 6.079 MB / 1.025 GB, free: 256 kB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000613/1.868, allocations: 177.7 kB / 1.025 GB, free: 72 kB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008215/1.877, allocations: 2.005 MB / 1.027 GB, free: 14.06 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003462/1.88, allocations: 3.077 MB / 1.03 GB, free: 10.71 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00608/1.886, allocations: 325.2 kB / 1.03 GB, free: 10.39 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001923/1.888, allocations: 487.7 kB / 1.03 GB, free: 9.914 MB / 0.7013 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.00342/1.891, allocations: 0.6214 MB / 1.031 GB, free: 9.289 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003517/1.895, allocations: 0.6499 MB / 1.032 GB, free: 8.637 MB / 0.7013 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.02277/1.918, allocations: 9.128 MB / 1.041 GB, free: 15.7 MB / 0.7169 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.889029302998097] Failed to read output from testmodel.py, exit status != 0: 1.928083687002072 1.94225472 1.086671018 Calling exit ...