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.01044/0.01044, allocations: 1.761 MB / 21.35 MB, free: 0.6055 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.001338/0.001338, allocations: 106.4 kB / 24.95 MB, free: 2.199 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.001703/0.001703, allocations: 203.8 kB / 28.67 MB, free: 3.48 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.471/1.471, allocations: 230.6 MB / 262.9 MB, free: 6.008 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.111/1.111, allocations: 130.7 MB / 450.4 MB, free: 6.605 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.03295/0.03295, allocations: 20.79 MB / 0.637 GB, free: 4.648 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.2143, allocations: 81.91 MB / 0.717 GB, free: 2.633 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.5236/0.7379, allocations: 59 MB / 0.7746 GB, free: 10.82 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03827/0.7762, allocations: 22.96 MB / 0.797 GB, free: 10.41 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00892/0.7851, allocations: 147.4 kB / 0.7971 GB, free: 10.35 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.008774/0.7939, allocations: 2.648 MB / 0.7997 GB, free: 8.742 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01725/0.8111, allocations: 3.678 MB / 0.8033 GB, free: 5.773 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01208/0.8232, allocations: 3.916 MB / 0.8071 GB, free: 2.801 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01997/0.8432, allocations: 9.905 MB / 0.8168 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007989/0.8512, allocations: 3.102 MB / 0.8198 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01097/0.8621, allocations: 4.169 MB / 0.8239 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009374/0.8715, allocations: 4.268 MB / 0.8281 GB, free: 0.9531 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.00319/0.8747, allocations: 0.668 MB / 0.8287 GB, free: 292 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00902/0.8837, allocations: 2.582 MB / 0.8313 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004509/0.8882, allocations: 2.032 MB / 0.8332 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.008973/0.8972, allocations: 3.556 MB / 0.8367 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02427/0.9215, allocations: 10.64 MB / 0.8471 GB, free: 13.42 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.9215, allocations: 0 / 0.8471 GB, free: 13.42 MB / 0.6232 GB Notification: Performance of FrontEnd: time 2.574e-06/0.9215, allocations: 0 / 0.8471 GB, free: 13.42 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0004009/0.9219, allocations: 2.656 kB / 0.8471 GB, free: 13.42 MB / 0.6232 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.02234/0.9442, allocations: 7.374 MB / 0.8543 GB, free: 5.996 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.9443, allocations: 9.25 kB / 0.8543 GB, free: 5.988 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004043/0.9483, allocations: 0.9005 MB / 0.8552 GB, free: 5.086 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01398/0.9623, allocations: 5.38 MB / 0.8605 GB, free: 15.64 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004296/0.9627, allocations: 250.4 kB / 0.8607 GB, free: 15.39 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001476/0.9642, allocations: 308 kB / 0.861 GB, free: 15.09 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02451/0.9887, allocations: 8.544 MB / 0.8693 GB, free: 5.625 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002194/0.9889, allocations: 39.62 kB / 0.8694 GB, free: 5.586 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001273/0.9902, allocations: 166.6 kB / 0.8695 GB, free: 5.426 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000352/0.9905, allocations: 196.5 kB / 0.8697 GB, free: 5.23 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0218/1.012, allocations: 6.552 MB / 0.8761 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0555/1.068, allocations: 35.27 MB / 0.9105 GB, free: 10.3 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01744/1.085, allocations: 5.556 MB / 0.916 GB, free: 4.609 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005289/1.091, allocations: 1.896 MB / 0.9178 GB, free: 2.66 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009015/1.091, allocations: 204.2 kB / 0.918 GB, free: 2.461 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001367/1.092, allocations: 87.53 kB / 0.9181 GB, free: 2.371 MB / 0.6857 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004224/1.096, allocations: 0.6298 MB / 0.9187 GB, free: 1.742 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=712): time 2.176e-05/1.096, allocations: 0 / 0.9187 GB, free: 1.742 MB / 0.6857 GB Notification: Performance of matching and sorting (n=712): time 0.03883/1.135, allocations: 10.99 MB / 0.9295 GB, free: 6.703 MB / 0.7013 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007353/1.135, allocations: 1.03 MB / 0.9305 GB, free: 5.434 MB / 0.7013 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01254/1.148, allocations: 4.86 MB / 0.9352 GB, free: 0.5977 MB / 0.7013 GB Notification: Performance of collectPreVariables (initialization): time 0.001208/1.149, allocations: 73.7 kB / 0.9353 GB, free: 0.5195 MB / 0.7013 GB Notification: Performance of collectInitialEqns (initialization): time 0.002888/1.152, allocations: 2.444 MB / 0.9377 GB, free: 14.06 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.00348/1.156, allocations: 2.416 MB / 0.94 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004916/1.16, allocations: 1.473 MB / 0.9415 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001462/1.161, allocations: 309 kB / 0.9418 GB, free: 9.84 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006903/1.168, allocations: 2.67 MB / 0.9444 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009321/1.177, allocations: 4.778 MB / 0.949 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.133/1.31, allocations: 20.49 MB / 0.969 GB, free: 12.36 MB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.279e-05/1.31, allocations: 16 kB / 0.9691 GB, free: 12.34 MB / 0.7482 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.02352/1.333, allocations: 8.448 MB / 0.9773 GB, free: 3.832 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 9.272e-05/1.334, allocations: 38.06 kB / 0.9773 GB, free: 3.797 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01657/1.35, allocations: 6.16 MB / 0.9834 GB, free: 13.57 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00081/1.351, allocations: 209.6 kB / 0.9836 GB, free: 13.36 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007806/1.359, allocations: 2.012 MB / 0.9855 GB, free: 11.34 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003265/1.362, allocations: 2.909 MB / 0.9884 GB, free: 8.203 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005526/1.368, allocations: 333.1 kB / 0.9887 GB, free: 7.879 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001813/1.369, allocations: 494.5 kB / 0.9892 GB, free: 7.398 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.01046/1.38, allocations: 3.747 MB / 0.9928 GB, free: 3.645 MB / 0.7638 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009288/1.389, allocations: 4.759 MB / 0.9975 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1287/1.518, allocations: 20.39 MB / 1.017 GB, free: 8.598 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.388e-05/1.518, allocations: 25.48 kB / 1.017 GB, free: 8.574 MB / 0.795 GB Notification: Performance of matching and sorting (n=993) (initialization_lambda0): time 0.02335/1.541, allocations: 8.374 MB / 1.026 GB, free: 136 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.363e-05/1.541, allocations: 32.97 kB / 1.026 GB, free: 104 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01493/1.556, allocations: 6.074 MB / 1.032 GB, free: 9.953 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005134/1.557, allocations: 177.7 kB / 1.032 GB, free: 9.773 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006929/1.564, allocations: 2.012 MB / 1.034 GB, free: 7.758 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002812/1.566, allocations: 2.874 MB / 1.036 GB, free: 4.664 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005141/1.572, allocations: 315.9 kB / 1.037 GB, free: 4.355 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001499/1.573, allocations: 491.6 kB / 1.037 GB, free: 3.875 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.00278/1.576, allocations: 0.6176 MB / 1.038 GB, free: 3.254 MB / 0.8107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002896/1.579, allocations: 0.6439 MB / 1.038 GB, free: 2.605 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.01842/1.597, allocations: 9.135 MB / 1.047 GB, free: 9.633 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.829435148043558] Failed to read output from testmodel.py, exit status != 0: 2.0422459540423006 2.053890495 1.1297585129999999 Calling exit ...