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.01231/0.01231, 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.001442/0.001442, allocations: 99.77 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.001518/0.001518, allocations: 209.5 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.438/1.438, allocations: 230.6 MB / 262.1 MB, free: 5.84 MB / 206.1 MB " [Timeout remaining time 178] 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 1.027/1.027, allocations: 130.8 MB / 449.7 MB, free: 6.395 MB / 350.1 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 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_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: 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.06298/0.06298, allocations: 20.98 MB / 0.6364 GB, free: 4.203 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.2278, allocations: 81.9 MB / 0.7163 GB, free: 2.199 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.5348/0.7626, allocations: 55.54 MB / 0.7706 GB, free: 14.11 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03644/0.799, allocations: 22.11 MB / 0.7922 GB, free: 14.62 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008526/0.8076, allocations: 140.6 kB / 0.7923 GB, free: 14.55 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.008579/0.8161, allocations: 2.566 MB / 0.7948 GB, free: 12.98 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01521/0.8313, allocations: 3.685 MB / 0.7984 GB, free: 10.02 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01149/0.8428, allocations: 3.928 MB / 0.8022 GB, free: 7.047 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02059/0.8634, allocations: 9.896 MB / 0.8119 GB, free: 336 kB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006557/0.87, allocations: 3.327 MB / 0.8152 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009263/0.8793, allocations: 4.18 MB / 0.8192 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008464/0.8877, allocations: 3.98 MB / 0.8231 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002765/0.8905, allocations: 0.668 MB / 0.8238 GB, free: 4.078 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007857/0.8983, allocations: 1.973 MB / 0.8257 GB, free: 2.109 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.003716/0.9021, allocations: 2.036 MB / 0.8277 GB, free: 68 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.007974/0.91, allocations: 2.724 MB / 0.8304 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02159/0.9316, allocations: 10.56 MB / 0.8407 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.969e-06/0.9316, allocations: 4 kB / 0.8407 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.314e-06/0.9316, allocations: 5 kB / 0.8407 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.000404/0.932, allocations: 0 / 0.8407 GB, free: 2.727 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.01855/0.9506, allocations: 7.373 MB / 0.8479 GB, free: 11.3 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.9506, allocations: 12.03 kB / 0.8479 GB, free: 11.29 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00255/0.9532, allocations: 0.9005 MB / 0.8488 GB, free: 10.39 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01146/0.9646, allocations: 5.381 MB / 0.854 GB, free: 4.945 MB / 0.6232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002545/0.9649, allocations: 250.4 kB / 0.8543 GB, free: 4.699 MB / 0.6232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006135/0.9655, allocations: 312 kB / 0.8546 GB, free: 4.395 MB / 0.6232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02183/0.9873, allocations: 10.06 MB / 0.8644 GB, free: 8.953 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-05/0.9874, allocations: 43.56 kB / 0.8644 GB, free: 8.91 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004701/0.9879, allocations: 162.7 kB / 0.8646 GB, free: 8.754 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002248/0.9881, allocations: 196.5 kB / 0.8648 GB, free: 8.559 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0194/1.008, allocations: 6.532 MB / 0.8711 GB, free: 2.031 MB / 0.6388 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04704/1.055, allocations: 32.95 MB / 0.9033 GB, free: 8 kB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01715/1.072, allocations: 5.53 MB / 0.9087 GB, free: 10.31 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006754/1.078, allocations: 1.888 MB / 0.9106 GB, free: 8.371 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001113/1.08, allocations: 177.6 kB / 0.9107 GB, free: 8.195 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001549/1.08, allocations: 88.94 kB / 0.9108 GB, free: 8.102 MB / 0.6857 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004869/1.085, allocations: 0.6195 MB / 0.9114 GB, free: 7.48 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=712): time 2.281e-05/1.085, allocations: 2.656 kB / 0.9114 GB, free: 7.48 MB / 0.6857 GB Notification: Performance of matching and sorting (n=712): time 0.03836/1.123, allocations: 10.99 MB / 0.9222 GB, free: 12.45 MB / 0.7013 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006039/1.124, allocations: 1.029 MB / 0.9232 GB, free: 11.18 MB / 0.7013 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01111/1.135, allocations: 4.858 MB / 0.9279 GB, free: 6.336 MB / 0.7013 GB Notification: Performance of collectPreVariables (initialization): time 0.001184/1.136, allocations: 73.69 kB / 0.928 GB, free: 6.258 MB / 0.7013 GB Notification: Performance of collectInitialEqns (initialization): time 0.002782/1.139, allocations: 2.468 MB / 0.9304 GB, free: 3.773 MB / 0.7013 GB Notification: Performance of collectInitialBindings (initialization): time 0.003554/1.142, allocations: 2.42 MB / 0.9327 GB, free: 1.332 MB / 0.7013 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005049/1.147, allocations: 1.478 MB / 0.9342 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001249/1.147, allocations: 303.8 kB / 0.9345 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006678/1.154, allocations: 2.667 MB / 0.9371 GB, free: 12.87 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009567/1.164, allocations: 5.227 MB / 0.9422 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1279/1.292, allocations: 20.5 MB / 0.9622 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.394e-05/1.292, allocations: 21.06 kB / 0.9622 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.02185/1.314, allocations: 8.449 MB / 0.9705 GB, free: 9.223 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 7.227e-05/1.314, allocations: 34.5 kB / 0.9705 GB, free: 9.191 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01554/1.329, allocations: 6.163 MB / 0.9765 GB, free: 2.961 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007426/1.33, allocations: 209.5 kB / 0.9767 GB, free: 2.754 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007735/1.338, allocations: 2.012 MB / 0.9787 GB, free: 0.7383 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003532/1.341, allocations: 2.862 MB / 0.9815 GB, free: 13.67 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004882/1.346, allocations: 320 kB / 0.9818 GB, free: 13.36 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001588/1.348, allocations: 499.8 kB / 0.9823 GB, free: 12.88 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.01021/1.358, allocations: 3.763 MB / 0.9859 GB, free: 9.109 MB / 0.7638 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009803/1.368, allocations: 5.207 MB / 0.991 GB, free: 2.848 MB / 0.7638 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1285/1.496, allocations: 20.4 MB / 1.011 GB, free: 13.49 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.432e-05/1.496, allocations: 20 kB / 1.011 GB, free: 13.47 MB / 0.795 GB Notification: Performance of matching and sorting (n=993) (initialization_lambda0): time 0.02341/1.52, allocations: 8.36 MB / 1.019 GB, free: 5.043 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 7.282e-05/1.52, allocations: 32.97 kB / 1.019 GB, free: 5.012 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01578/1.536, allocations: 6.073 MB / 1.025 GB, free: 14.87 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004977/1.536, allocations: 181.7 kB / 1.025 GB, free: 14.68 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00707/1.543, allocations: 2.008 MB / 1.027 GB, free: 12.67 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002904/1.546, allocations: 2.818 MB / 1.03 GB, free: 9.656 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004804/1.551, allocations: 320 kB / 1.03 GB, free: 9.344 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001261/1.552, allocations: 483.7 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.002138/1.554, allocations: 0.6292 MB / 1.031 GB, free: 8.238 MB / 0.8107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002237/1.556, allocations: 0.6389 MB / 1.032 GB, free: 7.598 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.01814/1.575, allocations: 9.159 MB / 1.041 GB, free: 14.61 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.606692612171173] Failed to read output from testmodel.py, exit status != 0: 1.9680949281901121 1.977997207 1.043723773 Calling exit ...