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.01065/0.01065, allocations: 1.751 MB / 21.35 MB, free: 356 kB / 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.001601/0.001601, allocations: 104.8 kB / 24.93 MB, free: 2.031 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.002176/0.002176, allocations: 212.5 kB / 28.65 MB, free: 3.297 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.543/1.543, allocations: 230.6 MB / 262.8 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.068/1.068, allocations: 130.7 MB / 450.4 MB, free: 6.43 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.0684/0.0684, allocations: 20.98 MB / 0.6371 GB, free: 4.219 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.2607, allocations: 81.91 MB / 0.717 GB, free: 2.215 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.583/0.8437, allocations: 55.54 MB / 0.7713 GB, free: 14.13 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04603/0.8897, allocations: 22.11 MB / 0.7929 GB, free: 14.64 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01023/0.9, allocations: 140.7 kB / 0.793 GB, free: 14.57 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01068/0.9107, allocations: 2.566 MB / 0.7955 GB, free: 13 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01681/0.9275, allocations: 3.68 MB / 0.7991 GB, free: 10.04 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0125/0.94, allocations: 3.927 MB / 0.803 GB, free: 7.066 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02145/0.9614, allocations: 9.904 MB / 0.8126 GB, free: 388 kB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008228/0.9696, allocations: 3.32 MB / 0.8159 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01147/0.9811, allocations: 4.183 MB / 0.8199 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01032/0.9914, allocations: 3.986 MB / 0.8238 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.003502/0.9949, allocations: 0.668 MB / 0.8245 GB, free: 4.129 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008396/1.003, allocations: 1.972 MB / 0.8264 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00435/1.008, allocations: 2.032 MB / 0.8284 GB, free: 128 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.008011/1.016, allocations: 2.732 MB / 0.8311 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02385/1.04, allocations: 10.56 MB / 0.8414 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/1.04, allocations: 1.406 kB / 0.8414 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.665e-06/1.04, allocations: 0 / 0.8414 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.000417/1.04, allocations: 2.656 kB / 0.8414 GB, free: 2.781 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.02469/1.065, allocations: 7.372 MB / 0.8486 GB, free: 11.36 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 5.772e-05/1.065, allocations: 12.03 kB / 0.8486 GB, free: 11.34 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003032/1.068, allocations: 0.9005 MB / 0.8495 GB, free: 10.44 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01359/1.081, allocations: 5.386 MB / 0.8547 GB, free: 4.996 MB / 0.6232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003133/1.082, allocations: 252.2 kB / 0.855 GB, free: 4.75 MB / 0.6232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009458/1.083, allocations: 311.9 kB / 0.8553 GB, free: 4.445 MB / 0.6232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02323/1.106, allocations: 10.06 MB / 0.8651 GB, free: 9.004 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001037/1.106, allocations: 43.56 kB / 0.8651 GB, free: 8.961 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004578/1.106, allocations: 162.7 kB / 0.8653 GB, free: 8.805 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002397/1.107, allocations: 200.5 kB / 0.8655 GB, free: 8.605 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01973/1.126, allocations: 6.528 MB / 0.8719 GB, free: 2.082 MB / 0.6388 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0487/1.175, allocations: 32.94 MB / 0.904 GB, free: 64 kB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01688/1.192, allocations: 5.538 MB / 0.9094 GB, free: 10.36 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005033/1.197, allocations: 1.885 MB / 0.9113 GB, free: 8.422 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007408/1.198, allocations: 177.6 kB / 0.9114 GB, free: 8.246 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001098/1.198, allocations: 92.92 kB / 0.9115 GB, free: 8.148 MB / 0.6857 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004035/1.202, allocations: 0.6195 MB / 0.9121 GB, free: 7.527 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=712): time 1.393e-05/1.202, allocations: 2.656 kB / 0.9121 GB, free: 7.527 MB / 0.6857 GB Notification: Performance of matching and sorting (n=712): time 0.03641/1.238, allocations: 10.98 MB / 0.9229 GB, free: 12.5 MB / 0.7013 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006402/1.239, allocations: 1.032 MB / 0.9239 GB, free: 11.23 MB / 0.7013 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008737/1.248, allocations: 4.861 MB / 0.9286 GB, free: 6.383 MB / 0.7013 GB Notification: Performance of collectPreVariables (initialization): time 0.00116/1.249, allocations: 69.7 kB / 0.9287 GB, free: 6.309 MB / 0.7013 GB Notification: Performance of collectInitialEqns (initialization): time 0.002225/1.251, allocations: 2.467 MB / 0.9311 GB, free: 3.824 MB / 0.7013 GB Notification: Performance of collectInitialBindings (initialization): time 0.00316/1.254, allocations: 2.42 MB / 0.9335 GB, free: 1.383 MB / 0.7013 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002547/1.257, allocations: 1.474 MB / 0.9349 GB, free: 15.9 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001424/1.257, allocations: 305.1 kB / 0.9352 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00581/1.263, allocations: 2.67 MB / 0.9378 GB, free: 12.92 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0085/1.271, allocations: 5.235 MB / 0.9429 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1276/1.399, allocations: 20.49 MB / 0.9629 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.646e-05/1.399, allocations: 20 kB / 0.9629 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.02089/1.42, allocations: 8.442 MB / 0.9712 GB, free: 9.27 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 5.886e-05/1.42, allocations: 32 kB / 0.9712 GB, free: 9.238 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01374/1.434, allocations: 6.171 MB / 0.9772 GB, free: 3 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006537/1.434, allocations: 209.6 kB / 0.9774 GB, free: 2.789 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00698/1.441, allocations: 2.005 MB / 0.9794 GB, free: 0.7812 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002975/1.444, allocations: 2.87 MB / 0.9822 GB, free: 13.71 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00519/1.449, allocations: 324 kB / 0.9825 GB, free: 13.39 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00127/1.451, allocations: 491.6 kB / 0.983 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.009009/1.46, allocations: 3.754 MB / 0.9866 GB, free: 9.156 MB / 0.7638 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008172/1.468, allocations: 5.211 MB / 0.9917 GB, free: 2.891 MB / 0.7638 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1267/1.594, allocations: 20.41 MB / 1.012 GB, free: 13.53 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.63e-05/1.595, allocations: 20 kB / 1.012 GB, free: 13.51 MB / 0.795 GB Notification: Performance of matching and sorting (n=993) (initialization_lambda0): time 0.02004/1.615, allocations: 8.365 MB / 1.02 GB, free: 5.082 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.781e-05/1.615, allocations: 33.72 kB / 1.02 GB, free: 5.051 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01297/1.628, allocations: 6.077 MB / 1.026 GB, free: 14.9 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004502/1.628, allocations: 173.7 kB / 1.026 GB, free: 14.73 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006576/1.635, allocations: 2.012 MB / 1.028 GB, free: 12.71 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002798/1.637, allocations: 2.817 MB / 1.031 GB, free: 9.695 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005959/1.643, allocations: 316 kB / 1.031 GB, free: 9.387 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001086/1.644, allocations: 491.2 kB / 1.031 GB, free: 8.91 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.002143/1.647, allocations: 0.6117 MB / 1.032 GB, free: 8.289 MB / 0.8107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002256/1.649, allocations: 0.6478 MB / 1.033 GB, free: 7.637 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.01748/1.666, allocations: 9.152 MB / 1.042 GB, free: 14.66 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 6.150444710161537] Failed to read output from testmodel.py, exit status != 0: 2.199617655016482 2.211358706 1.168501019 Calling exit ...