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.008129/0.008129, allocations: 1.794 MB / 21.35 MB, free: 3.191 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.001305/0.001305, allocations: 86.39 kB / 25.15 MB, free: 6.316 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.001599/0.001599, allocations: 168.2 kB / 29.06 MB, free: 3.348 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.9672/0.9672, allocations: 177.1 MB / 210 MB, free: 3.57 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.637/0.637, allocations: 102.4 MB / 369.5 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.533e-06/1.533e-06, allocations: 0 / 470 MB, free: 18.95 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.803e-05/2.957e-05, allocations: 3.016 kB / 470 MB, free: 18.95 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.16/0.1601, allocations: 76.63 MB / 0.5338 GB, free: 11.23 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03768/0.1977, allocations: 26.61 MB / 0.5598 GB, free: 0.5469 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006612/0.2043, allocations: 146.9 kB / 0.5599 GB, free: 412 kB / 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.008739/0.2131, allocations: 2.816 MB / 0.5627 GB, free: 13.57 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01259/0.2257, allocations: 4.138 MB / 0.5667 GB, free: 9.402 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01257/0.2382, allocations: 5.337 MB / 0.5719 GB, free: 4.055 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01947/0.2577, allocations: 12.31 MB / 0.5839 GB, free: 7.715 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005449/0.2632, allocations: 3.464 MB / 0.5873 GB, free: 4.184 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1001/0.3633, allocations: 43.17 MB / 0.6295 GB, free: 10.29 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006621/0.3699, allocations: 3.883 MB / 0.6333 GB, free: 6.391 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.002283/0.3722, allocations: 0.8164 MB / 0.6341 GB, free: 5.574 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006781/0.379, allocations: 2.168 MB / 0.6362 GB, free: 3.402 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.002926/0.3819, allocations: 2.484 MB / 0.6386 GB, free: 0.9102 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.2434/0.6253, allocations: 2.583 MB / 0.6411 GB, free: 73.57 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01209/0.6374, allocations: 7.8 MB / 0.6487 GB, free: 72.94 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.6374, allocations: 0 / 0.6487 GB, free: 72.94 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.924e-06/0.6374, allocations: 0 / 0.6487 GB, free: 72.94 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0003524/0.6377, allocations: 0 / 0.6487 GB, free: 72.94 MB / 0.5418 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.0119/0.6496, allocations: 8.219 MB / 0.6568 GB, free: 69.41 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.6497, allocations: 10.53 kB / 0.6568 GB, free: 69.41 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001546/0.6512, allocations: 1.139 MB / 0.6579 GB, free: 68.93 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006438/0.6577, allocations: 5.079 MB / 0.6628 GB, free: 67.84 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001732/0.6578, allocations: 295.2 kB / 0.6631 GB, free: 67.83 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004665/0.6583, allocations: 404.1 kB / 0.6635 GB, free: 67.82 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01314/0.6715, allocations: 9.95 MB / 0.6732 GB, free: 62.13 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001164/0.6716, allocations: 51.12 kB / 0.6733 GB, free: 62.13 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003902/0.672, allocations: 191.3 kB / 0.6735 GB, free: 62.13 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003983/0.6724, allocations: 461.3 kB / 0.6739 GB, free: 62.12 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01202/0.6844, allocations: 4.88 MB / 0.6787 GB, free: 62.07 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03242/0.7168, allocations: 54.68 MB / 0.7321 GB, free: 15.71 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009984/0.7268, allocations: 4.652 MB / 0.7366 GB, free: 13.48 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002521/0.7293, allocations: 1.319 MB / 0.7379 GB, free: 12.84 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005206/0.7298, allocations: 268.4 kB / 0.7382 GB, free: 12.76 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.185e-05/0.7299, allocations: 104.7 kB / 0.7383 GB, free: 12.68 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=844): time 5.771e-06/0.7299, allocations: 2.688 kB / 0.7383 GB, free: 12.68 MB / 0.5418 GB Notification: Performance of matching and sorting (n=844): time 0.02204/0.7519, allocations: 9.852 MB / 0.7479 GB, free: 9.062 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002017/0.7521, allocations: 1.293 MB / 0.7491 GB, free: 7.52 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005954/0.7581, allocations: 4.451 MB / 0.7535 GB, free: 5.055 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0009552/0.7591, allocations: 81.14 kB / 0.7536 GB, free: 4.984 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.001408/0.7605, allocations: 2.901 MB / 0.7564 GB, free: 2.465 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.002302/0.7628, allocations: 2.885 MB / 0.7592 GB, free: 15.97 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002859/0.7656, allocations: 1.83 MB / 0.761 GB, free: 14.91 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.7657, allocations: 476.8 kB / 0.7615 GB, free: 14.44 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002897/0.7686, allocations: 1.404 MB / 0.7628 GB, free: 13.96 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004805/0.7734, allocations: 5.625 MB / 0.7683 GB, free: 7.98 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0101/0.7835, allocations: 8.042 MB / 0.7762 GB, free: 1.59 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.05e-05/0.7836, allocations: 20 kB / 0.7762 GB, free: 1.57 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1162) (initialization): time 0.016/0.7996, allocations: 7.431 MB / 0.7834 GB, free: 10.65 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 6.2e-05/0.7997, allocations: 36 kB / 0.7835 GB, free: 10.61 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01084/0.8105, allocations: 4.948 MB / 0.7883 GB, free: 5.703 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03691/0.8474, allocations: 6.538 MB / 0.7947 GB, free: 15.47 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005292/0.8527, allocations: 2.124 MB / 0.7968 GB, free: 13.48 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006203/0.8589, allocations: 7.836 MB / 0.8044 GB, free: 5.34 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005262/0.8642, allocations: 0.8491 MB / 0.8053 GB, free: 4.484 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001203/0.8654, allocations: 0.566 MB / 0.8058 GB, free: 3.918 MB / 0.5887 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.005289/0.8707, allocations: 1.605 MB / 0.8074 GB, free: 2.32 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005948/0.8766, allocations: 5.603 MB / 0.8128 GB, free: 11.04 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01025/0.8869, allocations: 7.982 MB / 0.8206 GB, free: 1.941 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.963e-05/0.8869, allocations: 23.94 kB / 0.8207 GB, free: 1.918 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1162) (initialization_lambda0): time 0.01429/0.9012, allocations: 7.352 MB / 0.8278 GB, free: 10.75 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 4.028e-05/0.9012, allocations: 42.69 kB / 0.8279 GB, free: 10.71 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009452/0.9107, allocations: 4.858 MB / 0.8326 GB, free: 5.781 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0365/0.9472, allocations: 6.334 MB / 0.8388 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005006/0.9522, allocations: 2.121 MB / 0.8409 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005707/0.9579, allocations: 7.826 MB / 0.8485 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00419/0.9621, allocations: 0.7143 MB / 0.8492 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001265/0.9634, allocations: 0.5699 MB / 0.8498 GB, free: 4.074 MB / 0.6355 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.002708/0.9661, allocations: 0.7961 MB / 0.8506 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002721/0.9688, allocations: 0.7648 MB / 0.8513 GB, free: 2.508 MB / 0.6355 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.01199/0.9808, allocations: 8.962 MB / 0.8601 GB, free: 9.742 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.888693428132683]