Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_PlateHEXvle2vle_L3_2ph_ntu.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.008497/0.008497, allocations: 1.795 MB / 21.89 MB, free: 2.637 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.0008387/0.0008387, allocations: 87.56 kB / 25.62 MB, free: 6.941 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.0008787/0.0008787, allocations: 170.2 kB / 29.46 MB, free: 3.152 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.9829/0.9829, allocations: 177.1 MB / 210.3 MB, free: 3.605 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.6013/0.6013, allocations: 102.4 MB / 369.8 MB, free: 368 kB / 330.7 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 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.HeatExchangers.Check.Test_PlateHEXvle2vle_L3_2ph_ntu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|plateHEX.flow_a.h|plateHEX.flow_b.h|plateHEX.thinWall.PI_1ph_in.outputI|plateHEX.thinWall.PI_2ph.outputI|plateHEX.thinWall.nTU.Q_flow_s.[0-9,]+.|plateHEX.thinWall.nTU.T_w_i.[0-9,]+.|plateHEX.thinWall.nTU.T_w_o.[0-9,]+.|plateHEX.thinWall.nTU.yps.[0-9,]+.",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_PlateHEXvle2vle_L3_2ph_ntu") translateModel(ClaRa.Components.HeatExchangers.Check.Test_PlateHEXvle2vle_L3_2ph_ntu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|plateHEX.flow_a.h|plateHEX.flow_b.h|plateHEX.thinWall.PI_1ph_in.outputI|plateHEX.thinWall.PI_2ph.outputI|plateHEX.thinWall.nTU.Q_flow_s.[0-9,]+.|plateHEX.thinWall.nTU.T_w_i.[0-9,]+.|plateHEX.thinWall.nTU.T_w_o.[0-9,]+.|plateHEX.thinWall.nTU.yps.[0-9,]+.",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_PlateHEXvle2vle_L3_2ph_ntu") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 3.938 kB / 469.9 MB, free: 19.02 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.348e-05/2.507e-05, allocations: 3.297 kB / 469.9 MB, free: 19.02 MB / 410.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_PlateHEXvle2vle_L3_2ph_ntu): time 0.1351/0.1351, allocations: 76.49 MB / 0.5336 GB, free: 11.75 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03351/0.1686, allocations: 26.57 MB / 0.5595 GB, free: 1.113 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005348/0.174, allocations: 150.9 kB / 0.5596 GB, free: 0.9648 MB / 474.8 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/SimCenter.mo:71:5-72:35:writable] Warning: Connector cycleSumPort is not balanced: The number of potential variables (0) is not equal to the number of flow variables (4). Notification: Performance of NFTyping.typeComponents: time 0.005703/0.1797, allocations: 2.82 MB / 0.5624 GB, free: 14.13 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.008304/0.188, allocations: 4.107 MB / 0.5664 GB, free: 9.996 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.009329/0.1973, allocations: 5.333 MB / 0.5716 GB, free: 4.652 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01401/0.2113, allocations: 12.31 MB / 0.5836 GB, free: 8.301 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004286/0.2156, allocations: 3.468 MB / 0.587 GB, free: 4.766 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007493/0.2231, allocations: 6.595 MB / 0.5935 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004603/0.2277, allocations: 4.029 MB / 0.5974 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0009014/0.2286, allocations: 0.8788 MB / 0.5983 GB, free: 9.238 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003309/0.2319, allocations: 2.231 MB / 0.6004 GB, free: 7.004 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001575/0.2335, allocations: 2.617 MB / 0.603 GB, free: 4.379 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.002126/0.2356, allocations: 2.685 MB / 0.6056 GB, free: 1.688 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.009119/0.2448, allocations: 7.946 MB / 0.6134 GB, free: 9.715 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.2448, allocations: 4 kB / 0.6134 GB, free: 9.711 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.522e-06/0.2448, allocations: 4 kB / 0.6134 GB, free: 9.707 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.0001247/0.2449, allocations: 0 / 0.6134 GB, free: 9.707 MB / 0.5262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.009518/0.2544, allocations: 8.479 MB / 0.6217 GB, free: 1.133 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.2544, allocations: 12.02 kB / 0.6217 GB, free: 1.121 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002097/0.2565, allocations: 1.297 MB / 0.6229 GB, free: 15.82 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006811/0.2634, allocations: 5.978 MB / 0.6288 GB, free: 9.742 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00017/0.2635, allocations: 295.6 kB / 0.6291 GB, free: 9.453 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00041/0.2639, allocations: 399.9 kB / 0.6294 GB, free: 9.062 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01297/0.2769, allocations: 9.932 MB / 0.6391 GB, free: 13.33 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.046e-05/0.277, allocations: 51.5 kB / 0.6392 GB, free: 13.28 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003035/0.2773, allocations: 188 kB / 0.6394 GB, free: 13.09 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003331/0.2776, allocations: 465.8 kB / 0.6398 GB, free: 12.64 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01013/0.2877, allocations: 4.862 MB / 0.6446 GB, free: 7.754 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.267/0.5547, allocations: 54.61 MB / 0.6979 GB, free: 101.7 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009948/0.5647, allocations: 4.599 MB / 0.7024 GB, free: 100.5 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002012/0.5667, allocations: 1.299 MB / 0.7037 GB, free: 99.98 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005879/0.5673, allocations: 278.1 kB / 0.7039 GB, free: 99.94 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.749e-05/0.5674, allocations: 98.16 kB / 0.704 GB, free: 99.86 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=844): time 7.454e-06/0.5674, allocations: 0 / 0.704 GB, free: 99.86 MB / 0.5574 GB Notification: Performance of matching and sorting (n=844): time 0.02302/0.5904, allocations: 9.817 MB / 0.7136 GB, free: 98.86 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002209/0.5906, allocations: 1.082 MB / 0.7147 GB, free: 97.57 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006157/0.5968, allocations: 4.502 MB / 0.7191 GB, free: 95.39 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0005899/0.5974, allocations: 84.03 kB / 0.7191 GB, free: 95.32 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.001776/0.5991, allocations: 2.902 MB / 0.722 GB, free: 93.06 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.002413/0.6016, allocations: 2.889 MB / 0.7248 GB, free: 90.91 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002444/0.604, allocations: 1.82 MB / 0.7266 GB, free: 89.86 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 4.514e-05/0.604, allocations: 476.8 kB / 0.727 GB, free: 89.39 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002885/0.6069, allocations: 1.394 MB / 0.7284 GB, free: 88.91 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004474/0.6114, allocations: 5.332 MB / 0.7336 GB, free: 83.26 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01004/0.6214, allocations: 8.01 MB / 0.7414 GB, free: 77.09 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.27e-05/0.6215, allocations: 19.72 kB / 0.7414 GB, free: 77.09 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1162) (initialization): time 0.01263/0.6341, allocations: 7.413 MB / 0.7487 GB, free: 74.04 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.735e-05/0.6342, allocations: 39 kB / 0.7487 GB, free: 74.04 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008674/0.6428, allocations: 4.922 MB / 0.7535 GB, free: 71.8 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03588/0.6787, allocations: 6.492 MB / 0.7599 GB, free: 65.57 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004709/0.6834, allocations: 2.125 MB / 0.7619 GB, free: 63.44 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004391/0.6878, allocations: 7.828 MB / 0.7696 GB, free: 55.26 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004488/0.6923, allocations: 0.8385 MB / 0.7704 GB, free: 54.46 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005907/0.6929, allocations: 0.5727 MB / 0.771 GB, free: 53.89 MB / 0.5574 GB Warning: Assuming fixed start value for the following 6 variables: plateHEX.flow_a.h:VARIABLE(start = plateHEX.flow_a.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real plateHEX.flow_b.h:VARIABLE(start = plateHEX.flow_b.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real plateHEX.thinWall.nTU.T_w_i[1]:VARIABLE(min = 0.0 start = plateHEX.thinWall.nTU.T_w_i_start[3] unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at inner phase\" type: Real [3] plateHEX.thinWall.nTU.T_w_o[1]:VARIABLE(min = 0.0 start = plateHEX.thinWall.nTU.T_w_o_start[3] unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at outer phase\" type: Real [3] plateHEX.thinWall.PI_2ph.outputI:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real plateHEX.thinWall.PI_1ph_in.outputI:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004343/0.6972, allocations: 1.589 MB / 0.7725 GB, free: 52.31 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003449/0.7007, allocations: 5.324 MB / 0.7777 GB, free: 45.35 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008424/0.7091, allocations: 7.943 MB / 0.7855 GB, free: 35.97 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.969e-05/0.7091, allocations: 24 kB / 0.7855 GB, free: 35.95 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1162) (initialization_lambda0): time 0.01191/0.721, allocations: 7.317 MB / 0.7926 GB, free: 28.61 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.202e-05/0.7211, allocations: 40 kB / 0.7927 GB, free: 28.57 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007718/0.7288, allocations: 4.828 MB / 0.7974 GB, free: 23.67 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004106/0.7329, allocations: 1.594 MB / 0.7989 GB, free: 22.11 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003353/0.7363, allocations: 2.159 MB / 0.8011 GB, free: 19.95 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004135/0.7404, allocations: 9.546 MB / 0.8104 GB, free: 9.867 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003303/0.7437, allocations: 0.7074 MB / 0.8111 GB, free: 9.16 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005251/0.7442, allocations: 0.5621 MB / 0.8116 GB, free: 8.598 MB / 0.5574 GB Warning: Assuming fixed start value for the following 6 variables: plateHEX.flow_a.h:VARIABLE(start = plateHEX.flow_a.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real plateHEX.flow_b.h:VARIABLE(start = plateHEX.flow_b.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real plateHEX.thinWall.nTU.T_w_i[1]:VARIABLE(min = 0.0 start = plateHEX.thinWall.nTU.T_w_i_start[3] unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at inner phase\" type: Real [3] plateHEX.thinWall.nTU.T_w_o[1]:VARIABLE(min = 0.0 start = plateHEX.thinWall.nTU.T_w_o_start[3] unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at outer phase\" type: Real [3] plateHEX.thinWall.PI_2ph.outputI:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real plateHEX.thinWall.PI_1ph_in.outputI:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 344 * Number of states: 0 () * Number of discrete variables: 4 (plateHEX.thinWall.nTU.smallShellFlow[2],plateHEX.thinWall.nTU.smallShellFlow[3],plateHEX.thinWall.nTU.smallShellFlow[1],plateHEX.thinWall.nTU.mass) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1109): * Single equations (assignments): 1103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,15), (1,14), (2,8), (2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001815/0.746, allocations: 0.7882 MB / 0.8124 GB, free: 7.809 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001593/0.7476, allocations: 0.7686 MB / 0.8131 GB, free: 7.035 MB / 0.5574 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 1148 equation(s) and 1106 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (plateHEX.thinWall.nTU.O1_in.q, plateHEX.thinWall.nTU.O1_in.cp, plateHEX.thinWall.nTU.O1_in.cv, plateHEX.thinWall.nTU.O1_in.beta, plateHEX.thinWall.nTU.O1_in.kappa, plateHEX.thinWall.nTU.O1_in.drhodp_hxi, plateHEX.thinWall.nTU.O1_in.drhodh_pxi, _, plateHEX.thinWall.nTU.O1_in.w, plateHEX.thinWall.nTU.O1_in.gamma) = ($cse364, $cse365, $cse366, $cse367, $cse368, $cse369, $cse370, $cse371, $cse372, $cse373) has size 9 but 6 variables (plateHEX.flow_a.fluidOut.VLEAdditional.cp_l, plateHEX.flow_a.fluidOut.VLEAdditional.cp_v, plateHEX.flow_a.fluidOut.VLEAdditional.beta_l, plateHEX.flow_a.fluidOut.VLEAdditional.beta_v, plateHEX.flow_a.fluidOut.VLEAdditional.kappa_l, plateHEX.flow_a.fluidOut.VLEAdditional.kappa_v) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00996/0.7576, allocations: 8.957 MB / 0.8219 GB, free: 14.52 MB / 0.573 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.7814274290576577]