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.005936/0.005936, allocations: 1.442 MB / 20.54 MB, free: 4.012 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.0005949/0.0005949, allocations: 87.47 kB / 24.15 MB, free: 400 kB / 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.0007783/0.0007783, allocations: 165 kB / 27.86 MB, free: 5.496 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.8186/0.8186, allocations: 177.1 MB / 208.6 MB, free: 2.984 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.6706/0.6706, allocations: 102.5 MB / 367.9 MB, free: 1.465 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.433e-06/1.433e-06, allocations: 0 / 0.5367 GB, free: 39.77 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.36e-05/1.503e-05, allocations: 2.281 kB / 0.5367 GB, free: 39.77 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.1051/0.1051, allocations: 69.18 MB / 0.6042 GB, free: 6.766 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.02414/0.1293, allocations: 21.83 MB / 0.6256 GB, free: 0.8633 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00369/0.133, allocations: 143 kB / 0.6257 GB, free: 0.7227 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.004317/0.1373, allocations: 2.575 MB / 0.6282 GB, free: 14.13 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.005022/0.1423, allocations: 3.801 MB / 0.6319 GB, free: 10.31 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.004867/0.1472, allocations: 3.98 MB / 0.6358 GB, free: 6.32 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.007424/0.1546, allocations: 10.18 MB / 0.6457 GB, free: 12.11 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003005/0.1576, allocations: 3.347 MB / 0.649 GB, free: 8.691 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004571/0.1622, allocations: 5.675 MB / 0.6546 GB, free: 3.004 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003083/0.1652, allocations: 3.476 MB / 0.6579 GB, free: 15.52 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.0006696/0.1659, allocations: 0.668 MB / 0.6586 GB, free: 14.85 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00276/0.1687, allocations: 1.992 MB / 0.6605 GB, free: 12.86 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.001197/0.1699, allocations: 2.063 MB / 0.6626 GB, free: 10.79 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.001519/0.1714, allocations: 2.197 MB / 0.6647 GB, free: 8.582 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.007215/0.1786, allocations: 10.47 MB / 0.6749 GB, free: 14.08 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1786, allocations: 4 kB / 0.6749 GB, free: 14.08 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1786, allocations: 0 / 0.6749 GB, free: 14.08 MB / 0.573 GB Notification: Performance of Transformations before backend: time 9.671e-05/0.1787, allocations: 0 / 0.6749 GB, free: 14.08 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.00731/0.186, allocations: 7.305 MB / 0.6821 GB, free: 6.695 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.186, allocations: 12.03 kB / 0.6821 GB, free: 6.684 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001246/0.1873, allocations: 0.894 MB / 0.6829 GB, free: 5.785 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005556/0.1929, allocations: 5.388 MB / 0.6882 GB, free: 312 kB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/0.193, allocations: 246.4 kB / 0.6884 GB, free: 64 kB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003142/0.1933, allocations: 315.9 kB / 0.6887 GB, free: 15.75 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01074/0.204, allocations: 10.06 MB / 0.6986 GB, free: 4.305 MB / 0.5887 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.524e-05/0.2041, allocations: 39.62 kB / 0.6986 GB, free: 4.266 MB / 0.5887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002469/0.2043, allocations: 160 kB / 0.6988 GB, free: 4.109 MB / 0.5887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001238/0.2045, allocations: 204.4 kB / 0.699 GB, free: 3.906 MB / 0.5887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009779/0.2142, allocations: 6.532 MB / 0.7053 GB, free: 13.36 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02115/0.2354, allocations: 32.86 MB / 0.7374 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008661/0.2441, allocations: 5.528 MB / 0.7428 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002297/0.2463, allocations: 1.874 MB / 0.7447 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003263/0.2467, allocations: 177.7 kB / 0.7448 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.634e-05/0.2467, allocations: 88.94 kB / 0.7449 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001845/0.2486, allocations: 0.6247 MB / 0.7455 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=712): time 8.656e-06/0.2486, allocations: 0 / 0.7455 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=712): time 0.01791/0.2665, allocations: 10.97 MB / 0.7562 GB, free: 7.793 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002736/0.2668, allocations: 1.031 MB / 0.7572 GB, free: 6.52 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004946/0.2717, allocations: 4.865 MB / 0.762 GB, free: 1.668 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.0003247/0.272, allocations: 69.7 kB / 0.7621 GB, free: 1.594 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.2164/0.4884, allocations: 2.45 MB / 0.7644 GB, free: 178.5 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001865/0.4903, allocations: 2.381 MB / 0.7668 GB, free: 177.4 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001699/0.492, allocations: 1.46 MB / 0.7682 GB, free: 177.2 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 2.547e-05/0.492, allocations: 302 kB / 0.7685 GB, free: 176.9 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003282/0.4953, allocations: 2.67 MB / 0.7711 GB, free: 176.3 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003823/0.4991, allocations: 5.233 MB / 0.7762 GB, free: 171.9 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05876/0.5579, allocations: 20.51 MB / 0.7962 GB, free: 163.1 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.239e-05/0.5579, allocations: 20.34 kB / 0.7963 GB, free: 163.1 MB / 0.6512 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.01114/0.5691, allocations: 8.449 MB / 0.8045 GB, free: 158.6 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 4.068e-05/0.5691, allocations: 32.09 kB / 0.8045 GB, free: 158.6 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006704/0.5758, allocations: 6.161 MB / 0.8106 GB, free: 155.6 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003038/0.5761, allocations: 204.5 kB / 0.8107 GB, free: 155.6 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00293/0.579, allocations: 2.016 MB / 0.8127 GB, free: 153.8 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001164/0.5802, allocations: 2.858 MB / 0.8155 GB, free: 150.7 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002282/0.5825, allocations: 319.4 kB / 0.8158 GB, free: 150.4 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004195/0.5829, allocations: 0.4913 MB / 0.8163 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.004786/0.5877, allocations: 3.753 MB / 0.82 GB, free: 146.2 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003328/0.591, allocations: 5.204 MB / 0.825 GB, free: 139.9 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05525/0.6463, allocations: 20.41 MB / 0.845 GB, free: 119 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.857e-05/0.6463, allocations: 20 kB / 0.845 GB, free: 118.9 MB / 0.6512 GB Notification: Performance of matching and sorting (n=993) (initialization_lambda0): time 0.009406/0.6557, allocations: 8.369 MB / 0.8532 GB, free: 110.5 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.6557, allocations: 35.94 kB / 0.8532 GB, free: 110.5 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006375/0.6621, allocations: 6.077 MB / 0.8591 GB, free: 104.3 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002091/0.6623, allocations: 175.1 kB / 0.8593 GB, free: 104.2 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002974/0.6653, allocations: 2.008 MB / 0.8613 GB, free: 102.1 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009962/0.6663, allocations: 2.816 MB / 0.864 GB, free: 99.13 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002336/0.6686, allocations: 320.2 kB / 0.8643 GB, free: 98.82 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000432/0.669, allocations: 487.7 kB / 0.8648 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.001578/0.6706, allocations: 0.6146 MB / 0.8654 GB, free: 97.77 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00106/0.6717, allocations: 0.64 MB / 0.866 GB, free: 97.12 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.008998/0.6807, allocations: 9.156 MB / 0.8749 GB, free: 88.3 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.159935750067234] Failed to read output from testmodel.py, exit status != 0: 0.7960365358740091 0.804803257 0.62450927 Calling exit ...