Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.008794/0.008794, allocations: 1.784 MB / 21.57 MB, free: 2.902 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.004419/0.004419, allocations: 84.91 kB / 25.4 MB, free: 7 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.001551/0.001551, allocations: 159.8 kB / 29.33 MB, free: 3.133 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.988/0.988, allocations: 177.1 MB / 210.3 MB, free: 3.453 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 0.6211/0.6211, allocations: 102.5 MB / 369.9 MB, free: 244 kB / 330.7 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/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_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_ClaRa.Components.HeatExchangers.Check.Test_PlateHEXvle2vle_L3_2ph_ntu") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 470.4 MB, free: 18.86 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.333e-05/2.481e-05, allocations: 2.969 kB / 470.5 MB, free: 18.85 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.1267/0.1268, allocations: 75.87 MB / 0.5335 GB, free: 11.73 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.05073/0.1775, allocations: 26.51 MB / 0.5594 GB, free: 1.148 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008399/0.1859, allocations: 146.9 kB / 0.5595 GB, free: 1.004 MB / 474.8 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/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.009367/0.1952, allocations: 2.828 MB / 0.5623 GB, free: 14.16 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01323/0.2085, allocations: 4.138 MB / 0.5663 GB, free: 9.996 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01389/0.2224, allocations: 5.337 MB / 0.5716 GB, free: 4.648 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01991/0.2423, allocations: 12.3 MB / 0.5836 GB, free: 8.316 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005992/0.2483, allocations: 3.46 MB / 0.5869 GB, free: 4.789 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.09762/0.3459, allocations: 43.17 MB / 0.6291 GB, free: 10.89 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006473/0.3524, allocations: 3.871 MB / 0.6329 GB, free: 7.004 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.001896/0.3543, allocations: 0.8164 MB / 0.6337 GB, free: 6.188 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004428/0.3587, allocations: 2.16 MB / 0.6358 GB, free: 4.023 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.001942/0.3606, allocations: 2.488 MB / 0.6382 GB, free: 1.527 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.2695/0.6301, allocations: 2.585 MB / 0.6408 GB, free: 73.87 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.009349/0.6395, allocations: 7.792 MB / 0.6484 GB, free: 73.24 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.6395, allocations: 0 / 0.6484 GB, free: 73.24 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6395, allocations: 0 / 0.6484 GB, free: 73.24 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0001129/0.6396, allocations: 2.938 kB / 0.6484 GB, free: 73.24 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.007515/0.6471, allocations: 8.268 MB / 0.6564 GB, free: 69.7 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.6471, allocations: 8.812 kB / 0.6564 GB, free: 69.7 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/0.6483, allocations: 1.138 MB / 0.6576 GB, free: 69.22 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004311/0.6526, allocations: 4.99 MB / 0.6624 GB, free: 68.13 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001725/0.6528, allocations: 304.1 kB / 0.6627 GB, free: 68.12 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003922/0.6532, allocations: 401.3 kB / 0.6631 GB, free: 68.11 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00951/0.6627, allocations: 9.557 MB / 0.6724 GB, free: 62.43 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.416e-05/0.6628, allocations: 52.34 kB / 0.6725 GB, free: 62.43 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002819/0.6631, allocations: 189.4 kB / 0.6727 GB, free: 62.43 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002805/0.6633, allocations: 467.2 kB / 0.6731 GB, free: 62.42 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007912/0.6712, allocations: 4.398 MB / 0.6774 GB, free: 62.31 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02808/0.6993, allocations: 53.76 MB / 0.7299 GB, free: 18.55 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008677/0.708, allocations: 4.376 MB / 0.7342 GB, free: 16.51 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001406/0.7094, allocations: 1.146 MB / 0.7353 GB, free: 15.97 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000591/0.71, allocations: 421.8 kB / 0.7357 GB, free: 15.89 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.439e-05/0.7101, allocations: 101 kB / 0.7358 GB, free: 15.82 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=844): time 7.094e-06/0.7101, allocations: 1.375 kB / 0.7358 GB, free: 15.82 MB / 0.5418 GB Notification: Performance of matching and sorting (n=844): time 0.01814/0.7282, allocations: 9.264 MB / 0.7448 GB, free: 12.51 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002389/0.7285, allocations: 1.287 MB / 0.7461 GB, free: 10.96 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004061/0.7325, allocations: 4.379 MB / 0.7504 GB, free: 9.223 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0003914/0.7329, allocations: 81.3 kB / 0.7505 GB, free: 9.152 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.001254/0.7342, allocations: 2.934 MB / 0.7533 GB, free: 6.777 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.001595/0.7358, allocations: 2.908 MB / 0.7562 GB, free: 4.375 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001635/0.7374, allocations: 1.858 MB / 0.758 GB, free: 3.461 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 4.665e-05/0.7375, allocations: 483.1 kB / 0.7584 GB, free: 2.988 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0018/0.7393, allocations: 1.13 MB / 0.7595 GB, free: 2.641 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003337/0.7426, allocations: 5.402 MB / 0.7648 GB, free: 12.96 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006967/0.7496, allocations: 7.4 MB / 0.772 GB, free: 7.594 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.972e-05/0.7496, allocations: 19.66 kB / 0.7721 GB, free: 7.594 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1162) (initialization): time 0.01178/0.7614, allocations: 6.867 MB / 0.7788 GB, free: 2.109 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.918e-05/0.7614, allocations: 36 kB / 0.7788 GB, free: 2.074 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00721/0.7686, allocations: 4.511 MB / 0.7832 GB, free: 13.61 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0342/0.8028, allocations: 6.52 MB / 0.7896 GB, free: 7.398 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005073/0.8079, allocations: 2.12 MB / 0.7916 GB, free: 5.41 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005349/0.8132, allocations: 7.729 MB / 0.7992 GB, free: 13.45 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005586/0.8188, allocations: 0.8374 MB / 0.8 GB, free: 12.6 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008789/0.8197, allocations: 0.5035 MB / 0.8005 GB, free: 12.1 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.004239/0.8239, allocations: 1.334 MB / 0.8018 GB, free: 10.77 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003824/0.8278, allocations: 5.379 MB / 0.8071 GB, free: 3.914 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007386/0.8352, allocations: 7.335 MB / 0.8142 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.406e-05/0.8352, allocations: 24 kB / 0.8142 GB, free: 11.63 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1162) (initialization_lambda0): time 0.01142/0.8466, allocations: 6.797 MB / 0.8209 GB, free: 5.023 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.74e-05/0.8466, allocations: 40 kB / 0.8209 GB, free: 4.984 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006607/0.8532, allocations: 4.446 MB / 0.8253 GB, free: 488 kB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0333/0.8865, allocations: 6.318 MB / 0.8314 GB, free: 10.39 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005008/0.8915, allocations: 2.114 MB / 0.8335 GB, free: 8.27 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005107/0.8967, allocations: 7.707 MB / 0.841 GB, free: 260 kB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004981/0.9016, allocations: 0.7062 MB / 0.8417 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000891/0.9025, allocations: 0.5035 MB / 0.8422 GB, free: 15.05 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[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.00228/0.9048, allocations: 0.7847 MB / 0.843 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001871/0.9067, allocations: 0.7686 MB / 0.8437 GB, free: 13.49 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.01044/0.9171, allocations: 8.735 MB / 0.8522 GB, free: 5.051 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.9818646400235593]