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.008558/0.008558, allocations: 1.776 MB / 21.57 MB, free: 2.883 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.0007991/0.0007991, allocations: 87.64 kB / 25.41 MB, free: 6.992 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.0008409/0.0008409, allocations: 162.8 kB / 29.33 MB, free: 3.117 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.9814/0.9814, allocations: 177.2 MB / 210.3 MB, free: 2.234 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.7154/0.7154, allocations: 102.4 MB / 369.8 MB, free: 0.7305 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 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.774e-06/1.774e-06, allocations: 0 / 470.5 MB, free: 12.27 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.863e-05/3.041e-05, allocations: 3.156 kB / 470.5 MB, free: 12.27 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_PlateHEXvle2vle_L3_2ph_ntu): time 0.3046/0.3046, allocations: 75.86 MB / 0.5335 GB, free: 68.66 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.02872/0.3333, allocations: 26.5 MB / 0.5594 GB, free: 50.42 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005135/0.3385, allocations: 145.7 kB / 0.5595 GB, free: 50.35 MB / 490.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.006936/0.3454, allocations: 2.822 MB / 0.5623 GB, free: 49.02 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01099/0.3564, allocations: 4.137 MB / 0.5663 GB, free: 46.36 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01083/0.3672, allocations: 5.34 MB / 0.5715 GB, free: 43.29 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01771/0.3849, allocations: 12.31 MB / 0.5836 GB, free: 35.95 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005476/0.3904, allocations: 3.48 MB / 0.587 GB, free: 33.26 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.09987/0.4903, allocations: 43.15 MB / 0.6291 GB, free: 9.773 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006975/0.4972, allocations: 3.878 MB / 0.6329 GB, free: 5.887 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.002362/0.4996, allocations: 0.8125 MB / 0.6337 GB, free: 5.074 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006337/0.5059, allocations: 2.17 MB / 0.6358 GB, free: 2.906 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.002778/0.5087, allocations: 2.48 MB / 0.6382 GB, free: 428 kB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 0.005113/0.5138, allocations: 2.591 MB / 0.6407 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.01222/0.526, allocations: 7.79 MB / 0.6484 GB, free: 6.004 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 8.887e-06/0.5261, allocations: 3.984 kB / 0.6484 GB, free: 6 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.372e-06/0.5261, allocations: 6.625 kB / 0.6484 GB, free: 5.996 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002355/0.5263, allocations: 0 / 0.6484 GB, free: 5.996 MB / 0.5105 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.01073/0.537, allocations: 8.271 MB / 0.6564 GB, free: 13.64 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.5371, allocations: 8.031 kB / 0.6564 GB, free: 13.64 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001548/0.5386, allocations: 1.146 MB / 0.6576 GB, free: 12.49 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006674/0.5453, allocations: 4.978 MB / 0.6624 GB, free: 7.43 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002431/0.5455, allocations: 303.5 kB / 0.6627 GB, free: 7.133 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000898/0.5464, allocations: 395.9 kB / 0.6631 GB, free: 6.746 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01387/0.5603, allocations: 9.555 MB / 0.6724 GB, free: 11.39 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.732e-05/0.5604, allocations: 51.5 kB / 0.6725 GB, free: 11.34 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004328/0.5608, allocations: 198.6 kB / 0.6727 GB, free: 11.15 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003116/0.5611, allocations: 461.8 kB / 0.6731 GB, free: 10.7 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009421/0.5706, allocations: 4.401 MB / 0.6774 GB, free: 6.301 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03512/0.6057, allocations: 53.76 MB / 0.7299 GB, free: 14.89 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008827/0.6145, allocations: 4.372 MB / 0.7342 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001837/0.6163, allocations: 1.137 MB / 0.7353 GB, free: 8.992 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005392/0.6169, allocations: 426.5 kB / 0.7357 GB, free: 8.633 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.974e-05/0.617, allocations: 104.1 kB / 0.7358 GB, free: 8.52 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=844): time 6.532e-06/0.617, allocations: 3.938 kB / 0.7358 GB, free: 8.516 MB / 0.6043 GB Notification: Performance of matching and sorting (n=844): time 0.2372/0.8541, allocations: 9.249 MB / 0.7448 GB, free: 152.9 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003184/0.8545, allocations: 1.289 MB / 0.7461 GB, free: 151.3 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006416/0.8609, allocations: 4.378 MB / 0.7504 GB, free: 150.9 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.0009341/0.8618, allocations: 81.23 kB / 0.7504 GB, free: 150.9 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.001398/0.8632, allocations: 2.927 MB / 0.7533 GB, free: 150.4 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.001529/0.8647, allocations: 2.917 MB / 0.7561 GB, free: 148.8 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001624/0.8664, allocations: 1.866 MB / 0.758 GB, free: 148.7 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 3.745e-05/0.8664, allocations: 478.2 kB / 0.7584 GB, free: 148.2 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001457/0.8679, allocations: 1.131 MB / 0.7595 GB, free: 148.1 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002886/0.8707, allocations: 5.397 MB / 0.7648 GB, free: 143 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006704/0.8774, allocations: 7.386 MB / 0.772 GB, free: 138.7 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.54e-05/0.8775, allocations: 21.88 kB / 0.772 GB, free: 138.7 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1162) (initialization): time 0.01075/0.8882, allocations: 6.875 MB / 0.7787 GB, free: 138 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 5.118e-05/0.8883, allocations: 38.66 kB / 0.7788 GB, free: 138 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006536/0.8948, allocations: 4.521 MB / 0.7832 GB, free: 137.7 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03318/0.928, allocations: 6.52 MB / 0.7896 GB, free: 137.6 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003705/0.9317, allocations: 2.116 MB / 0.7916 GB, free: 137.3 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003483/0.9352, allocations: 7.712 MB / 0.7992 GB, free: 130.3 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002915/0.9381, allocations: 0.8495 MB / 0.8 GB, free: 130 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004817/0.9386, allocations: 0.4991 MB / 0.8005 GB, free: 129.8 MB / 0.6043 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.002853/0.9414, allocations: 1.339 MB / 0.8018 GB, free: 128.5 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002343/0.9438, allocations: 5.374 MB / 0.807 GB, free: 121.8 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00524/0.949, allocations: 7.344 MB / 0.8142 GB, free: 114.1 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.301e-05/0.949, allocations: 20 kB / 0.8142 GB, free: 114.1 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1162) (initialization_lambda0): time 0.01069/0.9597, allocations: 6.807 MB / 0.8209 GB, free: 108.4 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.472e-05/0.9598, allocations: 36 kB / 0.8209 GB, free: 108.3 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008167/0.9679, allocations: 4.45 MB / 0.8253 GB, free: 104.5 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0423/1.01, allocations: 6.304 MB / 0.8314 GB, free: 98.69 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004823/1.015, allocations: 2.122 MB / 0.8335 GB, free: 96.77 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00407/1.019, allocations: 7.704 MB / 0.841 GB, free: 89.07 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003687/1.023, allocations: 0.7069 MB / 0.8417 GB, free: 88.67 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006244/1.023, allocations: 0.4943 MB / 0.8422 GB, free: 88.25 MB / 0.6043 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[3],plateHEX.thinWall.nTU.smallShellFlow[1],plateHEX.thinWall.nTU.mass,plateHEX.thinWall.nTU.smallShellFlow[2]) * 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.001734/1.025, allocations: 0.8022 MB / 0.843 GB, free: 87.74 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001339/1.027, allocations: 0.7618 MB / 0.8437 GB, free: 87.01 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 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.008026/1.035, allocations: 8.74 MB / 0.8522 GB, free: 79.71 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.653023469261825]