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.01436/0.01436, allocations: 1.348 MB / 20.45 MB, free: 1.25 MB / 14.72 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.00211/0.00211, allocations: 81.47 kB / 24.02 MB, free: 2.59 MB / 14.72 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.001847/0.001847, allocations: 156.2 kB / 27.71 MB, free: 3.844 MB / 19.63 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.507/1.507, allocations: 177.1 MB / 208.4 MB, free: 7.672 MB / 190.1 MB " [Timeout remaining time 178] 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 1.089/1.089, allocations: 102.5 MB / 367.7 MB, free: 4.59 MB / 334.1 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.3.1 (/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.855e-06/2.855e-06, allocations: 0 / 0.5364 GB, free: 7.109 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.675e-05/3.96e-05, allocations: 3.594 kB / 0.5364 GB, free: 7.105 MB / 446.1 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.1989/0.1989, allocations: 70.48 MB / 0.6053 GB, free: 3.105 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.04919/0.2481, allocations: 25.73 MB / 0.6304 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008297/0.2564, allocations: 146.9 kB / 0.6305 GB, free: 9.16 MB / 0.5294 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.009582/0.266, allocations: 2.808 MB / 0.6333 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01503/0.281, allocations: 4.123 MB / 0.6373 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.01526/0.2963, allocations: 5.326 MB / 0.6425 GB, free: 12.85 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.02536/0.3216, allocations: 12.32 MB / 0.6545 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01149/0.3331, allocations: 3.322 MB / 0.6578 GB, free: 13.1 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02703/0.3602, allocations: 6.591 MB / 0.6642 GB, free: 6.496 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01411/0.3743, allocations: 4.035 MB / 0.6682 GB, free: 2.449 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.005257/0.3795, allocations: 0.875 MB / 0.669 GB, free: 1.574 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01142/0.3909, allocations: 2.219 MB / 0.6712 GB, free: 15.35 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.006747/0.3977, allocations: 2.609 MB / 0.6737 GB, free: 12.73 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.01036/0.408, allocations: 2.693 MB / 0.6764 GB, free: 10.04 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.4497/0.8577, allocations: 13.66 MB / 0.6897 GB, free: 49.53 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 9.117e-06/0.8577, allocations: 2.625 kB / 0.6897 GB, free: 49.53 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.655e-06/0.8577, allocations: 0 / 0.6897 GB, free: 49.53 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0005022/0.8582, allocations: 0.8438 kB / 0.6897 GB, free: 49.53 MB / 0.5763 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.03219/0.8904, allocations: 8.179 MB / 0.6977 GB, free: 46.21 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.888e-05/0.8905, allocations: 12.09 kB / 0.6977 GB, free: 46.21 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006625/0.8971, allocations: 0.9981 MB / 0.6987 GB, free: 45.73 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01707/0.9142, allocations: 6.255 MB / 0.7048 GB, free: 44.56 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003694/0.9146, allocations: 298.6 kB / 0.7051 GB, free: 44.55 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002235/0.9168, allocations: 383.6 kB / 0.7054 GB, free: 44.55 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0297/0.9465, allocations: 11.85 MB / 0.717 GB, free: 40.27 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001491/0.9466, allocations: 49.25 kB / 0.717 GB, free: 40.27 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009102/0.9475, allocations: 188.9 kB / 0.7172 GB, free: 40.27 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004867/0.948, allocations: 469.1 kB / 0.7177 GB, free: 40.26 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02419/0.9722, allocations: 8.045 MB / 0.7255 GB, free: 40.22 MB / 0.5763 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.05236/1.025, allocations: 42.16 MB / 0.7667 GB, free: 3.418 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01932/1.044, allocations: 6.558 MB / 0.7731 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007063/1.051, allocations: 2.325 MB / 0.7754 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001507/1.052, allocations: 252.3 kB / 0.7756 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000178/1.053, allocations: 98.94 kB / 0.7757 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=844): time 1.394e-05/1.053, allocations: 2.953 kB / 0.7757 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of matching and sorting (n=844): time 0.05568/1.108, allocations: 13.59 MB / 0.789 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008295/1.109, allocations: 1.084 MB / 0.79 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01377/1.123, allocations: 5.011 MB / 0.7949 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.002105/1.125, allocations: 81.7 kB / 0.795 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.00366/1.129, allocations: 2.74 MB / 0.7977 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.005362/1.134, allocations: 2.822 MB / 0.8004 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007979/1.142, allocations: 1.723 MB / 0.8021 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001479/1.142, allocations: 304.4 kB / 0.8024 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008905/1.151, allocations: 3.322 MB / 0.8057 GB, free: 14.68 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01283/1.164, allocations: 6.197 MB / 0.8117 GB, free: 7.293 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1555/1.319, allocations: 23.36 MB / 0.8345 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.464e-05/1.32, allocations: 22.66 kB / 0.8346 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1162) (initialization): time 0.03614/1.356, allocations: 11.22 MB / 0.8455 GB, free: 4.938 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.607e-05/1.356, allocations: 40 kB / 0.8455 GB, free: 4.898 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02736/1.383, allocations: 8.668 MB / 0.854 GB, free: 12.27 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07338/1.456, allocations: 6.11 MB / 0.86 GB, free: 6.328 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008756/1.465, allocations: 2.127 MB / 0.8621 GB, free: 4.332 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01206/1.477, allocations: 7.691 MB / 0.8696 GB, free: 12.39 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008787/1.486, allocations: 0.8531 MB / 0.8704 GB, free: 11.54 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002385/1.488, allocations: 0.5676 MB / 0.8709 GB, free: 10.97 MB / 0.6857 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.01597/1.504, allocations: 4.833 MB / 0.8757 GB, free: 6.137 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01271/1.517, allocations: 6.161 MB / 0.8817 GB, free: 14.79 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1515/1.669, allocations: 22.91 MB / 0.9041 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.215e-05/1.669, allocations: 31.94 kB / 0.9041 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1162) (initialization_lambda0): time 0.03316/1.702, allocations: 11.02 MB / 0.9149 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.138e-05/1.702, allocations: 40.61 kB / 0.9149 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02567/1.728, allocations: 8.46 MB / 0.9232 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007623/1.735, allocations: 1.342 MB / 0.9245 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008958/1.744, allocations: 2.164 MB / 0.9266 GB, free: 176 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01291/1.757, allocations: 8.863 MB / 0.9352 GB, free: 6.867 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008873/1.766, allocations: 0.7294 MB / 0.9359 GB, free: 6.133 MB / 0.7482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002386/1.768, allocations: 0.5621 MB / 0.9365 GB, free: 5.57 MB / 0.7482 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.004752/1.773, allocations: 0.7015 MB / 0.9372 GB, free: 4.855 MB / 0.7482 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004737/1.778, allocations: 0.675 MB / 0.9378 GB, free: 4.176 MB / 0.7482 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.02777/1.806, allocations: 10.25 MB / 0.9478 GB, free: 10.12 MB / 0.7638 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 6.181587837636471] Failed to read output from testmodel.py, exit status != 0: 2.291540663689375 2.302736381 1.441523994 Calling exit ...