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.008353/0.008353, 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.0005449/0.0005449, allocations: 94.12 kB / 24.91 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.0007376/0.0007376, allocations: 168.9 kB / 28.62 MB, free: 4.449 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.8751/0.8751, 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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 0.7328/0.7328, allocations: 102.4 MB / 368.7 MB, free: 1.441 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_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: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 224 / 0.5374 GB, free: 39.77 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.514e-05/2.704e-05, allocations: 6 kB / 0.5374 GB, free: 39.76 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_kA): time 0.123/0.123, allocations: 69.18 MB / 0.605 GB, free: 6.754 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.03012/0.1531, allocations: 21.83 MB / 0.6263 GB, free: 0.8555 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005649/0.1588, allocations: 146.9 kB / 0.6264 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.006821/0.1656, allocations: 2.571 MB / 0.6289 GB, free: 14.12 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.009945/0.1756, allocations: 3.789 MB / 0.6326 GB, free: 10.31 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.008036/0.1836, allocations: 3.996 MB / 0.6365 GB, free: 6.309 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.01243/0.196, allocations: 10.17 MB / 0.6465 GB, free: 12.1 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005177/0.2012, allocations: 3.343 MB / 0.6497 GB, free: 8.688 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01092/0.2121, allocations: 5.686 MB / 0.6553 GB, free: 2.988 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005846/0.218, allocations: 3.476 MB / 0.6587 GB, free: 15.5 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.001914/0.2199, allocations: 0.668 MB / 0.6593 GB, free: 14.84 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004899/0.2248, allocations: 1.981 MB / 0.6613 GB, free: 12.85 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.001914/0.2267, allocations: 2.059 MB / 0.6633 GB, free: 10.79 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.003438/0.2301, allocations: 2.205 MB / 0.6654 GB, free: 8.574 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.0134/0.2435, allocations: 10.47 MB / 0.6757 GB, free: 14.07 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.2435, allocations: 0 / 0.6757 GB, free: 14.07 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.176e-06/0.2435, allocations: 3.938 kB / 0.6757 GB, free: 14.07 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.000357/0.2439, allocations: 4 kB / 0.6757 GB, free: 14.06 MB / 0.573 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.01215/0.2561, allocations: 7.293 MB / 0.6828 GB, free: 6.691 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/0.2561, allocations: 8.031 kB / 0.6828 GB, free: 6.684 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001765/0.2579, allocations: 0.894 MB / 0.6837 GB, free: 5.785 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00909/0.267, allocations: 5.397 MB / 0.6889 GB, free: 300 kB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00018/0.2671, allocations: 246.4 kB / 0.6892 GB, free: 52 kB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005268/0.2677, allocations: 316 kB / 0.6895 GB, free: 15.74 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0141/0.2818, allocations: 10.06 MB / 0.6993 GB, free: 4.293 MB / 0.5887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.085e-05/0.2819, allocations: 51.55 kB / 0.6994 GB, free: 4.242 MB / 0.5887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003816/0.2822, allocations: 160 kB / 0.6995 GB, free: 4.086 MB / 0.5887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001694/0.2824, allocations: 200.5 kB / 0.6997 GB, free: 3.887 MB / 0.5887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01221/0.2946, allocations: 6.528 MB / 0.7061 GB, free: 13.34 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03009/0.3247, allocations: 32.84 MB / 0.7381 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01012/0.3348, allocations: 5.536 MB / 0.7435 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003421/0.3383, allocations: 1.88 MB / 0.7454 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004126/0.3387, allocations: 177.6 kB / 0.7456 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.817e-05/0.3387, allocations: 88.92 kB / 0.7456 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002467/0.3412, allocations: 0.6169 MB / 0.7462 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=712): time 1.13e-05/0.3412, allocations: 0 / 0.7462 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of matching and sorting (n=712): time 0.02029/0.3615, allocations: 10.98 MB / 0.757 GB, free: 7.785 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003622/0.3619, allocations: 1.031 MB / 0.758 GB, free: 6.512 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005918/0.3678, allocations: 4.869 MB / 0.7627 GB, free: 1.656 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.0008699/0.3687, allocations: 69.7 kB / 0.7628 GB, free: 1.582 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.2919/0.6606, allocations: 2.449 MB / 0.7652 GB, free: 178.5 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.002147/0.6627, allocations: 2.388 MB / 0.7675 GB, free: 177.4 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002086/0.6648, allocations: 1.456 MB / 0.7689 GB, free: 177.3 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 3.567e-05/0.6648, allocations: 301.1 kB / 0.7692 GB, free: 177 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003842/0.6687, allocations: 2.672 MB / 0.7718 GB, free: 176.3 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004336/0.673, allocations: 5.233 MB / 0.7769 GB, free: 172 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06096/0.734, allocations: 20.5 MB / 0.797 GB, free: 163.1 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.381e-05/0.734, allocations: 22.75 kB / 0.797 GB, free: 163.1 MB / 0.6512 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.0136/0.7476, allocations: 8.451 MB / 0.8052 GB, free: 158.7 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 5.484e-05/0.7477, allocations: 31.62 kB / 0.8053 GB, free: 158.7 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007031/0.7547, allocations: 6.163 MB / 0.8113 GB, free: 155.7 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000323/0.755, allocations: 207.1 kB / 0.8115 GB, free: 155.6 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002976/0.758, allocations: 2.012 MB / 0.8135 GB, free: 153.8 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001299/0.7593, allocations: 2.863 MB / 0.8162 GB, free: 150.7 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002621/0.7619, allocations: 318.6 kB / 0.8166 GB, free: 150.4 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004154/0.7623, allocations: 499.6 kB / 0.817 GB, free: 149.9 MB / 0.6512 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.0049/0.7672, allocations: 3.745 MB / 0.8207 GB, free: 146.2 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003416/0.7707, allocations: 5.204 MB / 0.8258 GB, free: 139.9 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05587/0.8265, allocations: 20.41 MB / 0.8457 GB, free: 119 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.188e-05/0.8266, allocations: 20 kB / 0.8457 GB, free: 118.9 MB / 0.6512 GB Notification: Performance of matching and sorting (n=993) (initialization_lambda0): time 0.01055/0.8371, allocations: 8.369 MB / 0.8539 GB, free: 110.5 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/0.8372, allocations: 32.78 kB / 0.8539 GB, free: 110.5 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006819/0.844, allocations: 6.075 MB / 0.8599 GB, free: 104.3 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000236/0.8442, allocations: 181.6 kB / 0.86 GB, free: 104.1 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003108/0.8473, allocations: 2.009 MB / 0.862 GB, free: 102.1 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001253/0.8486, allocations: 2.813 MB / 0.8647 GB, free: 99.12 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003128/0.8517, allocations: 320.2 kB / 0.865 GB, free: 98.81 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005269/0.8522, allocations: 483.7 kB / 0.8655 GB, free: 98.34 MB / 0.6512 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.001784/0.854, allocations: 0.6283 MB / 0.8661 GB, free: 97.75 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001478/0.8555, allocations: 0.6361 MB / 0.8667 GB, free: 97.11 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 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.009642/0.8651, allocations: 9.152 MB / 0.8757 GB, free: 88.28 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.686633584089577] Failed to read output from testmodel.py, exit status != 0: 1.0140353348106146 1.022815735 0.7773416599999999 Calling exit ...