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.01358/0.01358, allocations: 1.757 MB / 20.6 MB, free: 0.8828 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.001678/0.001678, allocations: 99.84 kB / 24.18 MB, free: 2.184 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.002346/0.002346, allocations: 215.5 kB / 27.9 MB, free: 3.504 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.49/1.49, allocations: 230.6 MB / 262.1 MB, free: 5.828 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.076/1.076, allocations: 130.7 MB / 449.7 MB, free: 6.398 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: 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.06933/0.06933, allocations: 20.98 MB / 0.6358 GB, free: 4.801 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.2508, allocations: 81.91 MB / 0.7158 GB, free: 2.793 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.5258/0.7766, allocations: 55.54 MB / 0.7701 GB, free: 14.08 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03851/0.8151, allocations: 22.1 MB / 0.7917 GB, free: 14.59 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008985/0.8241, allocations: 144.7 kB / 0.7918 GB, free: 14.53 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.009872/0.8339, allocations: 2.566 MB / 0.7943 GB, free: 13.02 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01529/0.8492, allocations: 3.687 MB / 0.7979 GB, free: 10.06 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01152/0.8608, allocations: 3.926 MB / 0.8017 GB, free: 7.086 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01917/0.8799, allocations: 9.899 MB / 0.8114 GB, free: 0.7227 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007579/0.8875, allocations: 3.337 MB / 0.8147 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0112/0.8987, allocations: 4.169 MB / 0.8187 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009035/0.9077, allocations: 3.995 MB / 0.8226 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.003124/0.9109, allocations: 0.668 MB / 0.8233 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008048/0.9189, allocations: 1.966 MB / 0.8252 GB, free: 2.504 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.004292/0.9232, allocations: 2.036 MB / 0.8272 GB, free: 472 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.008253/0.9315, allocations: 2.724 MB / 0.8299 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02136/0.9528, allocations: 10.56 MB / 0.8402 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.9528, allocations: 0 / 0.8402 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.964e-06/0.9528, allocations: 2.656 kB / 0.8402 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0003876/0.9532, allocations: 0 / 0.8402 GB, free: 3.125 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.0205/0.9737, allocations: 7.371 MB / 0.8474 GB, free: 11.7 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 5.657e-05/0.9738, allocations: 12.03 kB / 0.8474 GB, free: 11.69 MB / 0.6232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002177/0.9759, allocations: 0.6055 MB / 0.848 GB, free: 11.07 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004098/0.98, allocations: 0.8966 MB / 0.8489 GB, free: 10.17 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01474/0.9948, allocations: 5.386 MB / 0.8541 GB, free: 4.723 MB / 0.6232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004375/0.9952, allocations: 254.3 kB / 0.8544 GB, free: 4.473 MB / 0.6232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001335/0.9966, allocations: 308 kB / 0.8547 GB, free: 4.172 MB / 0.6232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02466/1.021, allocations: 10.05 MB / 0.8645 GB, free: 8.738 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001506/1.021, allocations: 42.31 kB / 0.8645 GB, free: 8.699 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009518/1.022, allocations: 164 kB / 0.8647 GB, free: 8.539 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000299/1.023, allocations: 200.5 kB / 0.8649 GB, free: 8.34 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02092/1.044, allocations: 6.536 MB / 0.8712 GB, free: 1.809 MB / 0.6388 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04705/1.091, allocations: 33.46 MB / 0.9039 GB, free: 15.27 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01687/1.107, allocations: 5.535 MB / 0.9093 GB, free: 9.57 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004783/1.112, allocations: 1.883 MB / 0.9112 GB, free: 7.629 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007429/1.113, allocations: 189.6 kB / 0.9113 GB, free: 7.441 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.796e-05/1.113, allocations: 88.88 kB / 0.9114 GB, free: 7.348 MB / 0.6857 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003641/1.117, allocations: 0.6298 MB / 0.912 GB, free: 6.719 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=712): time 1.659e-05/1.117, allocations: 2.953 kB / 0.912 GB, free: 6.719 MB / 0.6857 GB Notification: Performance of matching and sorting (n=712): time 0.03905/1.156, allocations: 10.98 MB / 0.9228 GB, free: 11.69 MB / 0.7013 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000607/1.156, allocations: 1.024 MB / 0.9238 GB, free: 10.43 MB / 0.7013 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01163/1.168, allocations: 4.968 MB / 0.9286 GB, free: 5.48 MB / 0.7013 GB Notification: Performance of collectPreVariables (initialization): time 0.00136/1.169, allocations: 73.7 kB / 0.9287 GB, free: 5.402 MB / 0.7013 GB Notification: Performance of collectInitialEqns (initialization): time 0.003205/1.173, allocations: 2.444 MB / 0.9311 GB, free: 2.941 MB / 0.7013 GB Notification: Performance of collectInitialBindings (initialization): time 0.003612/1.176, allocations: 2.412 MB / 0.9334 GB, free: 0.5078 MB / 0.7013 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005735/1.182, allocations: 1.478 MB / 0.9349 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001352/1.182, allocations: 305.1 kB / 0.9352 GB, free: 14.72 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007048/1.189, allocations: 2.671 MB / 0.9378 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009567/1.199, allocations: 5.239 MB / 0.9429 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1273/1.326, allocations: 20.49 MB / 0.9629 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-05/1.326, allocations: 21.5 kB / 0.9629 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.02221/1.348, allocations: 8.459 MB / 0.9712 GB, free: 8.371 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001069/1.348, allocations: 32 kB / 0.9712 GB, free: 8.34 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01715/1.366, allocations: 6.17 MB / 0.9772 GB, free: 2.102 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00073/1.366, allocations: 205.6 kB / 0.9774 GB, free: 1.895 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007259/1.374, allocations: 2.009 MB / 0.9794 GB, free: 15.88 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003093/1.377, allocations: 2.899 MB / 0.9822 GB, free: 12.75 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006173/1.383, allocations: 323.8 kB / 0.9825 GB, free: 12.44 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001915/1.385, allocations: 491.6 kB / 0.983 GB, free: 11.96 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.01065/1.395, allocations: 3.757 MB / 0.9867 GB, free: 8.203 MB / 0.7638 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009835/1.405, allocations: 5.207 MB / 0.9918 GB, free: 1.941 MB / 0.7638 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1286/1.534, allocations: 20.41 MB / 1.012 GB, free: 12.57 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.298e-05/1.534, allocations: 20 kB / 1.012 GB, free: 12.55 MB / 0.795 GB Notification: Performance of matching and sorting (n=993) (initialization_lambda0): time 0.0221/1.556, allocations: 8.373 MB / 1.02 GB, free: 4.117 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 8.073e-05/1.556, allocations: 40.97 kB / 1.02 GB, free: 4.082 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01637/1.572, allocations: 6.071 MB / 1.026 GB, free: 13.94 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005759/1.573, allocations: 185.6 kB / 1.026 GB, free: 13.75 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007398/1.58, allocations: 2.005 MB / 1.028 GB, free: 11.74 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003063/1.583, allocations: 2.859 MB / 1.031 GB, free: 8.66 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005485/1.589, allocations: 316.1 kB / 1.031 GB, free: 8.352 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00178/1.591, allocations: 496.6 kB / 1.032 GB, free: 7.867 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.002932/1.594, allocations: 0.6163 MB / 1.032 GB, free: 7.242 MB / 0.8107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003068/1.597, allocations: 0.6427 MB / 1.033 GB, free: 6.598 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.02279/1.62, allocations: 9.171 MB / 1.042 GB, free: 13.59 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.850299509707838] Failed to read output from testmodel.py, exit status != 0: 2.075277592986822 2.08679492 1.130635582 Calling exit ...