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.01054/0.01054, allocations: 1.765 MB / 18.11 MB, free: 4.945 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.001234/0.001234, allocations: 103.7 kB / 21.36 MB, free: 1.715 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.001753/0.001753, allocations: 217.6 kB / 24.75 MB, free: 3.742 MB / 14.72 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.509/1.509, allocations: 230.6 MB / 258.6 MB, free: 13.1 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.087/1.087, allocations: 130.6 MB / 445.6 MB, free: 14.94 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: "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_1ph_kA",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_1ph_kA",fmuType="me",version="2.0",platforms={"static"}) [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: Automatically loaded package TILMedia 1.9.0 ClaRa due to uses annotation from ClaRa. 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. 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.4084/0.4084, allocations: 46.15 MB / 0.6545 GB, free: 30.21 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.5923, allocations: 89.06 MB / 0.7415 GB, free: 2.738 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA): time 0.03124/0.6235, allocations: 26.02 MB / 0.7669 GB, free: 8.617 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.03923/0.6628, allocations: 22.66 MB / 0.789 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006479/0.6692, allocations: 142.9 kB / 0.7891 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00781/0.6771, allocations: 2.626 MB / 0.7917 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01182/0.6889, allocations: 3.609 MB / 0.7952 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01007/0.6989, allocations: 3.867 MB / 0.799 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01689/0.7158, allocations: 9.91 MB / 0.8087 GB, free: 13.66 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005999/0.7218, allocations: 3.141 MB / 0.8118 GB, free: 10.45 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008929/0.7308, allocations: 4.165 MB / 0.8158 GB, free: 6.273 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008154/0.7389, allocations: 4.25 MB / 0.82 GB, free: 2.008 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.002563/0.7415, allocations: 0.668 MB / 0.8206 GB, free: 1.34 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007069/0.7485, allocations: 2.445 MB / 0.823 GB, free: 14.89 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.003571/0.7521, allocations: 2.032 MB / 0.825 GB, free: 12.86 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.007626/0.7597, allocations: 3.556 MB / 0.8285 GB, free: 9.281 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.01896/0.7787, allocations: 10.6 MB / 0.8388 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.7787, allocations: 0 / 0.8388 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7787, allocations: 4 kB / 0.8388 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.000352/0.7791, allocations: 0 / 0.8388 GB, free: 14.63 MB / 0.6544 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.01853/0.7976, allocations: 7.447 MB / 0.8461 GB, free: 7.094 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.7976, allocations: 12.03 kB / 0.8461 GB, free: 7.082 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001235/0.7989, allocations: 0.5977 MB / 0.8467 GB, free: 6.473 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002907/0.8018, allocations: 0.8979 MB / 0.8476 GB, free: 5.57 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01217/0.814, allocations: 5.597 MB / 0.853 GB, free: 15.9 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003629/0.8143, allocations: 246.4 kB / 0.8533 GB, free: 15.66 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001515/0.8158, allocations: 316 kB / 0.8536 GB, free: 15.35 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02282/0.8387, allocations: 8.542 MB / 0.8619 GB, free: 5.781 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.845e-05/0.8387, allocations: 43.56 kB / 0.862 GB, free: 5.738 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004793/0.8392, allocations: 168 kB / 0.8621 GB, free: 5.574 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002318/0.8395, allocations: 196.5 kB / 0.8623 GB, free: 5.379 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3719/1.211, allocations: 6.551 MB / 0.8687 GB, free: 111.4 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03377/1.245, allocations: 35.37 MB / 0.9032 GB, free: 84.47 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01489/1.26, allocations: 5.692 MB / 0.9088 GB, free: 82.01 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004129/1.264, allocations: 1.881 MB / 0.9106 GB, free: 80.89 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005957/1.265, allocations: 213.9 kB / 0.9108 GB, free: 80.82 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.983e-05/1.265, allocations: 84.27 kB / 0.9109 GB, free: 80.75 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003371/1.268, allocations: 0.6283 MB / 0.9115 GB, free: 80.46 MB / 0.67 GB Notification: Performance of pre-optimization done (n=712): time 1.212e-05/1.268, allocations: 0 / 0.9115 GB, free: 80.46 MB / 0.67 GB Notification: Performance of matching and sorting (n=712): time 0.03547/1.304, allocations: 11.14 MB / 0.9224 GB, free: 75.07 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002487/1.304, allocations: 1.028 MB / 0.9234 GB, free: 73.84 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008611/1.313, allocations: 4.866 MB / 0.9282 GB, free: 71.36 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.001376/1.314, allocations: 69.48 kB / 0.9282 GB, free: 71.3 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001679/1.316, allocations: 2.446 MB / 0.9306 GB, free: 69.35 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002824/1.318, allocations: 2.416 MB / 0.933 GB, free: 67.54 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002683/1.321, allocations: 1.471 MB / 0.9344 GB, free: 66.71 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 4.397e-05/1.321, allocations: 306.4 kB / 0.9347 GB, free: 66.41 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00541/1.327, allocations: 2.668 MB / 0.9373 GB, free: 64.95 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006849/1.333, allocations: 4.782 MB / 0.942 GB, free: 60.77 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1212/1.455, allocations: 20.49 MB / 0.962 GB, free: 48.62 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.823e-05/1.455, allocations: 16 kB / 0.962 GB, free: 48.61 MB / 0.67 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.01814/1.473, allocations: 8.466 MB / 0.9703 GB, free: 40.51 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.71e-05/1.473, allocations: 32 kB / 0.9703 GB, free: 40.48 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01243/1.485, allocations: 6.158 MB / 0.9763 GB, free: 34.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006123/1.486, allocations: 209.4 kB / 0.9765 GB, free: 34.09 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006909/1.493, allocations: 2.013 MB / 0.9785 GB, free: 32.12 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002634/1.495, allocations: 3.119 MB / 0.9815 GB, free: 28.74 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005914/1.501, allocations: 319.2 kB / 0.9818 GB, free: 28.44 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001394/1.503, allocations: 495.6 kB / 0.9823 GB, free: 27.95 MB / 0.67 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.008021/1.511, allocations: 3.754 MB / 0.986 GB, free: 24.2 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005898/1.517, allocations: 4.749 MB / 0.9906 GB, free: 18.52 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1193/1.636, allocations: 20.4 MB / 1.011 GB, free: 13.18 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.423e-05/1.636, allocations: 16 kB / 1.011 GB, free: 13.17 MB / 0.6857 GB Notification: Performance of matching and sorting (n=993) (initialization_lambda0): time 0.02143/1.658, allocations: 8.375 MB / 1.019 GB, free: 4.734 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 5.527e-05/1.658, allocations: 37.03 kB / 1.019 GB, free: 4.699 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01474/1.672, allocations: 6.07 MB / 1.025 GB, free: 14.56 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005066/1.673, allocations: 181.6 kB / 1.025 GB, free: 14.38 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00703/1.68, allocations: 2.005 MB / 1.027 GB, free: 12.37 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002828/1.683, allocations: 3.084 MB / 1.03 GB, free: 9.008 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005844/1.689, allocations: 322.5 kB / 1.03 GB, free: 8.695 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001733/1.69, allocations: 487.7 kB / 1.031 GB, free: 8.219 MB / 0.7013 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.002598/1.693, allocations: 0.6274 MB / 1.031 GB, free: 7.625 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002636/1.695, allocations: 0.64 MB / 1.032 GB, free: 6.98 MB / 0.7013 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.0181/1.714, allocations: 9.135 MB / 1.041 GB, free: 14.06 MB / 0.7169 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.503029478000826] Failed to read output from testmodel.py, exit status != 0: 1.721882129990263 1.734595972 0.952814483 Calling exit ...