Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_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.006131/0.006131, allocations: 1.358 MB / 20.45 MB, free: 4.094 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.07655/0.07655, allocations: 18.24 MB / 42.2 MB, free: 5.199 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.0009231/0.0009231, allocations: 89.95 kB / 53.07 MB, free: 6.379 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.001186/0.001186, allocations: 154.6 kB / 64.03 MB, free: 10.08 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.8805/0.8805, 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/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.476/0.476, allocations: 102.5 MB / 418.6 MB, free: 5.199 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/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_BU_ntu,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_1ph_BU_ntu",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_ntu,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_1ph_BU_ntu",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 0.6029 GB, free: 260 kB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.153e-05/1.274e-05, allocations: 2.938 kB / 0.6029 GB, free: 256 kB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_ntu): time 0.01695/0.01696, allocations: 24.15 MB / 0.6265 GB, free: 7.996 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.02732/0.04428, allocations: 24.39 MB / 0.6503 GB, free: 15.53 MB / 0.5418 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003537/0.04782, allocations: 146.9 kB / 0.6505 GB, free: 15.38 MB / 0.5418 GB Notification: Performance of NFTyping.typeComponents: time 0.00392/0.05174, allocations: 2.633 MB / 0.653 GB, free: 12.73 MB / 0.5418 GB Notification: Performance of NFTyping.typeBindings: time 0.008416/0.06015, allocations: 4.771 MB / 0.6577 GB, free: 7.938 MB / 0.5418 GB Notification: Performance of NFTyping.typeClassSections: time 0.005909/0.06606, allocations: 4.625 MB / 0.6622 GB, free: 3.316 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.2369/0.3029, allocations: 12.07 MB / 0.674 GB, free: 20.08 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003591/0.3065, allocations: 3.898 MB / 0.6778 GB, free: 19.66 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00604/0.3126, allocations: 6.648 MB / 0.6843 GB, free: 19.1 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003898/0.3165, allocations: 4.053 MB / 0.6883 GB, free: 18.68 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.001084/0.3176, allocations: 0.8431 MB / 0.6891 GB, free: 18.68 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003847/0.3214, allocations: 2.603 MB / 0.6916 GB, free: 18.58 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.001329/0.3227, allocations: 2.375 MB / 0.6939 GB, free: 18.18 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.002061/0.3248, allocations: 2.61 MB / 0.6965 GB, free: 17.65 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.009872/0.3347, allocations: 12.71 MB / 0.7089 GB, free: 12.55 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3347, allocations: 0 / 0.7089 GB, free: 12.55 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.806e-06/0.3347, allocations: 1.406 kB / 0.7089 GB, free: 12.55 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 9.5e-05/0.3348, allocations: 1.594 kB / 0.7089 GB, free: 12.55 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: 1448 * Number of variables: 1448 Notification: Performance of Generate backend data structure: time 0.008993/0.3438, allocations: 8.172 MB / 0.7169 GB, free: 6.832 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.3438, allocations: 11.28 kB / 0.7169 GB, free: 6.832 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005409/0.3444, allocations: 0.6623 MB / 0.7175 GB, free: 6.336 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001475/0.3458, allocations: 0.9677 MB / 0.7185 GB, free: 5.785 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006384/0.3522, allocations: 6.394 MB / 0.7247 GB, free: 1.555 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001926/0.3524, allocations: 395.9 kB / 0.7251 GB, free: 1.297 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003307/0.3527, allocations: 345.4 kB / 0.7254 GB, free: 1.184 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01233/0.3651, allocations: 11.34 MB / 0.7365 GB, free: 8.188 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.896e-05/0.3651, allocations: 42.88 kB / 0.7366 GB, free: 8.188 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003141/0.3654, allocations: 185.4 kB / 0.7367 GB, free: 8.07 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001199/0.3656, allocations: 211.6 kB / 0.7369 GB, free: 8.039 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0116/0.3772, allocations: 7.467 MB / 0.7442 GB, free: 2.387 MB / 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.02474/0.4019, allocations: 35.44 MB / 0.7788 GB, free: 14.27 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0106/0.4125, allocations: 6.624 MB / 0.7853 GB, free: 7.52 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003049/0.4155, allocations: 2.39 MB / 0.7876 GB, free: 5.066 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005536/0.4161, allocations: 253.1 kB / 0.7879 GB, free: 4.82 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.933e-05/0.4162, allocations: 102.9 kB / 0.788 GB, free: 4.715 MB / 0.6043 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002446/0.4186, allocations: 0.6936 MB / 0.7887 GB, free: 4.02 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=812): time 1.021e-05/0.4186, allocations: 0 / 0.7887 GB, free: 4.02 MB / 0.6043 GB Notification: Performance of matching and sorting (n=812): time 0.0228/0.4414, allocations: 12.75 MB / 0.8011 GB, free: 7.25 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000391/0.4418, allocations: 1.42 MB / 0.8025 GB, free: 5.504 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006474/0.4483, allocations: 5.389 MB / 0.8078 GB, free: 100 kB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 0.000472/0.4488, allocations: 89.64 kB / 0.8078 GB, free: 4 kB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.001342/0.4501, allocations: 2.55 MB / 0.8103 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.001529/0.4516, allocations: 2.715 MB / 0.813 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001794/0.4534, allocations: 1.613 MB / 0.8146 GB, free: 9.16 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.177e-05/0.4535, allocations: 305.1 kB / 0.8148 GB, free: 8.859 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004067/0.4576, allocations: 3.099 MB / 0.8179 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005326/0.4629, allocations: 6.148 MB / 0.8239 GB, free: 14.44 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1274/0.5902, allocations: 31.12 MB / 0.8543 GB, free: 14.66 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-05/0.5903, allocations: 16 kB / 0.8543 GB, free: 14.64 MB / 0.6824 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.01638/0.6067, allocations: 9.694 MB / 0.8638 GB, free: 5.258 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 3.551e-05/0.6067, allocations: 32 kB / 0.8638 GB, free: 5.227 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009118/0.6158, allocations: 7.321 MB / 0.8709 GB, free: 13.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02427/0.6401, allocations: 4.433 MB / 0.8753 GB, free: 9.453 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003739/0.6438, allocations: 2.136 MB / 0.8774 GB, free: 7.438 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002077/0.6459, allocations: 2.794 MB / 0.8801 GB, free: 4.547 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003191/0.6491, allocations: 387.8 kB / 0.8804 GB, free: 4.168 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005483/0.6496, allocations: 0.5308 MB / 0.881 GB, free: 3.637 MB / 0.698 GB Warning: Assuming fixed start value for the following 4 variables: hex.wall.T_w_i:VARIABLE(min = 0.0 start = hex.wall.T_w_i_start unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at inner phase\" type: Real hex.wall.T_w_a:VARIABLE(min = 0.0 start = hex.wall.T_w_a_start unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at outer phase\" type: Real hex.shell.h:VARIABLE(start = hex.shell.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hex.shell.p:VARIABLE(min = 0.0 start = hex.shell.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005779/0.6554, allocations: 4.21 MB / 0.8851 GB, free: 15.42 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005188/0.6606, allocations: 6.084 MB / 0.891 GB, free: 8.18 MB / 0.7137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.09433/0.7549, allocations: 27.41 MB / 0.9178 GB, free: 12.09 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.383e-05/0.755, allocations: 23.94 kB / 0.9178 GB, free: 12.06 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.01284/0.7678, allocations: 9.478 MB / 0.9271 GB, free: 2.898 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/0.7678, allocations: 32 kB / 0.9271 GB, free: 2.867 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008766/0.7766, allocations: 7.04 MB / 0.934 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00123/0.7778, allocations: 417.4 kB / 0.9344 GB, free: 11.38 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003794/0.7816, allocations: 2.181 MB / 0.9365 GB, free: 9.324 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001361/0.783, allocations: 2.214 MB / 0.9387 GB, free: 7.004 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00306/0.786, allocations: 384.5 kB / 0.939 GB, free: 6.629 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000545/0.7866, allocations: 0.5269 MB / 0.9395 GB, free: 6.102 MB / 0.7605 GB Warning: Assuming fixed start value for the following 4 variables: hex.wall.T_w_i:VARIABLE(min = 0.0 start = hex.wall.T_w_i_start unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at inner phase\" type: Real hex.wall.T_w_a:VARIABLE(min = 0.0 start = hex.wall.T_w_a_start unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at outer phase\" type: Real hex.shell.h:VARIABLE(start = hex.shell.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hex.shell.p:VARIABLE(min = 0.0 start = hex.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: 287 * 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 (1056): * Single equations (assignments): 1054 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,34)} Notification: Performance of prepare postOptimizeDAE: time 0.001342/0.7879, allocations: 0.6636 MB / 0.9402 GB, free: 5.559 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001151/0.7891, allocations: 0.6944 MB / 0.9409 GB, free: 4.859 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 1294 equation(s) and 1237 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/VLEFluid/MixtureCompatible/VLEFluid_pT.mo:55:3-60:21:writable] Error: (hex.shell.heattransfer.fluid_wall.q, hex.shell.heattransfer.cp_w, hex.shell.heattransfer.fluid_wall.cv, hex.shell.heattransfer.fluid_wall.beta, hex.shell.heattransfer.fluid_wall.kappa, hex.shell.heattransfer.fluid_wall.drhodp_hxi, hex.shell.heattransfer.fluid_wall.drhodh_pxi, _, hex.shell.heattransfer.fluid_wall.w, hex.shell.heattransfer.fluid_wall.gamma) = ($cse336, $cse337, $cse338, $cse339, $cse340, $cse341, $cse342, $cse343, $cse344, $cse345) has size 9 but 8 variables ($cse159, $cse160, $cse161, $cse162, hex.tubes.fluidOut.transp.Pr, hex.tubes.fluidOut.transp.lambda, hex.tubes.fluidOut.transp.eta, hex.tubes.fluidOut.transp.sigma) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2302/1.019, allocations: 10.31 MB / 0.9509 GB, free: 264 MB / 0.7605 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.592299492098391]