Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.006909/0.006909, allocations: 1.443 MB / 21.3 MB, free: 3.254 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.0007085/0.0007085, allocations: 90.55 kB / 24.91 MB, free: 7.266 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.0008001/0.0008001, allocations: 164.7 kB / 28.62 MB, free: 4.445 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.873/0.873, allocations: 177.2 MB / 209.4 MB, free: 2.98 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7285/0.7285, allocations: 102.5 MB / 368.7 MB, free: 1.5 MB / 330.8 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.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_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_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_simple") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.5374 GB, free: 39.86 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.205e-05/3.383e-05, allocations: 3.781 kB / 0.5374 GB, free: 39.85 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.1193/0.1194, allocations: 70.69 MB / 0.6065 GB, free: 5.285 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.03145/0.1508, allocations: 24.49 MB / 0.6304 GB, free: 12.72 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00654/0.1573, allocations: 150.9 kB / 0.6305 GB, free: 12.57 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.00588/0.1632, allocations: 2.652 MB / 0.6331 GB, free: 9.902 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.01088/0.1741, allocations: 4.842 MB / 0.6378 GB, free: 5.031 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.008591/0.1827, allocations: 4.705 MB / 0.6424 GB, free: 324 kB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.01343/0.1961, allocations: 12.68 MB / 0.6548 GB, free: 3.59 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004958/0.2011, allocations: 4.035 MB / 0.6588 GB, free: 15.48 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008488/0.2096, allocations: 6.895 MB / 0.6655 GB, free: 8.574 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005018/0.2146, allocations: 4.318 MB / 0.6697 GB, free: 4.246 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.001056/0.2156, allocations: 0.875 MB / 0.6706 GB, free: 3.371 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004471/0.2201, allocations: 2.647 MB / 0.6731 GB, free: 0.7188 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.001483/0.2216, allocations: 2.57 MB / 0.6757 GB, free: 14.14 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.002576/0.2242, allocations: 2.724 MB / 0.6783 GB, free: 11.41 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01225/0.2364, allocations: 13.25 MB / 0.6913 GB, free: 14.12 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.2364, allocations: 0 / 0.6913 GB, free: 14.12 MB / 0.5887 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2364, allocations: 0 / 0.6913 GB, free: 14.12 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 0.0002037/0.2366, allocations: 0 / 0.6913 GB, free: 14.12 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.01222/0.2488, allocations: 8.5 MB / 0.6996 GB, free: 5.539 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.2489, allocations: 16.03 kB / 0.6996 GB, free: 5.523 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00184/0.2507, allocations: 1.014 MB / 0.7006 GB, free: 4.504 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007939/0.2587, allocations: 6.462 MB / 0.7069 GB, free: 13.95 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002624/0.2589, allocations: 398.2 kB / 0.7072 GB, free: 13.54 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004207/0.2594, allocations: 367.9 kB / 0.7076 GB, free: 13.18 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01471/0.2741, allocations: 11.9 MB / 0.7192 GB, free: 15.75 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-05/0.2741, allocations: 39.62 kB / 0.7193 GB, free: 15.71 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003478/0.2745, allocations: 187.9 kB / 0.7194 GB, free: 15.54 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002004/0.2747, allocations: 293.7 kB / 0.7197 GB, free: 15.25 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01269/0.2874, allocations: 8.009 MB / 0.7275 GB, free: 7.219 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.02904/0.3164, allocations: 36.26 MB / 0.7629 GB, free: 1.836 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2926/0.6091, allocations: 7.026 MB / 0.7698 GB, free: 176.1 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00383/0.6129, allocations: 2.553 MB / 0.7723 GB, free: 175 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006383/0.6135, allocations: 256.5 kB / 0.7725 GB, free: 174.9 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.449e-05/0.6136, allocations: 109.7 kB / 0.7727 GB, free: 174.9 MB / 0.6512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002862/0.6165, allocations: 0.6519 MB / 0.7733 GB, free: 174.8 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=829): time 7.895e-06/0.6165, allocations: 0 / 0.7733 GB, free: 174.8 MB / 0.6512 GB Notification: Performance of matching and sorting (n=829): time 0.02786/0.6443, allocations: 14.14 MB / 0.7871 GB, free: 170.3 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002651/0.6446, allocations: 1.446 MB / 0.7885 GB, free: 168.5 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006744/0.6514, allocations: 5.369 MB / 0.7937 GB, free: 165.8 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.00084/0.6522, allocations: 91.27 kB / 0.7938 GB, free: 165.7 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.00119/0.6534, allocations: 2.657 MB / 0.7964 GB, free: 163.6 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001692/0.6551, allocations: 2.781 MB / 0.7991 GB, free: 161.5 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001862/0.6569, allocations: 1.679 MB / 0.8008 GB, free: 160.5 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 3.207e-05/0.657, allocations: 302.3 kB / 0.8011 GB, free: 160.2 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004351/0.6613, allocations: 3.291 MB / 0.8043 GB, free: 158.4 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004682/0.666, allocations: 6.415 MB / 0.8105 GB, free: 152.7 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1124/0.7784, allocations: 32.93 MB / 0.8427 GB, free: 122.7 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.803e-05/0.7785, allocations: 20 kB / 0.8427 GB, free: 122.7 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1126) (initialization): time 0.01561/0.7941, allocations: 10.39 MB / 0.8529 GB, free: 112.2 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 4.997e-05/0.7941, allocations: 34.53 kB / 0.8529 GB, free: 112.2 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01107/0.8052, allocations: 8.525 MB / 0.8612 GB, free: 103.6 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04443/0.8496, allocations: 7.74 MB / 0.8688 GB, free: 95.9 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005358/0.855, allocations: 2.199 MB / 0.8709 GB, free: 93.7 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0026/0.8576, allocations: 4.535 MB / 0.8754 GB, free: 88.91 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004684/0.8623, allocations: 397.1 kB / 0.8757 GB, free: 88.53 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005712/0.8628, allocations: 0.5426 MB / 0.8763 GB, free: 87.99 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.006738/0.8696, allocations: 4.501 MB / 0.8807 GB, free: 83.48 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004558/0.8741, allocations: 6.355 MB / 0.8869 GB, free: 75.91 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.09356/0.9677, allocations: 29.23 MB / 0.9154 GB, free: 45.78 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.092e-05/0.9677, allocations: 20 kB / 0.9154 GB, free: 45.76 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1126) (initialization_lambda0): time 0.01348/0.9812, allocations: 9.922 MB / 0.9251 GB, free: 35.79 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 2.997e-05/0.9812, allocations: 36 kB / 0.9252 GB, free: 35.75 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00819/0.9894, allocations: 7.53 MB / 0.9325 GB, free: 28.16 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00195/0.9914, allocations: 479 kB / 0.933 GB, free: 27.68 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003572/0.995, allocations: 2.246 MB / 0.9352 GB, free: 25.43 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002396/0.9974, allocations: 5.864 MB / 0.9409 GB, free: 19.17 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004147/1.001, allocations: 396.5 kB / 0.9413 GB, free: 18.78 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004976/1.002, allocations: 0.5387 MB / 0.9418 GB, free: 18.24 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.002087/1.004, allocations: 0.6647 MB / 0.9424 GB, free: 17.62 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001163/1.005, allocations: 0.6993 MB / 0.9431 GB, free: 16.91 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.0103/1.016, allocations: 10.53 MB / 0.9534 GB, free: 6.758 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.142059392295778] Failed to read output from testmodel.py, exit status != 0: 1.4799266094341874 1.491542838 1.253177578 Calling exit ...