Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_simple.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.006432/0.006432, allocations: 1.435 MB / 21.29 MB, free: 3.266 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.0007875/0.0007875, allocations: 92.64 kB / 24.9 MB, free: 7.262 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.000764/0.000764, allocations: 168.9 kB / 28.62 MB, free: 4.457 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.8594/0.8594, allocations: 177.1 MB / 209.4 MB, free: 3 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7235/0.7235, allocations: 102.5 MB / 368.7 MB, free: 1.445 MB / 330.8 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.5.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_simple,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|hex.shell.h|hex.shell.p|hex.tubes.h|hex.tubes.p|hex.wall.U.1.|hex.wall.U.2.|hex.wall.U.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_simple") translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_simple,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|hex.shell.h|hex.shell.p|hex.tubes.h|hex.tubes.p|hex.wall.U.1.|hex.wall.U.2.|hex.wall.U.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_simple") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.5374 GB, free: 39.78 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.025e-05/2.185e-05, allocations: 4.094 kB / 0.5374 GB, free: 39.77 MB / 490.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_BU_simple): time 0.1173/0.1174, allocations: 70.69 MB / 0.6064 GB, free: 5.25 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.0289/0.1463, allocations: 24.48 MB / 0.6304 GB, free: 12.69 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004441/0.1507, allocations: 146.9 kB / 0.6305 GB, free: 12.55 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.004855/0.1556, allocations: 2.648 MB / 0.6331 GB, free: 9.883 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.009626/0.1652, allocations: 4.858 MB / 0.6378 GB, free: 4.996 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.007796/0.173, allocations: 4.697 MB / 0.6424 GB, free: 296 kB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.01291/0.1859, allocations: 12.68 MB / 0.6548 GB, free: 3.562 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004676/0.1906, allocations: 4.039 MB / 0.6587 GB, free: 15.45 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008461/0.199, allocations: 6.899 MB / 0.6655 GB, free: 8.539 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005202/0.2042, allocations: 4.312 MB / 0.6697 GB, free: 4.215 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.001145/0.2054, allocations: 0.875 MB / 0.6705 GB, free: 3.34 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005223/0.2106, allocations: 2.651 MB / 0.6731 GB, free: 0.6836 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.001839/0.2124, allocations: 2.566 MB / 0.6756 GB, free: 14.11 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.002745/0.2152, allocations: 2.731 MB / 0.6783 GB, free: 11.37 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01347/0.2287, allocations: 13.24 MB / 0.6912 GB, free: 14.09 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.2287, allocations: 3.938 kB / 0.6912 GB, free: 14.09 MB / 0.5887 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2287, allocations: 0 / 0.6912 GB, free: 14.09 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 0.0002223/0.2289, allocations: 0 / 0.6912 GB, free: 14.09 MB / 0.5887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1515 * Number of variables: 1515 Notification: Performance of Generate backend data structure: time 0.01237/0.2413, allocations: 8.503 MB / 0.6995 GB, free: 5.5 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.2413, allocations: 12.03 kB / 0.6996 GB, free: 5.488 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001828/0.2431, allocations: 1.018 MB / 0.7006 GB, free: 4.465 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00779/0.2509, allocations: 6.451 MB / 0.7069 GB, free: 13.93 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002571/0.2512, allocations: 402.2 kB / 0.7072 GB, free: 13.51 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004301/0.2516, allocations: 363.9 kB / 0.7076 GB, free: 13.15 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01387/0.2655, allocations: 11.9 MB / 0.7192 GB, free: 15.73 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.995e-05/0.2655, allocations: 43.62 kB / 0.7192 GB, free: 15.68 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003316/0.2659, allocations: 184 kB / 0.7194 GB, free: 15.5 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000193/0.2661, allocations: 293.6 kB / 0.7197 GB, free: 15.22 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01277/0.2788, allocations: 8.013 MB / 0.7275 GB, free: 7.188 MB / 0.6199 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02804/0.3069, allocations: 36.27 MB / 0.7629 GB, free: 1.797 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2813/0.5881, allocations: 7.034 MB / 0.7698 GB, free: 176 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003683/0.5918, allocations: 2.538 MB / 0.7723 GB, free: 174.9 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006073/0.5924, allocations: 254.1 kB / 0.7725 GB, free: 174.8 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.281e-05/0.5925, allocations: 111.6 kB / 0.7726 GB, free: 174.8 MB / 0.6512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002689/0.5952, allocations: 0.6532 MB / 0.7733 GB, free: 174.7 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=829): time 7.464e-06/0.5952, allocations: 0 / 0.7733 GB, free: 174.7 MB / 0.6512 GB Notification: Performance of matching and sorting (n=829): time 0.02891/0.6241, allocations: 14.13 MB / 0.7871 GB, free: 170.2 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003302/0.6244, allocations: 1.447 MB / 0.7885 GB, free: 168.4 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007281/0.6317, allocations: 5.377 MB / 0.7937 GB, free: 165.7 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.0006828/0.6324, allocations: 85.55 kB / 0.7938 GB, free: 165.6 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001188/0.6336, allocations: 2.658 MB / 0.7964 GB, free: 163.5 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0016/0.6352, allocations: 2.78 MB / 0.7991 GB, free: 161.4 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002/0.6372, allocations: 1.677 MB / 0.8008 GB, free: 160.5 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 3.703e-05/0.6372, allocations: 302.2 kB / 0.8011 GB, free: 160.2 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00435/0.6416, allocations: 3.305 MB / 0.8043 GB, free: 158.3 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004612/0.6462, allocations: 6.409 MB / 0.8105 GB, free: 152.6 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1134/0.7595, allocations: 32.94 MB / 0.8427 GB, free: 122.6 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.653e-05/0.7596, allocations: 20 kB / 0.8427 GB, free: 122.6 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1126) (initialization): time 0.01541/0.775, allocations: 10.38 MB / 0.8529 GB, free: 112.1 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 4.014e-05/0.775, allocations: 32 kB / 0.8529 GB, free: 112.1 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01067/0.7857, allocations: 8.523 MB / 0.8612 GB, free: 103.5 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04408/0.8298, allocations: 7.743 MB / 0.8688 GB, free: 95.81 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005054/0.8348, allocations: 2.211 MB / 0.8709 GB, free: 93.6 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002559/0.8374, allocations: 4.531 MB / 0.8754 GB, free: 88.82 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004629/0.842, allocations: 396 kB / 0.8757 GB, free: 88.44 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006218/0.8426, allocations: 0.5425 MB / 0.8763 GB, free: 87.89 MB / 0.6512 GB Warning: Assuming fixed start value for the following 4 variables: hex.tubes.h:VARIABLE(start = hex.tubes.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hex.tubes.p:VARIABLE(min = 0.0 start = hex.tubes.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real hex.shell.h:VARIABLE(start = hex.shell.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hex.shell.p:VARIABLE(min = 0.0 start = hex.shell.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006443/0.8491, allocations: 4.492 MB / 0.8807 GB, free: 83.39 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004433/0.8535, allocations: 6.363 MB / 0.8869 GB, free: 75.82 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.09283/0.9464, allocations: 29.23 MB / 0.9154 GB, free: 45.69 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.238e-05/0.9464, allocations: 16 kB / 0.9154 GB, free: 45.67 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1126) (initialization_lambda0): time 0.0155/0.9619, allocations: 9.922 MB / 0.9251 GB, free: 35.7 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 3.495e-05/0.9619, allocations: 32 kB / 0.9251 GB, free: 35.66 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008593/0.9705, allocations: 7.535 MB / 0.9325 GB, free: 28.07 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001918/0.9724, allocations: 477.6 kB / 0.933 GB, free: 27.6 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00359/0.976, allocations: 2.25 MB / 0.9352 GB, free: 25.34 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002408/0.9784, allocations: 5.863 MB / 0.9409 GB, free: 19.08 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004256/0.9827, allocations: 399.2 kB / 0.9413 GB, free: 18.69 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005234/0.9832, allocations: 0.5348 MB / 0.9418 GB, free: 18.16 MB / 0.6512 GB Warning: Assuming fixed start value for the following 4 variables: hex.tubes.h:VARIABLE(start = hex.tubes.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hex.tubes.p:VARIABLE(min = 0.0 start = hex.tubes.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real hex.shell.h:VARIABLE(start = hex.shell.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hex.shell.p:VARIABLE(min = 0.0 start = hex.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: 291 * 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 (1101): * Single equations (assignments): 1097 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 2 systems {(1,6), (1,17)} Notification: Performance of prepare postOptimizeDAE: time 0.001908/0.9851, allocations: 0.6744 MB / 0.9424 GB, free: 17.52 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001276/0.9864, allocations: 0.6983 MB / 0.9431 GB, free: 16.82 MB / 0.6512 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 1314 equation(s) and 1257 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_pT.mo:55:3-60:21:writable] Error: (hex.shell.heattransfer.fluid_wall.q, hex.shell.heattransfer.cp_w, hex.shell.heattransfer.fluid_wall.cv, hex.shell.heattransfer.fluid_wall.beta, hex.shell.heattransfer.fluid_wall.kappa, hex.shell.heattransfer.fluid_wall.drhodp_hxi, hex.shell.heattransfer.fluid_wall.drhodh_pxi, _, hex.shell.heattransfer.fluid_wall.w, hex.shell.heattransfer.fluid_wall.gamma) = ($cse333, $cse334, $cse335, $cse336, $cse337, $cse338, $cse339, $cse340, $cse341, $cse342) has size 9 but 8 variables ($cse156, $cse157, $cse158, $cse159, hex.tubes.fluidOut.transp.Pr, hex.tubes.fluidOut.transp.lambda, hex.tubes.fluidOut.transp.eta, hex.tubes.fluidOut.transp.sigma) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01097/0.9974, allocations: 10.53 MB / 0.9534 GB, free: 6.672 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.092935564927757] Failed to read output from testmodel.py, exit status != 0: 1.4452773677185178 1.4576921999999999 1.227082952 Calling exit ...