Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.01791/0.01791, allocations: 1.454 MB / 20.8 MB, free: 3.617 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.006086/0.006086, allocations: 83.45 kB / 24.44 MB, free: 7.531 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.001462/0.001462, allocations: 160.8 kB / 28.2 MB, free: 4.668 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 1.457/1.457, allocations: 177.2 MB / 209 MB, free: 2.793 MB / 186.7 MB " [Timeout remaining time 178] 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 1.136/1.136, allocations: 102.5 MB / 368.4 MB, free: 1.297 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_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_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_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 468.3 MB, free: 13.5 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.494e-05/3.701e-05, allocations: 8.922 kB / 468.3 MB, free: 13.49 MB / 442.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.4426/0.4426, allocations: 69.4 MB / 0.5251 GB, free: 71.77 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.03002/0.4726, allocations: 21.82 MB / 0.5464 GB, free: 57.77 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005912/0.4785, allocations: 144.8 kB / 0.5466 GB, free: 57.7 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.007134/0.4857, allocations: 2.572 MB / 0.5491 GB, free: 56.46 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01291/0.4986, allocations: 3.791 MB / 0.5528 GB, free: 54.08 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01145/0.51, allocations: 3.981 MB / 0.5567 GB, free: 51.93 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01763/0.5277, allocations: 10.17 MB / 0.5666 GB, free: 46.81 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007642/0.5353, allocations: 3.496 MB / 0.57 GB, free: 44.52 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01527/0.5506, allocations: 5.722 MB / 0.5756 GB, free: 41.27 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008087/0.5587, allocations: 3.545 MB / 0.5791 GB, free: 39.27 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.00275/0.5614, allocations: 0.6874 MB / 0.5797 GB, free: 39.27 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.09265/0.6541, allocations: 17.44 MB / 0.5968 GB, free: 24.61 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.003436/0.6575, allocations: 2.102 MB / 0.5988 GB, free: 22.5 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.00531/0.6628, allocations: 2.228 MB / 0.601 GB, free: 20.27 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01578/0.6786, allocations: 10.62 MB / 0.6114 GB, free: 9.617 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.6786, allocations: 0 / 0.6114 GB, free: 9.617 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.783e-06/0.6786, allocations: 2.688 kB / 0.6114 GB, free: 9.617 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0003344/0.6789, allocations: 0 / 0.6114 GB, free: 9.617 MB / 490.8 MB 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.01888/0.6978, allocations: 7.296 MB / 0.6185 GB, free: 2.273 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.6979, allocations: 12.03 kB / 0.6185 GB, free: 2.262 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002858/0.7007, allocations: 1.147 MB / 0.6196 GB, free: 1.113 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01325/0.714, allocations: 5.657 MB / 0.6251 GB, free: 11.38 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004852/0.7145, allocations: 258.3 kB / 0.6254 GB, free: 11.13 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001735/0.7162, allocations: 336 kB / 0.6257 GB, free: 10.8 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02868/0.7449, allocations: 10.13 MB / 0.6356 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002208/0.7451, allocations: 43.56 kB / 0.6357 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001543/0.7466, allocations: 160 kB / 0.6358 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004147/0.747, allocations: 203.1 kB / 0.636 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02303/0.7701, allocations: 6.622 MB / 0.6425 GB, free: 8.27 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05344/0.8235, allocations: 33.22 MB / 0.6749 GB, free: 5.992 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01851/0.842, allocations: 5.586 MB / 0.6804 GB, free: 264 kB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005476/0.8475, allocations: 1.917 MB / 0.6822 GB, free: 14.28 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000847/0.8484, allocations: 197.7 kB / 0.6824 GB, free: 14.09 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001257/0.8485, allocations: 88.94 kB / 0.6825 GB, free: 13.99 MB / 0.5574 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004384/0.8529, allocations: 0.6688 MB / 0.6832 GB, free: 13.32 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=712): time 2.177e-05/0.8529, allocations: 0 / 0.6832 GB, free: 13.32 MB / 0.5574 GB Notification: Performance of matching and sorting (n=712): time 0.04342/0.8963, allocations: 11.62 MB / 0.6945 GB, free: 1.645 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007808/0.8971, allocations: 1.034 MB / 0.6955 GB, free: 380 kB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01205/0.9091, allocations: 4.861 MB / 0.7003 GB, free: 11.52 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001199/0.9103, allocations: 69.7 kB / 0.7003 GB, free: 11.45 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.003248/0.9136, allocations: 2.456 MB / 0.7027 GB, free: 8.977 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.004001/0.9176, allocations: 2.389 MB / 0.7051 GB, free: 6.566 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005824/0.9234, allocations: 1.466 MB / 0.7065 GB, free: 5.09 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002467/0.9237, allocations: 301.1 kB / 0.7068 GB, free: 4.793 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007771/0.9314, allocations: 2.709 MB / 0.7094 GB, free: 2.078 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01189/0.9433, allocations: 5.267 MB / 0.7146 GB, free: 11.76 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1367/1.08, allocations: 20.78 MB / 0.7349 GB, free: 6.605 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.872e-05/1.08, allocations: 20 kB / 0.7349 GB, free: 6.586 MB / 0.6043 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.2984/1.378, allocations: 8.747 MB / 0.7434 GB, free: 189.7 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 5.894e-05/1.379, allocations: 32.09 kB / 0.7435 GB, free: 189.7 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01313/1.392, allocations: 6.246 MB / 0.7496 GB, free: 188.6 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/1.393, allocations: 328 kB / 0.7499 GB, free: 188.5 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006409/1.399, allocations: 2.022 MB / 0.7518 GB, free: 188.3 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002967/1.402, allocations: 3.031 MB / 0.7548 GB, free: 185.6 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006381/1.409, allocations: 327 kB / 0.7551 GB, free: 185.5 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001717/1.41, allocations: 495.3 kB / 0.7556 GB, free: 185.5 MB / 0.6043 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.01023/1.42, allocations: 3.783 MB / 0.7593 GB, free: 183.7 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008783/1.429, allocations: 5.247 MB / 0.7644 GB, free: 179.4 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1296/1.559, allocations: 20.5 MB / 0.7844 GB, free: 172.4 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0002468/1.559, allocations: 16.59 kB / 0.7844 GB, free: 172.4 MB / 0.6043 GB Notification: Performance of matching and sorting (n=993) (initialization_lambda0): time 0.02236/1.581, allocations: 8.676 MB / 0.7929 GB, free: 168 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 8.505e-05/1.582, allocations: 32 kB / 0.7929 GB, free: 168 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01376/1.595, allocations: 6.165 MB / 0.799 GB, free: 162.5 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008279/1.596, allocations: 281.5 kB / 0.7992 GB, free: 162.3 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007243/1.603, allocations: 2.013 MB / 0.8012 GB, free: 160.6 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002468/1.606, allocations: 2.954 MB / 0.8041 GB, free: 157.6 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005524/1.611, allocations: 322.9 kB / 0.8044 GB, free: 157.3 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001644/1.613, allocations: 493.8 kB / 0.8049 GB, free: 156.9 MB / 0.6043 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.003398/1.616, allocations: 0.6238 MB / 0.8055 GB, free: 156.3 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003741/1.62, allocations: 0.7082 MB / 0.8062 GB, free: 156 MB / 0.6043 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.01773/1.638, allocations: 9.189 MB / 0.8151 GB, free: 147.5 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.285989974974655]