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.01859/0.01859, allocations: 1.447 MB / 20.8 MB, free: 3.594 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.01017/0.01017, allocations: 77.97 kB / 24.44 MB, free: 7.496 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.001517/0.001517, allocations: 167.1 kB / 28.2 MB, free: 4.641 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 1.461/1.461, allocations: 177.2 MB / 209 MB, free: 2.805 MB / 186.7 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.12/1.12, allocations: 102.5 MB / 368.3 MB, free: 1.281 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 1.643e-06/1.643e-06, allocations: 0 / 468.3 MB, free: 13.46 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.441e-05/3.605e-05, allocations: 6.25 kB / 468.3 MB, free: 13.45 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.4648/0.4649, allocations: 70.64 MB / 0.5263 GB, free: 71.04 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.03506/0.4999, allocations: 25.74 MB / 0.5515 GB, free: 54.23 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007086/0.507, allocations: 149.9 kB / 0.5516 GB, free: 54.16 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.008154/0.5152, allocations: 2.809 MB / 0.5543 GB, free: 52.84 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01623/0.5314, allocations: 4.098 MB / 0.5583 GB, free: 50.21 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01276/0.5442, allocations: 5.33 MB / 0.5635 GB, free: 47.13 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.02011/0.5643, allocations: 12.32 MB / 0.5756 GB, free: 40.68 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006965/0.5713, allocations: 3.459 MB / 0.579 GB, free: 38.01 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01695/0.5882, allocations: 6.624 MB / 0.5854 GB, free: 33.74 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00855/0.5968, allocations: 4.044 MB / 0.5894 GB, free: 30.2 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.002558/0.5993, allocations: 0.8828 MB / 0.5902 GB, free: 29.32 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.06849/0.6678, allocations: 13.21 MB / 0.6031 GB, free: 18 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.005202/0.673, allocations: 2.628 MB / 0.6057 GB, free: 15.36 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01026/0.6833, allocations: 2.693 MB / 0.6083 GB, free: 12.66 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02271/0.706, allocations: 13.76 MB / 0.6218 GB, free: 14.87 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.706, allocations: 0 / 0.6218 GB, free: 14.87 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.603e-06/0.706, allocations: 3.938 kB / 0.6218 GB, free: 14.87 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0004202/0.7064, allocations: 0 / 0.6218 GB, free: 14.87 MB / 0.4949 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.02461/0.731, allocations: 8.185 MB / 0.6298 GB, free: 6.629 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.7311, allocations: 8.031 kB / 0.6298 GB, free: 6.621 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00451/0.7356, allocations: 1.3 MB / 0.631 GB, free: 5.316 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0153/0.7509, allocations: 6.576 MB / 0.6375 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004104/0.7513, allocations: 295.5 kB / 0.6377 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001819/0.7531, allocations: 403.9 kB / 0.6381 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03058/0.7837, allocations: 11.88 MB / 0.6497 GB, free: 0.7188 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001176/0.7838, allocations: 51.5 kB / 0.6498 GB, free: 0.668 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000613/0.7844, allocations: 196 kB / 0.65 GB, free: 488 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000589/0.785, allocations: 461.8 kB / 0.6504 GB, free: 24 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02462/0.8096, allocations: 8.094 MB / 0.6583 GB, free: 7.922 MB / 0.5262 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.06536/0.875, allocations: 42.48 MB / 0.6998 GB, free: 12.22 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0212/0.8962, allocations: 6.649 MB / 0.7063 GB, free: 5.383 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006199/0.9024, allocations: 2.332 MB / 0.7086 GB, free: 2.977 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001151/0.9035, allocations: 265.8 kB / 0.7088 GB, free: 2.715 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001428/0.9037, allocations: 103.9 kB / 0.7089 GB, free: 2.605 MB / 0.573 GB Notification: Performance of pre-optimization done (n=844): time 8.777e-06/0.9037, allocations: 0 / 0.7089 GB, free: 2.605 MB / 0.573 GB Notification: Performance of matching and sorting (n=844): time 0.05127/0.955, allocations: 14.21 MB / 0.7228 GB, free: 4.348 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008216/0.9558, allocations: 1.088 MB / 0.7239 GB, free: 3.008 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01353/0.9693, allocations: 5.023 MB / 0.7288 GB, free: 14.01 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.001476/0.9708, allocations: 77.7 kB / 0.7288 GB, free: 13.93 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.003501/0.9743, allocations: 2.733 MB / 0.7315 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.004719/0.979, allocations: 2.822 MB / 0.7343 GB, free: 8.328 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006614/0.9856, allocations: 1.723 MB / 0.7359 GB, free: 6.59 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0002648/0.9859, allocations: 301.1 kB / 0.7362 GB, free: 6.293 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009157/0.995, allocations: 3.342 MB / 0.7395 GB, free: 2.934 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2796/1.275, allocations: 6.229 MB / 0.7456 GB, free: 186.5 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1439/1.419, allocations: 23.54 MB / 0.7686 GB, free: 179.1 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001681/1.419, allocations: 21.75 kB / 0.7686 GB, free: 179.1 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1162) (initialization): time 0.03559/1.454, allocations: 11.51 MB / 0.7798 GB, free: 174.6 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001282/1.454, allocations: 44.72 kB / 0.7799 GB, free: 174.6 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0235/1.478, allocations: 8.72 MB / 0.7884 GB, free: 171.2 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07553/1.553, allocations: 7.135 MB / 0.7954 GB, free: 167.5 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007288/1.561, allocations: 2.132 MB / 0.7974 GB, free: 165.4 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008932/1.57, allocations: 7.765 MB / 0.805 GB, free: 157.3 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007344/1.577, allocations: 0.8553 MB / 0.8059 GB, free: 157 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001896/1.579, allocations: 0.5758 MB / 0.8064 GB, free: 156.4 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[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.01044/1.589, allocations: 4.837 MB / 0.8111 GB, free: 151.5 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007676/1.597, allocations: 6.186 MB / 0.8172 GB, free: 144.1 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1324/1.729, allocations: 23.1 MB / 0.8397 GB, free: 119.9 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001119/1.73, allocations: 20 kB / 0.8398 GB, free: 119.9 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1162) (initialization_lambda0): time 0.02928/1.759, allocations: 11.36 MB / 0.8509 GB, free: 108.6 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 9.678e-05/1.759, allocations: 36.19 kB / 0.8509 GB, free: 108.6 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02095/1.78, allocations: 8.579 MB / 0.8593 GB, free: 99.96 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07063/1.851, allocations: 6.853 MB / 0.866 GB, free: 93.09 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007109/1.858, allocations: 2.121 MB / 0.868 GB, free: 90.97 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008735/1.866, allocations: 7.756 MB / 0.8756 GB, free: 82.93 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006803/1.873, allocations: 0.7155 MB / 0.8763 GB, free: 82.37 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001906/1.875, allocations: 0.5738 MB / 0.8769 GB, free: 81.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[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.003664/1.879, allocations: 0.6968 MB / 0.8775 GB, free: 81.15 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004532/1.883, allocations: 0.7694 MB / 0.8783 GB, free: 80.38 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.02031/1.904, allocations: 10.26 MB / 0.8883 GB, free: 70.66 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.836585322045721]