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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.008464/0.008464, allocations: 1.784 MB / 21.57 MB, free: 2.895 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.0008498/0.0008498, allocations: 85.89 kB / 25.41 MB, free: 6.973 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.001403/0.001403, allocations: 160.9 kB / 29.34 MB, free: 3.105 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.8617/0.8617, allocations: 177.1 MB / 210.3 MB, free: 2.238 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7093/0.7093, allocations: 102.4 MB / 369.8 MB, free: 0.7695 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 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|hEXvle2vle_L3_1ph_BU_ntu.shell.h|hEXvle2vle_L3_1ph_BU_ntu.shell.p|hEXvle2vle_L3_1ph_BU_ntu.tubes.h|hEXvle2vle_L3_1ph_BU_ntu.tubes.p|hEXvle2vle_L3_1ph_BU_ntu.wall.T_w_a|hEXvle2vle_L3_1ph_BU_ntu.wall.T_w_i",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA") translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|hEXvle2vle_L3_1ph_BU_ntu.shell.h|hEXvle2vle_L3_1ph_BU_ntu.shell.p|hEXvle2vle_L3_1ph_BU_ntu.tubes.h|hEXvle2vle_L3_1ph_BU_ntu.tubes.p|hEXvle2vle_L3_1ph_BU_ntu.wall.T_w_a|hEXvle2vle_L3_1ph_BU_ntu.wall.T_w_i",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 470.5 MB, free: 12.3 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.618e-05/1.748e-05, allocations: 3.859 kB / 470.5 MB, free: 12.3 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_HEXvle2vle_L3_1ph_kA): time 0.2706/0.2706, allocations: 74.32 MB / 0.532 GB, free: 69.64 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.01909/0.2897, allocations: 22.5 MB / 0.554 GB, free: 54.3 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002528/0.2922, allocations: 141.1 kB / 0.5541 GB, free: 54.24 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.003738/0.296, allocations: 2.583 MB / 0.5566 GB, free: 52.99 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.004987/0.301, allocations: 3.814 MB / 0.5604 GB, free: 50.6 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.005121/0.3061, allocations: 3.987 MB / 0.5643 GB, free: 48.45 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.009228/0.3153, allocations: 10.17 MB / 0.5742 GB, free: 43.16 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003941/0.3192, allocations: 3.496 MB / 0.5776 GB, free: 40.5 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.124/0.4433, allocations: 51.01 MB / 0.6274 GB, free: 11.52 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00591/0.4492, allocations: 3.41 MB / 0.6307 GB, free: 8.105 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.001592/0.4508, allocations: 0.625 MB / 0.6314 GB, free: 7.48 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003712/0.4545, allocations: 1.931 MB / 0.6332 GB, free: 5.551 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.001218/0.4557, allocations: 1.95 MB / 0.6351 GB, free: 3.594 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 0.002155/0.4579, allocations: 2.131 MB / 0.6372 GB, free: 1.457 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.006595/0.4644, allocations: 6.671 MB / 0.6437 GB, free: 10.76 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.4645, allocations: 0 / 0.6437 GB, free: 10.76 MB / 0.5105 GB Notification: Performance of FrontEnd: time 8.42e-07/0.4645, allocations: 0 / 0.6437 GB, free: 10.76 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.608e-05/0.4645, allocations: 2.656 kB / 0.6437 GB, free: 10.76 MB / 0.5105 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.006244/0.4708, allocations: 7.315 MB / 0.6509 GB, free: 3.371 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.4708, allocations: 12.03 kB / 0.6509 GB, free: 3.359 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/0.4718, allocations: 1.053 MB / 0.6519 GB, free: 2.305 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003794/0.4756, allocations: 4.056 MB / 0.6559 GB, free: 14.16 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001386/0.4758, allocations: 254.4 kB / 0.6561 GB, free: 13.91 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000314/0.4761, allocations: 332 kB / 0.6564 GB, free: 13.59 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009078/0.4852, allocations: 9.054 MB / 0.6653 GB, free: 2.777 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.687e-05/0.4852, allocations: 39.62 kB / 0.6653 GB, free: 2.738 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000235/0.4855, allocations: 164 kB / 0.6655 GB, free: 2.578 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001324/0.4856, allocations: 203.1 kB / 0.6657 GB, free: 2.379 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006079/0.4917, allocations: 3.896 MB / 0.6695 GB, free: 14.48 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02173/0.5134, allocations: 43.14 MB / 0.7116 GB, free: 1.953 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006214/0.5196, allocations: 3.914 MB / 0.7154 GB, free: 13.8 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009556/0.5206, allocations: 0.9321 MB / 0.7163 GB, free: 12.79 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003253/0.5209, allocations: 325.2 kB / 0.7167 GB, free: 12.49 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.163e-05/0.5209, allocations: 95.77 kB / 0.7167 GB, free: 12.39 MB / 0.5887 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001706/0.5227, allocations: 0.6688 MB / 0.7174 GB, free: 11.72 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=712): time 5.29e-06/0.5227, allocations: 0 / 0.7174 GB, free: 11.72 MB / 0.5887 GB Notification: Performance of matching and sorting (n=712): time 0.01356/0.5362, allocations: 8.01 MB / 0.7252 GB, free: 3.637 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000373/0.5366, allocations: 1.387 MB / 0.7266 GB, free: 1.922 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003786/0.5404, allocations: 4.329 MB / 0.7308 GB, free: 13.59 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.0002374/0.5406, allocations: 69.7 kB / 0.7309 GB, free: 13.52 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.001339/0.542, allocations: 2.679 MB / 0.7335 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.00149/0.5434, allocations: 2.455 MB / 0.7359 GB, free: 8.34 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001384/0.5448, allocations: 1.588 MB / 0.7374 GB, free: 6.738 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.705e-05/0.5449, allocations: 480.7 kB / 0.7379 GB, free: 6.266 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001274/0.5462, allocations: 1.117 MB / 0.739 GB, free: 5.137 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1909/0.7371, allocations: 5.077 MB / 0.7439 GB, free: 153.4 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006694/0.7438, allocations: 6.798 MB / 0.7506 GB, free: 149.8 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.772e-05/0.7438, allocations: 17.28 kB / 0.7506 GB, free: 149.8 MB / 0.6043 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.007566/0.7514, allocations: 5.663 MB / 0.7561 GB, free: 149.6 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 4.806e-05/0.7515, allocations: 36.98 kB / 0.7562 GB, free: 149.6 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004788/0.7562, allocations: 3.411 MB / 0.7595 GB, free: 149.3 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005747/0.7568, allocations: 247.2 kB / 0.7597 GB, free: 149.3 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003448/0.7603, allocations: 1.972 MB / 0.7617 GB, free: 149.3 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001601/0.7619, allocations: 3.636 MB / 0.7652 GB, free: 145.9 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002333/0.7642, allocations: 286.1 kB / 0.7655 GB, free: 145.9 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004718/0.7647, allocations: 435.8 kB / 0.7659 GB, free: 145.9 MB / 0.6043 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.002557/0.7672, allocations: 1.295 MB / 0.7672 GB, free: 145.8 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002637/0.7699, allocations: 5.068 MB / 0.7721 GB, free: 141 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005657/0.7755, allocations: 6.766 MB / 0.7787 GB, free: 137.3 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.47e-05/0.7756, allocations: 17.75 kB / 0.7787 GB, free: 137.3 MB / 0.6043 GB Notification: Performance of matching and sorting (n=993) (initialization_lambda0): time 0.006354/0.7819, allocations: 5.611 MB / 0.7842 GB, free: 137.1 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.7819, allocations: 34.66 kB / 0.7842 GB, free: 137.1 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003752/0.7857, allocations: 3.36 MB / 0.7875 GB, free: 136.9 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003157/0.786, allocations: 227.2 kB / 0.7877 GB, free: 136.8 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002985/0.789, allocations: 1.967 MB / 0.7897 GB, free: 136.2 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001167/0.7902, allocations: 3.617 MB / 0.7932 GB, free: 132.6 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002166/0.7923, allocations: 284.3 kB / 0.7935 GB, free: 132.4 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004121/0.7927, allocations: 430.4 kB / 0.7939 GB, free: 132.2 MB / 0.6043 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.001786/0.7945, allocations: 0.7044 MB / 0.7946 GB, free: 131.8 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001149/0.7957, allocations: 0.7184 MB / 0.7953 GB, free: 131.2 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 1136 equation(s) and 1082 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/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.00736/0.803, allocations: 8.025 MB / 0.8031 GB, free: 126.7 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.1769503471441567]