Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.009119/0.009119, 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.0008367/0.0008367, allocations: 85.23 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.001752/0.001752, allocations: 158.9 kB / 29.33 MB, free: 3.137 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.9919/0.9919, allocations: 177.1 MB / 210.3 MB, free: 3.445 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.6097/0.6097, allocations: 102.5 MB / 369.9 MB, free: 216 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_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_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_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 470.5 MB, free: 18.83 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.951e-05/4.125e-05, allocations: 6.672 kB / 470.5 MB, free: 18.83 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_HEXvle2vle_L3_1ph_kA): time 0.1316/0.1317, allocations: 74.31 MB / 0.532 GB, free: 13.23 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.02672/0.1584, allocations: 22.51 MB / 0.554 GB, free: 6.664 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00357/0.1619, allocations: 143 kB / 0.5541 GB, free: 6.523 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004255/0.1662, allocations: 2.575 MB / 0.5566 GB, free: 3.934 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.005628/0.1718, allocations: 3.82 MB / 0.5604 GB, free: 92 kB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00586/0.1777, allocations: 3.988 MB / 0.5643 GB, free: 12.09 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.009628/0.1873, allocations: 10.17 MB / 0.5742 GB, free: 1.895 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004501/0.1918, allocations: 3.501 MB / 0.5776 GB, free: 14.33 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1359/0.3277, allocations: 51.01 MB / 0.6274 GB, free: 12.48 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005853/0.3335, allocations: 3.408 MB / 0.6308 GB, free: 9.066 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.001355/0.3349, allocations: 0.6289 MB / 0.6314 GB, free: 8.438 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004223/0.3391, allocations: 1.93 MB / 0.6333 GB, free: 6.504 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.001491/0.3406, allocations: 1.942 MB / 0.6352 GB, free: 4.555 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.002264/0.3429, allocations: 2.127 MB / 0.6372 GB, free: 2.422 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.2595/0.6024, allocations: 6.675 MB / 0.6438 GB, free: 85.78 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.6024, allocations: 0 / 0.6438 GB, free: 85.78 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.904e-06/0.6024, allocations: 0 / 0.6438 GB, free: 85.78 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0002802/0.6027, allocations: 0 / 0.6438 GB, free: 85.78 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.008797/0.6115, allocations: 7.314 MB / 0.6509 GB, free: 82.49 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.6115, allocations: 14.41 kB / 0.6509 GB, free: 82.49 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001379/0.6129, allocations: 1.048 MB / 0.6519 GB, free: 82.06 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006923/0.6198, allocations: 4.048 MB / 0.6559 GB, free: 81 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002772/0.6201, allocations: 252 kB / 0.6561 GB, free: 80.99 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001261/0.6214, allocations: 347 kB / 0.6565 GB, free: 80.98 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01252/0.6339, allocations: 9.049 MB / 0.6653 GB, free: 75.15 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001089/0.634, allocations: 42.05 kB / 0.6653 GB, free: 75.15 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003399/0.6343, allocations: 161 kB / 0.6655 GB, free: 75.15 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000174/0.6345, allocations: 202.1 kB / 0.6657 GB, free: 75.14 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006702/0.6412, allocations: 3.896 MB / 0.6695 GB, free: 75.06 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02428/0.6655, allocations: 43.14 MB / 0.7116 GB, free: 40.08 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007338/0.6728, allocations: 3.924 MB / 0.7155 GB, free: 38.79 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00139/0.6742, allocations: 0.9257 MB / 0.7164 GB, free: 38.42 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005057/0.6747, allocations: 314.7 kB / 0.7167 GB, free: 38.39 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.535e-05/0.6748, allocations: 98.47 kB / 0.7167 GB, free: 38.34 MB / 0.5418 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002824/0.6776, allocations: 0.6658 MB / 0.7174 GB, free: 38.02 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=712): time 2.315e-05/0.6776, allocations: 4.344 kB / 0.7174 GB, free: 38.02 MB / 0.5418 GB Notification: Performance of matching and sorting (n=712): time 0.01757/0.6952, allocations: 8.012 MB / 0.7252 GB, free: 35.52 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003018/0.6955, allocations: 1.387 MB / 0.7266 GB, free: 33.85 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00586/0.7014, allocations: 4.33 MB / 0.7308 GB, free: 32.47 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0005737/0.7019, allocations: 77.08 kB / 0.7309 GB, free: 32.44 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.001736/0.7037, allocations: 2.667 MB / 0.7335 GB, free: 31.18 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.001974/0.7056, allocations: 2.458 MB / 0.7359 GB, free: 29.35 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001992/0.7076, allocations: 1.592 MB / 0.7374 GB, free: 28.89 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 5.539e-05/0.7077, allocations: 476.8 kB / 0.7379 GB, free: 28.42 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001694/0.7094, allocations: 1.118 MB / 0.739 GB, free: 28.11 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003081/0.7125, allocations: 5.08 MB / 0.744 GB, free: 22.9 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00614/0.7186, allocations: 6.82 MB / 0.7506 GB, free: 18.29 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.266e-05/0.7187, allocations: 16.53 kB / 0.7506 GB, free: 18.29 MB / 0.5418 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.007824/0.7265, allocations: 5.663 MB / 0.7562 GB, free: 15.44 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 3.644e-05/0.7265, allocations: 33.72 kB / 0.7562 GB, free: 15.41 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003813/0.7303, allocations: 3.405 MB / 0.7595 GB, free: 11.96 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004999/0.7308, allocations: 248 kB / 0.7598 GB, free: 11.72 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00292/0.7338, allocations: 1.98 MB / 0.7617 GB, free: 9.863 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001493/0.7352, allocations: 3.63 MB / 0.7652 GB, free: 6.07 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003238/0.7385, allocations: 286.5 kB / 0.7655 GB, free: 5.793 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000486/0.739, allocations: 431.6 kB / 0.7659 GB, free: 5.371 MB / 0.5418 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.002697/0.7417, allocations: 1.301 MB / 0.7672 GB, free: 4.07 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002756/0.7444, allocations: 5.066 MB / 0.7721 GB, free: 13.67 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006303/0.7507, allocations: 6.76 MB / 0.7787 GB, free: 6.148 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.45e-05/0.7508, allocations: 20 kB / 0.7788 GB, free: 6.129 MB / 0.5574 GB Notification: Performance of matching and sorting (n=993) (initialization_lambda0): time 0.007863/0.7586, allocations: 5.618 MB / 0.7842 GB, free: 0.8945 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.362e-05/0.7587, allocations: 35.98 kB / 0.7843 GB, free: 0.8594 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00441/0.7631, allocations: 3.359 MB / 0.7876 GB, free: 13.46 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003716/0.7634, allocations: 226.9 kB / 0.7878 GB, free: 13.25 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003324/0.7668, allocations: 1.967 MB / 0.7897 GB, free: 11.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002131/0.7689, allocations: 3.613 MB / 0.7932 GB, free: 7.625 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003336/0.7722, allocations: 284.6 kB / 0.7935 GB, free: 7.348 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004648/0.7727, allocations: 423.7 kB / 0.7939 GB, free: 6.934 MB / 0.573 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.002063/0.7747, allocations: 0.7182 MB / 0.7946 GB, free: 6.34 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001708/0.7765, allocations: 0.7142 MB / 0.7953 GB, free: 5.625 MB / 0.573 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.009303/0.7858, allocations: 8.009 MB / 0.8031 GB, free: 14.44 MB / 0.5887 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.867126837838441]