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 0.5.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo): time 0.006289/0.006289, allocations: 1.358 MB / 20.45 MB, free: 4.098 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo): time 0.07962/0.07962, allocations: 18.24 MB / 42.2 MB, free: 5.184 MB / 33.03 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.001398/0.001398, allocations: 91.28 kB / 53.06 MB, free: 6.508 MB / 44.04 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.001253/0.001253, allocations: 165.4 kB / 64.05 MB, free: 10.2 MB / 58.72 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.9074/0.9074, allocations: 177.2 MB / 252.1 MB, free: 11.78 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/package.mo): time 0.5324/0.5324, allocations: 102.6 MB / 418.7 MB, free: 5.301 MB / 362.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-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 TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo) Using package SMArtInt with version 0.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_PlateHEXvle2vle_L3_2ph_ntu,fileNamePrefix="ClaRa_dev_ClaRa_Components_HeatExchangers_Check_Test_PlateHEXvle2vle_L3_2ph_ntu",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_PlateHEXvle2vle_L3_2ph_ntu,fileNamePrefix="ClaRa_dev_ClaRa_Components_HeatExchangers_Check_Test_PlateHEXvle2vle_L3_2ph_ntu",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.603 GB, free: 356 kB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024e-05/1.164e-05, allocations: 6.281 kB / 0.603 GB, free: 348 kB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_PlateHEXvle2vle_L3_2ph_ntu): time 0.0153/0.01531, allocations: 23.77 MB / 0.6262 GB, free: 8.473 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.02856/0.04387, allocations: 25.73 MB / 0.6514 GB, free: 14.67 MB / 0.5418 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004025/0.0479, allocations: 146.9 kB / 0.6515 GB, free: 14.52 MB / 0.5418 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-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.004621/0.05252, allocations: 2.82 MB / 0.6543 GB, free: 11.69 MB / 0.5418 GB Notification: Performance of NFTyping.typeBindings: time 0.006667/0.05919, allocations: 4.111 MB / 0.6583 GB, free: 7.551 MB / 0.5418 GB Notification: Performance of NFTyping.typeClassSections: time 0.00992/0.06911, allocations: 5.334 MB / 0.6635 GB, free: 2.211 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.269/0.3381, allocations: 12.3 MB / 0.6755 GB, free: 20.8 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003988/0.3421, allocations: 3.321 MB / 0.6787 GB, free: 20.41 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007354/0.3495, allocations: 6.584 MB / 0.6852 GB, free: 19.85 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004985/0.3545, allocations: 4.022 MB / 0.6891 GB, free: 19.41 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.001544/0.356, allocations: 0.8738 MB / 0.69 GB, free: 19.41 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003866/0.3599, allocations: 2.235 MB / 0.6921 GB, free: 19.34 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.001678/0.3615, allocations: 2.616 MB / 0.6947 GB, free: 18.93 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.002756/0.3643, allocations: 2.681 MB / 0.6973 GB, free: 18.02 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01133/0.3756, allocations: 13.67 MB / 0.7107 GB, free: 12.29 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.3756, allocations: 1.188 kB / 0.7107 GB, free: 12.29 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3756, allocations: 0 / 0.7107 GB, free: 12.29 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0001908/0.3758, allocations: 0 / 0.7107 GB, free: 12.29 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.009812/0.3856, allocations: 8.186 MB / 0.7187 GB, free: 6.516 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.3857, allocations: 10.06 kB / 0.7187 GB, free: 6.516 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005671/0.3863, allocations: 0.7394 MB / 0.7194 GB, free: 5.969 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001494/0.3877, allocations: 0.9923 MB / 0.7204 GB, free: 5.398 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005949/0.3937, allocations: 6.272 MB / 0.7265 GB, free: 1.129 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/0.3938, allocations: 292.9 kB / 0.7268 GB, free: 1 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003583/0.3942, allocations: 381.9 kB / 0.7271 GB, free: 0.875 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01292/0.4071, allocations: 11.84 MB / 0.7387 GB, free: 8.012 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.852e-05/0.4072, allocations: 50.59 kB / 0.7387 GB, free: 8.012 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003428/0.4075, allocations: 192 kB / 0.7389 GB, free: 7.895 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002916/0.4078, allocations: 468.8 kB / 0.7394 GB, free: 7.754 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0116/0.4194, allocations: 8.046 MB / 0.7472 GB, free: 240 kB / 0.5574 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.02757/0.447, allocations: 42.91 MB / 0.7891 GB, free: 4.52 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0103/0.4573, allocations: 6.572 MB / 0.7955 GB, free: 13.79 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002629/0.4599, allocations: 2.317 MB / 0.7978 GB, free: 11.4 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005048/0.4604, allocations: 249 kB / 0.798 GB, free: 11.16 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.406e-05/0.4605, allocations: 96.22 kB / 0.7981 GB, free: 11.06 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=844): time 6.723e-06/0.4605, allocations: 0 / 0.7981 GB, free: 11.06 MB / 0.6199 GB Notification: Performance of matching and sorting (n=844): time 0.03322/0.4937, allocations: 13.62 MB / 0.8114 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004449/0.4942, allocations: 1.085 MB / 0.8125 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00989/0.504, allocations: 5.41 MB / 0.8178 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0009973/0.505, allocations: 77.7 kB / 0.8179 GB, free: 6.582 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.002114/0.5072, allocations: 2.697 MB / 0.8205 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.003029/0.5102, allocations: 2.823 MB / 0.8232 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003182/0.5134, allocations: 1.72 MB / 0.8249 GB, free: 15.38 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.5135, allocations: 305.1 kB / 0.8252 GB, free: 15.07 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00499/0.5185, allocations: 3.324 MB / 0.8285 GB, free: 11.73 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00537/0.5238, allocations: 6.201 MB / 0.8345 GB, free: 4.352 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07342/0.5973, allocations: 23.37 MB / 0.8573 GB, free: 12.16 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.691e-05/0.5973, allocations: 20 kB / 0.8574 GB, free: 12.14 MB / 0.6824 GB Notification: Performance of matching and sorting (n=1162) (initialization): time 0.01795/0.6152, allocations: 11.25 MB / 0.8683 GB, free: 1.281 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 4.226e-05/0.6153, allocations: 36 kB / 0.8684 GB, free: 1.246 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0127/0.628, allocations: 8.663 MB / 0.8768 GB, free: 8.586 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03509/0.6631, allocations: 6.103 MB / 0.8828 GB, free: 2.484 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004843/0.6679, allocations: 2.133 MB / 0.8849 GB, free: 496 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006607/0.6745, allocations: 7.735 MB / 0.8924 GB, free: 8.473 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004732/0.6793, allocations: 0.8996 MB / 0.8933 GB, free: 7.566 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008298/0.6801, allocations: 0.5699 MB / 0.8939 GB, free: 6.996 MB / 0.7137 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.007046/0.6871, allocations: 4.812 MB / 0.8986 GB, free: 2.18 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005344/0.6925, allocations: 6.157 MB / 0.9046 GB, free: 10.84 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.07355/0.766, allocations: 22.94 MB / 0.927 GB, free: 3.07 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.803e-05/0.7661, allocations: 20 kB / 0.927 GB, free: 3.051 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1162) (initialization_lambda0): time 0.02025/0.7863, allocations: 11.05 MB / 0.9378 GB, free: 8.086 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.508e-05/0.7864, allocations: 42.5 kB / 0.9378 GB, free: 8.047 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2822/1.069, allocations: 8.464 MB / 0.9461 GB, free: 212.2 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004443/1.073, allocations: 1.333 MB / 0.9474 GB, free: 212.2 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005817/1.079, allocations: 2.157 MB / 0.9495 GB, free: 212.2 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005935/1.085, allocations: 8.952 MB / 0.9582 GB, free: 206.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004657/1.089, allocations: 0.7283 MB / 0.959 GB, free: 206.3 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000628/1.09, allocations: 0.5669 MB / 0.9595 GB, free: 206.3 MB / 0.7605 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.001994/1.092, allocations: 0.7055 MB / 0.9602 GB, free: 206.1 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001295/1.093, allocations: 0.7017 MB / 0.9609 GB, free: 206.1 MB / 0.7605 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 1.9.0-ClaRa/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.01279/1.106, allocations: 10.28 MB / 0.9709 GB, free: 205 MB / 0.7605 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.96026162058115]