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.005979/0.005979, allocations: 1.446 MB / 20.54 MB, free: 4.008 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.000615/0.000615, allocations: 91.45 kB / 24.16 MB, free: 396 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.0007221/0.0007221, allocations: 164.1 kB / 27.85 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.8452/0.8452, allocations: 177.2 MB / 208.6 MB, free: 2.945 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.6996/0.6996, allocations: 102.5 MB / 367.9 MB, free: 1.41 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_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.1.|plateHEX.thinWall.nTU.Q_flow_s.2.|plateHEX.thinWall.nTU.Q_flow_s.3.|plateHEX.thinWall.nTU.T_w_i.1.|plateHEX.thinWall.nTU.T_w_o.1.|plateHEX.thinWall.nTU.yps.1.|plateHEX.thinWall.nTU.yps.2.|plateHEX.thinWall.nTU.yps.3.",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.1.|plateHEX.thinWall.nTU.Q_flow_s.2.|plateHEX.thinWall.nTU.Q_flow_s.3.|plateHEX.thinWall.nTU.T_w_i.1.|plateHEX.thinWall.nTU.T_w_o.1.|plateHEX.thinWall.nTU.yps.1.|plateHEX.thinWall.nTU.yps.2.|plateHEX.thinWall.nTU.yps.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_PlateHEXvle2vle_L3_2ph_ntu") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 0 / 0.5367 GB, free: 39.78 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.661e-05/4.861e-05, allocations: 4.25 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_PlateHEXvle2vle_L3_2ph_ntu): time 0.1227/0.1227, allocations: 70.44 MB / 0.6055 GB, free: 5.516 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.03486/0.1576, allocations: 25.73 MB / 0.6306 GB, free: 11.71 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005462/0.163, allocations: 150.9 kB / 0.6307 GB, free: 11.57 MB / 0.5262 GB [/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.007445/0.1705, allocations: 2.812 MB / 0.6335 GB, free: 8.738 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.01232/0.1828, allocations: 4.119 MB / 0.6375 GB, free: 4.594 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.01037/0.1932, allocations: 5.329 MB / 0.6427 GB, free: 15.25 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.01543/0.2086, allocations: 12.32 MB / 0.6547 GB, free: 2.891 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005602/0.2142, allocations: 3.326 MB / 0.658 GB, free: 15.5 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01361/0.2278, allocations: 6.587 MB / 0.6644 GB, free: 8.895 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007359/0.2352, allocations: 4.024 MB / 0.6683 GB, free: 4.859 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.002837/0.238, allocations: 0.875 MB / 0.6692 GB, free: 3.984 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005988/0.244, allocations: 2.227 MB / 0.6714 GB, free: 1.754 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.003601/0.2476, allocations: 2.613 MB / 0.6739 GB, free: 15.13 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.006204/0.2538, allocations: 2.681 MB / 0.6765 GB, free: 12.44 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01619/0.27, allocations: 13.67 MB / 0.6899 GB, free: 14.74 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.27, allocations: 0 / 0.6899 GB, free: 14.74 MB / 0.5887 GB Notification: Performance of FrontEnd: time 2.054e-06/0.27, allocations: 4 kB / 0.6899 GB, free: 14.73 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 0.0003966/0.2704, allocations: 0 / 0.6899 GB, free: 14.73 MB / 0.5887 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.01763/0.288, allocations: 8.183 MB / 0.6979 GB, free: 6.465 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.2881, allocations: 8.031 kB / 0.6979 GB, free: 6.457 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002278/0.2904, allocations: 1.003 MB / 0.6989 GB, free: 5.449 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01049/0.3008, allocations: 6.253 MB / 0.705 GB, free: 15.1 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002088/0.3011, allocations: 307.4 kB / 0.7053 GB, free: 14.8 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000885/0.3019, allocations: 375.9 kB / 0.7056 GB, free: 14.43 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01885/0.3208, allocations: 11.85 MB / 0.7172 GB, free: 1.195 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001055/0.3209, allocations: 47.56 kB / 0.7172 GB, free: 1.148 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004755/0.3214, allocations: 188 kB / 0.7174 GB, free: 0.9648 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003653/0.3217, allocations: 465.8 kB / 0.7179 GB, free: 0.5078 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01589/0.3376, allocations: 8.049 MB / 0.7257 GB, free: 8.441 MB / 0.6199 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.352/0.6896, allocations: 42.16 MB / 0.7669 GB, free: 146.9 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01236/0.702, allocations: 6.561 MB / 0.7733 GB, free: 146.3 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003765/0.7058, allocations: 2.312 MB / 0.7756 GB, free: 145.2 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007768/0.7065, allocations: 251.9 kB / 0.7758 GB, free: 145.2 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.357e-05/0.7066, allocations: 97.7 kB / 0.7759 GB, free: 145.1 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=844): time 7.133e-06/0.7066, allocations: 1.094 kB / 0.7759 GB, free: 145.1 MB / 0.6512 GB Notification: Performance of matching and sorting (n=844): time 0.03066/0.7373, allocations: 13.59 MB / 0.7892 GB, free: 139.9 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000225/0.7375, allocations: 1.086 MB / 0.7902 GB, free: 138.6 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009018/0.7465, allocations: 5.015 MB / 0.7951 GB, free: 136.1 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.001609/0.7481, allocations: 78.92 kB / 0.7952 GB, free: 136 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001604/0.7497, allocations: 2.738 MB / 0.7979 GB, free: 133.9 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.003279/0.753, allocations: 2.824 MB / 0.8006 GB, free: 131.8 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003481/0.7565, allocations: 1.721 MB / 0.8023 GB, free: 130.8 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 3.987e-05/0.7565, allocations: 306.2 kB / 0.8026 GB, free: 130.5 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005008/0.7616, allocations: 3.314 MB / 0.8058 GB, free: 128.7 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006384/0.7679, allocations: 6.205 MB / 0.8119 GB, free: 123.1 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07197/0.8399, allocations: 23.36 MB / 0.8347 GB, free: 103.8 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.913e-05/0.84, allocations: 20 kB / 0.8347 GB, free: 103.7 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1162) (initialization): time 0.02058/0.8606, allocations: 11.21 MB / 0.8457 GB, free: 92.53 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 5.764e-05/0.8606, allocations: 40 kB / 0.8457 GB, free: 92.49 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01454/0.8752, allocations: 8.658 MB / 0.8542 GB, free: 83.79 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03384/0.909, allocations: 6.109 MB / 0.8601 GB, free: 77.95 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005141/0.9141, allocations: 2.133 MB / 0.8622 GB, free: 75.81 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005635/0.9198, allocations: 7.692 MB / 0.8697 GB, free: 67.83 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005196/0.925, allocations: 0.8528 MB / 0.8706 GB, free: 67.19 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001463/0.9264, allocations: 0.5738 MB / 0.8711 GB, free: 66.61 MB / 0.6512 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[1] 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[1] 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.008755/0.9352, allocations: 4.82 MB / 0.8758 GB, free: 61.8 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005794/0.941, allocations: 6.163 MB / 0.8819 GB, free: 54.41 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.07056/1.012, allocations: 22.93 MB / 0.9043 GB, free: 30.48 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.843e-05/1.012, allocations: 20 kB / 0.9043 GB, free: 30.46 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1162) (initialization_lambda0): time 0.01822/1.03, allocations: 11.02 MB / 0.915 GB, free: 19.37 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 4.003e-05/1.03, allocations: 39.94 kB / 0.9151 GB, free: 19.33 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01308/1.043, allocations: 8.462 MB / 0.9233 GB, free: 10.78 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003329/1.046, allocations: 1.345 MB / 0.9246 GB, free: 9.426 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004783/1.051, allocations: 2.16 MB / 0.9268 GB, free: 7.262 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005886/1.057, allocations: 8.865 MB / 0.9354 GB, free: 13.95 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005198/1.062, allocations: 0.7288 MB / 0.9361 GB, free: 13.3 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001572/1.064, allocations: 0.566 MB / 0.9367 GB, free: 12.73 MB / 0.6668 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[1] 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[1] 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.002557/1.066, allocations: 0.7035 MB / 0.9374 GB, free: 12.02 MB / 0.6668 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00241/1.069, allocations: 0.6672 MB / 0.938 GB, free: 11.35 MB / 0.6668 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.01372/1.082, allocations: 10.24 MB / 0.948 GB, free: 1.312 MB / 0.6668 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.869373494759202] Failed to read output from testmodel.py, exit status != 0: 1.2558079045265913 1.264528087 0.992407489 Calling exit ...