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.01308/0.01308, allocations: 1.754 MB / 20.61 MB, free: 1.004 MB / 14.72 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.001485/0.001485, allocations: 99.72 kB / 24.18 MB, free: 2.438 MB / 14.72 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.001915/0.001915, allocations: 215.1 kB / 27.9 MB, free: 3.742 MB / 19.63 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 1.405/1.405, allocations: 230.6 MB / 262.1 MB, free: 5.832 MB / 206.1 MB " [Timeout remaining time 178] 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 1.01/1.01, allocations: 130.7 MB / 449.6 MB, free: 6.402 MB / 350.1 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 0.3.1 (/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: SMArtInt 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: ClaRa 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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.06375/0.06375, allocations: 20.99 MB / 0.6363 GB, free: 4.191 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.2337, allocations: 81.91 MB / 0.7163 GB, free: 2.191 MB / 0.5294 GB 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.5137/0.7474, allocations: 55.54 MB / 0.7706 GB, free: 14.09 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.0364/0.7838, allocations: 22.11 MB / 0.7921 GB, free: 14.6 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008445/0.7922, allocations: 141.9 kB / 0.7923 GB, free: 14.54 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.008828/0.801, allocations: 2.56 MB / 0.7948 GB, free: 12.95 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01432/0.8153, allocations: 3.683 MB / 0.7984 GB, free: 9.992 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0115/0.8268, allocations: 3.935 MB / 0.8022 GB, free: 7.016 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01845/0.8453, allocations: 9.899 MB / 0.8119 GB, free: 332 kB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006204/0.8515, allocations: 3.323 MB / 0.8151 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009096/0.8606, allocations: 4.18 MB / 0.8192 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008956/0.8696, allocations: 3.983 MB / 0.8231 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.00345/0.873, allocations: 0.668 MB / 0.8238 GB, free: 4.078 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008448/0.8814, allocations: 1.964 MB / 0.8257 GB, free: 2.113 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.003867/0.8853, allocations: 2.036 MB / 0.8277 GB, free: 72 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.006249/0.8916, allocations: 2.732 MB / 0.8303 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01849/0.9101, allocations: 10.56 MB / 0.8406 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.9101, allocations: 0 / 0.8406 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9101, allocations: 0 / 0.8406 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0003687/0.9104, allocations: 4 kB / 0.8407 GB, free: 2.723 MB / 0.6075 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.01785/0.9283, allocations: 7.374 MB / 0.8479 GB, free: 11.3 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 6.03e-05/0.9283, allocations: 12.03 kB / 0.8479 GB, free: 11.29 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002732/0.9311, allocations: 0.8966 MB / 0.8487 GB, free: 10.39 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01238/0.9435, allocations: 5.395 MB / 0.854 GB, free: 4.934 MB / 0.6232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003025/0.9438, allocations: 250.4 kB / 0.8542 GB, free: 4.688 MB / 0.6232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009821/0.9447, allocations: 308 kB / 0.8545 GB, free: 4.387 MB / 0.6232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02285/0.9676, allocations: 10.05 MB / 0.8644 GB, free: 8.949 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.075e-05/0.9677, allocations: 42.28 kB / 0.8644 GB, free: 8.91 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004464/0.9681, allocations: 167.9 kB / 0.8646 GB, free: 8.746 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002393/0.9684, allocations: 196.5 kB / 0.8647 GB, free: 8.551 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01961/0.988, allocations: 6.532 MB / 0.8711 GB, free: 2.027 MB / 0.6388 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04135/1.029, allocations: 32.95 MB / 0.9033 GB, free: 8 kB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0162/1.046, allocations: 5.538 MB / 0.9087 GB, free: 10.3 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004612/1.05, allocations: 1.883 MB / 0.9105 GB, free: 8.363 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005952/1.051, allocations: 183.3 kB / 0.9107 GB, free: 8.184 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.088e-05/1.051, allocations: 91.62 kB / 0.9108 GB, free: 8.09 MB / 0.6857 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003437/1.054, allocations: 0.622 MB / 0.9114 GB, free: 7.473 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=712): time 1.093e-05/1.054, allocations: 0 / 0.9114 GB, free: 7.473 MB / 0.6857 GB Notification: Performance of matching and sorting (n=712): time 0.0347/1.089, allocations: 10.98 MB / 0.9221 GB, free: 12.45 MB / 0.7013 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005667/1.09, allocations: 1.028 MB / 0.9231 GB, free: 11.18 MB / 0.7013 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008144/1.098, allocations: 4.861 MB / 0.9279 GB, free: 6.332 MB / 0.7013 GB Notification: Performance of collectPreVariables (initialization): time 0.001118/1.099, allocations: 73.7 kB / 0.928 GB, free: 6.254 MB / 0.7013 GB Notification: Performance of collectInitialEqns (initialization): time 0.002154/1.101, allocations: 2.471 MB / 0.9304 GB, free: 3.766 MB / 0.7013 GB Notification: Performance of collectInitialBindings (initialization): time 0.003122/1.104, allocations: 2.412 MB / 0.9327 GB, free: 1.332 MB / 0.7013 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002553/1.107, allocations: 1.473 MB / 0.9342 GB, free: 15.85 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001321/1.107, allocations: 313 kB / 0.9345 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005793/1.113, allocations: 2.663 MB / 0.9371 GB, free: 12.87 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008247/1.121, allocations: 5.235 MB / 0.9422 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1225/1.243, allocations: 20.5 MB / 0.9622 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-05/1.243, allocations: 21.69 kB / 0.9622 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.02146/1.265, allocations: 8.451 MB / 0.9705 GB, free: 9.223 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 6.209e-05/1.265, allocations: 32 kB / 0.9705 GB, free: 9.191 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01345/1.278, allocations: 6.159 MB / 0.9765 GB, free: 2.961 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006151/1.279, allocations: 213.6 kB / 0.9767 GB, free: 2.746 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006346/1.285, allocations: 2.012 MB / 0.9787 GB, free: 0.7305 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002816/1.288, allocations: 2.861 MB / 0.9815 GB, free: 13.66 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004316/1.292, allocations: 323.9 kB / 0.9818 GB, free: 13.35 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009452/1.293, allocations: 495.6 kB / 0.9822 GB, free: 12.86 MB / 0.7638 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.008058/1.301, allocations: 3.752 MB / 0.9859 GB, free: 9.117 MB / 0.7638 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007297/1.309, allocations: 5.207 MB / 0.991 GB, free: 2.855 MB / 0.7638 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1218/1.431, allocations: 20.4 MB / 1.011 GB, free: 13.5 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.756e-05/1.431, allocations: 20 kB / 1.011 GB, free: 13.48 MB / 0.795 GB Notification: Performance of matching and sorting (n=993) (initialization_lambda0): time 0.02075/1.451, allocations: 8.373 MB / 1.019 GB, free: 5.043 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.214e-05/1.451, allocations: 32 kB / 1.019 GB, free: 5.012 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01297/1.464, allocations: 6.071 MB / 1.025 GB, free: 14.87 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004728/1.465, allocations: 186.7 kB / 1.025 GB, free: 14.68 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006664/1.472, allocations: 2.008 MB / 1.027 GB, free: 12.67 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002626/1.474, allocations: 2.817 MB / 1.03 GB, free: 9.656 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004555/1.479, allocations: 311.9 kB / 1.03 GB, free: 9.352 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001151/1.48, allocations: 493.2 kB / 1.031 GB, free: 8.871 MB / 0.8107 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.002043/1.482, allocations: 0.6141 MB / 1.031 GB, free: 8.25 MB / 0.8107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002139/1.484, allocations: 0.6362 MB / 1.032 GB, free: 7.609 MB / 0.8107 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.01678/1.501, allocations: 9.164 MB / 1.041 GB, free: 14.62 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.489960873965174] Failed to read output from testmodel.py, exit status != 0: 1.9066436737775803 1.917080664 1.004080772 Calling exit ...