Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA.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.006461/0.006461, allocations: 1.354 MB / 20.45 MB, free: 4.102 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.08022/0.08022, allocations: 18.24 MB / 42.19 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.001189/0.001189, allocations: 88.81 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.001088/0.001088, allocations: 161.4 kB / 64.04 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.8542/0.8542, allocations: 177.2 MB / 252.1 MB, free: 11.77 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.4772/0.4772, allocations: 102.6 MB / 418.7 MB, free: 5.305 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_HEXvle2vle_L3_1ph_kA,fileNamePrefix="ClaRa_dev_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_1ph_kA",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA,fileNamePrefix="ClaRa_dev_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_1ph_kA",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.603 GB, free: 340 kB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.607e-05/1.79e-05, allocations: 5.781 kB / 0.603 GB, free: 336 kB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA): time 0.01657/0.01659, allocations: 22.52 MB / 0.625 GB, free: 9.703 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.02232/0.03891, allocations: 21.83 MB / 0.6463 GB, free: 3.809 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002582/0.04149, allocations: 143 kB / 0.6465 GB, free: 3.668 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.003624/0.04511, allocations: 2.575 MB / 0.649 GB, free: 1.078 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.004977/0.05009, allocations: 3.801 MB / 0.6527 GB, free: 13.25 MB / 0.5418 GB Notification: Performance of NFTyping.typeClassSections: time 0.004565/0.05466, allocations: 3.976 MB / 0.6566 GB, free: 9.277 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.2204/0.275, allocations: 10.17 MB / 0.6665 GB, free: 20.22 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00421/0.2793, allocations: 3.341 MB / 0.6698 GB, free: 19.97 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005079/0.2843, allocations: 5.675 MB / 0.6753 GB, free: 19.97 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003437/0.2878, allocations: 3.479 MB / 0.6787 GB, free: 19.97 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.0006608/0.2884, allocations: 0.6688 MB / 0.6794 GB, free: 19.97 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002831/0.2913, allocations: 1.982 MB / 0.6813 GB, free: 19.97 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.001161/0.2924, allocations: 2.066 MB / 0.6833 GB, free: 19.95 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.001688/0.2941, allocations: 2.204 MB / 0.6855 GB, free: 19.64 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.007885/0.302, allocations: 10.46 MB / 0.6957 GB, free: 18.6 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.302, allocations: 1.031 kB / 0.6957 GB, free: 18.6 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.753e-06/0.302, allocations: 2.094 kB / 0.6957 GB, free: 18.6 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.000118/0.3021, allocations: 0 / 0.6957 GB, free: 18.6 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: 1318 * Number of variables: 1318 Notification: Performance of Generate backend data structure: time 0.009151/0.3113, allocations: 7.299 MB / 0.7028 GB, free: 15.26 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.3113, allocations: 14.28 kB / 0.7028 GB, free: 15.25 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005474/0.3119, allocations: 0.6017 MB / 0.7034 GB, free: 14.92 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001521/0.3134, allocations: 0.8955 MB / 0.7043 GB, free: 14.49 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005751/0.3191, allocations: 5.396 MB / 0.7096 GB, free: 11.16 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/0.3193, allocations: 252.6 kB / 0.7098 GB, free: 11.04 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003382/0.3196, allocations: 310.7 kB / 0.7101 GB, free: 10.94 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009862/0.3295, allocations: 10.06 MB / 0.7199 GB, free: 2.934 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.35e-05/0.3295, allocations: 38.47 kB / 0.72 GB, free: 2.934 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002635/0.3298, allocations: 162.2 kB / 0.7201 GB, free: 2.832 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001199/0.3299, allocations: 202.8 kB / 0.7203 GB, free: 2.797 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009409/0.3393, allocations: 6.528 MB / 0.7267 GB, free: 15.82 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02053/0.3598, allocations: 33.37 MB / 0.7593 GB, free: 2.117 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008557/0.3684, allocations: 5.534 MB / 0.7647 GB, free: 13.52 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002273/0.3707, allocations: 1.884 MB / 0.7665 GB, free: 11.57 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003337/0.371, allocations: 185 kB / 0.7667 GB, free: 11.4 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.654e-05/0.3711, allocations: 87.62 kB / 0.7668 GB, free: 11.31 MB / 0.5887 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002061/0.3731, allocations: 0.6329 MB / 0.7674 GB, free: 10.68 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=712): time 7.013e-06/0.3731, allocations: 0 / 0.7674 GB, free: 10.68 MB / 0.5887 GB Notification: Performance of matching and sorting (n=712): time 0.01822/0.3913, allocations: 10.98 MB / 0.7781 GB, free: 15.67 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000272/0.3916, allocations: 1.039 MB / 0.7791 GB, free: 14.4 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004885/0.3965, allocations: 4.957 MB / 0.784 GB, free: 9.465 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.0002627/0.3968, allocations: 73.7 kB / 0.784 GB, free: 9.387 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.001171/0.3979, allocations: 2.436 MB / 0.7864 GB, free: 6.957 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.001157/0.3991, allocations: 2.379 MB / 0.7887 GB, free: 4.613 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001439/0.4005, allocations: 1.458 MB / 0.7902 GB, free: 3.141 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.063e-05/0.4006, allocations: 301.1 kB / 0.7905 GB, free: 2.844 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00328/0.4039, allocations: 2.67 MB / 0.7931 GB, free: 164 kB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004528/0.4084, allocations: 5.235 MB / 0.7982 GB, free: 9.906 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0605/0.4689, allocations: 20.51 MB / 0.8182 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-05/0.4689, allocations: 16 kB / 0.8182 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.01144/0.4804, allocations: 8.468 MB / 0.8265 GB, free: 12.51 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 3.794e-05/0.4804, allocations: 34.19 kB / 0.8265 GB, free: 12.48 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007449/0.4879, allocations: 6.16 MB / 0.8325 GB, free: 6.277 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003277/0.4882, allocations: 205.6 kB / 0.8327 GB, free: 6.07 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003613/0.4918, allocations: 2.015 MB / 0.8347 GB, free: 4.172 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00158/0.4934, allocations: 2.896 MB / 0.8375 GB, free: 1.094 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003037/0.4964, allocations: 327.9 kB / 0.8378 GB, free: 0.7734 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005378/0.497, allocations: 491.6 kB / 0.8383 GB, free: 300 kB / 0.6512 GB Warning: Assuming fixed start value for the following 4 variables: hEXvle2vle_L3_1ph_BU_ntu.tubes.h:VARIABLE(start = hEXvle2vle_L3_1ph_BU_ntu.tubes.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hEXvle2vle_L3_1ph_BU_ntu.tubes.p:VARIABLE(min = 0.0 start = hEXvle2vle_L3_1ph_BU_ntu.tubes.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real hEXvle2vle_L3_1ph_BU_ntu.shell.h:VARIABLE(start = hEXvle2vle_L3_1ph_BU_ntu.shell.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hEXvle2vle_L3_1ph_BU_ntu.shell.p:VARIABLE(min = 0.0 start = hEXvle2vle_L3_1ph_BU_ntu.shell.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005803/0.5028, allocations: 3.742 MB / 0.842 GB, free: 12.54 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004467/0.5072, allocations: 5.21 MB / 0.8471 GB, free: 6.312 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06097/0.5682, allocations: 20.4 MB / 0.867 GB, free: 1.207 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.115e-05/0.5682, allocations: 20 kB / 0.867 GB, free: 1.188 MB / 0.6824 GB Notification: Performance of matching and sorting (n=993) (initialization_lambda0): time 0.01097/0.5792, allocations: 8.386 MB / 0.8752 GB, free: 9.109 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.863e-05/0.5792, allocations: 35.98 kB / 0.8752 GB, free: 9.074 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007297/0.5865, allocations: 6.064 MB / 0.8811 GB, free: 2.961 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002154/0.5867, allocations: 189.5 kB / 0.8813 GB, free: 2.773 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003553/0.5903, allocations: 2.001 MB / 0.8833 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001377/0.5917, allocations: 2.866 MB / 0.8861 GB, free: 13.83 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002615/0.5943, allocations: 319.4 kB / 0.8864 GB, free: 13.52 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004648/0.5948, allocations: 487.7 kB / 0.8869 GB, free: 13.05 MB / 0.7137 GB Warning: Assuming fixed start value for the following 4 variables: hEXvle2vle_L3_1ph_BU_ntu.tubes.h:VARIABLE(start = hEXvle2vle_L3_1ph_BU_ntu.tubes.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hEXvle2vle_L3_1ph_BU_ntu.tubes.p:VARIABLE(min = 0.0 start = hEXvle2vle_L3_1ph_BU_ntu.tubes.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real hEXvle2vle_L3_1ph_BU_ntu.shell.h:VARIABLE(start = hEXvle2vle_L3_1ph_BU_ntu.shell.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hEXvle2vle_L3_1ph_BU_ntu.shell.p:VARIABLE(min = 0.0 start = hEXvle2vle_L3_1ph_BU_ntu.shell.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 286 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (991): * Single equations (assignments): 989 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001179/0.5959, allocations: 0.6198 MB / 0.8875 GB, free: 12.54 MB / 0.7137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009975/0.5969, allocations: 0.6478 MB / 0.8881 GB, free: 11.89 MB / 0.7137 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 1136 equation(s) and 1082 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: (valve_shell1.fluidIn.q, valve_shell1.fluidIn.cp, valve_shell1.fluidIn.cv, valve_shell1.fluidIn.beta, valve_shell1.fluidIn.kappa, valve_shell1.fluidIn.drhodp_hxi, valve_shell1.fluidIn.drhodh_pxi, _, valve_shell1.fluidIn.w, valve_shell1.fluidIn.gamma) = ($cse432, $cse433, $cse434, $cse435, $cse436, $cse437, $cse438, $cse439, $cse440, $cse441) has size 9 but 8 variables ($cse189, $cse190, $cse191, $cse192, hEXvle2vle_L3_1ph_BU_ntu.tubes.bulk.transp.Pr, hEXvle2vle_L3_1ph_BU_ntu.tubes.bulk.transp.lambda, hEXvle2vle_L3_1ph_BU_ntu.tubes.bulk.transp.eta, hEXvle2vle_L3_1ph_BU_ntu.tubes.bulk.transp.sigma) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00973/0.6067, allocations: 9.175 MB / 0.897 GB, free: 2.926 MB / 0.7137 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.083399660885334]