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.01194/0.01194, allocations: 1.75 MB / 20.6 MB, free: 1.016 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.001417/0.001417, allocations: 101.5 kB / 24.18 MB, free: 2.457 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.001799/0.001799, allocations: 213.4 kB / 27.9 MB, free: 3.758 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.424/1.424, 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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 1.026/1.026, allocations: 130.7 MB / 449.6 MB, free: 6.414 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.0636/0.0636, allocations: 20.99 MB / 0.6363 GB, free: 4.207 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.2341, allocations: 81.9 MB / 0.7163 GB, free: 2.219 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.5127/0.7468, allocations: 55.54 MB / 0.7706 GB, free: 14.08 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03864/0.7855, allocations: 22.12 MB / 0.7922 GB, free: 14.59 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007826/0.7933, allocations: 145.2 kB / 0.7923 GB, free: 14.52 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.008551/0.8019, allocations: 2.559 MB / 0.7948 GB, free: 12.94 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01339/0.8152, allocations: 3.686 MB / 0.7984 GB, free: 9.977 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01107/0.8263, allocations: 3.912 MB / 0.8022 GB, free: 7.012 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01698/0.8433, allocations: 9.901 MB / 0.8119 GB, free: 380 kB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006733/0.85, allocations: 3.333 MB / 0.8151 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00957/0.8596, allocations: 4.173 MB / 0.8192 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008135/0.8677, allocations: 3.993 MB / 0.8231 GB, free: 4.781 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002665/0.8704, allocations: 0.6706 MB / 0.8238 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006925/0.8773, allocations: 1.967 MB / 0.8257 GB, free: 2.148 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.003539/0.8809, allocations: 2.032 MB / 0.8277 GB, free: 112 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.006471/0.8873, allocations: 2.724 MB / 0.8303 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01917/0.9065, allocations: 10.56 MB / 0.8407 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.9065, allocations: 2.719 kB / 0.8407 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9065, allocations: 0 / 0.8407 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0003885/0.9069, allocations: 0 / 0.8407 GB, free: 2.77 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.01906/0.926, allocations: 7.376 MB / 0.8479 GB, free: 11.34 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.926, allocations: 8.031 kB / 0.8479 GB, free: 11.33 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003486/0.9295, allocations: 0.9005 MB / 0.8487 GB, free: 10.43 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01348/0.943, allocations: 5.391 MB / 0.854 GB, free: 4.973 MB / 0.6232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003957/0.9434, allocations: 254.4 kB / 0.8543 GB, free: 4.723 MB / 0.6232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001376/0.9447, allocations: 304 kB / 0.8545 GB, free: 4.426 MB / 0.6232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02518/0.9699, allocations: 10.05 MB / 0.8644 GB, free: 8.988 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001668/0.9701, allocations: 42.28 kB / 0.8644 GB, free: 8.949 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001102/0.9712, allocations: 161.2 kB / 0.8646 GB, free: 8.793 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003347/0.9715, allocations: 200.5 kB / 0.8647 GB, free: 8.594 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02262/0.9941, allocations: 6.54 MB / 0.8711 GB, free: 2.059 MB / 0.6388 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04721/1.041, allocations: 32.95 MB / 0.9033 GB, free: 44 kB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01713/1.058, allocations: 5.539 MB / 0.9087 GB, free: 10.34 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004977/1.063, allocations: 1.881 MB / 0.9106 GB, free: 8.406 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008007/1.064, allocations: 177.7 kB / 0.9107 GB, free: 8.23 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000115/1.064, allocations: 92.81 kB / 0.9108 GB, free: 8.133 MB / 0.6857 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003836/1.068, allocations: 0.622 MB / 0.9114 GB, free: 7.512 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=712): time 1.825e-05/1.068, allocations: 1.875 kB / 0.9114 GB, free: 7.512 MB / 0.6857 GB Notification: Performance of matching and sorting (n=712): time 0.03814/1.106, allocations: 10.98 MB / 0.9221 GB, free: 12.48 MB / 0.7013 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006679/1.107, allocations: 1.028 MB / 0.9232 GB, free: 11.21 MB / 0.7013 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01072/1.118, allocations: 4.858 MB / 0.9279 GB, free: 6.371 MB / 0.7013 GB Notification: Performance of collectPreVariables (initialization): time 0.001139/1.119, allocations: 69.7 kB / 0.928 GB, free: 6.297 MB / 0.7013 GB Notification: Performance of collectInitialEqns (initialization): time 0.00281/1.122, allocations: 2.471 MB / 0.9304 GB, free: 3.809 MB / 0.7013 GB Notification: Performance of collectInitialBindings (initialization): time 0.003791/1.125, allocations: 2.416 MB / 0.9327 GB, free: 1.371 MB / 0.7013 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004903/1.13, allocations: 1.477 MB / 0.9342 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001517/1.131, allocations: 305.1 kB / 0.9345 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00687/1.137, allocations: 2.671 MB / 0.9371 GB, free: 12.91 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009549/1.147, allocations: 5.231 MB / 0.9422 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1292/1.276, allocations: 20.5 MB / 0.9622 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.892e-05/1.276, allocations: 20.59 kB / 0.9622 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.0232/1.299, allocations: 8.44 MB / 0.9705 GB, free: 9.277 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 9.132e-05/1.3, allocations: 32.19 kB / 0.9705 GB, free: 9.246 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01594/1.315, allocations: 6.169 MB / 0.9765 GB, free: 3.008 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007034/1.316, allocations: 209.6 kB / 0.9767 GB, free: 2.797 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007028/1.323, allocations: 2.008 MB / 0.9787 GB, free: 0.7852 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003127/1.326, allocations: 2.858 MB / 0.9815 GB, free: 13.72 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004691/1.331, allocations: 335.9 kB / 0.9818 GB, free: 13.39 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001488/1.333, allocations: 491.6 kB / 0.9823 GB, free: 12.91 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.01/1.343, allocations: 3.743 MB / 0.9859 GB, free: 9.168 MB / 0.7638 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008999/1.352, allocations: 5.207 MB / 0.991 GB, free: 2.906 MB / 0.7638 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1277/1.479, allocations: 20.41 MB / 1.011 GB, free: 13.54 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.929e-05/1.479, allocations: 16 kB / 1.011 GB, free: 13.52 MB / 0.795 GB Notification: Performance of matching and sorting (n=993) (initialization_lambda0): time 0.022/1.501, allocations: 8.364 MB / 1.019 GB, free: 5.094 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.792e-05/1.501, allocations: 36.25 kB / 1.019 GB, free: 5.059 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01531/1.517, allocations: 6.071 MB / 1.025 GB, free: 14.91 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005636/1.517, allocations: 185.6 kB / 1.025 GB, free: 14.73 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006973/1.524, allocations: 2.012 MB / 1.027 GB, free: 12.71 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00291/1.527, allocations: 2.811 MB / 1.03 GB, free: 9.699 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004946/1.532, allocations: 324 kB / 1.03 GB, free: 9.383 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00154/1.534, allocations: 494.5 kB / 1.031 GB, free: 8.902 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.002813/1.536, allocations: 0.6221 MB / 1.031 GB, free: 8.277 MB / 0.8107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00307/1.539, allocations: 0.6284 MB / 1.032 GB, free: 7.645 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.02161/1.561, allocations: 9.162 MB / 1.041 GB, free: 14.64 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.618729565292597] Failed to read output from testmodel.py, exit status != 0: 1.9891242180019617 1.999225373 1.089980794 Calling exit ...